CN102387361A - Reference frame processing method of video coding-decoding and video coder-decoder - Google Patents
Reference frame processing method of video coding-decoding and video coder-decoder Download PDFInfo
- Publication number
- CN102387361A CN102387361A CN2010105537005A CN201010553700A CN102387361A CN 102387361 A CN102387361 A CN 102387361A CN 2010105537005 A CN2010105537005 A CN 2010105537005A CN 201010553700 A CN201010553700 A CN 201010553700A CN 102387361 A CN102387361 A CN 102387361A
- Authority
- CN
- China
- Prior art keywords
- frame
- reference frame
- size
- statistical property
- reference number
- 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
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a reference frame processing method of video coding-decoding and a video coder-decoder. The reference frame processing method of the video coding comprises the following steps that: determining a statistical property of a reference frame for reference; determining the magnitude of a reference sequence number of the reference frame according to the statistical property of the reference frame for the reference; and determining a reference frame of a current frame according to the magnitude of the reference sequence number of the reference frame. The reference frame processing method of the video decoding comprises the following steps that: determining a statistical property of a reference frame for reference; determining the magnitude of a reference sequence number of the reference frame; and determining a reference frame of a current frame according to the magnitude of the reference sequence number of the reference frame. Due to the adoption of the method, the influence of the statistical property of the reference frame for the reference on determination of the reference frame of the current frame is adequately considered, a best reference frame for the current frame can be determined, and the video coding and decoding efficiency can be greatly improved.
Description
Technical field
The present invention relates to technical field of video processing, relate in particular to the reference frame processing method and the Video Codec of coding and decoding video.
Background technology
Coding and decoding video is the basic technology of multimedia communication.Coding and decoding video (Efficient video coding) technology can reduce communication bandwidth, and under the situation of same transmission bandwidth, improve video quality efficiently.MPEG-4Part10 (MPEG:Moving Pictures Experts Group, Motion Picture Experts Group) is (Advanced Video Coding, advanced video coding) promptly H.264/AVC, is the video encoding and decoding standard of present international and domestic extensive use.The international video standard of HVC (High-performance Video Coding, efficient video coding) is at present just at standardized video encoding and decoding standard of new generation.The JCT-VC meeting that the formulation work of HVC starts from April, 2010.With H.264/AVC compare, HVC will have significant improvement aspect encoding-decoding efficiency.
The inventor is in realizing process of the present invention, and it is following not enough to find that prior art exists:
Existing video coding and decoding technology is confirmed the size of the reference number of reference frame in chronological order when the reference frame of video coding/decoding is handled, thereby confirms the reference frame of present frame, and the coding and decoding video efficient of this processing is not high.
Summary of the invention
The embodiment of the invention provides a kind of reference frame processing method of video coding, and in order to improve video coding efficient, this method comprises:
Confirm that reference frame is used for the statistical property of reference;
Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame;
According to the size of the reference number of reference frame, confirm the reference frame of present frame.
The embodiment of the invention provides a kind of reference frame processing method of video decode, and in order to improve video decode efficient, this method comprises:
Confirm that reference frame is used for the statistical property of reference;
Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame;
According to the size of the reference number of reference frame, confirm the reference frame of present frame.
The embodiment of the invention also provides a kind of video encoder, in order to improve video coding efficient, comprising:
The statistical property determination module is used for confirming that reference frame is used for the statistical property of reference;
The reference number determination module is used for being used for according to reference frame the statistical property of reference, confirms the size of the reference number of reference frame;
The reference frame determination module is used for the size according to the reference number of reference frame, confirms the reference frame of present frame.
The embodiment of the invention also provides a kind of Video Decoder, in order to improve video decode efficient, comprising:
The statistical property determination module is used for confirming that reference frame is used for the statistical property of reference;
The reference number determination module is used for being used for according to reference frame the statistical property of reference, confirms the size of the reference number of reference frame;
The reference frame determination module is used for the size according to the reference number of reference frame, confirms the reference frame of present frame.
In the embodiment of the invention, confirm that reference frame is used for the statistical property of reference; Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame; According to the size of the reference number of reference frame, confirm the reference frame of present frame; With the size of confirming the reference number of reference frame in the prior art in chronological order; Thereby the technical scheme of confirming the reference frame of present frame is compared; Taken into full account reference frame and be used for of the influence of the statistical property of reference the reference frame of definite present frame; Can determine better reference frame for present frame, thereby improve the efficient of coding and decoding video greatly.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work property, can also obtain other accompanying drawing according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is the reference frame process flow figure of video coding in the embodiment of the invention;
Fig. 2 is the reference frame process flow figure of video decode in the embodiment of the invention;
Fig. 3 is for calculating the sketch map that reference frame is used for the statistical property of reference in the embodiment of the invention;
Fig. 4 is that the reference frame processing method difference with the prior art of video coding in the embodiment of the invention compares sketch map;
Fig. 5 is that the reference frame processing method of video coding of the embodiment of the invention is at the concrete application sketch map of coding side;
Fig. 6 is that the reference frame processing method of video decode of the embodiment of the invention is at the concrete application sketch map of decoding end;
Fig. 7 is the structural representation of video encoder in the embodiment of the invention;
Fig. 8 is the practical implementation sketch map of the reference frame determination module of video encoder in the embodiment of the invention;
Fig. 9 is the practical implementation sketch map of the reference frame determination module of video encoder in the embodiment of the invention;
Figure 10 is the structural representation of Video Decoder in the embodiment of the invention;
Figure 11 is the practical implementation sketch map of the reference frame determination module of Video Decoder in the embodiment of the invention;
Figure 12 is the practical implementation sketch map of the reference frame determination module of Video Decoder in the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, the embodiment of the invention is explained further details below in conjunction with accompanying drawing.At this, illustrative examples of the present invention and explanation thereof are used to explain the present invention, but not as to qualification of the present invention.
As shown in Figure 1, in the embodiment of the invention, the reference frame process flow of video coding can comprise:
Can learn by flow process shown in Figure 1, in the embodiment of the invention, confirm that reference frame is used for the statistical property of reference; Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame; According to the size of the reference number of reference frame, confirm the reference frame of present frame; With the size of confirming the reference number of reference frame in the prior art in chronological order; Thereby the technical scheme of confirming the reference frame of present frame is compared; Taken into full account reference frame and be used for of the influence of the statistical property of reference the reference frame of definite present frame; Can determine better reference frame for present frame, thereby improve the efficient of video coding greatly.
As shown in Figure 2, in the embodiment of the invention, the reference frame process flow of video decode can comprise:
Can learn by flow process shown in Figure 2, in the embodiment of the invention, confirm that reference frame is used for the statistical property of reference; Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame; According to the size of the reference number of reference frame, confirm the reference frame of present frame; With the size of confirming the reference number of reference frame in the prior art in chronological order; Thereby the technical scheme of confirming the reference frame of present frame is compared; Taken into full account reference frame and be used for of the influence of the statistical property of reference the reference frame of definite present frame; Can determine better reference frame for present frame, thereby improve the efficient of video decode greatly.
In the reference frame processing method of aforementioned video coding/decoding, reference frame is used for the statistical property of reference, is an accumulated value, and its reflection reference frame is selected for reference to the number of times that carries out predicted current frame.Be most commonly used to the accumulated value maximum of the reference frame of reference, the minimum accumulated value minimum that is used for the reference frame of reference.During practical implementation, can confirm that reference frame is used for the statistical property of reference by following formula:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
In the above-mentioned formula, 8 * 8 image blocks are meant that image block respectively has 8 pixels with vertical direction in the horizontal direction, and width and height are all in pixel, thus x=0~width/8, y=0~height/8; When implementing certainly, also can adopt the image block of the pixel of other quantity, then the value of x, y will change accordingly.
Fig. 3 has provided one and has calculated the example that reference frame is used for the statistical property of reference, and ref_idx_L0 is the reference number (also being like this among Fig. 4 of back) of reference frame among Fig. 3.Suppose the n=4 of present frame, promptly present frame is the 4th frame, and one has 48 * 8 image blocks { a, b, c, d} in the present frame.When calculating R
0The time, because in the present frame, have only image block b from the 0th frame reference frame (ref_idx_L0=3), to predict, so p
0(a)=0, p
0(b)=1, p
0(c)=0, p
0(d)=0.
Therefore
Similarly,
That is, the reference frame that is most commonly used to reference is the 2nd frame, and the minimum reference frame that is used for reference is the 1st frame.(x y)=a~d is meant that the image block of respective coordinates is a~d, does not provide concrete x, y is for the ease of corresponding image block is described in this example.
During practical implementation; In the reference frame processing method of aforementioned video coding/decoding; Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame, can comprise: the reference number that will be most commonly used to the reference frame of reference is labeled as: the minimum value of reference number; The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.That is, from reference frame to the minimum reference frame that is used for reference that is most commonly used to reference, reference number is changed from small to big, and fades to the maximum of reference number from the minimum value of reference number.For example, be most commonly used to the reference frame of reference, reference number is labeled as index0, the minimum reference frame that is used for reference, and reference number is labeled as indexMax-1.Certainly; During enforcement, also can be from reference frame to the minimum reference frame that is used for reference that is most commonly used to reference, reference number is from large to small; Perhaps adopt other size order mode, be used for the accumulated value size order of the statistical property of reference as long as can reflect reference frame.
During practical implementation; In the reference frame processing method of aforementioned video coding/decoding,, confirm the reference frame of present frame according to the size of the reference number of reference frame; Can comprise:, confirm the reference frame of current image block in the present frame according to the size of the reference number of reference frame.In present frame, except that current image block, the image block of coding/decoding and also not the image block of coding/decoding also be as stated above, confirm the reference frame of respective image piece according to the size of the reference number of reference frame.
During practical implementation; In the reference frame processing method of aforementioned video coding/decoding; According to the size of the reference number of reference frame, confirm the reference frame of present frame, can comprise: according to the size of the reference number of reference frame; By the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference, reference frame is sorted; According to ranking results, confirm the reference frame lists of present frame.
Reference frame sorted can confirm the position of reference frame in the reference frame lists of present frame, according to the position of each reference frame in the reference frame lists of present frame, can predict present frame, the position is different, and prediction result is different.Certainly; Also can be undertaken during ordering by the minimum order that is used for reference frame to the reference frame that is most commonly used to reference of reference; Perhaps adopting other sortord, is that statistical property according to reference frame is used for reference is confirmed the position of reference frame in reference frame lists as long as can reflect.
During practical implementation, in the reference frame processing method of aforementioned video coding/decoding,, confirm the reference frame of present frame, can comprise:, confirm the minimum reference frame that is used for reference according to the size of the reference number of reference frame according to the size of the reference number of reference frame; The minimum reference frame that is used for reference is deleted from the reference frame lists of present frame.
Pass through the foregoing description; The reference frame in the reference frame lists of present frame and the position of reference frame all are to confirm according to the statistical property that reference frame is used for reference, can determine better reference frame for present frame; Thereby shorten the time of prediction present frame, improve the efficient of coding and decoding video greatly.
Fig. 4 comparative descriptions the reference frame processing method difference with the prior art of video coding/decoding of the embodiment of the invention.From top to bottom first picture group is the reference frame lists of present frame when being the 4th frame.Only listed the reference frame processing method of reference frame lists 0 among Fig. 4, the method for the embodiment of the invention also can similarly be applied to the reference frame processing method of reference frame lists 1.
From top to bottom second picture group is in the prior art, the reference frame lists when present frame is the 5th frame.As can be seen from Figure 4; The reference frame processing method of prior art is according to time sequencing; Reference frame is the earliest deleted from reference frame lists; Upgrade the reference number of reference frame then successively, wherein the reference number of the 2nd frame reference frame is upgraded for ref_Idx_L0=2 by ref_Idx_L0=1.
From top to bottom the 3rd picture group is based on the video coding/decoding reference frame processing method that the embodiment of the invention proposes, reference frame ordering and reference frame lists result after reference frame is handled.Suppose R among Fig. 4
2>R
3>R
0>R
1, with the contrast of second picture group, R
2>R
3, promptly the 2nd frame more is usually used in reference with respect to the 3rd frame, and then the ref_Idx_L0 of the 2nd frame can represent with less bit number.By finding out among Fig. 4, the ref_Idx_L0 of the 2nd frame is not 2 of a prior art, but 1.In addition, the reference frame in the reference frame lists is reference frame 1,2,3,4 in the prior art algorithm, and the embodiment of the invention is a reference frame 0,2,3,4, is because R
0>R
1, promptly the 0th frame more is usually used in reference with respect to the 1st frame, then from reference frame lists, deletes the 1st frame, rather than deletes the 0th frame.Like this, from the statistical significance, comprised the reference frame that more is usually used in reference in the reference frame lists of the embodiment of the invention.
The reference frame processing method of the video coding/decoding of the embodiment of the invention all is the algorithm of application image layer (picture level) at coding side and decoding end, all is to confirm that earlier reference frame is used for the statistical property of reference; The statistical property that is used for reference again according to reference frame is confirmed the size of the reference number of reference frame; At last, confirm the reference frame of present frame according to the size of the reference number of reference frame.
Fig. 5 is that the reference frame processing method of video coding of the embodiment of the invention is at the concrete application sketch map of coding side.Can see that from Fig. 5 the reference frame processing method of the video coding of the embodiment of the invention is applied to the image buffer storage part of existing coding side, and image buffer storage has partly been carried out the reference frame processing controls.During practical implementation; Coding side when confirming the reference frame of present frame, can pass through ME (Motion Estimation in the size according to the reference number of reference frame; Estimation) or MC (Motion Compensation; Motion compensation), and the size of the reference number of reference frame, confirm the reference frame of present frame.That is, coding side is before the new picture frame of coding, and elder generation confirms the size of the reference number of reference frame according to the statistical property that reference frame is used for reference, and then passes through ME/MC, and the size of the reference number of determined reference frame, confirms the reference frame of present frame.
Fig. 6 is that the reference frame processing method of video decode of the embodiment of the invention is at the concrete application sketch map of decoding end.Can see that from Fig. 6 the reference frame processing method of the video decode of the embodiment of the invention is applied to the image buffer storage part of existing decoding end, and image buffer storage has partly been carried out the reference frame processing controls.During practical implementation, decoding end is before the new picture frame of decoding, and the statistical property that is used for reference according to reference frame is earlier confirmed the size of the reference number of reference frame, obtains the reference frame of present frame then according to the size of the reference number of determined reference frame.During practical implementation, decoding end is in the size according to the reference number of reference frame, when confirming the reference frame of present frame, can be through the entropy decoding, and the size of the reference number of reference frame, and confirm the reference frame of present frame.
Based on same inventive concept, a kind of video encoder and Video Decoder also are provided in the embodiment of the invention, of following embodiment.Because the principle that this video encoder/Video Decoder is dealt with problems is similar with the reference frame processing method of video coding/decoding; Therefore the enforcement of this video encoder/Video Decoder can repeat part and repeat no more referring to the enforcement of the reference frame processing method of video coding/decoding.
As shown in Figure 7, the video encoder in the embodiment of the invention can comprise:
Statistical property determination module 701 is used for confirming that reference frame is used for the statistical property of reference;
Reference number determination module 702 is used for being used for according to reference frame the statistical property of reference, confirms the size of the reference number of reference frame;
Reference frame determination module 703 is used for the size according to the reference number of reference frame, confirms the reference frame of present frame.
Among the embodiment, statistical property determination module 701 can specifically be used for by following formula, confirms that reference frame is used for the statistical property of reference:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
Among the embodiment, reference number determination module 702 can specifically be used for:
The reference number of the reference frame that is most commonly used to reference is labeled as: the minimum value of reference number;
The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.
Among the embodiment, reference frame determination module 703 can specifically be used for:
According to the size of the reference number of reference frame, confirm the reference frame of current image block in the present frame.
As shown in Figure 8, among the embodiment, reference frame determination module 703 can comprise:
Reference frame sequencing unit 801 is used for the size according to the reference number of reference frame, by the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference, reference frame is sorted;
Tabulation processing unit 802 is used for according to ranking results, confirms the reference frame lists of present frame.
As shown in Figure 9, among the embodiment, reference frame determination module 703 can comprise:
Reference frame determination unit 901 is used for the size according to the reference number of reference frame, confirms the minimum reference frame that is used for reference;
Among the embodiment, reference frame determination module 703 specifically can be used for:
Through ME or MC, and the size of the reference number of reference frame, confirm the reference frame of present frame.
Shown in figure 10, the Video Decoder in the embodiment of the invention can comprise:
Statistical property determination module 1001 is used for confirming that reference frame is used for the statistical property of reference;
Reference number determination module 1002 is used for being used for according to reference frame the statistical property of reference, confirms the size of the reference number of reference frame;
Reference frame determination module 1003 is used for the size according to the reference number of reference frame, confirms the reference frame of present frame.
Among the embodiment, statistical property determination module 1001 can specifically be used for by following formula, confirms that reference frame is used for the statistical property of reference:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
Among the embodiment, reference number determination module 1002 can specifically be used for:
The reference number of the reference frame that is most commonly used to reference is labeled as: the minimum value of reference number;
The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.
Among the embodiment, reference frame determination module 1003 can specifically be used for:
According to the size of the reference number of reference frame, confirm the reference frame of current image block in the present frame.
Shown in figure 11, among the embodiment, reference frame determination module 1003 can comprise:
Reference frame sequencing unit 1101 is used for the size according to the reference number of reference frame, by the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference, reference frame is sorted;
Shown in figure 12, among the embodiment, reference frame determination module 1003 can comprise:
Reference frame determination unit 1201 is used for the size according to the reference number of reference frame, confirms the minimum reference frame that is used for reference;
Among the embodiment, reference frame determination module 1003 can specifically be used for:
Through entropy decoding, and the size of the reference number of reference frame, confirm the reference frame of present frame.
In sum, in the embodiment of the invention, confirm that reference frame is used for the statistical property of reference; Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame; According to the size of the reference number of reference frame, confirm the reference frame of present frame; With the size of confirming the reference number of reference frame in the prior art in chronological order; Thereby the technical scheme of confirming the reference frame of present frame is compared; Taken into full account reference frame and be used for of the influence of the statistical property of reference the reference frame of definite present frame; Can determine better reference frame for present frame, thereby improve the efficient of coding and decoding video greatly.
The embodiment of the invention is used for the statistical property of reference through the statistical analysis reference frame; The reference number of effective choice reference frame and sign reference frame; Realize that coding and decoding video efficient improves; Wherein can be with the most frequently used minimum value mark of doing in the reference frame of reference with reference number, with the minimum maximum mark that is used for the reference frame of reference with reference number.The reference frame that the statistical property that the embodiment of the invention also is used for reference according to reference frame is updated in reference frame lists carries out the choice of reference frame.
Those skilled in the art should understand that embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of the embodiment of complete hardware embodiment, complete software implementation example or combination software and hardware aspect.And the present invention can be employed in the form that one or more computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) that wherein include computer usable program code go up the computer program of implementing.
The present invention is that reference is described according to the flow chart and/or the block diagram of method, equipment (system) and the computer program of the embodiment of the invention.Should understand can be by the flow process in each flow process in computer program instructions realization flow figure and/or the block diagram and/or square frame and flow chart and/or the block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out through the processor of computer or other programmable data processing device produce to be used for the device of the function that is implemented in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in ability vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work; Make the instruction that is stored in this computer-readable memory produce the manufacture that comprises command device, this command device is implemented in the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded on computer or other programmable data processing device; Make on computer or other programmable devices and to carry out the sequence of operations step producing computer implemented processing, thereby the instruction of on computer or other programmable devices, carrying out is provided for being implemented in the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
Above-described specific embodiment; The object of the invention, technical scheme and beneficial effect have been carried out further explain, and institute it should be understood that the above is merely specific embodiment of the present invention; And be not used in qualification protection scope of the present invention; All within spirit of the present invention and principle, any modification of being made, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (28)
1. the reference frame processing method of a video coding is characterized in that, this method comprises:
Confirm that reference frame is used for the statistical property of reference;
Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame;
According to the size of the reference number of reference frame, confirm the reference frame of present frame.
2. the method for claim 1 is characterized in that, by following formula, confirms that reference frame is used for the statistical property of reference:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
3. the method for claim 1 is characterized in that, saidly is used for the statistical property of reference according to reference frame, confirms the size of the reference number of reference frame, comprising:
The reference number of the reference frame that is most commonly used to reference is labeled as: the minimum value of reference number;
The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.
4. the method for claim 1 is characterized in that, the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
According to the size of the reference number of reference frame, confirm the reference frame of current image block in the present frame.
5. the method for claim 1 is characterized in that, the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
According to the size of the reference number of reference frame,, reference frame is sorted by the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference;
According to ranking results, confirm the reference frame lists of present frame.
6. the method for claim 1 is characterized in that, the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
According to the size of the reference number of reference frame, confirm the minimum reference frame that is used for reference;
The minimum reference frame that is used for reference is deleted from the reference frame lists of present frame.
7. like each described method of claim 1 to 6, it is characterized in that the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
Through estimation ME or motion compensation MC, and the size of the reference number of reference frame, confirm the reference frame of present frame.
8. the reference frame processing method of a video decode is characterized in that, this method comprises:
Confirm that reference frame is used for the statistical property of reference;
Be used for the statistical property of reference according to reference frame, confirm the size of the reference number of reference frame;
According to the size of the reference number of reference frame, confirm the reference frame of present frame.
9. method as claimed in claim 8 is characterized in that, by following formula, confirms that reference frame is used for the statistical property of reference:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
10. method as claimed in claim 8 is characterized in that, saidly is used for the statistical property of reference according to reference frame, confirms the size of the reference number of reference frame, comprising:
The reference number of the reference frame that is most commonly used to reference is labeled as: the minimum value of reference number;
The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.
11. method as claimed in claim 8 is characterized in that, the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
According to the size of the reference number of reference frame, confirm the reference frame of current image block in the present frame.
12. method as claimed in claim 8 is characterized in that, the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
According to the size of the reference number of reference frame,, reference frame is sorted by the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference;
According to ranking results, confirm the reference frame lists of present frame.
13. method as claimed in claim 8 is characterized in that, the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame:
According to the size of the reference number of reference frame, confirm the minimum reference frame that is used for reference;
The minimum reference frame that is used for reference is deleted from the reference frame lists of present frame.
14., it is characterized in that the size of said reference number according to reference frame is confirmed to comprise the reference frame of present frame like each described method of claim 8 to 13:
Through entropy decoding, and the size of the reference number of reference frame, confirm the reference frame of present frame.
15. a video encoder is characterized in that, comprising:
The statistical property determination module is used for confirming that reference frame is used for the statistical property of reference;
The reference number determination module is used for being used for according to reference frame the statistical property of reference, confirms the size of the reference number of reference frame;
The reference frame determination module is used for the size according to the reference number of reference frame, confirms the reference frame of present frame.
16. video encoder as claimed in claim 15 is characterized in that, said statistical property determination module specifically is used for by following formula, confirms that reference frame is used for the statistical property of reference:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
17. video encoder as claimed in claim 15 is characterized in that, said reference number determination module specifically is used for:
The reference number of the reference frame that is most commonly used to reference is labeled as: the minimum value of reference number;
The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.
18. video encoder as claimed in claim 15 is characterized in that, said reference frame determination module specifically is used for:
According to the size of the reference number of reference frame, confirm the reference frame of current image block in the present frame.
19. video encoder as claimed in claim 15 is characterized in that, said reference frame determination module comprises:
The reference frame sequencing unit is used for the size according to the reference number of reference frame, by the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference, reference frame is sorted;
The tabulation processing unit is used for according to ranking results, confirms the reference frame lists of present frame.
20. video encoder as claimed in claim 15 is characterized in that, said reference frame determination module comprises:
Reference frame determination unit is used for the size according to the reference number of reference frame, confirms the minimum reference frame that is used for reference;
The tabulation processing unit is used for the minimum reference frame that is used for reference is deleted from the reference frame lists of present frame.
21., it is characterized in that said reference frame determination module specifically is used for like each described video encoder of claim 15 to 20:
Through ME or MC, and the size of the reference number of reference frame, confirm the reference frame of present frame.
22. a Video Decoder is characterized in that, comprising:
The statistical property determination module is used for confirming that reference frame is used for the statistical property of reference;
The reference number determination module is used for being used for according to reference frame the statistical property of reference, confirms the size of the reference number of reference frame;
The reference frame determination module is used for the size according to the reference number of reference frame, confirms the reference frame of present frame.
23. Video Decoder as claimed in claim 22 is characterized in that, said statistical property determination module specifically is used for by following formula, confirms that reference frame is used for the statistical property of reference:
Wherein, R
nIt is the statistical property that the n frame is used for reference; N is the time sequence number of frame; X is the horizontal coordinates of 8 * 8 image blocks in frame, and x=0~width/8, width are the picture traverse of frame; Y is the vertical coordinates of 8 * 8 image blocks in frame, and y=0~height/8, height are the picture altitude of frame; p
n(x, y) indication n frame whether be used to 8 * 8 image blocks in the present frame (x, reference y), when by with reference to the time, p
n(x, y)=1, otherwise p
n(x, y)=0.
24. Video Decoder as claimed in claim 22 is characterized in that, said reference number determination module specifically is used for:
The reference number of the reference frame that is most commonly used to reference is labeled as: the minimum value of reference number;
The minimum reference number that is used for the reference frame of reference is labeled as: the maximum of reference number.
25. Video Decoder as claimed in claim 22 is characterized in that, said reference frame determination module specifically is used for:
According to the size of the reference number of reference frame, confirm the reference frame of current image block in the present frame.
26. Video Decoder as claimed in claim 22 is characterized in that, said reference frame determination module comprises:
The reference frame sequencing unit is used for the size according to the reference number of reference frame, by the reference frame that is most commonly used to reference to the minimum order that is used for the reference frame of reference, reference frame is sorted;
The tabulation processing unit is used for according to ranking results, confirms the reference frame lists of present frame.
27. Video Decoder as claimed in claim 22 is characterized in that, said reference frame determination module comprises:
Reference frame determination unit is used for the size according to the reference number of reference frame, confirms the minimum reference frame that is used for reference;
The tabulation processing unit is used for the minimum reference frame that is used for reference is deleted from the reference frame lists of present frame.
28., it is characterized in that said reference frame determination module specifically is used for like each described Video Decoder of claim 22 to 27:
Through entropy decoding, and the size of the reference number of reference frame, confirm the reference frame of present frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010553700.5A CN102387361B (en) | 2010-09-02 | 2010-11-19 | The reference frame processing method of coding and decoding video and Video Codec |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010272309 | 2010-09-02 | ||
CN2010102723098 | 2010-09-02 | ||
CN201010272309.8 | 2010-09-02 | ||
CN201010553700.5A CN102387361B (en) | 2010-09-02 | 2010-11-19 | The reference frame processing method of coding and decoding video and Video Codec |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102387361A true CN102387361A (en) | 2012-03-21 |
CN102387361B CN102387361B (en) | 2016-06-01 |
Family
ID=45826256
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010553700.5A Expired - Fee Related CN102387361B (en) | 2010-09-02 | 2010-11-19 | The reference frame processing method of coding and decoding video and Video Codec |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102387361B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796021A (en) * | 2012-10-29 | 2014-05-14 | 浙江大学 | Video coding and decoding method and device |
CN106488227A (en) * | 2016-10-12 | 2017-03-08 | 广东中星电子有限公司 | A kind of video reference frame management method and system |
CN110740335A (en) * | 2019-09-02 | 2020-01-31 | 西安万像电子科技有限公司 | Data transmission method, system and equipment |
CN113099241A (en) * | 2021-03-31 | 2021-07-09 | 北京百度网讯科技有限公司 | Reference frame list updating method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1649413A (en) * | 2005-01-26 | 2005-08-03 | 上海大学 | Quick selecting method for H.264/AVC multiple reference frame |
US20050276323A1 (en) * | 2002-09-27 | 2005-12-15 | Vanguard Software Solutions, Inc. | Real-time video coding/decoding |
CN1984327A (en) * | 2006-05-16 | 2007-06-20 | 华为技术有限公司 | Video-frequency compression method |
US20070177666A1 (en) * | 2006-02-01 | 2007-08-02 | Flextronics Ap Llc, A Colorado Corporation | Dynamic reference frame decision method and system |
CN101061722A (en) * | 2004-10-14 | 2007-10-24 | 英特尔公司 | Fast multi-frame motion estimation with adaptive search strategies |
-
2010
- 2010-11-19 CN CN201010553700.5A patent/CN102387361B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050276323A1 (en) * | 2002-09-27 | 2005-12-15 | Vanguard Software Solutions, Inc. | Real-time video coding/decoding |
CN101061722A (en) * | 2004-10-14 | 2007-10-24 | 英特尔公司 | Fast multi-frame motion estimation with adaptive search strategies |
CN1649413A (en) * | 2005-01-26 | 2005-08-03 | 上海大学 | Quick selecting method for H.264/AVC multiple reference frame |
CN1323555C (en) * | 2005-01-26 | 2007-06-27 | 上海大学 | Quick selecting method for H.264/AVC multiple reference frame |
US20070177666A1 (en) * | 2006-02-01 | 2007-08-02 | Flextronics Ap Llc, A Colorado Corporation | Dynamic reference frame decision method and system |
CN1984327A (en) * | 2006-05-16 | 2007-06-20 | 华为技术有限公司 | Video-frequency compression method |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103796021A (en) * | 2012-10-29 | 2014-05-14 | 浙江大学 | Video coding and decoding method and device |
CN103796021B (en) * | 2012-10-29 | 2018-03-16 | 浙江大学 | Video coding-decoding method and device |
CN106488227A (en) * | 2016-10-12 | 2017-03-08 | 广东中星电子有限公司 | A kind of video reference frame management method and system |
CN106488227B (en) * | 2016-10-12 | 2019-03-15 | 广东中星电子有限公司 | A kind of video reference frame management method and system |
CN110740335A (en) * | 2019-09-02 | 2020-01-31 | 西安万像电子科技有限公司 | Data transmission method, system and equipment |
CN113099241A (en) * | 2021-03-31 | 2021-07-09 | 北京百度网讯科技有限公司 | Reference frame list updating method, device, equipment and storage medium |
CN113099241B (en) * | 2021-03-31 | 2022-11-01 | 北京百度网讯科技有限公司 | Reference frame list updating method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102387361B (en) | 2016-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111434112B (en) | Method and device for acquiring global matching patch | |
CN102387360A (en) | Video coding-decoding inter-frame image prediction method and video coder-decoder | |
CN103220508B (en) | Coding and decoding method and device | |
CN102595116B (en) | Encoding and decoding methods and devices for multiple image block division ways | |
EP2983365A1 (en) | Image prediction coding method and image coder | |
KR20130114734A (en) | Dynamic video switching | |
CN103096055A (en) | Image signal intra-frame prediction and decoding method and device | |
CN103369315B (en) | The coding of the intra prediction mode of chromatic component, coding/decoding method, equipment and system | |
CN102685474A (en) | Encoding and decoding method of prediction modes, encoding and decoding device and network system | |
CN104717513A (en) | Bidirectional interframe predicting method and device | |
JP2016508011A5 (en) | ||
CN102611885B (en) | Encoding and decoding method and device | |
CN100407791C (en) | Image encoding method, image decoding method, image encoding device, image decoding device, program, computer dato signal and image transmission system | |
CN102387361A (en) | Reference frame processing method of video coding-decoding and video coder-decoder | |
CN106162174B (en) | A kind of video multi-resolution encoding method and apparatus | |
CN102883161A (en) | Video encoding and decoding processing method and device | |
EP2117235A2 (en) | Apparatus and method for managing reference frame buffer in layered video coding | |
CN103716629A (en) | Image processing method, device, coder and decoder | |
CN102843554A (en) | Interframe image prediction encoding and decoding methods and video encoding and decoding device | |
CN101783958A (en) | Computation method and device of time domain direct mode motion vector in AVS (audio video standard) | |
CN102647592B (en) | Motion estimation search window data multiplexing method of high definition encoder | |
CN104980798A (en) | Remote video display method and device | |
CN105916007A (en) | Video display method based on recorded images and video display system thereof | |
CN105306858A (en) | Video data storage method and device | |
CN104956677A (en) | Combined parallel and pipelined video encoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160601 Termination date: 20181119 |
|
CF01 | Termination of patent right due to non-payment of annual fee |