CN102595108B - Method and device for coding syntactic element - Google Patents
Method and device for coding syntactic element Download PDFInfo
- Publication number
- CN102595108B CN102595108B CN201110001438.8A CN201110001438A CN102595108B CN 102595108 B CN102595108 B CN 102595108B CN 201110001438 A CN201110001438 A CN 201110001438A CN 102595108 B CN102595108 B CN 102595108B
- Authority
- CN
- China
- Prior art keywords
- expressing
- burst
- syntactic element
- present frame
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/46—Embedding additional information in the video signal during the compression process
- H04N19/463—Embedding additional information in the video signal during the compression process by compressing encoding parameters before transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
Abstract
The invention discloses a method for coding a syntactic element. The method can improve the compression coding efficiency of the syntactic element. The coding method comprises the following steps: inquiring a pre-configured coding data structure according to the code attribute value of current frame or fragmentation, and determining a method for representing the syntactic element for the current frame or fragmentation, wherein the coding data structure includes more than two coding attribute values, and identification information of the representation method related to each code attribute value; and coding the current frame or the fragmentation according to the determined representation method of the syntactic element. The coding device comprises a representation method determining unit of the syntactic element, and a coding unit of the syntactic element. According to the self-adaption coding method disclosed by the invention, the frame or the fragment is used as a basic unit, which means that the distribution of code words or the sequence of identifications in a predication mode can be dynamically adjusted according to each frame or each fragment in turn, therefore, the compression coding efficiency can be obviously improved, and the information redundancy can be reduced as well.
Description
Technical field
The present invention relates to technology of video compressing encoding is and in particular to a kind of coded method of syntactic element and device.
Background technology
Coded method to prior art is carried out taking a syntactic element one by one predictive mode (pred_mode) as a example below
Explanation.
In video compression coding, each coding unit of the frame of interframe encode attribute or burst or predicting unit are (referred to as
Cu/pu) all corresponding with certain predictive mode.The value of predictive mode is as shown in table 1, but the value of predictive mode is not limited to table 1
The scope enumerated, can also be and illustrate other referring-to relations of cu/pu or the value of encoded attributes.
Table 1: the value of predictive mode and its definition
Skip mode (skip_mode) | Refer to not allow residual error data, motion information prediction is derived by |
Direct Model (direct_mode) | Refer to allow residual error data, motion information prediction is derived by |
Merging patterns (merge_mode) | Refer to allow residual error data, copying motion information neighbor information |
Inter-frame mode (inter_mode) | Refer to inter-reference, have movable information it is allowed to residual error data |
Frame mode (intra_mode) | Refer to frame in reference, have prediction direction it is allowed to residual error data |
Due to each cu/pu and skip mode (skip mode), Direct Model (direct mode), merging patterns
(merge mode), inter-frame mode (inter mode), frame mode (intramode) one of predictive mode relatively
Should.Therefore, predictive mode is repeated multiple times appearance in a frame or burst, and value is not less than three kinds.Mould is predicted to these
The differentiation of formula, in existing coded method, acquiescence takes following steps to carry out:
Step 1, judges whether current cu/pu belongs to skip mode, and identifies to represent with a skip_flag, if
It is to skip pattern, skip_flag is designated 1, otherwise execute next step;
Step 2, judges whether current cu/pu belongs to merging patterns, and identifies to represent with a merge_flag, if
It is merging patterns, merge_flag is designated 1, otherwise execute next step;
Step 3, judges whether current cu/pu belongs to inter-frame mode, and identifies to represent with an inter_flag, if
It is inter-frame mode, inter_flag is designated 1, otherwise execute next step;
By that analogy.
But find in practical application to be compressed encoding using said method, efficiency is not very high.And due to above-mentioned existing
There is technical scheme that all syntactic element is taken with fixing code assignment, or the one group code/mark to constituent grammar element
(bin/flag) take fixing mark order.Obviously, the code assignment of this fixation, or mark order exist certain
Information redundancy.
Content of the invention
The technical problem to be solved in the present invention is to provide a kind of coded method of syntactic element, can improve syntactic element
Compression coding efficiency.
For solving above-mentioned technical problem, the invention provides a kind of coded method of syntactic element, comprising:
According to the encoded data structure that the inquiry of the encoded attributes value of present frame or burst is pre-configured, it is present frame or burst is true
Determine the method for expressing of syntactic element, described encoded data structure includes: two or more encoded attributes value, and each encoded attributes value
The identification information of corresponding method for expressing;
According to determined by syntactic element method for expressing, present frame or burst are encoded.
Preferably, institute's syntax elements are the syntactic element of repeated multiple times appearance in a frame or burst, and its value
Not less than three kinds;Institute's syntax elements include following any one: predictive mode, piecemeal size, prediction direction, movable information,
Residual information.
Preferably, described encoded attributes is being obtained ahead of time before present frame or burst coding and related to cataloged procedure
Parameter.
Preferably, described encoded attributes includes any one in following information: image complexity is interval, image sets
Structure, the length of image sets, quantization parameter, target compression ratio.
Preferably, the method for expressing of institute's syntax elements is the method for all values of mark institute syntax elements, each table
Show that the identification information of method is used for identifying a kind of method for expressing of institute's syntax elements.
Preferably, described according to determined by syntactic element method for expressing, the step that present frame or burst are encoded
Rapid inclusion: to all coding units in present frame or burst or predicting unit, all according to the method for expressing of institute's syntax elements
It is identified.
Preferably, described according to determined by syntactic element method for expressing, the step that present frame or burst are encoded
After rapid, methods described also includes: the quantity arrangement of each value of syntactic element in statistics present frame or burst, determines that expression should
Plant the identification information of the method for expressing of arrangement;With in the update of identification information encoded data structure of the new method for expressing determining with work as
The identification information of the corresponding method for expressing of encoded attributes value of previous frame or burst.
Preferably, described with the new update of identification information encoded data structure of method for expressing determining with present frame or point
The step of the identification information of the corresponding method for expressing of encoded attributes value of piece includes: searches and present frame in encoded data structure
Or the identification information of the corresponding method for expressing of encoded attributes value of burst, judge the new identification information of method for expressing determining with from
If the identification information of the method for expressing finding in encoded data structure differs, with the mark of the new method for expressing determining
The identification information of the corresponding method for expressing of encoded attributes value with present frame or burst in information updating encoded data structure.
Preferably, the identification information of described method for expressing is realized using code assignment mode.
For solving above-mentioned technical problem, present invention also offers a kind of code device of syntactic element, including syntactic element
Method for expressing determining unit, coding unit, wherein:
The method for expressing determining unit of institute's syntax elements, inquires about pre- for the encoded attributes value according to present frame or burst
The encoded data structure of configuration, is the method for expressing that present frame or burst determine syntactic element, described encoded data structure includes:
Two or more encoded attributes value, and the identification information of each method for expressing corresponding to encoded attributes value;
Described coding unit, for according to determined by syntactic element method for expressing, present frame or burst are compiled
Code.
Preferably, described coding unit, be in the following ways according to determined by syntactic element method for expressing
Present frame or burst are encoded: to all coding units in present frame or burst or predicting unit, all according to institute's predicate
The method for expressing of method element is identified.
Preferably, described device also includes adaptive unit, and it is used in described coding unit, present frame or burst being entered
After row coding, the quantity arrangement of each value of syntactic element in statistics present frame or burst, determine the expression representing this kind of arrangement
The identification information of method;With in the update of identification information encoded data structure of the new method for expressing determining with present frame or burst
The identification information of the corresponding method for expressing of encoded attributes value.
Embodiment of the present invention methods described is a kind of adaptive coded method, with frame or burst (frame or slice)
For elementary cell, that is, allow frame by frame or burst dynamically adjusts code assignment or the mark order of predictive mode, can significantly carry
The efficiency of high compression coding, reduces information redundancy.The inventive method can apply to the compressed encoding of various syntactic elements, such as pre-
Survey pattern, piecemeal size, prediction direction, movable information, residual information etc..
As the specific embodiment of the present invention, in hevc, (high efficiency video coding, efficient video is compiled
Code) identifying code tmuc0.9-hm (or hm1.0) on the basis of realize and complete contrast test.Result shows: encoding and decoding are multiple
Miscellaneous degree does not increase, and average compression gains improve 0.1~2.1%.Above-mentioned contrast test has followed strictly and has been responsible to define hevc's
Test condition defined in International Standards Organization (jct-vc), and employ the result statistical instrument of jct-vc defined.
Brief description
Fig. 1 is the embodiment of the present invention 1 adaptive coding process flow diagram flow chart;
Fig. 2 is a kind of logical construction schematic diagram of the embodiment of the present invention 1 code device;
Fig. 3 is another kind of logical construction schematic diagram of the embodiment of the present invention 1 code device.
Specific embodiment
First the definition to some technical terms occurring herein is introduced below:
Frame or burst: frame refers to image acquisition, encoding and decoding basic set, typically refers to yuv or rgb of all kinds of rectangular dimension
The data block of color component statement;Burst then refers to subdata set in encoding-decoding process for the frame, if frame can by one or
Dry burst composition, allows herein to be equal to the concept of frame and burst;
Syntactic element: syntactic element described herein is the syntactic element of repeated multiple times appearance in a frame or burst,
And its value is not less than three kinds, i.e. the expression of this syntactic element comprises the code word being made up of two or more bit, or one group of mark
Know.
By finding to the analysis of prior art: the predictive mode coding method of prior art is with whole sequence or multiple
Based on the statistical average of sequence, that is, assume the quantity of skip mode at most, next to that merging patterns, followed by interframe mould
Formula.But further investigation revealed that: each frame or burst (frame or slice) due to image complexity, referring-to relation,
The impact of the factors such as coding parameter (qp), the assumed condition of above coded method is not always set up.That is, upper predicate
, in different frames or burst (frame or slice), there is huge product in the distributed number rule of the different values of method element
The opposite sex, is not always consistent with the distributed number rule of whole video sequence or multiple video sequence statistical average.
By the research of the Changing Pattern to above-mentioned several predictive mode quantity in different frame or burst, by fix
Coded method be improved to frame by frame or burst adjustment self-adaptive encoding method.Including:
According to the encoded data structure that the inquiry of the encoded attributes value of present frame or burst is pre-configured, it is present frame or burst is true
Determine the method for expressing of syntactic element, described encoded data structure includes: two or more encoded attributes value, and each encoded attributes value
The identification information of corresponding method for expressing;
According to determined by syntactic element method for expressing, present frame or burst are encoded.
Using said method, different frames or burst can be identified using different methods and encode, it is possible to obtain
Higher code efficiency.
Upper syntax elements include following any one: predictive mode, piecemeal size, prediction direction, movable information, residual error
Information.
Above-mentioned encoded attributes is can the be obtained ahead of time and parameter related to cataloged procedure before present frame or burst coding.
For example include any one in following information: image complexity interval, the structure of image sets, the length of image sets, quantization system
Number, target compression ratio.
The method for expressing of upper syntax elements is the method for the mark all values of syntactic element, the mark of each method for expressing
Information is used for identifying a kind of method for expressing of all values of syntactic element.
The quantity arrangement in units of frame or burst of each value of institute's syntax elements is to discriminate between determining of different method for expressing
Determine one of factor.
Described according to determined by the method for expressing of syntactic element coding carried out to present frame or burst refer to: to present frame
Or all coding units in burst or predicting unit, all it is identified according to the method for expressing of institute's syntax elements.
Preferably, the identification information of described method for expressing is realized using code assignment mode.When using code assignment mode
When realizing, code assignment can be carried out using variable-length encoding mode.Described variable-length encoding, high to probability of occurrence in a frame or burst
The value distribution short code word of syntactic element, the long code word of the syntactic element value distribution low to probability of occurrence, in other words to appearance
The high syntactic element value corresponding mark priority encoding of probability.
Below in conjunction with accompanying drawing, embodiments of the invention are described in detail.It should be noted that not conflicting
In the case of, the embodiment in the application and the feature in embodiment can mutual combination in any.
Embodiment 1
Step one, configuration process, including following two steps:
Step 110, the method for expressing that all values may be taken to certain syntactic element is identified, and obtains method for expressing
Identification information;
The value of syntactic element described herein at least includes more than three kinds.So that the value of syntactic element includes three kinds as a example,
Represent whether this syntactic element is equal to above-mentioned three kinds of values with tri- marks of a, b, c respectively, then have six kinds and represent this grammer unit
The method for expressing of plain value: a-b-c, a-c-b, b-c-a, b-a-c, c-a-b, c-b-a, the mark of every kind of method for expressing represents should
A kind of code assignment mode of syntactic element, such as a-b-c represents: first distinguishes a mark, repartitions b mark, finally distinguishes c mark
Know.
Step 120, sets up encoded data structure according to encoded attributes, configures an expression side for each encoded attributes value
The identification information of method;
Data structure can be realized in the form of tables of data, and representation that other can represent corresponding relation may also be employed.
Encoded attributes, e.g. image complexity are interval, now for one expression side of the interval configuration of each image complexity
The identification information of method, the number of identification information is equal to the interval number of actual division;Encoded attributes can also be image sets (gop)
Structure or length, now can configure the identification information of a method for expressing for each position in every kind of image sets, identification information
Number is equal to gop length;Encoded attributes can also be quantization parameter (qp), now configures an expression side for each quantization parameter
The identification information of method, the number of identification information is equal to the number of all values of qp.Additionally, encoded attributes can also be target pressure
Contracting ratio etc..
In encoded data structure, the configuration of method for expressing identification information is initially initial configuration, is subsequently self-adaptative adjustment
The result of configuration.
The identification information of method for expressing for example can be realized using code assignment mode, i.e. respectively syntactic element each
Value configures code word.The quantity arrangement in units of frame or burst of the various value of institute's syntax elements is how to configure code word
One of determiner.Described identification information also can be realized using indexed mode, or other can represent the table of syntactic element
Show the information of method.
Step 2, cataloged procedure, including following two steps:
Step 130, the encoded data structure of the encoded attributes value query configuration according to present frame or burst, be present frame or
Burst determines the identification information of method for expressing;
Each frame or burst can correspond to an encoded attributes value, corresponded to according to this encoded attributes value in encoded data structure
Method for expressing identification information, with determine treat coded frame or burst syntactic element method for expressing.
Step 140, according to determined by method for expressing identification information representated by method for expressing, to present frame or burst
Encoded, the sphere of action of this kind of method for expressing is a frame or a burst;
Specific coded method is identical compared with technology.It is emphasized that being with frame or burst as list in this step
Position is encoded, and all cu/pu in this frame or burst is all identified according to the method for expressing of institute's syntax elements.
So far, cataloged procedure terminates.
Step 3, adaptive process, including following two steps:
Step 150, the various value of syntactic element after the completion of present frame or burst are encoded, in statistics present frame or burst
Quantity arrangement, determine represent this kind arrangement method for expressing identification information;
Multiple cu/pu are had in present frame or burst, if one of value of each cu/pu corresponding a certain kind syntactic element,
Then this syntactic element is repeated multiple times appearance in present frame or burst.Syntactic element in statistics present frame or burst is various
The quantity arrangement of value refers to, the distributed number of this syntactic element value in statistics present frame or burst, according to this syntactic element
Each value quantity is arranged from more to few.Method for expressing determined by the rank results obtaining to I haven't seen you for ages with step 110 in
A certain method for expressing is identical, and the identification information of this method for expressing can be identified as the method for expressing mark letter of this rank results
Breath.
Step 160, searches the corresponding method for expressing of encoded attributes value with present frame or burst in encoded data structure
Identification information, it is determined whether need with representing in new this encoded data structure of update of identification information of method for expressing determining
The identification information of method.
Determine the need for the side of expression in new this encoded data structure of update of identification information of method for expressing determining
The identification information of method refers to, judges the new identification information of method for expressing determining and the expression finding from encoded data structure
Whether the identification information of method is identical, if identical, can not update, if it is not the same, then with the new method for expressing determining
The mark letter of the corresponding method for expressing of encoded attributes value with present frame or burst in update of identification information encoded data structure
Breath.
In other embodiments, also can not carry out above-mentioned judgement, be updated without exception.
With the coding with present frame or burst in the update of identification information encoded data structure of the new method for expressing determining
The identification information of the corresponding method for expressing of property value is the adaptive configuration of the identification information to method for expressing.
Above-mentioned steps 150 and step 160 are adaptive process, after this adaptive process is performed a plurality of times, will obtain one
Preferably encoded data structure, each of this encoded data structure encoded attributes value can correspond to an expression being more suitable for
The identification information of method, that is, corresponded to a kind of code assignment of syntactic element or mark order, divided using this kind of code word during coding
Join or identify order and will obtain higher code efficiency.In order to keep preferably encoded data structure, sustainable carry out from
Adaptation process, and the encoded data structure being obtained is directly used in cataloged procedure, or can also no longer execute self adaptation mistake
Journey.Previously the configuration of execution, coding and adaptive process were equivalent to a preprocessing process.
Carry out encoding the mark quantity that can reduce required for syntactic element coding using optimal method for expressing, reduce
The redundancy of information.
Correspondingly, the present embodiment additionally provides a kind of code device realizing said method, including the expression of syntactic element
Method determining unit, coding unit, as shown in Fig. 2 wherein:
The method for expressing determining unit of institute's syntax elements, inquires about pre- for the encoded attributes value according to present frame or burst
The encoded data structure of configuration, is the method for expressing that present frame or burst determine syntactic element, described encoded data structure includes:
Two or more encoded attributes value, and the identification information of each method for expressing corresponding to encoded attributes value;
Described coding unit, for according to determined by syntactic element method for expressing, present frame or burst are compiled
Code.
It is preferred that
Described coding unit be in the following ways according to determined by syntactic element method for expressing to present frame
Or burst is encoded: to all coding units in present frame or burst or predicting unit, all according to institute's syntax elements
Method for expressing is identified.
It is preferred that
Described device also includes adaptive unit, as shown in figure 3, this adaptive unit be used for described coding unit to work as
After previous frame or burst are encoded, the quantity arrangement of each value of syntactic element in statistics present frame or burst, determine that represent should
Plant the identification information of the method for expressing of arrangement;With in the update of identification information encoded data structure of the new method for expressing determining with work as
The identification information of the corresponding method for expressing of encoded attributes value of previous frame or burst.
Said apparatus can be realized with software on general logical operationss equipment, it would however also be possible to employ the mode of special chip
Realize.For example described coding unit can be realized based on the general encoder of industry, and this encoder can be that software is real
Existing encoder or hard-wired encoder.The method for expressing determining unit of upper syntax elements, adaptive unit
Deng in addition to using software code realization, all can be realized by have cured the hardware logic of software code.
Embodiment 2
The present embodiment so that syntactic element is as predictive mode as a example illustrates.For convenience of description and realize, the present embodiment
Only the most frequently three kinds of values: skip mode (skip), merging patterns (merge), inter-frame mode are occurred with predictive mode
(inter) illustrate as a example.
Step 210, type of prediction (pred_type) initializes;
Type of prediction (pred_type) refers to: the corresponding method for expressing of predictive mode, identifies to represent pre- by one group
The mark order of survey pattern.
Define the corresponding 6 kinds of mark order of these three predictive modes of skip, merge and inter in table 2.These marks
Know the different values that order is type of prediction (pred_type), be equivalent to the identification information of method for expressing.
Table 2: the value of type of prediction (pred_type) and its definition
skip_merge | Refer to skip_flag mark priority encoding, be secondly merge_flag |
skip_inter | Refer to skip_flag mark priority encoding, be secondly inter_flag |
merge_skip | Refer to merge_flag mark priority encoding, be secondly skip_flag |
merge_inter | Refer to merge_flag mark priority encoding, be secondly inter_flag |
inter_skip | Refer to inter_flag mark priority encoding, be secondly skip_flag |
inter_merge | Refer to inter_flag mark priority encoding, be secondly merge_flag |
After obtaining the various values of pred_type, encoded data structure is set up according to encoded attributes, for each coding
Property value configures a pred_type value.Allow to be derived by this coding of identical by encoder by default rule
Data structure or value are it is also possible to having to explicitly add a parameter by encoder in burst header (slice_header)
Pred_type, decoder only needs simply to parse to obtain.
Following information can be used as encoded attributes:
● the complexity of image is interval, that is, press the error of interframe encode generation or the cost function (cost=of code word
Distortion+lamda*bits), wherein cost presentation code cost, the image fault that distortion presentation code produces,
Bit number used by bits presentation code, lamda is then the conversion coefficient this bit number being converted into distortion, and cost is come by distortion
Calculate and measure.Described complexity can be divided into several intervals from low to high as encoded attributes.
● the structure of image sets (gop) or length.The structure of described gop, it determines the frame class allowing in gop to take
Mutual referring-to relation between type, frame and frame, described gop length, the cycle for described gop structure change.It should be evident that
Each position in gop all represents certain encoded attributes, and it depends on structure or the length of gop.
● coding parameter, such as quantization parameter (qp) or target compression ratio etc..If each qp is as a kind of encoded attributes, preserve
One corresponding pred-type value, the span of encoded attributes qp is 0~51 for another example, then need to preserve 52 pred_type
Value.
After encoded data structure determines, configure a pred_type value for each encoded attributes value, for example, will own
Pred_type default initialization is skip_merge.
Step 220, according to the encoded attributes of present frame or burst, selects present frame or the type of prediction of burst coding
(pred_type);
Step 230, encodes to present frame or burst;
Using coded method same as the prior art, the predictive mode completing each cu/pu selects.
Step 240, in statistics present frame or burst, the distributed number of predictive mode (pred_mode) difference value, that is, tire out
Plus the quantity of predictive mode difference value, and sort;
Distributed number result will act as the input of step 250.
Step 250, updates and preservation pred_type:
It redefines the type of prediction (pred_type) of optimum according to the statistical result of step 240, and more newly encoded
The value of the encoded data structure correspondence position that device is safeguarded.
Meet defined herein, other syntactic elements similar with predictive mode, the piecemeal of such as inter prediction unit is big
Little (part_size), its value includes: 2nx2n, 2nxn, nx2n and nxn.These four values are in different frame or burst
Distributed number always do not meet yet take in prior art fixed codeword distribution coded method.Therefore, piecemeal size
(part_size) coding of this syntactic element can also be taken frame by frame or burst be adaptive with reference to the method for above-described embodiment description
The coded method answered.
In addition, each predicts the prediction direction (pred_dir) of piecemeal, the value bag of this syntactic element in such as b frame coding
Include forward, backward and two-way, the numeric distribution of these three values also complies with the rule of embodiment of the present invention description, that is, in different frame
Or there is huge diversity in burst it is also possible to take adaptive coded method described in above-described embodiment to improve compression
Code efficiency.
Additionally, the syntactic element being suitable for carrying out present invention method also includes: motion vector (mv), motion vector are pre-
Measuring rope draws movable informations such as (mvp_idx), and residual information such as coded residual mark (cbf) etc..In video standard
As long as the syntactic element being used allows (repeated multiple times appearance in a frame or burst, its value is not less than three kinds) all to can refer to
The method of embodiment of the present invention description is encoded.
The embodiment of the present invention is frame by frame or burst is adaptively adjusted coded method, can fully eliminate the code word of syntactic element
The existing information redundancy of distribution, improves compression coding efficiency.
One of ordinary skill in the art will appreciate that all or part of step in said method can be instructed by program
Related hardware completes, and described program can be stored in computer-readable recording medium, such as read only memory, disk or CD
Deng.Alternatively, all or part of step of above-described embodiment can also be realized using one or more integrated circuits.Accordingly
Ground, each module/unit in above-described embodiment can be to be realized in the form of hardware, it would however also be possible to employ the shape of software function module
Formula is realized.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly, the present invention also can have other various embodiments, in the case of without departing substantially from present invention spirit and its essence, ripe
Know those skilled in the art and work as and various corresponding changes and deformation can be made according to the present invention, but these corresponding changes and change
Shape all should belong to the protection domain of appended claims of the invention.
Claims (12)
1. a kind of coded method of syntactic element, comprising:
According to the encoded data structure that the inquiry of the encoded attributes value of present frame or burst is pre-configured, it is present frame or burst determines language
The method for expressing of method element, described encoded data structure includes: two or more encoded attributes value, and each encoded attributes value institute is right
The identification information of the method for expressing answered;
According to determined by syntactic element method for expressing, present frame or burst are encoded;
Described according to determined by syntactic element method for expressing, after the step that present frame or burst are encoded, described
Method also includes:
The quantity arrangement of each value of syntactic element in statistics present frame or burst, determines the method for expressing of this kind of arrangement of expression
Identification information;Belonged to the coding with present frame or burst in the update of identification information encoded data structure of the new method for expressing determining
Property be worth corresponding method for expressing identification information.
2. the method for claim 1 it is characterised in that:
Institute's syntax elements are the syntactic element of repeated multiple times appearance in a frame or burst, and its value is not less than three kinds;
Institute's syntax elements include following any one: predictive mode, piecemeal size, prediction direction, movable information, residual information.
3. the method for claim 1 it is characterised in that:
Described encoded attributes is can the be obtained ahead of time and parameter related to cataloged procedure before present frame or burst coding.
4. method as claimed in claim 3 it is characterised in that:
Described encoded attributes includes any one in following information: image complexity interval, the structure of image sets, image sets
Length, quantization parameter, target compression ratio.
5. the method for claim 1 it is characterised in that:
The method for expressing of institute's syntax elements is the method for all values of mark institute syntax elements, the mark of each method for expressing
Information is used for identifying a kind of method for expressing of institute's syntax elements.
6. method as claimed in claim 5 it is characterised in that:
Described according to determined by syntactic element method for expressing, the step that present frame or burst are encoded includes:
To all coding units in present frame or burst or predicting unit, all carry out according to the method for expressing of institute's syntax elements
Mark.
7. the method for claim 1 it is characterised in that:
The described coding with present frame or burst in the new update of identification information encoded data structure of method for expressing determining belongs to
The step of the identification information of the property corresponding method for expressing of value includes:
Search the identification information with the corresponding method for expressing of encoded attributes value of present frame or burst in encoded data structure, sentence
If the disconnected new identification information of method for expressing determining and the identification information of the method for expressing finding from encoded data structure
When differing, with the coding with present frame or burst in the update of identification information encoded data structure of the new method for expressing determining
The identification information of the corresponding method for expressing of property value.
8. the method as described in any claim in claim 1-7 it is characterised in that:
The identification information of described method for expressing is realized using code assignment mode.
9. a kind of code device of syntactic element, including the method for expressing determining unit of syntactic element, coding unit, wherein:
The method for expressing determining unit of institute's syntax elements, inquires about pre-configured for the encoded attributes value according to present frame or burst
Encoded data structure, be the method for expressing that present frame or burst determine syntactic element, described encoded data structure includes: two
Above encoded attributes value, and the identification information of each method for expressing corresponding to encoded attributes value;
Described coding unit, for according to determined by syntactic element method for expressing, present frame or burst are encoded;
Described device also includes adaptive unit, and it is used for after described coding unit encodes to present frame or burst, system
The quantity arrangement of each value of syntactic element in meter present frame or burst, determines the mark letter of the method for expressing representing this kind of arrangement
Breath;With the encoded attributes value pair with present frame or burst in the update of identification information encoded data structure of the new method for expressing determining
The identification information of the method for expressing answered.
10. device as claimed in claim 9 it is characterised in that:
Institute's syntax elements are the syntactic element of repeated multiple times appearance in a frame or burst, and its value is not less than three kinds;
Institute's syntax elements include following any one: predictive mode, piecemeal size, prediction direction, movable information, residual information;
Described encoded attributes is can the be obtained ahead of time and parameter related to cataloged procedure before present frame or burst coding, including
Any one in following information: image complexity interval, the structure of image sets, the length of image sets, quantization parameter, target pressure
Contracting ratio.
11. devices as described in claim 9 or 10 it is characterised in that:
The method for expressing of institute's syntax elements is the method for all values of mark institute syntax elements, the mark of each method for expressing
Information is used for identifying a kind of method for expressing of institute's syntax elements;The identification information of described method for expressing adopts code assignment mode
Realize.
12. devices as claimed in claim 11 it is characterised in that:
Described coding unit, be in the following ways according to determined by syntactic element method for expressing to present frame or point
Piece is encoded:
To all coding units in present frame or burst or predicting unit, all carry out according to the method for expressing of institute's syntax elements
Mark.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110001438.8A CN102595108B (en) | 2011-01-05 | 2011-01-05 | Method and device for coding syntactic element |
PCT/CN2011/084731 WO2012092822A1 (en) | 2011-01-05 | 2011-12-27 | Syntax element encoding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110001438.8A CN102595108B (en) | 2011-01-05 | 2011-01-05 | Method and device for coding syntactic element |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102595108A CN102595108A (en) | 2012-07-18 |
CN102595108B true CN102595108B (en) | 2017-02-01 |
Family
ID=46457228
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110001438.8A Active CN102595108B (en) | 2011-01-05 | 2011-01-05 | Method and device for coding syntactic element |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102595108B (en) |
WO (1) | WO2012092822A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105828084B (en) * | 2016-03-30 | 2021-04-13 | 腾讯科技(深圳)有限公司 | HEVC (high efficiency video coding) inter-frame coding processing method and device |
CN110958459B (en) * | 2018-09-26 | 2022-06-03 | 阿里巴巴集团控股有限公司 | Data processing method and device |
CN110636293B (en) * | 2019-09-27 | 2024-03-15 | 腾讯科技(深圳)有限公司 | Video encoding and decoding methods and devices, storage medium and electronic device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2952226B2 (en) * | 1997-02-14 | 1999-09-20 | 日本電信電話株式会社 | Predictive encoding method and decoding method for video, recording medium recording video prediction encoding or decoding program, and recording medium recording video prediction encoded data |
CN1897708A (en) * | 2002-01-18 | 2007-01-17 | 株式会社东芝 | Video encoding method and apparatus and video decoding method and apparatus |
CN101729889A (en) * | 2008-10-12 | 2010-06-09 | 联发科技股份有限公司 | Encoding/decoding method of digital media data and bit stream processing method thereof |
EP2355511A1 (en) * | 2009-12-21 | 2011-08-10 | Alcatel Lucent | Method and arrangement for jointly encoding a plurality of video streams |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7599435B2 (en) * | 2004-01-30 | 2009-10-06 | Fraunhofer-Gesellschaft Zur Foerderung Der Angewandten Forschung E.V. | Video frame encoding and decoding |
US20060008009A1 (en) * | 2004-07-09 | 2006-01-12 | Nokia Corporation | Method and system for entropy coding for scalable video codec |
US7221296B2 (en) * | 2005-08-22 | 2007-05-22 | Streaming Networks (Pvt.) Ltd. | Method and system for fast context based adaptive binary arithmetic coding |
EP2105025B1 (en) * | 2007-01-11 | 2021-04-07 | InterDigital VC Holdings, Inc. | Methods and apparatus for using syntax for the coded_block_flag syntax element and the coded_block_pattern syntax element for the cavlc 4:4:4 intra, high 4:4:4 intra, and high 4:4:4 predictive profiles in mpeg-4 avc high level coding |
CN100493198C (en) * | 2007-05-31 | 2009-05-27 | 北京中星微电子有限公司 | Probability model storing method in arithmetic coding |
US7777654B2 (en) * | 2007-10-16 | 2010-08-17 | Industrial Technology Research Institute | System and method for context-based adaptive binary arithematic encoding and decoding |
-
2011
- 2011-01-05 CN CN201110001438.8A patent/CN102595108B/en active Active
- 2011-12-27 WO PCT/CN2011/084731 patent/WO2012092822A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2952226B2 (en) * | 1997-02-14 | 1999-09-20 | 日本電信電話株式会社 | Predictive encoding method and decoding method for video, recording medium recording video prediction encoding or decoding program, and recording medium recording video prediction encoded data |
CN1897708A (en) * | 2002-01-18 | 2007-01-17 | 株式会社东芝 | Video encoding method and apparatus and video decoding method and apparatus |
CN101729889A (en) * | 2008-10-12 | 2010-06-09 | 联发科技股份有限公司 | Encoding/decoding method of digital media data and bit stream processing method thereof |
EP2355511A1 (en) * | 2009-12-21 | 2011-08-10 | Alcatel Lucent | Method and arrangement for jointly encoding a plurality of video streams |
Also Published As
Publication number | Publication date |
---|---|
WO2012092822A1 (en) | 2012-07-12 |
CN102595108A (en) | 2012-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10687058B2 (en) | Method and apparatus for coding of intra prediction mode | |
US10484680B2 (en) | Method and apparatus of intra mode coding | |
CN110460845B (en) | Method for palette coding | |
CN105052140B (en) | For the mode of next-generation video and the content-adaptive entropy coding of reftype data | |
CN103348651B (en) | Method and device with the converter unit segmentation for reducing complexity | |
CN105684441B (en) | The Block- matching based on hash in video and image coding | |
KR102038901B1 (en) | Apparatus and method for intra prediction coding/decoding based on adaptive candidate modes | |
CN102812706A (en) | Methods and apparatus for implicit adaptive motion vector predictor selection for video encoding and decoding | |
CN102090065A (en) | Image encoding device, image decoding device, image encoding method, and image decoding method | |
CN101682769A (en) | Method and apparatus for context dependent merging for skip-direct modes for video encoding and decoding | |
CN104702958A (en) | HEVC intraframe coding method and system based on spatial correlation | |
CN106454349B (en) | A kind of estimation block matching method based on H.265 Video coding | |
CN117041564A (en) | Video encoding/decoding method, apparatus, and recording medium storing bit stream | |
US20200053368A1 (en) | Method and apparatus for encoding a video | |
KR20220036982A (en) | Quadratic transformation for video encoding and decoding | |
CN102595108B (en) | Method and device for coding syntactic element | |
CN106331700A (en) | Coding and decoding methods of reference image, coding device, and decoding device | |
KR20180006877A (en) | Image coding method and apparatus for compensating sample values, image decoding method and apparatus for compensating sample values | |
KR101890182B1 (en) | Texture-bassed Early Decision Method of Block Size for Fast Intra Prediction in an HEVC Encoder | |
CN102075746A (en) | Video macro block decoding method and device | |
Yang et al. | A Fast Inter Mode Decision Algorithm for HEVC Encode System based on Spatial and Temporal Correlations |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |