CN102843561A - Reference frame number encoding and decoding methods of interframe image prediction encoding and decoding and encoding and decoding device - Google Patents

Reference frame number encoding and decoding methods of interframe image prediction encoding and decoding and encoding and decoding device Download PDF

Info

Publication number
CN102843561A
CN102843561A CN2011101676395A CN201110167639A CN102843561A CN 102843561 A CN102843561 A CN 102843561A CN 2011101676395 A CN2011101676395 A CN 2011101676395A CN 201110167639 A CN201110167639 A CN 201110167639A CN 102843561 A CN102843561 A CN 102843561A
Authority
CN
China
Prior art keywords
reference frame
unit
current predicting
maximum probability
predicting unit
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
Application number
CN2011101676395A
Other languages
Chinese (zh)
Other versions
CN102843561B (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 CN201110167639.5A priority Critical patent/CN102843561B/en
Priority to PCT/CN2011/084466 priority patent/WO2012174840A1/en
Publication of CN102843561A publication Critical patent/CN102843561A/en
Application granted granted Critical
Publication of CN102843561B publication Critical patent/CN102843561B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses reference frame number encoding and decoding methods of interframe image prediction encoding and decoding and an encoding and decoding device. The reference frame number encoding method comprises an interframe image prediction encoding comprising the steps of: carrying out movement estimation on a current prediction unit, and obtaining the optimal reference frame of the current prediction unit; calculating a maximal-probability reference frame of the current prediction unit; if the maximal-probability reference frame is the same as the optimal reference frame, indicating that the maximal-probability reference frame is the same as the optimal reference frame and finishing the reference frame number encoding; and if the maximal-probability reference frame is different from the optimal reference frame, indicating that the maximal-probability reference frame is different from the optimal reference frame, and finishing the reference frame number encoding after encoding the number of the maximal-probability reference frame and the residual value of the number of the optimal reference frame. According to the invention, the reference frame number encoding and decoding in the existing interframe image prediction encoding and decoding are improved, so that the interframe image prediction encoding and decoding efficiencies are improved.

Description

The reference frame sequence number decoding method and the codec of inter frame image prediction encoding and decoding
Technical field
The present invention relates to image/video encoding and decoding and inter frame image electric powder prediction, relate in particular to the reference frame sequence number decoding method and the codec of inter frame image prediction encoding and decoding.
Background technology
The image/video compression coding and decoding is divided into inter frame image encoding and decoding and two kinds of predictions of I picture encoding and decoding encoding and decoding technique generally.The I picture coding/decoding be used to from present frame the information of coding/decoding elementary area current coding/decoding elementary area is predicted coding/decoding.The utilization of inter frame image coding/decoding has been accomplished the image frame information of coding/decoding current coding/decoding image has been predicted coding/decoding.
In the existing inter frame image decoding method, when the reference frame sequence number is carried out encoding and decoding, directly the reference frame sequence number value is encoded, the efficient of inter frame image prediction encoding and decoding is not high.
Summary of the invention
The embodiment of the invention provides a kind of reference frame SEQ.XFER method of inter frame image predictive coding, and in order to improve the efficient of inter frame image predictive coding, this method comprises:
Current predicting unit is carried out estimation, obtain the optimum reference frame of current predicting unit;
Calculate the maximum probability reference frame of current predicting unit;
If said maximum probability reference frame is identical with said optimum reference frame, then indicates said maximum probability reference frame identical, and finish the reference frame SEQ.XFER with said optimum reference frame;
If said maximum probability reference frame is different with said optimum reference frame; Then indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER.
The embodiment of the invention also provides the coding/decoding method of the reference frame sequence number in a kind of inter frame image prediction decoding, and in order to improve the efficient of inter frame image prediction decoding, this method comprises:
Decoding confirms whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit;
Calculate said maximum probability reference frame;
If said maximum probability reference frame is identical with said optimum reference frame, confirm that then said maximum probability reference frame is said optimum reference frame;
If said maximum probability reference frame is different with said optimum reference frame; Then decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame.
The embodiment of the invention also provides a kind of video encoder, and in order to improve the efficient of inter frame image predictive coding, this video encoder comprises:
Motion estimation module is used for current predicting unit is carried out estimation, obtains the optimum reference frame of current predicting unit;
Computing module is used to calculate the maximum probability reference frame of current predicting unit;
The encoding process module is used for when said maximum probability reference frame is identical with said optimum reference frame, indicating said maximum probability reference frame identical with said optimum reference frame, and finishes the reference frame SEQ.XFER; At said maximum probability reference frame and said optimum reference frame not simultaneously; Indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER.
The embodiment of the invention also provides a kind of Video Decoder, and in order to improve the efficient of inter frame image prediction decoding, this Video Decoder comprises:
Determination module, whether the maximum probability reference frame of confirming current predicting unit of being used to decode is identical with the optimum reference frame of current predicting unit;
Computing module is used to calculate said maximum probability reference frame;
Decoding process module is used for when said maximum probability reference frame is identical with said optimum reference frame, confirms that said maximum probability reference frame is said optimum reference frame; At said maximum probability reference frame and said optimum reference frame not simultaneously; Decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame.
The reference frame SEQ.XFER of the inter frame image predictive coding of the embodiment of the invention carries out estimation to current predicting unit, obtains the optimum reference frame of current predicting unit; Calculate the maximum probability reference frame of current predicting unit; If said maximum probability reference frame is identical with said optimum reference frame, then indicates said maximum probability reference frame identical, and finish the reference frame SEQ.XFER with said optimum reference frame; If said maximum probability reference frame is different with said optimum reference frame; Then indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER; Thereby the reference frame SEQ.XFER to existing inter frame image predictive coding improves, and has improved the efficient of inter frame image predictive coding.
Reference frame sequence number decoding in the inter frame image prediction decoding of the embodiment of the invention, decoding confirms whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit; Calculate said maximum probability reference frame; If said maximum probability reference frame is identical with said optimum reference frame, confirm that then said maximum probability reference frame is said optimum reference frame; If said maximum probability reference frame is different with said optimum reference frame; Then decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame; Thereby the reference frame sequence number decoding in the existing inter frame image prediction decoding improves, and has improved the efficient of inter frame image prediction decoding.
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 process chart of the reference frame SEQ.XFER method of inter frame image predictive coding in the embodiment of the invention;
Fig. 2 is the position and the reference frame sequence number sketch map of current predicting unit and adjacent reference unit in the embodiment of the invention;
Fig. 3 is the process chart of the reference frame sequence number coding/decoding method in the inter frame image prediction decoding in the embodiment of the invention;
Fig. 4 is the structural representation of video encoder in the embodiment of the invention;
Fig. 5 is the structural representation 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 handling process of the reference frame SEQ.XFER method of inter frame image predictive coding can comprise:
Step 101, (Prediction Unit PU) carries out estimation, obtains the optimum reference frame of current predicting unit to current predicting unit;
The maximum probability reference frame of step 102, the current predicting unit of calculating (Most Probable Reference, MPR);
Step 103, if said maximum probability reference frame identical with said optimum reference frame (can be expressed as the optimum reference frame of the current PU of MPR==) then indicates said maximum probability reference frame identical with said optimum reference frame, and end reference frame SEQ.XFER; (can be expressed as MPR if said maximum probability reference frame is different with said optimum reference frame! The optimum reference frame of=current PU), then indicate said maximum probability reference frame different with said optimum reference frame, and after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, end reference frame SEQ.XFER.
Can learn that by flow process shown in Figure 1 the reference frame SEQ.XFER of the inter frame image predictive coding of the embodiment of the invention improves the reference frame SEQ.XFER that has the inter frame image predictive coding now, has improved the efficient of inter frame image predictive coding.
During practical implementation, the maximum probability reference frame that calculates current predicting unit can have multiple mode.For example, can be in the reference frame of the adjacent reference unit of current predicting unit, selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame; And for example, can be in the reference frame of the adjacent reference unit of current predicting unit, selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame; And for example, can be according to the size of the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame; And for example, can be in the reference frame of the adjacent reference unit of current predicting unit, selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
Fig. 2 is the position and the reference frame sequence number sketch map of current predicting unit and adjacent reference unit.Comprise current predicting unit (Current PU) among Fig. 2, adjacent reference unit (PU_A, PU_B, PU_C, PU_D, PU_E).Wherein the reference frame sequence number of each unit comprises ref_idx_l0, ref_idx_l1 and ref_idx_lc.
Wherein, in the reference frame of the adjacent reference unit of current predicting unit, selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame; Can be expressed as: MPR=min (ref_idx_lx (A);, ref_idx_lx (E)), ref_idx_lx (A) wherein;, ref_idx_lx (E) includes reference frame sequence number ref_idx_l0, ref_idx_l1 and the ref_idx_lc of corresponding unit.
In the reference frame of the adjacent reference unit of current predicting unit; Selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame, can be expressed as: MPR=median (ref_idx_lx (A) ... Ref_idx_lx (E)); Ref_idx_lx (A) wherein ..., ref_idx_lx (E) includes reference frame sequence number ref_idx_l0, ref_idx_l1 and the ref_idx_lc of corresponding unit.
In the reference frame of the adjacent reference unit of current predicting unit; Selecting the highest reference frame of frequency of utilization is said maximum probability reference frame, can be expressed as: MPR=mostFreqUsed (ref_idx_lx (A) ... Ref_idx_lx (E)); Ref_idx_lx (A) wherein ..., ref_idx_lx (E) includes reference frame sequence number ref_idx_l0, ref_idx_l1 and the ref_idx_lc of corresponding unit.
During practical implementation,, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame, can comprise according to the size of the adjacent reference unit of current predicting unit and current predicting unit:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size, that is to say, pixel is many more, and the unit is big more; Pixel is few more, and the unit is more little.
Among Fig. 2, Current PU comprises 4N * 4N pixel, and PU_A comprises 2N * 2N pixel, and PU_B comprises that 2N * N pixel, PU_C comprise that N * 2N pixel, PU_D comprise that 2N * 2N pixel, PU_E comprise 2N * 4N pixel.
During practical implementation,, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame, can comprise according to the size of the adjacent reference unit of current predicting unit and current predicting unit:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
Wherein, the reference unit of difference in a setting range of big or small and current predicting unit for example can comprise: size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
During practical implementation, indicate said maximum probability reference frame identical, can comprise: maximum probability reference frame sign is made as 1 with said optimum reference frame; Indicate said maximum probability reference frame different, can comprise: maximum probability reference frame sign is made as 0 with said optimum reference frame.The maximum probability reference frame identifies the setting of concrete numerical value can carry out according to actual needs, here 1,0 be merely an example, can certainly be made as other value in the enforcement, identical or different with indication maximum probability reference frame and optimum reference frame.
Can maximum probability reference frame sign be designated as mpr_flag_lx during enforcement,, then mpr_flag_lx be made as 1, and finish the reference frame SEQ.XFER if said maximum probability reference frame is identical with said optimum reference frame; If said maximum probability reference frame is different with said optimum reference frame, then mpr_flag_lx is made as 0, the residual values of the sequence number of first sequence number and said optimum reference frame to said maximum probability reference frame is encoded, and finishes the reference frame SEQ.XFER again.Wherein the process of reference frame SEQ.XFER also comprises, after the value of mpr_flag_lx is set, the value of mpr_flag_lx is encoded.
During practical implementation; Because reference frame sequence number and reference frame have relation one to one; Therefore judge whether said maximum probability reference frame is identical with said optimum reference frame, can be according to the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame identical carrying out whether.That is to say,, represent that then said maximum probability reference frame is identical with said optimum reference frame if the sequence number of said maximum probability reference frame is identical with the sequence number of said optimum reference frame; If the sequence number of said maximum probability reference frame is different with the sequence number of said optimum reference frame, represent that then said maximum probability reference frame is different with said optimum reference frame.
The reference frame SEQ.XFER method of the inter frame image predictive coding of the embodiment of the invention; At HEVC (High Efficienc y Video Coding; The encoding and decoding of high efficiency video) corresponding grammar correction (synt ax modification) to predicting unit is arranged in the working draft; Concrete modification is as shown in table 1, has marked in the table to revise row, and the modification part changes to the coding based on maximum probability reference frame sequence number with the coding of original reference frame sequence number.At first identify maximum probability reference frame sequence number whether with the optimum reference frame sequence number identical (mpr_flag_lc [x0] [y0]) of current predicting unit; If different, the residual values (rem_ref_idx_lc [x0] [y0]) of optimum reference frame sequence number of the current predicting unit of then encoding and maximum probability reference frame sequence number; If identical, then without any need for operation.
Table 1 predicting unit grammar correction
Figure BDA0000069959690000071
Reference frame sequence number in a kind of inter frame image prediction decoding coding/decoding method also is provided in the embodiment of the invention, of following embodiment.Because the principle that the reference frame sequence number coding/decoding method in the inter frame image prediction decoding is dealt with problems is similar with the reference frame SEQ.XFER method of inter frame image predictive coding; Therefore the enforcement of the reference frame sequence number coding/decoding method in the inter frame image prediction decoding can repeat part and repeat no more referring to the enforcement of the reference frame SEQ.XFER method of inter frame image predictive coding.
As shown in Figure 3, the handling process of the reference frame sequence number coding/decoding method in the inter frame image prediction decoding of the embodiment of the invention can comprise:
Step 301, decoding confirm whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit;
Step 302, the said maximum probability reference frame of calculating;
Step 303, identical with said optimum reference frame as if said maximum probability reference frame confirms that then said maximum probability reference frame is said optimum reference frame; If said maximum probability reference frame is different with said optimum reference frame; Then decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame.
Can learn that by flow process shown in Figure 3 reference frame sequence number decoding in the inter frame image prediction decoding of the embodiment of the invention improves the reference frame sequence number decoding in the existing inter frame image prediction decoding, has improved the efficient of inter frame image prediction decoding.
During practical implementation, calculate said maximum probability reference frame, can comprise:
In the reference frame of the adjacent reference unit of current predicting unit, selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or in the reference frame of the adjacent reference unit of current predicting unit, selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or, according to the size of the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame;
Or in the reference frame of the adjacent reference unit of current predicting unit, selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
During practical implementation,, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame, can comprise according to the size of the adjacent reference unit of current predicting unit and current predicting unit:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
During practical implementation,, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame, can comprise according to the size of the adjacent reference unit of current predicting unit and current predicting unit:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
During practical implementation, the reference unit of difference in a setting range of big or small and current predicting unit can comprise: size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
During practical implementation, decoding confirms whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit, can comprise:
If the maximum probability reference frame that decoding obtains is designated 1, confirm that then said maximum probability reference frame is identical with said optimum reference frame;
If the maximum probability reference frame that decoding obtains is designated 0, confirm that then said maximum probability reference frame is different with said optimum reference frame.
A kind of video encoder and Video Decoder also are provided in the embodiment of the invention, of following embodiment.Because video encoder is similar with the reference frame sequence number decoding method in the inter frame image prediction encoding and decoding with the principle that Video Decoder is dealt with problems; Therefore the enforcement of video encoder and Video Decoder can be predicted the enforcement of the reference frame sequence number decoding method in the encoding and decoding referring to inter frame image, repeats part and repeats no more.
As shown in Figure 4, the video encoder in the embodiment of the invention can comprise:
Motion estimation module 401 is used for current predicting unit is carried out estimation, obtains the optimum reference frame of current predicting unit;
Computing module 402 is used to calculate the maximum probability reference frame of current predicting unit;
Encoding process module 403 is used for when said maximum probability reference frame is identical with said optimum reference frame, indicating said maximum probability reference frame identical with said optimum reference frame, and finishes the reference frame SEQ.XFER; At said maximum probability reference frame and said optimum reference frame not simultaneously; Indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER.
Among the embodiment, computing module 402 can comprise:
First computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or second computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or the 3rd calculating unit is used for the size according to the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, selects said maximum probability reference frame;
Or the 4th computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
Among the embodiment, the 3rd calculating unit specifically can be used for:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
Among the embodiment, the 3rd calculating unit specifically can be used for:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
Among the embodiment, the 3rd calculating unit specifically can be used for:
From the adjacent reference unit of current predicting unit, select: size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
Among the embodiment, encoding process module 403 specifically can be used for:
Maximum probability reference frame sign is made as 1, identical to indicate said maximum probability reference frame with said optimum reference frame;
Maximum probability reference frame sign is made as 0, different to indicate said maximum probability reference frame with said optimum reference frame.
As shown in Figure 5, the Video Decoder in the embodiment of the invention can comprise:
Determination module 501, whether the maximum probability reference frame of confirming current predicting unit of being used to decode is identical with the optimum reference frame of current predicting unit;
Computing module 502 is used to calculate said maximum probability reference frame;
Decoding process module 503 is used for when said maximum probability reference frame is identical with said optimum reference frame, confirms that said maximum probability reference frame is said optimum reference frame; At said maximum probability reference frame and said optimum reference frame not simultaneously; Decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame.
Among the embodiment, said computing module 502 can comprise:
First computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or second computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or the 3rd calculating unit is used for the size according to the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, selects said maximum probability reference frame;
Or the 4th computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
Among the embodiment, said the 3rd calculating unit specifically can be used for:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
Among the embodiment, said the 3rd calculating unit specifically can be used for:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
Among the embodiment, said the 3rd calculating unit specifically can be used for:
From the adjacent reference unit of current predicting unit, select: size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
Among the embodiment, determination module 501 specifically can be used for:
The maximum probability reference frame that obtains in decoding is designated at 1 o'clock, confirms that said maximum probability reference frame is identical with said optimum reference frame;
The maximum probability reference frame that obtains in decoding is designated at 0 o'clock, confirms that said maximum probability reference frame is different with said optimum reference frame.
In sum, the reference frame SEQ.XFER of the inter frame image predictive coding of the embodiment of the invention carries out estimation to current predicting unit, obtains the optimum reference frame of current predicting unit; Calculate the maximum probability reference frame of current predicting unit; If said maximum probability reference frame is identical with said optimum reference frame, then indicates said maximum probability reference frame identical, and finish the reference frame SEQ.XFER with said optimum reference frame; If said maximum probability reference frame is different with said optimum reference frame; Then indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER; Thereby the reference frame SEQ.XFER to existing inter frame image predictive coding improves, and has improved the efficient of inter frame image predictive coding.
Reference frame sequence number decoding in the inter frame image prediction decoding of the embodiment of the invention, decoding confirms whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit; Calculate said maximum probability reference frame; If said maximum probability reference frame is identical with said optimum reference frame, confirm that then said maximum probability reference frame is said optimum reference frame; If said maximum probability reference frame is different with said optimum reference frame; Then decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame; Thereby the reference frame sequence number decoding in the existing inter frame image prediction decoding improves, and has improved the efficient of inter frame image prediction decoding.
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 (24)

1. the reference frame SEQ.XFER method of an inter frame image predictive coding is characterized in that this method comprises:
Current predicting unit is carried out estimation, obtain the optimum reference frame of current predicting unit;
Calculate the maximum probability reference frame of current predicting unit;
If said maximum probability reference frame is identical with said optimum reference frame, then indicates said maximum probability reference frame identical, and finish the reference frame SEQ.XFER with said optimum reference frame;
If said maximum probability reference frame is different with said optimum reference frame; Then indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER.
2. the method for claim 1 is characterized in that, calculates the maximum probability reference frame of current predicting unit, comprising:
In the reference frame of the adjacent reference unit of current predicting unit, selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or in the reference frame of the adjacent reference unit of current predicting unit, selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or, according to the size of the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame;
Or in the reference frame of the adjacent reference unit of current predicting unit, selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
3. method as claimed in claim 2 is characterized in that, the size of said adjacent reference unit according to current predicting unit and current predicting unit in the reference frame of the adjacent reference unit of current predicting unit, is selected said maximum probability reference frame, comprising:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
4. method as claimed in claim 2 is characterized in that, the size of said adjacent reference unit according to current predicting unit and current predicting unit in the reference frame of the adjacent reference unit of current predicting unit, is selected said maximum probability reference frame, comprising:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
5. method as claimed in claim 4 is characterized in that, the reference unit of the difference of said size and current predicting unit in a setting range comprises:
Size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
6. the method for claim 1 is characterized in that, the said maximum probability reference frame of said indication is identical with said optimum reference frame, comprising: maximum probability reference frame sign is made as 1;
The said maximum probability reference frame of said indication is different with said optimum reference frame, comprising: maximum probability reference frame sign is made as 0.
7. the reference frame sequence number coding/decoding method in the inter frame image prediction decoding is characterized in that this method comprises:
Decoding confirms whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit;
Calculate said maximum probability reference frame;
If said maximum probability reference frame is identical with said optimum reference frame, confirm that then said maximum probability reference frame is said optimum reference frame;
If said maximum probability reference frame is different with said optimum reference frame; Then decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame.
8. method as claimed in claim 7 is characterized in that, the said maximum probability reference frame of said calculating comprises:
In the reference frame of the adjacent reference unit of current predicting unit, selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or in the reference frame of the adjacent reference unit of current predicting unit, selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or, according to the size of the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, select said maximum probability reference frame;
Or in the reference frame of the adjacent reference unit of current predicting unit, selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
9. method as claimed in claim 8 is characterized in that, the size of said adjacent reference unit according to current predicting unit and current predicting unit in the reference frame of the adjacent reference unit of current predicting unit, is selected said maximum probability reference frame, comprising:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
10. method as claimed in claim 8 is characterized in that, the size of said adjacent reference unit according to current predicting unit and current predicting unit in the reference frame of the adjacent reference unit of current predicting unit, is selected said maximum probability reference frame, comprising:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
11. method as claimed in claim 10 is characterized in that, the reference unit of the difference of said size and current predicting unit in a setting range comprises:
Size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
12. method as claimed in claim 7 is characterized in that, decoding confirms whether the maximum probability reference frame of current predicting unit is identical with the optimum reference frame of current predicting unit, comprising:
If the maximum probability reference frame that decoding obtains is designated 1, confirm that then said maximum probability reference frame is identical with said optimum reference frame;
If the maximum probability reference frame that decoding obtains is designated 0, confirm that then said maximum probability reference frame is different with said optimum reference frame.
13. a video encoder is characterized in that, comprising:
Motion estimation module is used for current predicting unit is carried out estimation, obtains the optimum reference frame of current predicting unit;
Computing module is used to calculate the maximum probability reference frame of current predicting unit;
The encoding process module is used for when said maximum probability reference frame is identical with said optimum reference frame, indicating said maximum probability reference frame identical with said optimum reference frame, and finishes the reference frame SEQ.XFER; At said maximum probability reference frame and said optimum reference frame not simultaneously; Indicate said maximum probability reference frame different with said optimum reference frame; And after the residual values of the sequence number of the sequence number of said maximum probability reference frame and said optimum reference frame is encoded, finish the reference frame SEQ.XFER.
14. video encoder as claimed in claim 13 is characterized in that, said computing module comprises:
First computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or second computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or the 3rd calculating unit is used for the size according to the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, selects said maximum probability reference frame;
Or the 4th computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
15. video encoder as claimed in claim 14 is characterized in that, said the 3rd calculating unit specifically is used for:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
16. video encoder as claimed in claim 14 is characterized in that, said the 3rd calculating unit specifically is used for:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
17. video encoder as claimed in claim 16 is characterized in that, said the 3rd calculating unit specifically is used for:
From the adjacent reference unit of current predicting unit, select: size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
18. video encoder as claimed in claim 13 is characterized in that, said encoding process module specifically is used for:
Maximum probability reference frame sign is made as 1, identical to indicate said maximum probability reference frame with said optimum reference frame;
Maximum probability reference frame sign is made as 0, different to indicate said maximum probability reference frame with said optimum reference frame.
19. a Video Decoder is characterized in that, comprising:
Determination module, whether the maximum probability reference frame of confirming current predicting unit of being used to decode is identical with the optimum reference frame of current predicting unit;
Computing module is used to calculate said maximum probability reference frame;
Decoding process module is used for when said maximum probability reference frame is identical with said optimum reference frame, confirms that said maximum probability reference frame is said optimum reference frame; At said maximum probability reference frame and said optimum reference frame not simultaneously; Decoding obtains the residual values of sequence number of sequence number and the said optimum reference frame of said maximum probability reference frame, and obtains said optimum reference frame according to said residual values and said maximum probability reference frame.
20. Video Decoder as claimed in claim 19 is characterized in that, said computing module comprises:
First computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the minimum reference frame of reference frame sequence number is said maximum probability reference frame;
Or second computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting reference frame sequence number reference frame placed in the middle is said maximum probability reference frame;
Or the 3rd calculating unit is used for the size according to the adjacent reference unit of current predicting unit and current predicting unit, in the reference frame of the adjacent reference unit of current predicting unit, selects said maximum probability reference frame;
Or the 4th computing unit is used for the reference frame at the adjacent reference unit of current predicting unit, and selecting the highest reference frame of frequency of utilization is said maximum probability reference frame.
21. Video Decoder as claimed in claim 20 is characterized in that, said the 3rd calculating unit specifically is used for:
According to the number of pixels in the current predicting unit, confirm the size of current predicting unit;
According to the number of pixels in the adjacent reference unit of current predicting unit, confirm the size of the adjacent reference unit of current predicting unit;
Wherein, number of pixels is directly proportional with cell size.
22. Video Decoder as claimed in claim 20 is characterized in that, said the 3rd calculating unit specifically is used for:
From the adjacent reference unit of current predicting unit, select: size is more than or equal to the reference unit of current predicting unit; Or size is smaller or equal to the reference unit of current predicting unit, or, the reference unit of difference in a setting range of big or small and current predicting unit;
The reference frame of the reference unit of selecting is confirmed as said maximum probability reference frame.
23. Video Decoder as claimed in claim 22 is characterized in that, said the 3rd calculating unit specifically is used for:
From the adjacent reference unit of current predicting unit, select: size and the big or small identical reference unit of current predicting unit in the horizontal direction and/or on the vertical direction.
24. Video Decoder as claimed in claim 19 is characterized in that, said determination module specifically is used for:
The maximum probability reference frame that obtains in decoding is designated at 1 o'clock, confirms that said maximum probability reference frame is identical with said optimum reference frame;
The maximum probability reference frame that obtains in decoding is designated at 0 o'clock, confirms that said maximum probability reference frame is different with said optimum reference frame.
CN201110167639.5A 2011-06-21 2011-06-21 Inter frame image predicts reference frame number decoding method and the codec of encoding and decoding Expired - Fee Related CN102843561B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201110167639.5A CN102843561B (en) 2011-06-21 2011-06-21 Inter frame image predicts reference frame number decoding method and the codec of encoding and decoding
PCT/CN2011/084466 WO2012174840A1 (en) 2011-06-21 2011-12-22 Inter picture prediction encoding/decoding and method and apparatus for reference frame serial number encoding/decoding thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110167639.5A CN102843561B (en) 2011-06-21 2011-06-21 Inter frame image predicts reference frame number decoding method and the codec of encoding and decoding

Publications (2)

Publication Number Publication Date
CN102843561A true CN102843561A (en) 2012-12-26
CN102843561B CN102843561B (en) 2017-03-08

Family

ID=47370577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110167639.5A Expired - Fee Related CN102843561B (en) 2011-06-21 2011-06-21 Inter frame image predicts reference frame number decoding method and the codec of encoding and decoding

Country Status (1)

Country Link
CN (1) CN102843561B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020034921A1 (en) * 2018-08-17 2020-02-20 北京金山云网络技术有限公司 Motion estimation method, device, electronic apparatus, and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060153299A1 (en) * 2005-01-07 2006-07-13 Kabushiki Kaisha Toshiba Coded video sequence conversion apparatus, method and program product for coded video sequence conversion
US20080304569A1 (en) * 2007-06-08 2008-12-11 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image using object boundary based partition
CN101459842A (en) * 2008-12-17 2009-06-17 浙江大学 Decoding method and apparatus for space desampling
CN101766030A (en) * 2007-07-31 2010-06-30 三星电子株式会社 Use video coding and the coding/decoding method and the equipment of weight estimation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060153299A1 (en) * 2005-01-07 2006-07-13 Kabushiki Kaisha Toshiba Coded video sequence conversion apparatus, method and program product for coded video sequence conversion
US20080304569A1 (en) * 2007-06-08 2008-12-11 Samsung Electronics Co., Ltd. Method and apparatus for encoding and decoding image using object boundary based partition
CN101766030A (en) * 2007-07-31 2010-06-30 三星电子株式会社 Use video coding and the coding/decoding method and the equipment of weight estimation
CN101459842A (en) * 2008-12-17 2009-06-17 浙江大学 Decoding method and apparatus for space desampling

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020034921A1 (en) * 2018-08-17 2020-02-20 北京金山云网络技术有限公司 Motion estimation method, device, electronic apparatus, and computer readable storage medium

Also Published As

Publication number Publication date
CN102843561B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN102387360A (en) Video coding-decoding inter-frame image prediction method and video coder-decoder
CN110892719B (en) Image encoding/decoding method and device
CN103067716B (en) The decoding method of depth image and coding and decoding device
CN102685474B (en) Encoding and decoding method of prediction modes, encoding and decoding device and network system
EP3232663B1 (en) Decoding methods and devices
CN103686165A (en) Depth image intra-frame coding and decoding method, video encoder and video decoder
CN102215395B (en) Video coding and decoding method and device
CN103369315B (en) The coding of the intra prediction mode of chromatic component, coding/decoding method, equipment and system
CN104717513A (en) Bidirectional interframe predicting method and device
CN112954233B (en) Video synthesis system and method based on GPU
CN102611880A (en) Encoding method and device for marking geometric classification mode of image block
CN103974063A (en) Encoding and decoding method of depth model and video coder decoder
CN115348443A (en) Motion information determination method, device and equipment
CN103096060A (en) Intra-frame image prediction coding and decoding self-adaption loop filtering method and device
CN102843554A (en) Interframe image prediction encoding and decoding methods and video encoding and decoding device
CN102377992A (en) Method and device for obtaining predicted value of motion vector
CN102843561A (en) Reference frame number encoding and decoding methods of interframe image prediction encoding and decoding and encoding and decoding device
CN102387361A (en) Reference frame processing method of video coding-decoding and video coder-decoder
CN105323636A (en) Video processing method and video processing device
CN102868889A (en) Interframe image video coding and decoding motion vector predicting method and video codec
JP5807402B2 (en) Moving picture decoding apparatus, moving picture encoding apparatus, moving picture decoding method, moving picture encoding method, moving picture decoding program, and moving picture encoding program
WO2023155751A1 (en) Video coding control method, apparatus, device, and storage medium
CN102131093A (en) Image processing method and device
CN113794883B (en) Encoding and decoding method, device and equipment
CN103796021A (en) Video coding and decoding method and device

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: 20170308

Termination date: 20210621