CN102355579A - Method and device for coding or decoding in prediction mode - Google Patents
Method and device for coding or decoding in prediction mode Download PDFInfo
- Publication number
- CN102355579A CN102355579A CN2011102378656A CN201110237865A CN102355579A CN 102355579 A CN102355579 A CN 102355579A CN 2011102378656 A CN2011102378656 A CN 2011102378656A CN 201110237865 A CN201110237865 A CN 201110237865A CN 102355579 A CN102355579 A CN 102355579A
- Authority
- CN
- China
- Prior art keywords
- mode
- picture elements
- predictive mode
- adjacent picture
- interframe partition
- 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.)
- Granted
Links
Images
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
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention provides a method and a device for coding or decoding in a prediction mode. The method comprises the following steps of: judging the availability of an adjacent image unit of a current image unit to acquire a prediction mode combination of the adjacent image unit; obtaining a prediction mode list of the current image unit according to the prediction mode combination and a prediction mode list index table; and performing entropy coding on an actual prediction mode of the current image unit according to the prediction mode list of the current image unit at a coder. By the method and the device, the prediction mode combination of the adjacent image unit is acquired to obtain a prediction mode list which is most proper for the current image unit, and particularly when the prediction mode combination of the adjacent image unit is an inter-frame division mode combination, a relatively more optimal inter-frame division mode list can be obtained. Therefore, methods for adaptively selecting prediction modes and inter-frame division modes for the coding are implemented by effectively combining the motion attributes, texture information and the like of the current image unit to improve video compression efficiency.
Description
Technical field
The present invention relates to the coding and decoding video field, relate in particular to a kind of coding or coding/decoding method and device of predictive mode.
Background technology
Adopt a series of technology to reach high efficiency video coding in the video coding algorithm, for example infra-frame prediction, inter prediction, conversion, quantification and entropy coding or the like.Wherein at first use block-based motion vector to come the interframe of removal of images redundant, come in the frame of removal of images redundant through infra-frame prediction usage space predictive mode again through inter prediction; Then through prediction residual being carried out the visual redundancy of transform and quantization removal of images; Further compress through motion vector, predictive mode, quantization parameter and transformation parameter constant entropy cataloged procedure at last.
In the video coding predictive mode, include skip mode, Direct Model, merging patterns, inter-frame mode and frame mode.For the coding method of these predictive modes, the coded sequence that adopts usually is to be override with the skip mode at present, is other several modes then successively.Above-mentioned coded sequence is based on that probability statistics obtain, and supposes that promptly the quantity of skip mode is maximum, and the rest may be inferred.
But image to a certain frame; Because the influence of movement properties, texture information and coding parameter etc. between the two field picture; Make the ordering of above-mentioned predictive mode might not be adapted to two field picture to be encoded well, may cause the redundancy of code word, make that the efficient of video compression is not high.
And in the inter-frame mode of video coding; The concrete interframe partition mode that includes multiple Pixel Dimensions such as 16 * 16,16 * 8,8 * 16,8 * 8,8 * 4,4 * 8,4 * 4,32 * 32,32 * 16,16 * 32,64 * 64,64 * 32,32 * 64; In order to distinguish these different interframe partition modes, just need take corresponding code word and distinguish.Usually all be the front that the partition mode of large scale piece is placed on code table in existing video encoding standard, put the partition mode of small size piece then successively, in the time of will encoding to small size piece partition mode like this, will need more code word.
And to a certain two field picture; Because the influence of its movement properties, texture information and coding parameter etc.; The number of above-mentioned interframe partition mode quantity is also inequality; Make the ordering of above-mentioned interframe partition mode might not be adapted to two field picture to be encoded well; May cause the redundancy of code word, make that the efficient of video compression is not high.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of coding or coding/decoding method and device of predictive mode, can adaptively selected predictive mode, the coding method of interframe partition mode, improved the efficient of video compression.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of coding of predictive mode or coding/decoding method, said method comprises:
Judge the availability of the adjacent picture elements of present image unit, and obtain the predictive mode combination of adjacent picture elements according to judged result;
According to predictive mode combination that obtains and the predictive mode list index table of storing in advance, obtain the predictive mode tabulation of present image unit;
When being coding side,, the actual prediction pattern of said present image unit is carried out entropy coding according to the predictive mode tabulation of said present image unit; Perhaps,
When being decoding end, according to the tabulation of the predictive mode of said present image unit, the predictive mode of present image unit is carried out the entropy decoding, obtain the predictive mode of the reality of present image unit.
Wherein, included predictive mode is combined as in the predictive mode list index table of said storage in advance: the combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of an adjacent picture elements carries out, two adjacent picture elements carries out, combination that the predictive mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
In the predictive mode tabulation of said storage in advance, putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the said predictive mode list index table.
Wherein, when the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
Obtain the predictive mode of four or three available adjacent picture elements of present image unit;
From said four or three available predictive modes, choose of the predictive mode combination of three predictive modes as adjacent picture elements.
Wherein, when the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
Obtain the predictive mode of two the available adjacent picture elements in present image unit;
The predictive mode of any one disabled adjacent picture elements of present image unit is configured to one of predictive mode of said two available adjacent picture elements.
Wherein, when the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
Obtain the predictive mode of the available adjacent picture elements in present image unit;
The predictive mode of any two disabled adjacent picture elements of present image unit is configured to the predictive mode of a said available adjacent picture elements.
Wherein, when the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
The predictive mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of predictive mode in the predictive mode list index table respectively.
Wherein, when the predictive mode of said adjacent picture elements was inter-frame mode, the said predictive mode that obtains adjacent picture elements according to judged result was combined as:
Obtain the interframe partition mode combination of adjacent picture elements;
Correspondingly; Said according to predictive mode combination that obtains and the predictive mode list index table of storing in advance; The predictive mode tabulation that obtains the present image unit is: according to interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance, obtain the interframe partition mode tabulation of present image unit;
Said actual prediction pattern to said present image unit is carried out entropy coding and is: according to the interframe partition mode tabulation of said present image unit, partition mode between the actual frame of said present image unit is carried out entropy coding;
Saidly predictive mode to the present image unit is carried out entropy be decoded as: according to the interframe partition mode tabulation of said present image unit; Interframe partition mode to the present image unit carries out the entropy decoding, obtains the interframe partition mode of the reality of present image unit.
Wherein, when the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that the interframe partition mode of three adjacent picture elements carries out, the said interframe partition mode that obtains adjacent picture elements was combined as:
Obtain the interframe partition mode of four or three available adjacent picture elements of present image unit;
From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps,
Obtain the interframe partition mode of two the available adjacent picture elements in present image unit;
The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps,
Obtain the interframe partition mode of the available adjacent picture elements in present image unit;
The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps,
The interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
A kind of code device of predictive mode, said device comprises: predictive mode acquisition module, predictive mode list query module, coding module; Wherein,
The predictive mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the predictive mode combination of adjacent picture elements according to judged result;
Predictive mode list query module is used for predictive mode combination that obtains according to said predictive mode acquisition module and the predictive mode list index table of storing in advance, obtains the predictive mode tabulation of present image unit;
Coding module, the predictive mode tabulation of the present image unit that is used for obtaining according to said predictive mode list query module is carried out entropy coding to the actual prediction pattern of said present image unit.
Wherein, When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the predictive mode of four or three available adjacent picture elements of present image unit; From said four or three available predictive modes, choose of the predictive mode combination of three predictive modes as adjacent picture elements.
Wherein, When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the predictive mode of two the available adjacent picture elements in present image unit; The predictive mode of any one disabled adjacent picture elements of present image unit is configured to one of predictive mode of said two available adjacent picture elements.
Wherein, When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the predictive mode of the available adjacent picture elements in present image unit; The predictive mode of any two disabled adjacent picture elements of present image unit is configured to the predictive mode of a said available adjacent picture elements.
Wherein, When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used for the predictive mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of predictive mode list index table predictive mode respectively.
Wherein, when the predictive mode of said adjacent picture elements was inter-frame mode, said predictive mode acquisition module specifically was used for obtaining according to judged result the interframe partition mode combination of adjacent picture elements;
Said predictive mode list query module specifically is used for interframe partition mode combination that obtains according to said predictive mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Coding module, the interframe partition mode tabulation of the present image unit that is used for obtaining according to said predictive mode list query module is carried out entropy coding to partition mode between the actual frame of said present image unit.
Wherein, When the interframe partition mode in the interframe partition mode list index table of said storage in advance is combined as the combination that the interframe partition mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the interframe partition mode of four or three available adjacent picture elements of present image unit; From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps, obtain the interframe partition mode of two the available adjacent picture elements in present image unit; The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps, obtain the interframe partition mode of the available adjacent picture elements in present image unit; The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps, the interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
A kind of decoding device of predictive mode, said device comprises: predictive mode acquisition module, predictive mode list query module, decoder module; Wherein,
The predictive mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the predictive mode combination of adjacent picture elements according to judged result;
Predictive mode list query module is used for predictive mode combination that obtains according to said predictive mode acquisition module and the predictive mode list index table of storing in advance, obtains the predictive mode tabulation of present image unit;
Decoder module, the predictive mode tabulation of the present image unit that is used for obtaining according to said predictive mode list query module is carried out the entropy decoding to the predictive mode of present image unit, obtains the predictive mode of the reality of present image unit.
Wherein, when the predictive mode of said adjacent picture elements was inter-frame mode, said predictive mode acquisition module specifically was used for obtaining according to judged result the interframe partition mode combination of adjacent picture elements;
Said predictive mode list query module specifically is used for interframe partition mode combination that obtains according to said predictive mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Decoder module specifically is used for according to the tabulation of the interframe partition mode of said present image unit, and the interframe partition mode of present image unit is carried out the entropy decoding, obtains the interframe partition mode of the reality of present image unit.
A kind of coding of interframe partition mode or coding/decoding method, said method comprises:
Judge the availability of the adjacent picture elements of present image unit, and obtain the interframe partition mode combination of adjacent picture elements according to judged result;
According to interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance, obtain the interframe partition mode tabulation of present image unit;
When being coding side,, partition mode between the actual frame of said present image unit is carried out entropy coding according to the interframe partition mode tabulation of said present image unit; Perhaps,
When being decoding end, according to the tabulation of the interframe partition mode of said present image unit, the interframe partition mode of present image unit is carried out the entropy decoding, obtain the interframe partition mode of the reality of present image unit.
Wherein, included interframe partition mode is combined as in the interframe partition mode list index table of said storage in advance: the combination that the combination that the interframe partition mode of the combination that the interframe partition mode of an adjacent picture elements carries out, the combination that the interframe partition mode of two adjacent picture elements carries out, three adjacent picture elements carries out or the interframe partition mode of four adjacent picture elements carry out;
In the interframe partition mode tabulation of said storage in advance, putting in order of interframe partition mode is combined into line ordering according to the pairing interframe partition mode of interframe partition mode list index in the said interframe partition mode list index table.
Wherein, when the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that the interframe partition mode of three adjacent picture elements carries out, the said interframe partition mode that obtains adjacent picture elements was combined as:
Obtain the interframe partition mode of four or three available adjacent picture elements of present image unit;
From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps,
Obtain the interframe partition mode of two the available adjacent picture elements in present image unit;
The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps,
Obtain the interframe partition mode of the available adjacent picture elements in present image unit;
The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps,
The interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
A kind of code device of interframe partition mode, said device comprises: interframe partition mode acquisition module, interframe partition mode list query module, coding module; Wherein,
Interframe partition mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the interframe partition mode combination of adjacent picture elements according to judged result;
Interframe partition mode list query module is used for interframe partition mode combination that obtains according to said interframe partition mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Coding module, the interframe partition mode tabulation of the present image unit that is used for obtaining according to said interframe partition mode list query module is carried out entropy coding to partition mode between the actual frame of said present image unit.
A kind of decoding device of interframe partition mode, said device comprises: interframe partition mode acquisition module, interframe partition mode list query module, decoder module; Wherein,
Interframe partition mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the interframe partition mode combination of adjacent picture elements according to judged result;
Interframe partition mode list query module is used for interframe partition mode combination that obtains according to said interframe partition mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Decoder module is used for according to the tabulation of the interframe partition mode of said present image unit, and the interframe partition mode of present image unit is carried out the entropy decoding, obtains the interframe partition mode of the reality of present image unit.
The predictive mode combination of the adjacent picture elements of the present invention by obtaining the present image unit; Obtain the predictive mode tabulation of the most suitable present image unit; According to the predictive mode tabulation that obtains; The actual prediction pattern of present image unit is carried out the entropy coding; Especially when the predictive mode of adjacent picture elements is combined as the combination of interframe partition mode; Can also be according to obtaining more excellent interframe partition mode tabulation; And then partition mode between the actual frame of present image unit is carried out entropy encode; So; Effectively in conjunction with the movement properties of present image unit, texture information etc.; Realize adaptively selected predictive mode coding method and the coding method of selection interframe partition mode, improved the efficient of video compress.
Description of drawings
Fig. 1 is the sketch map of elementary area and adjacent picture elements;
Fig. 2 is the sketch map of elementary area and adjacent picture elements in the two field picture;
Fig. 3 is the sketch map that has used elementary area and adjacent picture elements in the two field picture of strips S lice/GOB/VP;
Fig. 4 is the coding of predictive mode provided by the invention or the realization flow sketch map of coding/decoding method;
Fig. 5 is the realization flow sketch map of specific embodiment of coding or the coding/decoding method of predictive mode provided by the invention;
Fig. 6 is the structural representation of the code device of predictive mode provided by the invention;
Fig. 7 is the structural representation of the decoding device of predictive mode provided by the invention;
When Fig. 8 is inter-frame mode for predictive mode provided by the invention, about the coding of concrete interframe partition mode or the realization flow sketch map of coding/decoding method;
Fig. 9 is predictive mode provided by the invention when being inter-frame mode, about the realization flow sketch map of the specific embodiment of the coding of concrete interframe partition mode or coding/decoding method;
Figure 10 is the structural representation of the code device of interframe partition mode provided by the invention;
Figure 11 is the structural representation of the decoding device of interframe partition mode provided by the invention.
Embodiment
Basic thought of the present invention is: judge the availability of the adjacent picture elements of present image unit, and obtain the predictive mode combination of adjacent picture elements according to judged result; According to predictive mode combination that obtains and the predictive mode list index table of storing in advance, obtain the predictive mode tabulation of present image unit; When being coding side,, the actual prediction pattern of said present image unit is carried out entropy coding according to the predictive mode tabulation of said present image unit; Perhaps, when being decoding end,, the predictive mode of present image unit is carried out the entropy decoding, obtain the predictive mode of the reality of present image unit according to the tabulation of the predictive mode of said present image unit.
For the ease of understanding of the present invention, at first introduce the adjacent picture elements of elementary area and the notion of availability thereof.
Locus between elementary area E and its adjacent picture elements A, B, C and the D as shown in Figure 1, picture in picture can be 16 * 16,32 * 32,64 * 64 or other Pixel Dimensions as the size of unit; Wherein A is the left elementary area of E, and B is the top elementary area of E, and C is the upper right side elementary area of E, and D is the upper left-hand image unit of E.
" availability " of adjacent picture elements X (X is A, B, C or D) is meant that this elementary area should be in this image, and this elementary area should belong in the same band (Slice/GOB/VP) with present image unit E, and accomplishes prior to E coding or decoding; Otherwise adjacent picture elements is considered as " unavailable ".
Here; Elementary area can be efficient video coding (High Efficiency Video Coding; HEVC) (the Coding Unit of the coding unit in; CU) or predicting unit (Prediction Unit; PU); Also can be H.264, H.263 with standards such as MPEG-4 in macro block (Macro Block, MB).
Fig. 2 is the sketch map of elementary area and adjacent picture elements in the two field picture, can find out in the adjacent picture elements of image border and have only part available, even all unavailable, as it is all unavailable to be positioned at the adjacent picture elements of elementary area E in the upper left corner; The adjacent picture elements part of elementary area E that is positioned at the lower left corner is available.
Fig. 3 has been to use the sketch map of elementary area and adjacent picture elements in the two field picture of Slice/GOB/VP; As shown in Figure 3; Owing to used the Slice/GOB/VP packing, even elementary area E is not in the image border, the disabled situation of part also can appear in its adjacent picture elements.
For making the object of the invention, technical scheme and advantage clearer, below lift embodiment and with reference to accompanying drawing, to further explain of the present invention.
Fig. 4 shows the coding of predictive mode of the present invention or the realization flow of coding/decoding method, and as shown in Figure 4, said method comprises the steps:
Step 401, the availability of the adjacent picture elements of judgement present image unit;
Whether particularly, in this step, obtain through the actual prediction pattern of judging adjacent picture elements, if then this adjacent picture elements is available, otherwise be unavailable.
Step 402, the predictive mode combination of obtaining adjacent picture elements;
In this step, at first, obtain the predictive mode combination of the adjacent picture elements of present image unit according to the judged result of step 401; Then, according to the number of the included adjacent picture elements of the combination of the predictive mode in the predictive mode list index table of storage in advance, obtain the predictive mode combination of adjacent picture elements; The combination that the predictive mode of the combination that the predictive mode of wherein, the combination that can carry out for the predictive mode of an adjacent picture elements of the combination of predictive mode, two adjacent picture elements carries out, combination that the predictive mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
Predictive mode list index table is to be used for the concordance list of index predictive mode tabulation, and it comprises predictive mode combination and the pairing predictive mode list index of this combination; Putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the predictive mode tabulation of said storage in advance.
In addition; Because in the actual video standard; Predictive mode further comprises multiple; For the ease of explanation; Here a predictive mode to adjacent picture elements carries out skip mode (Skip Mode); Inter-frame mode (Inter Mode); Differentiation on the frame mode big classifications such as (Intra Mode); And no longer further distinguish is interframe 16 * 16; Or interframe 16 * 8 or the like concrete interframe partition mode; So; When predictive mode comprises skip mode; Inter-frame mode; Frame mode; When the combination of each predictive mode comprises the predictive mode of 3 adjacent picture elements,, then need store 3 in advance according to permutation and combination
3=27 predictive mode tabulations get final product; When the combination of each predictive mode comprises the predictive mode of 2 adjacent picture elements, then need store 3 in advance
2=9 predictive mode tabulations get final product; By that analogy, repeat no more.
Step 403, the predictive mode combination of the adjacent picture elements of the present image unit that obtains according to step 402 and the predictive mode list index table of storage in advance obtain the predictive mode tabulation Lp of present image unit;
Particularly; Inquiry predictive mode list index table; In said predictive mode list index table, find the identical predictive mode combination of predictive mode combination of the adjacent picture elements that obtains with step 402; And then obtain the corresponding predictive mode list index of this combination; Through this index; Further obtain the predictive mode tabulation of the in advance storage corresponding, as the predictive mode tabulation Lp of present image unit with this index.
Step 404 when being coding side, is encoded to the present image unit, obtains actual predictive mode P;
Step 405 is carried out entropy coding according to the predictive mode of present image unit tabulation Lp to the actual prediction pattern P of present image unit;
Step 406 when being decoding end, according to the predictive mode of present image unit tabulation Lp, is carried out the entropy decoding to the predictive mode of present image unit in the code stream, obtains the actual predictive mode P in present image unit.
Below in conjunction with the predictive mode list index table shown in Fig. 5 and the table 1; Method to above-mentioned coding or decoding specifies; Wherein the predictive mode in the predictive mode list index table shown in the table 1 makes up the predictive mode of 3 adjacent picture elements that comprise; Simultaneously; For the ease of explanation, the predictive mode that comprises in this predictive mode combination is respectively: skip mode (being expressed as 0), inter-frame mode (being expressed as 1), frame mode (being expressed as 2).
Table 1
Fig. 5 shows the realization flow of specific embodiment of coding or the coding/decoding method of predictive mode of the present invention, and as shown in Figure 5, said specific embodiment comprises the steps:
Step 501, the availability of the adjacent picture elements of judgement present image unit;
Whether particularly, in this step, obtain through the actual prediction pattern of judging adjacent picture elements, if then this adjacent picture elements is available, otherwise be unavailable.
Step 502 is obtained the predictive mode of available adjacent picture elements;
In this step, when the present image unit had the available adjacent picture elements of 3 or 4, then the predictive mode of the available adjacent picture elements of Huo Deing was 3 or 4, this moment execution in step 503; When the predictive mode of the available adjacent picture elements that obtains is 2, execution in step 504; When the predictive mode of the available adjacent picture elements that obtains is 1, execution in step 505; When the present image unit did not have available adjacent picture elements, the predictive mode of the available adjacent picture elements of acquisition was 0, and then execution in step 506;
Step 503 is chosen the predictive mode combination of three predictive modes as adjacent picture elements, execution in step 507 from four of said acquisition or three available predictive modes;
Step 504; The predictive mode of arbitrary disabled adjacent picture elements of present image unit is configured to one of predictive mode of said available adjacent picture elements; Obtain a predictive mode combination that includes the predictive mode of 3 adjacent picture elements, execution in step 507;
Step 505; The predictive mode of wantonly two disabled adjacent picture elements of present image unit is configured to the predictive mode of a said available adjacent picture elements; Obtain a predictive mode combination that includes the predictive mode of 3 adjacent picture elements, execution in step 507;
Step 506; The predictive mode of wantonly three disabled adjacent picture elements of present image unit is configured to a kind of of predictive mode in the predictive mode list index table respectively; Obtain a predictive mode combination that includes the predictive mode of 3 adjacent picture elements, execution in step 507;
Wherein in this step, the predictive mode of selected three disabled adjacent picture elements can be configured to identical or different.
Step 507 according to the predictive mode combination and the predictive mode list index table of storing in advance of the adjacent picture elements that obtains, obtains the predictive mode tabulation Lp of present image unit;
Here; Inquiry predictive mode list index table; In said predictive mode list index table, find the predictive mode combination identical with the predictive mode combination of the adjacent picture elements that obtains; And then obtain the corresponding predictive mode list index of this combination; Through this index; Further obtain the predictive mode tabulation of the in advance storage corresponding, as the predictive mode tabulation Lp of present image unit with this index;
For example the predictive mode that ought obtain is combined as (0; 0; 0) time; Learn that through table 1 its corresponding predictive mode list index is 0; Then can be further in the predictive mode tabulation of storage in advance, search index and be 0 predictive mode tabulation, in the embodiment of the invention, be example with P frame among the Baseline in the standard H.264 specifically; Index is that the tabulation of 0 predictive mode can be adopted the predictive mode tabulation in the standard H.264, and is as shown in table 2:
Prediction mode number | Predictive mode |
0 | P_Skip |
1 | P_L0_16x16 |
2 | P_L0_L0_16x8 |
3 | P_L0_L0_8x16 |
4 | P_8x8 |
5 | P_8x8ref0 |
6 | Intra_4x4 |
7 | I_16x16_0_0_0 |
8 | I_16x16_1_0_0 |
9 | I_16x16_2_0_0 |
10 | I_16x16_3_0_0 |
11 | I_16x16_0_1_0 |
12 | I_16x16_1_1_0 |
13 | I_16x16_2_1_0 |
14 | I_16x16_3_1_0 |
15 | I_16x16_0_2_0 |
16 | I_16x16_1_2_0 |
17 | I_16x16_2_2_0 |
18 | I_16x16_3_2_0 |
19 | I_16x16_0_0_1 |
20 | I_16x16_1_0_1 |
21 | I_16x16_2_0_1 |
22 | I_16x16_3_0_1 |
23 | I_16x16_0_1_1 |
24 | I_16x16_1_1_1 |
25 | I_16x16_2_1_1 |
26 | I_16x16_3_1_1 |
27 | I_16x16_0_2_1 |
28 | I_16x16_1_2_1 |
29 | I_16x16_2_2_1 |
30 | I_16x16_3_2_1 |
31 | I_PCM |
Table 2
Simultaneously; The ordering of each predictive mode in the predictive mode tabulation; It is the pairing prediction mode number of each predictive mode; It is the ordering that pairing predictive mode combination is carried out according to this predictive mode list index; For example; Index is that the tabulation of 13 predictive mode is as shown in table 3; Index 13 pairing predictive mode in table 1 is combined as (1; 1; 1); The predictive mode that is the adjacent picture elements of present image unit is inter-frame mode, so the predictive mode of present image unit is the possibility maximum of inter-frame mode, is 0~4 so the prediction mode number 1~5 that belongs to inter-frame mode in the table 2 is promoted; Obtain table 3; This kind ordering can combine the movement properties of present image unit effectively well through the movement relation of adjacent picture elements and present image unit; Texture informations etc. carry out the selection of predictive mode coding method.
Prediction mode number | Predictive mode |
0 | P_L0_16x16 |
1 | P_L0_L0_16x8 |
2 | P_L0_L0_8x16 |
3 | P_8x8 |
4 | P_8x8ref0 |
5 | P_Skip |
6 | Intra_4x4 |
7 | I_16x16_0_0_0 |
8 | I_16x16_1_0_0 |
9 | I_16x16_2_0_0 |
10 | I_16x16_3_0_0 |
11 | I_16x16_0_1_0 |
12 | I_16x16_1_1_0 |
13 | I_16x16_2_1_0 |
14 | I_16x16_3_1_0 |
15 | I_16x16_0_2_0 |
16 | I_16x16_1_2_0 |
17 | I_16x16_2_2_0 |
18 | I_16x16_3_2_0 |
19 | I_16x16_0_0_1 |
20 | I_16x16_1_0_1 |
21 | I_16x16_2_0_1 |
22 | I_16x16_3_0_1 |
23 | I_16x16_0_1_1 |
24 | I_16x16_1_1_1 |
25 | I_16x16_2_1_1 |
26 | I_16x16_3_1_1 |
27 | I_16x16_0_2_1 |
28 | I_16x16_1_2_1 |
29 | I_16x16_2_2_1 |
30 | I_16x16_3_2_1 |
31 | I_PCM |
Table 3
Step 508 when being coding side, is encoded to the present image unit, obtains actual predictive mode P, execution in step 509;
Step 509 is carried out entropy coding according to the predictive mode of present image unit tabulation Lp to the actual prediction pattern P of present image unit;
Particularly, when the present image unit predictive mode be combined as (2,2,2), then the predictive mode of present image unit tabulation Lp is that index is 26 predictive mode tabulation; Specifically as shown in table 4;
The actual prediction pattern P of present image unit is a frame mode again; Reference table 2; With the prediction mode number that belongs to frame mode in the table 2 is 6~10 to be promoted to 0~4; Obtain index shown in the table 4 and be 26 predictive mode tabulation; So, the priority of the actual prediction pattern of present image unit obviously improves.For example; When the actual prediction pattern of present image unit is Intra_4 * 4; At this moment; When utilizing table 4 pair predictive mode Intra_4 * 4 to carry out entropy coding; Because predictive mode Intra_4 * 4 are pairing to be numbered 0; Utilize 1 bit can accomplish entropy coding, therefore only need this moment 1 bit can accomplish entropy coding predictive mode Intra_4 * 4 to 0; And adopt the predictive mode tabulation (as shown in table 2) in the standard H.264; Because predictive mode Intra_4 * 4 are pairing to be numbered 6; Therefore need utilize 5 bits just can accomplish entropy coding to 6; So the time need 5 bits could accomplish entropy coding to predictive mode Intra_4 * 4; This shows that the present invention utilizes less code word can accomplish the purpose to the entropy coding of actual prediction pattern P.
Prediction mode number | Predictive mode |
0 | Intra_4x4 |
1 | I_16x16_0_0_0 |
2 | I_16x16_1_0_0 |
3 | I_16x16_2_0_0 |
4 | I_16x16_3_0_0 |
5 | P_L0_16x16 |
6 | P_L0_L0_16x8 |
7 | P_L0_L0_8x16 |
8 | P_8x8 |
9 | P_8x8ref0 |
10 | P_Skip |
11 | I_16x16_0_1_0 |
12 | I_16x16_1_1_0 |
13 | I_16x16_2_1_0 |
14 | I_16x16_3_1_0 |
15 | I_16x16_0_2_0 |
16 | I_16x16_1_2_0 |
17 | I_16x16_2_2_0 |
18 | I_16x16_3_2_0 |
19 | I_16x16_0_0_1 |
20 | I_16x16_1_0_1 |
21 | I_16x16_2_0_1 |
22 | I_16x16_3_0_1 |
23 | I_16x16_0_1_1 |
24 | I_16x16_1_1_1 |
25 | I_16x16_2_1_1 |
26 | I_16x16_3_1_1 |
27 | I_16x16_0_2_1 |
28 | I_16x16_1_2_1 |
29 | I_16x16_2_2_1 |
30 | I_16x16_3_2_1 |
31 | I_PCM |
Table 4
Step 510 when being decoding end, according to the predictive mode of present image unit tabulation Lp, is carried out the entropy decoding to the predictive mode of present image unit in the code stream, obtains the actual predictive mode P in present image unit.
Fig. 6 shows the structural representation of the code device of predictive mode provided by the invention, and as shown in Figure 6, said code device comprises: predictive mode acquisition module 61, predictive mode list query module 62, coding module 63; Wherein,
Predictive mode acquisition module 61 is used to judge the availability of the adjacent picture elements of present image unit, and obtains the predictive mode combination of adjacent picture elements according to judged result; At first, obtain the predictive mode of the adjacent picture elements that can use the present image unit; Then, according to the number of the included adjacent picture elements of the combination of the predictive mode in the predictive mode list index table of storage in advance, obtain the predictive mode combination of adjacent picture elements; The combination that the predictive mode of the combination that the predictive mode of wherein, the combination that can carry out for the predictive mode of an adjacent picture elements of the combination of predictive mode, two adjacent picture elements carries out, combination that the predictive mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
Predictive mode list index table is to be used for the concordance list of index predictive mode tabulation, and it comprises predictive mode combination and the pairing predictive mode list index of this combination; Putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the predictive mode tabulation of said storage in advance.
Predictive mode list query module 62 is used for obtaining the predictive mode tabulation of present image unit according to said predictive mode acquisition module 61 predictive mode combination that obtains and the predictive mode list index table of storing in advance; Particularly; Inquiry predictive mode list index table; In said predictive mode list index table, find the identical predictive mode combination of predictive mode combination that obtains with said predictive mode acquisition module 61; And then obtain the corresponding predictive mode list index of this combination; Through this index; Further obtain the predictive mode tabulation of the in advance storage corresponding, as the predictive mode tabulation of present image unit with this index.
Wherein, the predictive mode in the predictive mode list index table stored in advance of said predictive mode list query module 62 is combined as the combination that the predictive mode of combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of an adjacent picture elements carries out, two adjacent picture elements carries out, three adjacent picture elements carries out or four adjacent picture elements carries out; For the ease of explanation; Here can carry out the differentiation on the big classification such as skip mode, inter-frame mode, frame mode to the predictive mode of adjacent picture elements; And no longer further distinguish is interframe 16 * 16; Or interframe 16 * 8 or the like concrete interframe partition mode; So; When predictive mode comprises skip mode, inter-frame mode, frame mode, when the combination of each predictive mode comprises the predictive mode of 3 adjacent picture elements, then need store 3 in advance
3=27 predictive mode tabulations get final product; When the combination of each predictive mode comprises the predictive mode of 2 adjacent picture elements, then need store 3 in advance
2=9 predictive mode tabulations get final product; By that analogy, repeat no more.
Further; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that three predictive modes carry out, said predictive mode acquisition module 61 specifically was used to obtain the predictive mode of four or three available adjacent picture elements of present image unit; From said four or three available predictive modes, choose of the predictive mode combination of three predictive modes as adjacent picture elements.
Further; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that three predictive modes carry out, said predictive mode acquisition module 61 specifically was used to obtain the predictive mode of two the available adjacent picture elements in present image unit; The predictive mode of arbitrary disabled adjacent picture elements of present encoding unit is configured to one of predictive mode of said two available adjacent picture elements.
Further; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that three predictive modes carry out, said predictive mode acquisition module 61 specifically was used to obtain the predictive mode of the available adjacent picture elements in present image unit; The predictive mode of wantonly two disabled adjacent picture elements of present image unit is configured to the predictive mode of a said available adjacent picture elements.
Further; When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that three predictive modes carry out; Said predictive mode acquisition module 61 specifically is used for correspondence table predictive mode a kind of that predictive mode with wantonly three disabled adjacent picture elements of present image unit is configured to combination and the predictive mode list index of predictive mode respectively, obtains a predictive mode combination that includes the predictive mode of 3 adjacent picture elements; The predictive mode of wherein selected three disabled adjacent picture elements can be configured to identical or different.
Here, when the predictive mode of said adjacent picture elements was the interframe partition mode, said predictive mode acquisition module 61 specifically was used for obtaining according to judged result the interframe partition mode combination of adjacent picture elements;
Said predictive mode list query module 62 specifically is used for obtaining the interframe partition mode tabulation of present image unit according to said predictive mode acquisition module 61 interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance;
Correspondingly; When the interframe partition mode in the interframe partition mode list index table of said storage in advance is combined as the combination that the interframe partition mode of three adjacent picture elements carries out; Said predictive mode acquisition module 61 specifically is used to obtain the interframe partition mode of four or three available adjacent picture elements of present image unit; From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps, obtain the interframe partition mode of two the available adjacent picture elements in present image unit; The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps, obtain the interframe partition mode of the available adjacent picture elements in present image unit; The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps, the interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
Fig. 7 shows the structural representation of the decoding device of predictive mode provided by the invention, and as shown in Figure 7, said decoding device comprises: predictive mode acquisition module 71, predictive mode list query module 72, decoder module 73; Wherein,
Predictive mode acquisition module 71 is used to judge the availability of the adjacent picture elements of present image unit, and obtains the predictive mode combination of adjacent picture elements according to judged result; At first, obtain the predictive mode of the adjacent picture elements that can use the present image unit; Then, according to the number of the included adjacent picture elements of the combination of the predictive mode in the predictive mode list index table of storage in advance, obtain the predictive mode combination of adjacent picture elements; The combination that the predictive mode of the combination that the predictive mode of wherein, the combination that can carry out for the predictive mode of an adjacent picture elements of the combination of predictive mode, two adjacent picture elements carries out, combination that the predictive mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
Predictive mode list index table is to be used for the concordance list of index predictive mode tabulation, and it comprises predictive mode combination and the pairing predictive mode list index of this combination; Putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the predictive mode tabulation of said storage in advance.
Predictive mode list query module 72 is used for obtaining the predictive mode tabulation of present image unit according to said predictive mode acquisition module 71 predictive mode combination that obtains and the predictive mode list index table of storing in advance; Particularly; Inquiry predictive mode list index table; In said predictive mode list index table, find the identical predictive mode combination of predictive mode combination that obtains with said predictive mode acquisition module 71; And then obtain the corresponding predictive mode list index of this combination; Through this index; Further obtain the predictive mode tabulation of the in advance storage corresponding, as the predictive mode tabulation of present image unit with this index.
Wherein, the predictive mode in the predictive mode list index table stored in advance of said predictive mode list query module 72 is combined as the combination that the predictive mode of combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of an adjacent picture elements carries out, two adjacent picture elements carries out, three adjacent picture elements carries out or four adjacent picture elements carries out; For the ease of explanation; Here can carry out the differentiation on the big classification such as skip mode, inter-frame mode, frame mode to the predictive mode of available adjacent picture elements; And no longer further distinguish is interframe 16 * 16; Or interframe 16 * 8 or the like concrete interframe partition mode; So; When predictive mode comprises skip mode, inter-frame mode, frame mode, when the combination of each predictive mode comprises the predictive mode of 3 adjacent picture elements, then need store 3 in advance
3=27 predictive mode tabulations get final product; When the combination of each predictive mode comprises the predictive mode of 2 adjacent picture elements, then need store 3 in advance
2=9 predictive mode tabulations get final product; By that analogy, repeat no more.
Putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the said predictive mode list index table in the predictive mode tabulation of said storage in advance.
Here, when the predictive mode of said adjacent picture elements was the interframe partition mode, said predictive mode acquisition module 71 specifically was used for obtaining according to judged result the interframe partition mode combination of adjacent picture elements;
Said predictive mode list query module 72 specifically is used for obtaining the interframe partition mode tabulation of present image unit according to said predictive mode acquisition module 72 interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance;
Correspondingly; When the interframe partition mode in the interframe partition mode list index table of said storage in advance is combined as the combination that the interframe partition mode of three adjacent picture elements carries out; Said predictive mode acquisition module 71 specifically is used to obtain the interframe partition mode of four or three available adjacent picture elements of present image unit; From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps, obtain the interframe partition mode of two the available adjacent picture elements in present image unit; The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps, obtain the interframe partition mode of the available adjacent picture elements in present image unit; The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps, the interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
Should be appreciated that above-mentioned code device and decoding device also can be combined in the same device, comprise predictive mode acquisition module, predictive mode list query module, coding module, reach decoder module in conjunction with the coding and decoding device that obtains; Wherein the function of each module is same as described above, repeats no more.
When Fig. 8 showed predictive mode provided by the invention and is inter-frame mode, about the coding of concrete interframe partition mode or the realization flow of coding/decoding method, as shown in Figure 8, said method comprised the steps:
Whether particularly, in this step, obtain through partition mode between the actual frame of judging adjacent picture elements, if then this adjacent picture elements is available, otherwise be unavailable.
In this step, at first, obtain the interframe partition mode combination of the adjacent picture elements of present image unit according to the judged result of step 801; Then, according to the number of the included adjacent picture elements of the combination of the interframe partition mode in the interframe partition mode list index table of storage in advance, obtain the interframe partition mode combination of adjacent picture elements; The combination that the interframe partition mode of the combination that the interframe partition mode of wherein, the combination that can carry out for the interframe partition mode of an adjacent picture elements of the combination of interframe partition mode, two adjacent picture elements carries out, combination that the interframe partition mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
Interframe partition mode list index table is to be used for the concordance list that partition mode is tabulated between index frame, and it comprises combination of interframe partition mode and the pairing interframe partition mode of this combination list index; Putting in order of interframe partition mode is combined into line ordering according to the pairing interframe partition mode of interframe partition mode list index in the interframe partition mode tabulation of said storage in advance.
In addition; In the actual video standard; When the interframe partition mode comprises PART_2N * 2N, PART_2N * N, PART_N * 2N, four kinds of interframe partition modes of PART_N * N; And when the combination of each interframe partition mode comprises the interframe partition mode of 3 adjacent picture elements; According to permutation and combination, then need store 4 in advance
3=64 interframe partition mode tabulations get final product; When the combination of each interframe partition mode comprises the interframe partition mode of 2 adjacent picture elements, then need store 4 in advance
2=16 interframe partition mode tabulations get final product; By that analogy, repeat no more.
Particularly; Inquiry interframe partition mode list index table; In said interframe partition mode list index table, find the identical interframe partition mode combination of interframe partition mode combination of the adjacent picture elements that obtains with step 802; And then obtain the corresponding interframe partition mode list index of this combination; Through this index; Further obtain the interframe partition mode tabulation of the in advance storage corresponding, as the interframe partition mode tabulation Lp ' of present image unit with this index.
Step 804 when being coding side, is encoded to the present image unit, obtains actual interframe partition mode P ';
Step 806 when being decoding end, according to the interframe partition mode of present image unit tabulation Lp ', is carried out the entropy decoding to the interframe partition mode of present image unit in the code stream, obtains the actual interframe partition mode P ' in present image unit.
Below in conjunction with the interframe partition mode list index table shown in Fig. 9 and the table 5; Method to above-mentioned coding or decoding specifies; Wherein the interframe partition mode in the interframe partition mode list index table shown in the table 5 makes up the interframe partition mode of 3 adjacent picture elements that comprise; Simultaneously; For the ease of explanation, the interframe partition mode that comprises in this interframe partition mode combination is respectively: PART_2N * 2N (being expressed as 0), PART_2N * N (being expressed as 1), PART_N * 2N (being expressed as 2), PART_N * N (being expressed as 3); Wherein, the N here can be pixel sizes such as 4,8 or 16.
Table 5
When Fig. 9 showed predictive mode provided by the invention and is inter-frame mode, about the realization flow of the specific embodiment of the coding of concrete interframe partition mode or coding/decoding method, as shown in Figure 9, said specific embodiment comprised the steps:
Whether particularly, in this step, obtain through partition mode between the actual frame of judging adjacent picture elements, if then this adjacent picture elements is available, otherwise be unavailable.
Step 902 is obtained the interframe partition mode of available adjacent picture elements;
In this step, when the present image unit had the available adjacent picture elements of 3 or 4, then the interframe partition mode of the available adjacent picture elements of Huo Deing was 3 or 4, this moment execution in step 903; When the interframe partition mode of the available adjacent picture elements that obtains is 2, execution in step 904; When the interframe partition mode of the available adjacent picture elements that obtains is 1, execution in step 905; When the present image unit does not have available adjacent picture elements, when the interframe partition mode of the available adjacent picture elements of acquisition was 0, then execution in step 906;
Step 903 is chosen the interframe partition mode combination of three interframe partition modes as adjacent picture elements, execution in step 907 from four of said acquisition or three available interframe partition modes;
Wherein in this step, the interframe partition mode of selected three disabled adjacent picture elements can be configured to identical or different.
Step 907 according to the combination of interframe partition mode and the interframe partition mode list index table of storing in advance of the adjacent picture elements that obtains, obtains the interframe partition mode tabulation Lp ' of present image unit;
Here; Inquiry interframe partition mode list index table; In said interframe partition mode list index table, find the interframe partition mode combination identical with the interframe partition mode combination of the adjacent picture elements that obtains; And then obtain the corresponding interframe partition mode list index of this combination; Through this index; Further obtain the interframe partition mode tabulation of the in advance storage corresponding, as the interframe partition mode tabulation Lp ' of present image unit with this index;
The interframe partition mode that for example ought obtain is combined as (0; 0; 0) time; Learn that through table 5 its corresponding interframe partition mode list index is 0; Then can be further in the interframe partition mode tabulation of storage in advance, search index and be 0 interframe partition mode tabulation; In the embodiment of the invention, be example with the HEVC standard, index is that the tabulation of 0 interframe partition mode is specifically as shown in table 6:
Interframe partition mode numbering | The interframe partition mode |
0 | PART_2Nx2N |
1 | PART_2NxN |
2 | PART_Nx2N |
3 | PART_NxN |
Table 6
Meanwhile, the list of inter-partition mode sorting between frames framing mode, which means that each of the corresponding frames frames framing pattern framing pattern number, is divided according to the inter-frame mode list index framing pattern corresponding to a combination of inter- sorting, for example, an index of the inter framing pattern list 21 as shown in Table 7, the index 21 in Table 5 into the corresponding inter mode combinations of (1,1,1), that the current picture unit adjacent images cell division patterns are inter PART_2N × N, so the current image unit frames framing pattern is PART_2N × N, most likely, is PART_2N × 2N or PART_N × N followed by the possibility for PART_N × 2N possible the least; therefore the Table 6 PART_2N × N interframe framing pattern number 1 upgraded to 0, PART_2N × 2N interframe framing pattern No. 0 to 1, PART_N × N interframe framing pattern number 3 upgraded to 2, the inter PART_N × 2N framing mode number 2 to 3, to obtain the table 7, this type of sorting can be well by the adjacent picture elements of the current relationship between the movement of the image unit, effectively combines the motion of the current image element attributes, texture information for inter-partition mode coding method selection.
Interframe partition mode numbering | The interframe partition mode |
0 | PART_2NxN |
1 | PART_2Nx2N |
2 | PART_NxN |
3 | PART_Nx2N |
Table 7
Step 908 when being coding side, is encoded to the present image unit, obtains actual interframe partition mode P ', execution in step 909;
Particularly, the interframe partition mode when the present image unit is combined as (2,2,2), and then the interframe partition mode of present image unit tabulation Lp ' is 42 interframe partition mode tabulation for index; Specifically as shown in table 8;
Partition mode P ' is PART_N * 2N between the actual frame of present image unit again; Reference table 6; With interframe partition mode in the table 6 is that the prediction mode number 2 of PART_N * 2N is promoted to 0; Obtain index shown in the table 8 and be 42 interframe partition mode tabulation; So, the priority of partition mode PART_N * 2N obviously improves between the actual frame of present image unit.For example; When the actual prediction pattern of present image unit is PART_N * 2N; At this moment; When utilizing table 8 couple interframe partition mode PART_N * 2N to carry out entropy coding; Because interframe partition mode PART_N * 2N is pairing to be numbered 0; Utilize 1 bit can accomplish entropy coding, therefore only need this moment 1 bit can accomplish entropy coding interframe partition mode PART_N * 2N to 0; And the interframe partition mode tabulation (as shown in table 6) in the employing HEVC standard; Because interframe partition mode PART_N * 2N is pairing to be numbered 3; Therefore need utilize a plurality of bits just can accomplish entropy coding to 3; This shows that the present invention can utilize less code word can accomplish the purpose to the entropy coding of partition mode P ' between actual frame.
Interframe partition mode numbering | The interframe partition mode |
0 | PART_Nx2N |
1 | PART_2Nx2N |
2 | PART_NxN |
3 | PART_2NxN |
Table 8
Step 910 when being decoding end, according to the interframe partition mode of present image unit tabulation Lp ', is carried out the entropy decoding to the interframe partition mode of present image unit in the code stream, obtains the actual interframe partition mode P ' in present image unit.
Figure 10 shows the structural representation of the code device of interframe partition mode provided by the invention, and as shown in figure 10, said code device comprises: interframe partition mode acquisition module 101, interframe partition mode list query module 102, coding module 103; Wherein,
Interframe partition mode acquisition module 101 is used to judge the availability of the adjacent picture elements of present image unit, and obtains the interframe partition mode combination of adjacent picture elements according to judged result; At first, obtain the interframe partition mode of the adjacent picture elements that can use the present image unit; Then, according to the number of the included adjacent picture elements of the combination of the interframe partition mode in the interframe partition mode list index table of storage in advance, obtain the interframe partition mode combination of adjacent picture elements; The combination that the interframe partition mode of the combination that the interframe partition mode of wherein, the combination that can carry out for the interframe partition mode of an adjacent picture elements of the combination of interframe partition mode, two adjacent picture elements carries out, combination that the interframe partition mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
Interframe partition mode list index table is to be used for the concordance list that partition mode is tabulated between index frame, and it comprises combination of interframe partition mode and the pairing interframe partition mode of this combination list index; Putting in order of interframe partition mode is combined into line ordering according to the pairing interframe partition mode of interframe partition mode list index in the interframe partition mode tabulation of said storage in advance.
Interframe partition mode list query module 102 is used for obtaining the interframe partition mode tabulation of present image unit according to said interframe partition mode acquisition module 101 interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance; Particularly; Inquiry interframe partition mode list index table; In said interframe partition mode list index table, find the identical interframe partition mode combination of interframe partition mode combination that obtains with said interframe partition mode acquisition module 101; And then obtain the corresponding interframe partition mode list index of this combination; Through this index; Further obtain the interframe partition mode tabulation of the in advance storage corresponding, as the interframe partition mode tabulation of present image unit with this index.
Wherein, the interframe partition mode in the interframe partition mode list index table stored in advance of said interframe partition mode list query module 102 is combined as the combination that the interframe partition mode of combination that the interframe partition mode of the combination that the interframe partition mode of the combination that the interframe partition mode of an adjacent picture elements carries out, two adjacent picture elements carries out, three adjacent picture elements carries out or four adjacent picture elements carries out; In addition; In the actual video standard; When the interframe partition mode comprises PART_2N * 2N, PART_2N * N, PART_N * 2N, four kinds of interframe partition modes of PART_N * N; And when the combination of each interframe partition mode comprises the interframe partition mode of 3 adjacent picture elements; According to permutation and combination, then need store 4 in advance
3=64 interframe partition mode tabulations get final product; When the combination of each interframe partition mode comprises the interframe partition mode of 2 adjacent picture elements, then need store 4 in advance
2=16 interframe partition mode tabulations get final product; By that analogy, repeat no more.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that three interframe partition modes carry out, said interframe partition mode acquisition module 101 specifically was used to obtain the interframe partition mode of four or three available adjacent picture elements of present image unit; From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that three interframe partition modes carry out, said interframe partition mode acquisition module 101 specifically was used to obtain the interframe partition mode of two the available adjacent picture elements in present image unit; The interframe partition mode of arbitrary disabled adjacent picture elements of present encoding unit is configured to one of interframe partition mode of said two available adjacent picture elements.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that three interframe partition modes carry out, said interframe partition mode acquisition module 101 specifically was used to obtain the interframe partition mode of the available adjacent picture elements in present image unit; The interframe partition mode of wantonly two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance is combined as the combination that three interframe partition modes carry out; Said interframe partition mode acquisition module 101 specifically is used for correspondence table interframe partition mode a kind of that interframe partition mode with wantonly three disabled adjacent picture elements of present image unit is configured to combination and the interframe partition mode list index of interframe partition mode respectively, obtains an interframe partition mode combination that includes the interframe partition mode of 3 adjacent picture elements; The interframe partition mode of wherein selected three disabled adjacent picture elements can be configured to identical or different.
Figure 11 shows the structural representation of the decoding device of interframe partition mode provided by the invention, and as shown in figure 11, said decoding device comprises: interframe partition mode acquisition module 111, interframe partition mode list query module 112, decoder module 113; Wherein,
Interframe partition mode acquisition module 111 is used to judge the availability of the adjacent picture elements of present image unit, and obtains the interframe partition mode combination of adjacent picture elements according to judged result; At first, obtain the interframe partition mode of the adjacent picture elements that can use the present image unit; Then, according to the number of the included adjacent picture elements of the combination of the interframe partition mode in the interframe partition mode list index table of storage in advance, obtain the interframe partition mode combination of adjacent picture elements; The combination that the interframe partition mode of the combination that the interframe partition mode of wherein, the combination that can carry out for the interframe partition mode of an adjacent picture elements of the combination of interframe partition mode, two adjacent picture elements carries out, combination that the interframe partition mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
Interframe partition mode list index table is to be used for the concordance list that partition mode is tabulated between index frame, and it comprises combination of interframe partition mode and the pairing interframe partition mode of this combination list index; Putting in order of interframe partition mode is combined into line ordering according to the pairing interframe partition mode of interframe partition mode list index in the interframe partition mode tabulation of said storage in advance.
Interframe partition mode list query module 112 is used for obtaining the interframe partition mode tabulation of present image unit according to said interframe partition mode acquisition module 111 interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance; Particularly; Inquiry interframe partition mode list index table; In said interframe partition mode list index table, find the identical interframe partition mode combination of interframe partition mode combination that obtains with said interframe partition mode acquisition module 111; And then obtain the corresponding interframe partition mode list index of this combination; Through this index; Further obtain the interframe partition mode tabulation of the in advance storage corresponding, as the interframe partition mode tabulation of present image unit with this index.
Wherein, the interframe partition mode in the interframe partition mode list index table stored in advance of said interframe partition mode list query module 112 is combined as the combination that the interframe partition mode of combination that the interframe partition mode of the combination that the interframe partition mode of the combination that the interframe partition mode of an adjacent picture elements carries out, two adjacent picture elements carries out, three adjacent picture elements carries out or four adjacent picture elements carries out; In addition; In the actual video standard; When the interframe partition mode comprises PART_2N * 2N, PART_2N * N, PART_N * 2N, four kinds of interframe partition modes of PART_N * N; And when the combination of each interframe partition mode comprises the interframe partition mode of 3 adjacent picture elements; According to permutation and combination, then need store 4 in advance
3=64 interframe partition mode tabulations get final product; When the combination of each interframe partition mode comprises the interframe partition mode of 2 adjacent picture elements, then need store 4 in advance
2=16 interframe partition mode tabulations get final product; By that analogy, repeat no more.
Putting in order of interframe partition mode is combined into line ordering according to the pairing interframe partition mode of interframe partition mode list index in the said interframe partition mode list index table in the interframe partition mode tabulation of said storage in advance.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that three interframe partition modes carry out, said interframe partition mode acquisition module 111 specifically was used to obtain the interframe partition mode of four or three available adjacent picture elements of present image unit; From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that three interframe partition modes carry out, said interframe partition mode acquisition module 111 specifically was used to obtain the interframe partition mode of two the available adjacent picture elements in present image unit; The interframe partition mode of arbitrary disabled adjacent picture elements of present encoding unit is configured to one of interframe partition mode of said two available adjacent picture elements.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that three interframe partition modes carry out, said interframe partition mode acquisition module 111 specifically was used to obtain the interframe partition mode of the available adjacent picture elements in present image unit; The interframe partition mode of wantonly two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements.
Further; When the interframe partition mode in the interframe partition mode list index table of said storage in advance is combined as the combination that three interframe partition modes carry out; Said interframe partition mode acquisition module 111 specifically is used for correspondence table interframe partition mode a kind of that interframe partition mode with wantonly three disabled adjacent picture elements of present image unit is configured to combination and the interframe partition mode list index of interframe partition mode respectively, obtains an interframe partition mode combination that includes the interframe partition mode of 3 adjacent picture elements; The interframe partition mode of wherein selected three disabled adjacent picture elements can be configured to identical or different.
Should be appreciated that above-mentioned code device and decoding device also can be combined in the same device, comprise interframe partition mode acquisition module, interframe partition mode list query module, coding module, reach decoder module in conjunction with the coding and decoding device that obtains; Wherein the function of each module is same as described above, repeats no more.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.
Claims (24)
1. the coding of a predictive mode or coding/decoding method is characterized in that, said method comprises:
Judge the availability of the adjacent picture elements of present image unit, and obtain the predictive mode combination of adjacent picture elements according to judged result;
According to predictive mode combination that obtains and the predictive mode list index table of storing in advance, obtain the predictive mode tabulation of present image unit;
When being coding side,, the actual prediction pattern of said present image unit is carried out entropy coding according to the predictive mode tabulation of said present image unit; Perhaps,
When being decoding end, according to the tabulation of the predictive mode of said present image unit, the predictive mode of present image unit is carried out the entropy decoding, obtain the predictive mode of the reality of present image unit.
2. method according to claim 1; It is characterized in that included predictive mode is combined as in the predictive mode list index table of said storage in advance: the combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of an adjacent picture elements carries out, two adjacent picture elements carries out, combination that the predictive mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
In the predictive mode tabulation of said storage in advance, putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the said predictive mode list index table.
3. method according to claim 1; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
Obtain the predictive mode of four or three available adjacent picture elements of present image unit;
From said four or three available predictive modes, choose of the predictive mode combination of three predictive modes as adjacent picture elements.
4. method according to claim 1; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
Obtain the predictive mode of two the available adjacent picture elements in present image unit;
The predictive mode of any one disabled adjacent picture elements of present image unit is configured to one of predictive mode of said two available adjacent picture elements.
5. method according to claim 1; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
Obtain the predictive mode of the available adjacent picture elements in present image unit;
The predictive mode of any two disabled adjacent picture elements of present image unit is configured to the predictive mode of a said available adjacent picture elements.
6. method according to claim 1; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance was combined as the combination that the predictive mode of three adjacent picture elements carries out, the said predictive mode that obtains adjacent picture elements was combined as:
The predictive mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of predictive mode in the predictive mode list index table respectively.
7. method according to claim 1 is characterized in that, when the predictive mode of said adjacent picture elements was inter-frame mode, the said predictive mode that obtains adjacent picture elements according to judged result was combined as:
Obtain the interframe partition mode combination of adjacent picture elements;
Correspondingly; Said according to predictive mode combination that obtains and the predictive mode list index table of storing in advance; The predictive mode tabulation that obtains the present image unit is: according to interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance, obtain the interframe partition mode tabulation of present image unit;
Said actual prediction pattern to said present image unit is carried out entropy coding and is: according to the interframe partition mode tabulation of said present image unit, partition mode between the actual frame of said present image unit is carried out entropy coding;
Saidly predictive mode to the present image unit is carried out entropy be decoded as: according to the interframe partition mode tabulation of said present image unit; Interframe partition mode to the present image unit carries out the entropy decoding, obtains the interframe partition mode of the reality of present image unit.
8. method according to claim 7; It is characterized in that; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that the interframe partition mode of three adjacent picture elements carries out, the said interframe partition mode that obtains adjacent picture elements was combined as:
Obtain the interframe partition mode of four or three available adjacent picture elements of present image unit;
From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps,
Obtain the interframe partition mode of two the available adjacent picture elements in present image unit;
The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps,
Obtain the interframe partition mode of the available adjacent picture elements in present image unit;
The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps,
The interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
9. the code device of a predictive mode is characterized in that, said device comprises: predictive mode acquisition module, predictive mode list query module, coding module; Wherein,
The predictive mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the predictive mode combination of adjacent picture elements according to judged result;
Predictive mode list query module is used for predictive mode combination that obtains according to said predictive mode acquisition module and the predictive mode list index table of storing in advance, obtains the predictive mode tabulation of present image unit;
Coding module, the predictive mode tabulation of the present image unit that is used for obtaining according to said predictive mode list query module is carried out entropy coding to the actual prediction pattern of said present image unit.
10. device according to claim 9; It is characterized in that the predictive mode in the predictive mode list index table that said predictive mode list query module is stored in advance is combined as: the combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of an adjacent picture elements carries out, two adjacent picture elements carries out, combination that the predictive mode of three adjacent picture elements carries out or four adjacent picture elements carries out;
In the predictive mode tabulation of said storage in advance, putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the said predictive mode list index table.
11. code device according to claim 9; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the predictive mode of four or three available adjacent picture elements of present image unit; From said four or three available predictive modes, choose of the predictive mode combination of three predictive modes as adjacent picture elements.
12. code device according to claim 9; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the predictive mode of two the available adjacent picture elements in present image unit; The predictive mode of any one disabled adjacent picture elements of present image unit is configured to one of predictive mode of said two available adjacent picture elements.
13. code device according to claim 9; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the predictive mode of the available adjacent picture elements in present image unit; The predictive mode of any two disabled adjacent picture elements of present image unit is configured to the predictive mode of a said available adjacent picture elements.
14. code device according to claim 9; It is characterized in that; When the predictive mode in the predictive mode list index table of said storage in advance is combined as the combination that the predictive mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used for the predictive mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of predictive mode list index table predictive mode respectively.
15. code device according to claim 9; It is characterized in that; When the predictive mode of said adjacent picture elements was inter-frame mode, said predictive mode acquisition module specifically was used for obtaining according to judged result the interframe partition mode combination of adjacent picture elements;
Said predictive mode list query module specifically is used for interframe partition mode combination that obtains according to said predictive mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Coding module, the interframe partition mode tabulation of the present image unit that is used for obtaining according to said predictive mode list query module is carried out entropy coding to partition mode between the actual frame of said present image unit.
16. code device according to claim 15; It is characterized in that; When the interframe partition mode in the interframe partition mode list index table of said storage in advance is combined as the combination that the interframe partition mode of three adjacent picture elements carries out; Said predictive mode acquisition module specifically is used to obtain the interframe partition mode of four or three available adjacent picture elements of present image unit; From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps, obtain the interframe partition mode of two the available adjacent picture elements in present image unit; The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps, obtain the interframe partition mode of the available adjacent picture elements in present image unit; The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps, the interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
17. the decoding device of a predictive mode is characterized in that, said device comprises: predictive mode acquisition module, predictive mode list query module, decoder module; Wherein,
The predictive mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the predictive mode combination of adjacent picture elements according to judged result;
Predictive mode list query module is used for predictive mode combination that obtains according to said predictive mode acquisition module and the predictive mode list index table of storing in advance, obtains the predictive mode tabulation of present image unit;
Decoder module, the predictive mode tabulation of the present image unit that is used for obtaining according to said predictive mode list query module is carried out the entropy decoding to the predictive mode of present image unit, obtains the predictive mode of the reality of present image unit.
18. decoding device according to claim 17 is characterized in that, the predictive mode in the predictive mode list index table that said predictive mode list query module is stored in advance is combined as; The combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of the combination that the predictive mode of an adjacent picture elements carries out, two adjacent picture elements carries out, three adjacent picture elements carries out or four adjacent picture elements carries out;
In the predictive mode tabulation of said storage in advance, putting in order of predictive mode is combined into line ordering according to the pairing predictive mode of predictive mode list index in the said predictive mode list index table.
19. decoding device according to claim 17; It is characterized in that; When the predictive mode of said adjacent picture elements was inter-frame mode, said predictive mode acquisition module specifically was used for obtaining according to judged result the interframe partition mode combination of adjacent picture elements;
Said predictive mode list query module specifically is used for interframe partition mode combination that obtains according to said predictive mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Decoder module specifically is used for according to the tabulation of the interframe partition mode of said present image unit, and the interframe partition mode of present image unit is carried out the entropy decoding, obtains the interframe partition mode of the reality of present image unit.
20. the coding of an interframe partition mode or coding/decoding method is characterized in that, said method comprises:
Judge the availability of the adjacent picture elements of present image unit, and obtain the interframe partition mode combination of adjacent picture elements according to judged result;
According to interframe partition mode combination that obtains and the interframe partition mode list index table of storing in advance, obtain the interframe partition mode tabulation of present image unit;
When being coding side,, partition mode between the actual frame of said present image unit is carried out entropy coding according to the interframe partition mode tabulation of said present image unit; Perhaps,
When being decoding end, according to the tabulation of the interframe partition mode of said present image unit, the interframe partition mode of present image unit is carried out the entropy decoding, obtain the interframe partition mode of the reality of present image unit.
21. method according to claim 20; It is characterized in that included interframe partition mode is combined as in the interframe partition mode list index table of said storage in advance: the combination that the combination that the interframe partition mode of the combination that the interframe partition mode of an adjacent picture elements carries out, the combination that the interframe partition mode of two adjacent picture elements carries out, three adjacent picture elements carries out or the interframe partition mode of four adjacent picture elements carry out;
In the interframe partition mode tabulation of said storage in advance, putting in order of interframe partition mode is combined into line ordering according to the pairing interframe partition mode of interframe partition mode list index in the said interframe partition mode list index table.
22. method according to claim 20; It is characterized in that; When the interframe partition mode in the interframe partition mode list index table of said storage in advance was combined as the combination that the interframe partition mode of three adjacent picture elements carries out, the said interframe partition mode that obtains adjacent picture elements was combined as:
Obtain the interframe partition mode of four or three available adjacent picture elements of present image unit;
From said four or three available interframe partition modes, choose of the interframe partition mode combination of three interframe partition modes as adjacent picture elements; Perhaps,
Obtain the interframe partition mode of two the available adjacent picture elements in present image unit;
The interframe partition mode of any one disabled adjacent picture elements of present image unit is configured to one of interframe partition mode of said two available adjacent picture elements; Perhaps,
Obtain the interframe partition mode of the available adjacent picture elements in present image unit;
The interframe partition mode of any two disabled adjacent picture elements of present image unit is configured to the interframe partition mode of a said available adjacent picture elements; Perhaps,
The interframe partition mode of any three disabled adjacent picture elements of present image unit is configured to a kind of of interframe partition mode in the interframe partition mode list index table respectively.
23. the code device of an interframe partition mode is characterized in that, said device comprises: interframe partition mode acquisition module, interframe partition mode list query module, coding module; Wherein,
Interframe partition mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the interframe partition mode combination of adjacent picture elements according to judged result;
Interframe partition mode list query module is used for interframe partition mode combination that obtains according to said interframe partition mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Coding module, the interframe partition mode tabulation of the present image unit that is used for obtaining according to said interframe partition mode list query module is carried out entropy coding to partition mode between the actual frame of said present image unit.
24. the decoding device of an interframe partition mode is characterized in that, said device comprises: interframe partition mode acquisition module, interframe partition mode list query module, decoder module; Wherein,
Interframe partition mode acquisition module is used to judge the availability of the adjacent picture elements of present image unit, and obtains the interframe partition mode combination of adjacent picture elements according to judged result;
Interframe partition mode list query module is used for interframe partition mode combination that obtains according to said interframe partition mode acquisition module and the interframe partition mode list index table of storing in advance, obtains the interframe partition mode tabulation of present image unit;
Decoder module is used for according to the tabulation of the interframe partition mode of said present image unit, and the interframe partition mode of present image unit is carried out the entropy decoding, obtains the interframe partition mode of the reality of present image unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110237865.6A CN102355579B (en) | 2011-02-24 | 2011-08-18 | The coding or coding/decoding method and device of a kind of predictive mode |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110045874 | 2011-02-24 | ||
CN2011100458745 | 2011-02-24 | ||
CN201110045874.5 | 2011-02-24 | ||
CN201110237865.6A CN102355579B (en) | 2011-02-24 | 2011-08-18 | The coding or coding/decoding method and device of a kind of predictive mode |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102355579A true CN102355579A (en) | 2012-02-15 |
CN102355579B CN102355579B (en) | 2018-03-16 |
Family
ID=45579067
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110237865.6A Expired - Fee Related CN102355579B (en) | 2011-02-24 | 2011-08-18 | The coding or coding/decoding method and device of a kind of predictive mode |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN102355579B (en) |
WO (1) | WO2012113197A1 (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984521A (en) * | 2012-12-12 | 2013-03-20 | 四川大学 | High-efficiency video coding inter-frame mode judging method based on temporal relativity |
CN103024383A (en) * | 2012-12-14 | 2013-04-03 | 北京工业大学 | Intra-frame lossless compression coding method based on HEVC (high efficiency video coding) frame |
TWI586152B (en) * | 2012-04-26 | 2017-06-01 | 新力股份有限公司 | Data encoding and decoding |
CN109644275A (en) * | 2016-09-07 | 2019-04-16 | 高通股份有限公司 | Tree-shaped for video coding decodes |
WO2019174389A1 (en) * | 2018-03-16 | 2019-09-19 | 华为技术有限公司 | Intra-frame prediction method and device for image block |
CN110620926A (en) * | 2018-06-20 | 2019-12-27 | 浙江大学 | Intra-frame prediction mode coding and decoding method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004128749A (en) * | 2002-09-30 | 2004-04-22 | Toshiba Corp | Moving image coding method and decoding method |
CN1659580A (en) * | 2002-06-11 | 2005-08-24 | 诺基亚有限公司 | Spatial prediction based intra coding |
CN1674680A (en) * | 2005-03-31 | 2005-09-28 | 华中科技大学 | An enhanced in-frame predictive mode coding method |
CN101605255A (en) * | 2008-06-12 | 2009-12-16 | 华为技术有限公司 | A kind of method of coding and decoding video and device |
WO2010047099A1 (en) * | 2008-10-22 | 2010-04-29 | 日本電信電話株式会社 | Scalable moving image encoding method, scalable moving image encoding apparatus, scalable moving image encoding program, and computer readable recording medium where that program has been recorded |
-
2011
- 2011-07-04 WO PCT/CN2011/076827 patent/WO2012113197A1/en active Application Filing
- 2011-08-18 CN CN201110237865.6A patent/CN102355579B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1659580A (en) * | 2002-06-11 | 2005-08-24 | 诺基亚有限公司 | Spatial prediction based intra coding |
JP2004128749A (en) * | 2002-09-30 | 2004-04-22 | Toshiba Corp | Moving image coding method and decoding method |
CN1674680A (en) * | 2005-03-31 | 2005-09-28 | 华中科技大学 | An enhanced in-frame predictive mode coding method |
CN101605255A (en) * | 2008-06-12 | 2009-12-16 | 华为技术有限公司 | A kind of method of coding and decoding video and device |
WO2010047099A1 (en) * | 2008-10-22 | 2010-04-29 | 日本電信電話株式会社 | Scalable moving image encoding method, scalable moving image encoding apparatus, scalable moving image encoding program, and computer readable recording medium where that program has been recorded |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10674144B2 (en) | 2012-04-26 | 2020-06-02 | Sony Corporation | Filtering of prediction units according to intra prediction direction |
TWI586152B (en) * | 2012-04-26 | 2017-06-01 | 新力股份有限公司 | Data encoding and decoding |
US9693058B2 (en) | 2012-04-26 | 2017-06-27 | Sony Corporation | Filtering of prediction units according to intra prediction direction |
US10419750B2 (en) | 2012-04-26 | 2019-09-17 | Sony Corporation | Filtering of prediction units according to intra prediction direction |
CN102984521B (en) * | 2012-12-12 | 2015-04-08 | 四川大学 | High-efficiency video coding inter-frame mode judging method based on temporal relativity |
CN102984521A (en) * | 2012-12-12 | 2013-03-20 | 四川大学 | High-efficiency video coding inter-frame mode judging method based on temporal relativity |
CN103024383A (en) * | 2012-12-14 | 2013-04-03 | 北京工业大学 | Intra-frame lossless compression coding method based on HEVC (high efficiency video coding) frame |
CN103024383B (en) * | 2012-12-14 | 2016-02-10 | 北京工业大学 | A kind of based on lossless compression-encoding method in the frame of HEVC framework |
CN109644275A (en) * | 2016-09-07 | 2019-04-16 | 高通股份有限公司 | Tree-shaped for video coding decodes |
US11743508B2 (en) | 2016-09-07 | 2023-08-29 | Qualcomm Incorporated | Tree-type coding for video coding |
CN109644275B (en) * | 2016-09-07 | 2022-08-19 | 高通股份有限公司 | Tree coding for video coding |
WO2019174389A1 (en) * | 2018-03-16 | 2019-09-19 | 华为技术有限公司 | Intra-frame prediction method and device for image block |
CN110278435B (en) * | 2018-03-16 | 2021-11-19 | 华为技术有限公司 | Intra-frame prediction method and device for image block |
CN110278435A (en) * | 2018-03-16 | 2019-09-24 | 华为技术有限公司 | A kind of intra-frame prediction method and device of image block |
CN110620926B (en) * | 2018-06-20 | 2022-01-04 | 浙江大学 | Intra-frame prediction mode coding and decoding method and device |
CN110620926A (en) * | 2018-06-20 | 2019-12-27 | 浙江大学 | Intra-frame prediction mode coding and decoding method and device |
Also Published As
Publication number | Publication date |
---|---|
CN102355579B (en) | 2018-03-16 |
WO2012113197A1 (en) | 2012-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103688540B (en) | The method and apparatus of the coding unit of decoding video bit stream and processing video data | |
CN104768011B (en) | Image coding/decoding method and relevant apparatus | |
EP2556671B1 (en) | Low complexity cabac entropy-encoding/decoding method | |
CN103563389B (en) | Intra prediction mode decoding with directionality subregion | |
CN102355579A (en) | Method and device for coding or decoding in prediction mode | |
CN102835107A (en) | Super-block for high performance video coding | |
EP2727363A1 (en) | Method and apparatus of intra mode coding | |
CN104272736A (en) | Context determination for entropy coding of run-length encoded transform coefficients | |
CN103229507A (en) | Method for signaling image information, and method for decoding image information using same | |
CN103039073A (en) | Method for encoding/decoding high-resolution image and device for performing same | |
CN105453570A (en) | Content adaptive entropy coding of partitions data for next generation video | |
CN103139564A (en) | Methods for encoding/decoding of video using common merging candidate set of asymmetric partitions | |
CN108777789A (en) | The method for exporting movable information | |
CN103096069A (en) | Method and apparatus of deriving intra predicion mode | |
CN103988506A (en) | Method for intra prediction and device thereof | |
CN103096073A (en) | Method Of Constructing Merge List | |
CN104869402A (en) | Method Of Decoding Video Data | |
KR20110066109A (en) | Coding method and apparatus by using tree structure | |
CN104956674A (en) | Devices and methods for context reduction in last significant coefficient position coding | |
CN104243997A (en) | Method for quality scalable HEVC (high efficiency video coding) | |
US11611769B2 (en) | Video coding with triangular shape prediction units | |
CN102196272B (en) | P frame coding method and device | |
CN104954787B (en) | HEVC inter-frame forecast mode selection methods and device | |
CN101990104A (en) | Method and device for coding video images | |
CN101790096B (en) | Encoding and decoding method and device based on double prediction |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180316 Termination date: 20200818 |