CN102387361B - The reference frame processing method of coding and decoding video and Video Codec - Google Patents

The reference frame processing method of coding and decoding video and Video Codec Download PDF

Info

Publication number
CN102387361B
CN102387361B CN201010553700.5A CN201010553700A CN102387361B CN 102387361 B CN102387361 B CN 102387361B CN 201010553700 A CN201010553700 A CN 201010553700A CN 102387361 B CN102387361 B CN 102387361B
Authority
CN
China
Prior art keywords
frame
reference frame
determined
size
present
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.)
Expired - Fee Related
Application number
CN201010553700.5A
Other languages
Chinese (zh)
Other versions
CN102387361A (en
Inventor
贾杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics China Research and Development Center Co Ltd
Original Assignee
LG Electronics China Research and Development Center Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by LG Electronics China Research and Development Center Co Ltd filed Critical LG Electronics China Research and Development Center Co Ltd
Priority to CN201010553700.5A priority Critical patent/CN102387361B/en
Publication of CN102387361A publication Critical patent/CN102387361A/en
Application granted granted Critical
Publication of CN102387361B publication Critical patent/CN102387361B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the reference frame processing method of a kind of coding and decoding video and Video Codec. Wherein, the reference frame processing method of Video coding comprises determining that the reference frame statistical property for reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame; The size of the reference number according to reference frame, it is determined that the reference frame of present frame. The reference frame processing method of video decoding comprises determining that the reference frame statistical property for reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame; The size of the reference number according to reference frame, it is determined that the reference frame of present frame. The present invention has taken into full account the impact of the reference frame statistical property for the reference reference frame on determining present frame, it is possible to determine reference frame more preferably for present frame, thus being greatly improved the efficiency of coding and decoding video.

Description

The reference frame processing method of coding and decoding video and Video Codec
Technical field
The present invention relates to technical field of video processing, particularly relate to 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. Efficient coding and decoding video (Efficientvideocoding) technology can reduce communication bandwidth, and improve video quality when same transmission bandwidth. MPEG-4Part10 (MPEG:MovingPicturesExpertsGroup, Motion Picture Experts Group) i.e. H.264/AVC (AdvancedVideoCoding, advanced video coding), it is current international and domestic wide variety of video encoding and decoding standard. HVC (High-performanceVideoCoding, efficient video coding) international video standard be currently standardized a new generation video encoding and decoding standard. HVC formulates the JCT-VC meeting that work starts from April, 2010. Compared with H.264/AVC, HVC will have significant improvement in encoding-decoding efficiency.
Inventor is in the process realizing the present invention, it has been found that prior art exists following not enough:
Existing video coding and decoding technology, when the reference frame of video coding/decoding is processed, determines the size of the reference number of reference frame in chronological order, so that it is determined that the reference frame of present frame, the coding and decoding video efficiency of this process is not high.
Summary of the invention
The embodiment of the present invention provides the reference frame processing method of a kind of Video coding, and in order to improve video coding efficiency, the method includes:
Determine the reference frame statistical property for reference;
The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame;
The size of the reference number according to reference frame, it is determined that the reference frame of present frame;
As follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
The embodiment of the present invention provides the reference frame processing method of a kind of video decoding, and in order to improve video decoding efficiency, the method includes:
Determine the reference frame statistical property for reference;
The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame;
The size of the reference number according to reference frame, it is determined that the reference frame of present frame;
As follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
The embodiment of the present invention also provides for a kind of video encoder, in order to improve video coding efficiency, including:
Statistical property determines module, for determining the reference frame statistical property for reference;
Reference number determines module, for being used for the statistical property of reference according to reference frame, it is determined that the size of the reference number of reference frame;
Reference frame determines module, for the size of the reference number according to reference frame, it is determined that the reference frame of present frame;
Described statistical property determines that module is specifically for as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
The embodiment of the present invention also provides for a kind of Video Decoder, in order to improve video decoding efficiency, including:
Statistical property determines module, for determining the reference frame statistical property for reference;
Reference number determines module, for being used for the statistical property of reference according to reference frame, it is determined that the size of the reference number of reference frame;
Reference frame determines module, for the size of the reference number according to reference frame, it is determined that the reference frame of present frame;
Described statistical property determines that module is specifically for as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
In the embodiment of the present invention, it is determined that reference frame is for the statistical property of reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame; The size of the reference number according to reference frame, it is determined that the reference frame of present frame; Size with the reference number determining reference frame in prior art in chronological order, so that it is determined that the technical scheme of the reference frame of present frame is compared, take into full account the impact of the reference frame statistical property for the reference reference frame on determining present frame, reference frame more preferably can be determined, thus being greatly improved the efficiency of coding and decoding video for present frame.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings. In the accompanying drawings:
Fig. 1 is the reference frame processing method flow chart of Video coding in the embodiment of the present invention;
Fig. 2 is the reference frame processing method flow chart of video decoding in the embodiment of the present invention;
Fig. 3 calculates the reference frame schematic diagram for the statistical property of reference in the embodiment of the present invention;
The reference frame processing method difference with the prior art that Fig. 4 is Video coding in the embodiment of the present invention compares schematic diagram;
Fig. 5 is that the reference frame processing method of the Video coding of the embodiment of the present invention specifically applies schematic diagram at coding side;
The reference frame processing method that Fig. 6 is the video decoding of the embodiment of the present invention specifically applies schematic diagram in decoding end;
Fig. 7 is the structural representation of video encoder in the embodiment of the present invention;
Fig. 8 be in the embodiment of the present invention reference frame of video encoder determine module be embodied as schematic diagram;
Fig. 9 be in the embodiment of the present invention reference frame of video encoder determine module be embodied as schematic diagram;
Figure 10 is the structural representation of Video Decoder in the embodiment of the present invention;
Figure 11 be in the embodiment of the present invention reference frame of Video Decoder determine module be embodied as schematic diagram;
Figure 12 be in the embodiment of the present invention reference frame of Video Decoder determine module be embodied as schematic diagram.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly understand, below in conjunction with accompanying drawing, the embodiment of the present invention is described in further details. At this, the schematic description and description of the present invention is used for explaining the present invention, but not as a limitation of the invention.
As it is shown in figure 1, in the embodiment of the present invention, the reference frame processing method flow process of Video coding may include that
Step 101, determine the reference frame statistical property for reference;
Step 102, according to reference frame for the statistical property of reference, it is determined that the size of the reference number of reference frame;
Step 103, size according to the reference number of reference frame, it is determined that the reference frame of present frame.
Flow process is it is known that in the embodiment of the present invention as shown in Figure 1, it is determined that reference frame is for the statistical property of reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame; The size of the reference number according to reference frame, it is determined that the reference frame of present frame; Size with the reference number determining reference frame in prior art in chronological order, so that it is determined that the technical scheme of the reference frame of present frame is compared, take into full account the impact of the reference frame statistical property for the reference reference frame on determining present frame, reference frame more preferably can be determined, thus being greatly improved the efficiency of Video coding for present frame.
As in figure 2 it is shown, in the embodiment of the present invention, the reference frame processing method flow process of video decoding may include that
Step 201, determine the reference frame statistical property for reference;
Step 202, according to reference frame for the statistical property of reference, it is determined that the size of the reference number of reference frame;
Step 203, size according to the reference number of reference frame, it is determined that the reference frame of present frame.
Flow process is it is known that in the embodiment of the present invention as shown in Figure 2, it is determined that reference frame is for the statistical property of reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame; The size of the reference number according to reference frame, it is determined that the reference frame of present frame; Size with the reference number determining reference frame in prior art in chronological order, so that it is determined that the technical scheme of the reference frame of present frame is compared, take into full account the impact of the reference frame statistical property for the reference reference frame on determining present frame, reference frame more preferably can be determined, thus being greatly improved the efficiency of video decoding for present frame.
In the reference frame processing method of aforementioned video coding/decoding, reference frame, for the statistical property of reference, is an accumulated value, and its reflection reference frame is selected for reference to the number of times carrying out predicted current frame. The accumulated value of the reference frame being most commonly used to reference is maximum, and the minimum accumulated value for the reference frame of reference is minimum. When being embodied as, it is possible to as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
In above-mentioned formula, 8 �� 8 image blocks refer to that image block is both horizontally and vertically respectively arranged with 8 pixels, width and height all in pixels, therefore x=0��width/8, y=0��height/8; When certainly implementing, it would however also be possible to employ have the image block of the pixel of other quantity, then the value of x, y will change accordingly.
Fig. 3 gives one and calculates the reference frame example for the statistical property of reference, and in Fig. 3, ref_idx_L0 is the reference number (being also such in Fig. 4 below) of reference frame. Assuming the n=4 of present frame, namely present frame is the 4th frame, and in present frame, one has 48 �� 8 image blocks { a, b, c, d}. When calculating R0Time, because in present frame, only image block b predicts from the 0th frame reference frame (ref_idx_L0=3), so p0(a)=0, p0(b)=1, p0(c)=0, p0(d)=0. Therefore
R 0 = Σ ( x , y ) = a d p 0 ( x , y ) = 0 + 1 + 0 + 0 = 1 ;
Similar, R 1 = Σ ( x , y ) = a d p 1 ( x , y ) = 0 + 0 + 0 + 0 = 0 ; R 2 = Σ ( x , y ) = a d p 2 ( x , y ) = 1 + 0 + 1 + 0 = 2 ; R 3 = Σ ( x , y ) = a d p 3 ( x , y ) = 0 + 0 + 0 + 1 = 1.
That is, the reference frame being most commonly used to reference is the 2nd frame, and the minimum reference frame for reference is the 1st frame. In this example, (x, y)=a��d refer to that the image block of respective coordinates is a��d, it does not have providing concrete x, y is the image block for the ease of correspondence is described.
When being embodied as, in the reference frame processing method of aforementioned video coding/decoding, the statistical property of reference it is used for, it is determined that the size of the reference number of reference frame, it is possible to including: the reference number being most commonly used to the reference frame of reference be labeled as: the minima of reference number according to reference frame; The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number. That is, from being most commonly used to the reference frame of reference to the minimum reference frame for reference, reference number is changed from small to big, and fades to the maximum of reference number from the minima of reference number. Such as, being most commonly used to the reference frame of reference, reference number is labeled as index0, and the minimum reference frame for reference, reference number is labeled as indexMax-1. Certainly, during enforcement, it is also possible to from being most commonly used to the reference frame of reference to the minimum reference frame for reference, reference number is from large to small, or adopt other size order mode, as long as the reference frame accumulated value size order for the statistical property of reference can be reflected.
When being embodied as, size in the reference frame processing method of aforementioned video coding/decoding, according to the reference number of reference frame, it is determined that the reference frame of present frame, may include that the size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame. In the current frame, except current image block, the image block of coding/decoding and the image block of also non-coding/decoding are also as stated above, determine the reference frame of respective image block according to the size of the reference number of reference frame.
When being embodied as, in the reference frame processing method of aforementioned video coding/decoding, the size of the reference number according to reference frame, determine the reference frame of present frame, may include that the size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, reference frame is ranked up; According to ranking results, it is determined that the reference frame lists of present frame.
Reference frame is ranked up the position that may determine that reference frame in the reference frame lists of present frame, the position according to reference frame each in the reference frame lists of present frame, it is possible to present frame is predicted, position is different, it was predicted that result different. Certainly, can also be undertaken by the order of the minimum reference frame for reference to the reference frame being most commonly used to reference during sequence, or adopt other sortord, as long as can reflect is determine reference frame position in reference frame lists according to reference frame for the statistical property of reference.
Size when being embodied as, in the reference frame processing method of aforementioned video coding/decoding, according to the reference number of reference frame, it is determined that the reference frame of present frame, it is possible to including: the size according to the reference number of reference frame, it is determined that the minimum reference frame for reference; The minimum reference frame for reference is deleted from the reference frame lists of present frame.
Pass through above-described embodiment, reference frame in the reference frame lists of present frame and the position of reference frame, be all determine for the statistical property of reference according to reference frame, it is possible to determine reference frame more preferably for present frame, thus shortening the time of prediction present frame, it is greatly improved the efficiency of coding and decoding video.
The reference frame processing method difference with the prior art of the video coding/decoding of Fig. 4 comparative descriptions embodiment of the present invention. From top to bottom first group of figure is present frame is reference frame lists during 4 frame. Fig. 4 only lists the reference frame processing method of reference frame lists 0, the reference frame processing method being applied to reference frame lists 1 that the method for the embodiment of the present invention can also be similar.
From top to bottom second group of figure is in prior art, and present frame is reference frame lists during 5 frame. As can be seen from Figure 4, the reference frame processing method of prior art is sequentially in time, reference frame the earliest is deleted from reference frame lists, then updating the reference number of reference frame successively, wherein the reference number of the 2nd frame reference frame is updated for ref_Idx_L0=2 by ref_Idx_L0=1.
From top to bottom the 3rd group of figure is based on the video coding/decoding reference frame processing method that the embodiment of the present invention proposes, and the reference frame after reference frame is processed sorts and reference frame lists result. Assume R in Fig. 42>R3>R0>R1, contrast with second group of figure, R2>R3, namely the 2nd frame is relative to the 3rd frame, is more often available to reference, then the ref_Idx_L0 of the 2nd frame can represent with less bit number. By in Fig. 4 it can be seen that the ref_Idx_L0 of the 2nd frame is not the 2 of prior art, but 1. Additionally, the reference frame in reference frame lists, prior art algorithm is reference frame 1,2,3,4, the embodiment of the present invention is reference frame 0,2,3,4, it is due to R0>R1, namely the 0th frame is relative to the 1st frame, is more often available to reference, then delete the 1st frame from reference frame lists, rather than delete the 0th frame. So, from the statistical significance, the reference frame lists of the embodiment of the present invention includes the reference frame being more often available to reference.
The reference frame processing method of the video coding/decoding of the embodiment of the present invention, is all the algorithm of application image layer (picturelevel) at coding side and decoding end, is all the statistical property first determining reference frame for reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame further according to reference frame; Size finally according to the reference number of reference frame, it is determined that the reference frame of present frame.
Fig. 5 is that the reference frame processing method of the Video coding of the embodiment of the present invention specifically applies schematic diagram at coding side. It is seen from fig 5 that the reference frame processing method of the Video coding of the embodiment of the present invention is applied to the image buffer storage part of existing coding side, image buffer storage part is carried out reference frame processing controls. When being embodied as, coding side is in the size of the reference number according to reference frame, when determining the reference frame of present frame, ME (MotionEstimation can be passed through, estimation) or MC (MotionCompensation, motion compensation), and the size of the reference number of reference frame, it is determined that the reference frame of present frame. That is, coding side is before the new picture frame of coding, first determines the size of the reference number of reference frame for the statistical property of reference according to reference frame, then again through ME/MC, and the size of the reference number of determined reference frame, it is determined that the reference frame of present frame.
The reference frame processing method that Fig. 6 is the video decoding of the embodiment of the present invention specifically applies schematic diagram in decoding end. As seen from Figure 6, the reference frame processing method of the video decoding of the embodiment of the present invention is applied to the image buffer storage part of existing decoding end, and image buffer storage part has been carried out reference frame processing controls. When being embodied as, decoding end, before the new picture frame of decoding, is first determined the size of the reference number of reference frame, is then obtained the reference frame of present frame according to the size of the reference number of determined reference frame according to reference frame for the statistical property of reference. When being embodied as, decoding end is in the size of the reference number according to reference frame, it is determined that during the reference frame of present frame, it is possible to decoded by entropy, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of video encoder and Video Decoder, as described in the following examples. Owing to the principle of this video encoder/Video Decoder solution problem is similar to the reference frame processing method of video coding/decoding, therefore the enforcement of this video encoder/Video Decoder may refer to the enforcement of the reference frame processing method of video coding/decoding, repeats part and repeats no more.
As it is shown in fig. 7, the video encoder in the embodiment of the present invention may include that
Statistical property determines module 701, for determining the reference frame statistical property for reference;
Reference number determines module 702, for being used for the statistical property of reference according to reference frame, it is determined that the size of the reference number of reference frame;
Reference frame determines module 703, for the size of the reference number according to reference frame, it is determined that the reference frame of present frame.
In one embodiment, statistical property determines that module 701 can specifically for as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
In one embodiment, reference number determines that module 702 can be specifically for:
The reference number being most commonly used to the reference frame of reference is labeled as: the minima of reference number;
The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number.
In one embodiment, reference frame determines that module 703 can be specifically for:
The size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame.
As shown in Figure 8, in an embodiment, reference frame determines that module 703 may include that
Reference frame sequencing unit 801, for the size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, is ranked up reference frame;
List processing unit 802, for according to ranking results, it is determined that the reference frame lists of present frame.
As it is shown in figure 9, in an embodiment, reference frame determines that module 703 may include that
Reference frame determination unit 901, for the size of the reference number according to reference frame, it is determined that the minimum reference frame for reference;
List processing unit 902, for deleting the minimum reference frame for reference from the reference frame lists of present frame.
In one embodiment, reference frame determines that module 703 specifically may be used for:
By ME or MC, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
As shown in Figure 10, the Video Decoder in the embodiment of the present invention may include that
Statistical property determines module 1001, for determining the reference frame statistical property for reference;
Reference number determines module 1002, for being used for the statistical property of reference according to reference frame, it is determined that the size of the reference number of reference frame;
Reference frame determines module 1003, for the size of the reference number according to reference frame, it is determined that the reference frame of present frame.
In one embodiment, statistical property determines that module 1001 can specifically for as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
In one embodiment, reference number determines that module 1002 can be specifically for:
The reference number being most commonly used to the reference frame of reference is labeled as: the minima of reference number;
The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number.
In one embodiment, reference frame determines that module 1003 can be specifically for:
The size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame.
As shown in figure 11, in an embodiment, reference frame determines that module 1003 may include that
Reference frame sequencing unit 1101, for the size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, is ranked up reference frame;
List processing unit 1102, for according to ranking results, it is determined that the reference frame lists of present frame.
As shown in figure 12, in an embodiment, reference frame determines that module 1003 may include that
Reference frame determination unit 1201, for the size of the reference number according to reference frame, it is determined that the minimum reference frame for reference;
List processing unit 1202, for deleting the minimum reference frame for reference from the reference frame lists of present frame.
In one embodiment, reference frame determines that module 1003 can be specifically for:
Decoded by entropy, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
In sum, in the embodiment of the present invention, it is determined that reference frame is for the statistical property of reference; The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame; The size of the reference number according to reference frame, it is determined that the reference frame of present frame; Size with the reference number determining reference frame in prior art in chronological order, so that it is determined that the technical scheme of the reference frame of present frame is compared, take into full account the impact of the reference frame statistical property for the reference reference frame on determining present frame, reference frame more preferably can be determined, thus being greatly improved the efficiency of coding and decoding video for present frame.
The embodiment of the present invention is used for the statistical property of reference by statistical analysis reference frame, the effective reference number selecting reference frame and mark reference frame, realize coding and decoding video efficiency to improve, the minima labelling of reference frame reference number wherein can being most commonly used as in reference, by the maximum labelling of the minimum reference frame reference number for reference. The statistical property that the embodiment of the present invention is used for reference always according to reference frame updates the reference frame in reference frame lists, carries out the choice of reference frame.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program. Therefore, the present invention can adopt the form of complete hardware embodiment, complete software implementation or the embodiment in conjunction with software and hardware aspect. And, the present invention can adopt the form at one or more upper computer programs implemented of computer-usable storage medium (including but not limited to disk memory, CD-ROM, optical memory etc.) wherein including computer usable program code.
The present invention is that flow chart and/or block diagram with reference to method according to embodiments of the present invention, equipment (system) and computer program describe. It should be understood that can by the combination of the flow process in each flow process in computer program instructions flowchart and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame. These computer program instructions can be provided to produce a machine to the processor of general purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device so that the instruction performed by the processor of computer or other programmable data processing device is produced for realizing the device of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and can guide in the computer-readable memory that computer or other programmable data processing device work in a specific way, the instruction making to be stored in this computer-readable memory produces to include the manufacture of command device, and this command device realizes the function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices provides for realizing the step of function specified in one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame.
Particular embodiments described above; the purpose of the present invention, technical scheme and beneficial effect have been further described; it is it should be understood that; the foregoing is only specific embodiments of the invention; the protection domain being not intended to limit the present invention; all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.

Claims (24)

1. the reference frame processing method of a Video coding, it is characterised in that the method includes:
Determine the reference frame statistical property for reference;
The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame;
The size of the reference number according to reference frame, it is determined that the reference frame of present frame;
As follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
2. the method for claim 1, it is characterised in that the described statistical property according to reference frame for reference, it is determined that the size of the reference number of reference frame, including:
The reference number being most commonly used to the reference frame of reference is labeled as: the minima of reference number;
The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number.
3. the method for claim 1, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
The size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame.
4. the method for claim 1, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
The size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, is ranked up reference frame;
According to ranking results, it is determined that the reference frame lists of present frame.
5. the method for claim 1, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
The size of the reference number according to reference frame, it is determined that the minimum reference frame for reference;
The minimum reference frame for reference is deleted from the reference frame lists of present frame.
6. the method as described in any one of claim 1 to 5, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
By estimation ME or motion compensation MC, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
7. the reference frame processing method of a video decoding, it is characterised in that the method includes:
Determine the reference frame statistical property for reference;
The statistical property of reference it is used for, it is determined that the size of the reference number of reference frame according to reference frame;
The size of the reference number according to reference frame, it is determined that the reference frame of present frame;
As follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
8. method as claimed in claim 7, it is characterised in that the described statistical property according to reference frame for reference, it is determined that the size of the reference number of reference frame, including:
The reference number being most commonly used to the reference frame of reference is labeled as: the minima of reference number;
The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number.
9. method as claimed in claim 7, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
The size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame.
10. method as claimed in claim 7, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
The size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, is ranked up reference frame;
According to ranking results, it is determined that the reference frame lists of present frame.
11. method as claimed in claim 7, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
The size of the reference number according to reference frame, it is determined that the minimum reference frame for reference;
The minimum reference frame for reference is deleted from the reference frame lists of present frame.
12. the method as described in any one of claim 7 to 11, it is characterised in that the size of the described reference number according to reference frame, it is determined that the reference frame of present frame, including:
Decoded by entropy, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
13. a video encoder, it is characterised in that including:
Statistical property determines module, for determining the reference frame statistical property for reference;
Reference number determines module, for being used for the statistical property of reference according to reference frame, it is determined that the size of the reference number of reference frame;
Reference frame determines module, for the size of the reference number according to reference frame, it is determined that the reference frame of present frame;
Described statistical property determines that module is specifically for as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
14. video encoder as claimed in claim 13, it is characterised in that described reference number determine module specifically for:
The reference number being most commonly used to the reference frame of reference is labeled as: the minima of reference number;
The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number.
15. video encoder as claimed in claim 13, it is characterised in that described reference frame determine module specifically for:
The size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame.
16. video encoder as claimed in claim 13, it is characterised in that described reference frame determines that module includes:
Reference frame sequencing unit, for the size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, is ranked up reference frame;
List processing unit, for according to ranking results, it is determined that the reference frame lists of present frame.
17. video encoder as claimed in claim 13, it is characterised in that described reference frame determines that module includes:
Reference frame determination unit, for the size of the reference number according to reference frame, it is determined that the minimum reference frame for reference;
List processing unit, for deleting the minimum reference frame for reference from the reference frame lists of present frame.
18. the video encoder as described in any one of claim 13 to 17, it is characterised in that described reference frame determine module specifically for:
By ME or MC, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
19. a Video Decoder, it is characterised in that including:
Statistical property determines module, for determining the reference frame statistical property for reference;
Reference number determines module, for being used for the statistical property of reference according to reference frame, it is determined that the size of the reference number of reference frame;
Reference frame determines module, for the size of the reference number according to reference frame, it is determined that the reference frame of present frame;
Described statistical property determines that module is specifically for as follows, it is determined that reference frame is for the statistical property of reference:
R n = Σ x = 0 , y = 0 w i d t h / 8 , h e i g h t / 8 p n ( x , y ) ,
Wherein, RnThe statistical property of reference it is used for for n-th frame; N is the time sequence number of frame; X is 8 �� 8 image blocks horizontal coordinates in frame, x=0��width/8, and width is the picture traverse of frame; Y is 8 �� 8 image blocks vertical coordinates in frame, y=0��height/8, and height is the picture altitude of frame; pn(x, y) indicate n-th frame whether be used in present frame 8 �� 8 image blocks (x, reference y), when being referenced, pn(x, y)=1, otherwise pn(x, y)=0.
20. Video Decoder as claimed in claim 19, it is characterised in that described reference number determine module specifically for:
The reference number being most commonly used to the reference frame of reference is labeled as: the minima of reference number;
The minimum reference number for the reference frame of reference is labeled as: the maximum of reference number.
21. Video Decoder as claimed in claim 19, it is characterised in that described reference frame determine module specifically for:
The size of the reference number according to reference frame, it is determined that the reference frame of current image block in present frame.
22. Video Decoder as claimed in claim 19, it is characterised in that described reference frame determines that module includes:
Reference frame sequencing unit, for the size of the reference number according to reference frame, by the order of the reference frame Zhi the minimum reference frame for reference that are most commonly used to reference, is ranked up reference frame;
List processing unit, for according to ranking results, it is determined that the reference frame lists of present frame.
23. Video Decoder as claimed in claim 19, it is characterised in that described reference frame determines that module includes:
Reference frame determination unit, for the size of the reference number according to reference frame, it is determined that the minimum reference frame for reference;
List processing unit, for deleting the minimum reference frame for reference from the reference frame lists of present frame.
24. the Video Decoder as described in any one of claim 19 to 23, it is characterised in that described reference frame determine module specifically for:
Decoded by entropy, and the size of the reference number of reference frame, it is determined that the reference frame of present frame.
CN201010553700.5A 2010-09-02 2010-11-19 The reference frame processing method of coding and decoding video and Video Codec Expired - Fee Related CN102387361B (en)

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.8 2010-09-02
CN2010102723098 2010-09-02
CN201010272309 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 CN102387361A (en) 2012-03-21
CN102387361B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103796021B (en) * 2012-10-29 2018-03-16 浙江大学 Video coding-decoding method and device
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
CN113099241B (en) * 2021-03-31 2022-11-01 北京百度网讯科技有限公司 Reference frame list updating method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
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
CN1984327A (en) * 2006-05-16 2007-06-20 华为技术有限公司 Video-frequency compression method
CN101061722A (en) * 2004-10-14 2007-10-24 英特尔公司 Fast multi-frame motion estimation with adaptive search strategies

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003279015A1 (en) * 2002-09-27 2004-04-19 Videosoft, Inc. Real-time video coding/decoding
US9137537B2 (en) * 2006-02-01 2015-09-15 Flextronics Ap, Llc Dynamic reference frame decision method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN1984327A (en) * 2006-05-16 2007-06-20 华为技术有限公司 Video-frequency compression method

Also Published As

Publication number Publication date
CN102387361A (en) 2012-03-21

Similar Documents

Publication Publication Date Title
CN111434112B (en) Method and device for acquiring global matching patch
CN107046642B (en) With the decoded Video Decoder of enhancing CABAC and video encoder
TWI504237B (en) Buffering prediction data in video coding
KR102284099B1 (en) Image encoding/decoding method and device
EP2983365A1 (en) Image prediction coding method and image coder
US20170064313A1 (en) Acceleration interface for video decoding
CN102387361B (en) The reference frame processing method of coding and decoding video and Video Codec
CN106031177A (en) Host encoder for hardware-accelerated video encoding
TW201701670A (en) Video decoding apparatus
WO2017131233A1 (en) Encoding device, decoding device, and program
CN110198440B (en) Method, apparatus and readable medium for determining coding prediction information and video coding
EP3720131A1 (en) Interframe prediction method and device for video data
CN109510987B (en) Method and device for determining coding tree node division mode and coding equipment
US8542735B2 (en) Method and device for coding a scalable video stream, a data stream, and an associated decoding method and device
EP3706421A1 (en) Method and apparatus for video encoding and decoding based on affine motion compensation
CN105812797A (en) Coding unit selection method and device
CN103716629A (en) Image processing method, device, coder and decoder
CN110049333A (en) A kind of JPEG_LS compression of images exports coding code stream splicing system and method
CN1941914A (en) Method and apparatus for predicting DC coefficient in transform domain
CN103716631A (en) Image processing method, device, coder and decoder
CN104104947B (en) A kind of method for video coding and device
EP4192013A1 (en) Method, apparatus, and device for constructing motion information list in video coding and decoding
CN105812824A (en) Video image encoding method and device
CN104469380A (en) Video image prediction search method based on H.264/AVC standard
CN102595117B (en) Method and device for coding and decoding

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160601

Termination date: 20181119