CN102868889A - Interframe image video coding and decoding motion vector predicting method and video codec - Google Patents

Interframe image video coding and decoding motion vector predicting method and video codec Download PDF

Info

Publication number
CN102868889A
CN102868889A CN2011101880185A CN201110188018A CN102868889A CN 102868889 A CN102868889 A CN 102868889A CN 2011101880185 A CN2011101880185 A CN 2011101880185A CN 201110188018 A CN201110188018 A CN 201110188018A CN 102868889 A CN102868889 A CN 102868889A
Authority
CN
China
Prior art keywords
predicting unit
motion vector
current predicting
unit
current
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.)
Pending
Application number
CN2011101880185A
Other languages
Chinese (zh)
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 CN2011101880185A priority Critical patent/CN102868889A/en
Publication of CN102868889A publication Critical patent/CN102868889A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses an interframe image video coding and decoding motion vector predicting method and a video codec. The interframe image video coding motion vector predicting method comprises the steps: comparing the size of a current predicted unit with that of an adjacent predicted unit of the current predicted unit in space and/or time; according to a comparison result, determining a reference motion vector of the current predicted unit from the motion vector of the adjacent predicted unit; and according to the reference motion vector, predicting the motion vector of the current predicted unit. The interframe image video decoding motion vector predicting method comprises the steps: comparing the size of a current predicted unit with that of an adjacent predicted unit of the current predicted unit in space and/or time; according to a comparison result, determining a reference motion vector of the current predicted unit from the motion vector of the adjacent predicted unit; determining the reference motion vector as the predicted motion vector of the current predicted unit; and reconstructing the motion vector of the current predicted unit according to the predicted motion vector of the current predicted unit.

Description

The method of motion vector prediction of inter frame image coding and decoding video and Video Codec
Technical field
The present invention relates to image/video encoding and decoding and inter frame image electric powder prediction, relate in particular to method of motion vector prediction and the Video Codec of inter frame image coding and decoding video.
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 finished the image frame information of coding/decoding current coding/decoding image has been predicted coding/decoding.
In the method for motion vector prediction of existing inter frame image coding/decoding, current predicting unit is had living space and/or the motion vector of adjacent predicting unit of time carries out reference, so that the complexity of motion-vector prediction is higher, accuracy is lower, the inefficiency of inter frame image prediction encoding and decoding.
Summary of the invention
The embodiment of the invention provides a kind of method of motion vector prediction of inter frame image Video coding, in order to reduce the complexity of motion-vector prediction, improves the accuracy of motion-vector prediction, promotes the efficient of inter frame image predictive coding, and the method comprises:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit;
According to described reference motion vector, predict the motion vector of current predicting unit.
The embodiment of the invention also provides a kind of method of motion vector prediction of inter frame image video decode, in order to reduce the complexity of motion-vector prediction, improves the accuracy of motion-vector prediction, promotes the efficient of inter frame image prediction decoding, and the method comprises:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit;
Described reference motion vector is defined as the motion vectors of current predicting unit;
Be reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit.
The embodiment of the invention also provides a kind of video encoder, in order to reduce the complexity of motion-vector prediction, improves the accuracy of motion-vector prediction, promotes the efficient of inter frame image predictive coding, and this video encoder comprises:
Comparison module is used for space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
Determination module is used for according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit;
Prediction module is used for according to described reference motion vector, predicts the motion vector of current predicting unit.
The embodiment of the invention also provides a kind of Video Decoder, in order to reduce the complexity of motion-vector prediction, improves the accuracy of motion-vector prediction, promotes the efficient of inter frame image prediction decoding, and this Video Decoder comprises:
Comparison module is used for space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
Determination module is used for according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit;
Prediction module is for the motion vectors that described reference motion vector is defined as current predicting unit;
Reconstructed module is used for being reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit.
The motion-vector prediction of the inter frame image Video coding of the embodiment of the invention carries out size relatively with space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit; According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit; According to described reference motion vector, predict the motion vector of current predicting unit; Thereby reduced the complexity of motion-vector prediction, improved the accuracy of motion-vector prediction, significantly promoted the efficient of inter frame image predictive coding.
The motion-vector prediction of the inter frame image video decode of the embodiment of the invention carries out size relatively with space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit; According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit; Described reference motion vector is defined as the motion vectors of current predicting unit; Be reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit; Thereby reduced the complexity of motion-vector prediction, improved the accuracy of motion-vector prediction, significantly promoted 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, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.In the accompanying drawings:
Fig. 1 is the process chart of the method for motion vector prediction of inter frame image Video coding in the embodiment of the invention;
Fig. 2 is the schematic diagram of the instantiation of the method for motion vector prediction of inter frame image Video coding in the embodiment of the invention;
Fig. 3 is the process chart of the method for motion vector prediction of inter frame image video decode 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, below in conjunction with accompanying drawing the embodiment of the invention is described in further details.At this, illustrative examples of the present invention and explanation thereof are used for explanation the present invention, but not as a limitation of the invention.
In the method for motion vector prediction of existing inter frame image coding/decoding, current predicting unit is had living space and/or the motion vector of adjacent predicting unit of time carries out reference, and do not consider the correlation of predicting unit size and motion vector.And in the actual motion estimation process, the motion vector of predicting unit can be predicted from the motion vector of space and/or adjacent predicting unit of time more accurately by the size with reference to current predicting unit, therefore the embodiment of the invention provides a kind of method of motion vector prediction of inter frame image Video coding, as shown in Figure 1, its handling process can comprise:
Step 101, size is carried out relatively in the space of current predicting unit and current predicting unit and/or adjacent predicting unit of time;
Step 102, according to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit;
Step 103, according to described reference motion vector, predict the motion vector of current predicting unit.
Can be learnt that by flow process shown in Figure 1 the method for motion vector prediction of the inter frame image Video coding of the embodiment of the invention carries out size relatively with space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit; According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit; According to described reference motion vector, predict the motion vector of current predicting unit; Thereby reduced the complexity of motion-vector prediction, improved the accuracy of motion-vector prediction, significantly promoted the efficient of inter frame image predictive coding.
During implementation, the embodiment of the invention is based on the predicting unit size and selects reference motion vector, the reference motion vector of current predicting unit namely is provided by current predicting unit size and the relevance of space and/or adjacent predicting unit size of time, thereby reduce the energy of residual error motion vector, improve code efficiency, also reduce the complexity of existing motion vector encoder.For ease of describing, hereinafter the adjacent predicting unit of current predicting unit all refers to space and/or the adjacent predicting unit of time of current predicting unit.
During implementation, the size of unit can be weighed with the contained number of pixels in unit, if for example the number of pixels of unit is N * 2N, the size of this predicting unit is 2N so 2Therefore, the adjacent predicting unit of current predicting unit and current predicting unit is carried out size relatively, can comprise: the adjacent predicting unit of current predicting unit and current predicting unit is carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size, and pixel is more, and the unit is larger, and pixel is fewer, and the unit is less.
During implementation, according to big or small comparative result, from the motion vector of the adjacent predicting unit of current predicting unit, determine the reference motion vector of current predicting unit, can comprise:
Select from the adjacent predicting unit of current predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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 motion vector of the reference unit selected is defined as the reference motion vector of current predicting unit.
Wherein, when concrete selection reference unit, can select according to the actual requirements size more than or equal to the reference unit of current predicting unit, or big or small reference unit less than or equal to current predicting unit, or the reference unit of difference in a setting range of size and current predicting unit.
Aforementioned setting range also can be set according to the actual requirements.For example, 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.Act one is for example shown in Figure 2, comprise current predicting unit (Current PU) among Fig. 2, adjacent predicting unit (PU_A, PU_B, PU_C, PU_D, PU_E), CurrentPU comprises 4N * 4N pixel, PU_A comprises 2N * 2N pixel, and PU_B comprises 2N * N pixel, and PU_C comprises 2N * N pixel, PU_D comprises 2N * 2N pixel, and PU_E comprises 2N * 4N pixel.Because PU_E in the vertical direction size is identical with Current PU size, so can select the motion vector of PU_E to be used as the reference motion vector of current predicting unit.
During implementation, according to big or small comparative result, from the motion vector of the adjacent predicting unit of current predicting unit, determine to comprise: the reference set that described reference motion vector is write current predicting unit motion vector after the reference motion vector of current predicting unit;
Then according to described reference motion vector, predict the motion vector of current predicting unit, can comprise:
If only comprise a reference motion vector in the described reference set, then predict the motion vector of current predicting unit according to this reference motion vector;
If comprise more than one reference motion vector in the described reference set, then select one of them reference motion vector to be used for predicting the motion vector of current predicting unit, or the mean value of getting these reference motion vectors is used for predicting the motion vector of current predicting unit.
The method of motion vector prediction of the inter frame image Video coding of the embodiment of the invention, at HEVC (High Efficiency Video Coding, the encoding and decoding of high efficiency video) corresponding grammar correction (syntax modification) to predicting unit is arranged in the working draft, concrete modification is as shown in table 1, has marked modification place in the table.Because not needing that adjacent exercise data for reference is carried out number, the embodiment of the invention do not judge, do not need the exercise data that is used for reference is encoded yet, so do not need mvp_idx_lc[x0] [y0], mvp_idx_l0[x0] [y0], mvp_idx_l1[x0] [y0] encode.
Table 1 predicting unit grammar correction
Also provide a kind of method of motion vector prediction of inter frame image video decode in the embodiment of the invention, as described in the following examples.Because the principle that the method for motion vector prediction of inter frame image video decode is dealt with problems is similar to the method for motion vector prediction of inter frame image Video coding, therefore the enforcement of the method for motion vector prediction of inter frame image video decode can referring to the enforcement of the method for motion vector prediction of inter frame image Video coding, repeat part and repeat no more.
As shown in Figure 3, the handling process of the method for motion vector prediction of inter frame image video decode can comprise in the embodiment of the invention:
Step 301, size is carried out relatively in the space of current predicting unit and current predicting unit and/or adjacent predicting unit of time;
Step 302, according to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit;
Step 303, described reference motion vector is defined as the motion vectors of current predicting unit;
Step 304, be reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit.
Can be learnt that by flow process shown in Figure 3 the method for motion vector prediction of the inter frame image video decode of the embodiment of the invention carries out size relatively with space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit; According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit; Described reference motion vector is defined as the motion vectors of current predicting unit; Be reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit; Thereby reduced the complexity of motion-vector prediction, improved the accuracy of motion-vector prediction, significantly promoted the efficient of inter frame image prediction decoding.
During implementation, described space and/or adjacent predicting unit of time with current predicting unit and current predicting unit carried out size relatively, can comprise:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.For ease of describing, hereinafter the adjacent predicting unit of current predicting unit all refers to space and/or the adjacent predicting unit of time of current predicting unit.
During implementation, described according to big or small comparative result, from the motion vector of the adjacent predicting unit of current predicting unit, determine to comprise the reference motion vector of current predicting unit:
Select from the adjacent predicting unit of current predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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 motion vector of the reference unit selected is defined as the reference motion vector of current predicting unit.
During implementation, the reference unit of the difference of described size and current predicting unit in a setting range 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 implementation, described according to big or small comparative result, from the motion vector of the adjacent predicting unit of current predicting unit, determine to comprise: the reference set that described reference motion vector is write current predicting unit motion vector after the reference motion vector of current predicting unit;
Described described reference motion vector is defined as the motion vectors of current predicting unit, can comprises:
If only comprise a reference motion vector in the described reference set, then this reference motion vector is defined as the motion vectors of current predicting unit;
If comprise more than one reference motion vector in the described reference set, then select one of them reference motion vector to be defined as the motion vectors of current predicting unit, or the mean value of getting these reference motion vectors is defined as the motion vectors of current predicting unit.
During implementation, described motion vectors according to current predicting unit is reconstructed the motion vector of current predicting unit, can comprise:
Decoding obtains the motion vector residual error of current predicting unit;
With the motion vector residual error addition of motion vectors and the current predicting unit of current predicting unit, obtain the motion vector of current predicting unit.
A kind of video encoder and Video Decoder are also provided in the embodiment of the invention, as described in the following examples.Because video encoder is similar to the method for motion vector prediction of inter frame image coding and decoding video with the principle that Video Decoder is dealt with problems, therefore the enforcement of video encoder and Video Decoder can referring to the enforcement of the method for motion vector prediction of inter frame image coding and decoding video, repeat part and repeat no more.
As shown in Figure 4, the video encoder in the embodiment of the invention can comprise:
Comparison module 401 is used for space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
Determination module 402 is used for according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit;
Prediction module 403 is used for according to described reference motion vector, predicts the motion vector of current predicting unit.
Among the embodiment, described comparison module 401 specifically can be used for:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.
Among the embodiment, described determination module 402 can comprise:
Selected cell, be used for selecting from described adjacent predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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;
Determining unit, the motion vector that is used for the reference unit that will select is defined as the reference motion vector of current predicting unit.
Among the embodiment, described selected cell specifically can be used for:
From the adjacent predicting 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, described determination module 402 can also be used for: the reference set that described reference motion vector is write current predicting unit motion vector;
Described prediction module 403 specifically can be used for:
When in described reference set, only comprising a reference motion vector, predict the motion vector of current predicting unit according to this reference motion vector;
When in described reference set, comprising more than one reference motion vector, select one of them reference motion vector to be used for predicting the motion vector of current predicting unit, or the mean value of getting these reference motion vectors is used for predicting the motion vector of current predicting unit.
As shown in Figure 5, the Video Decoder in the embodiment of the invention can comprise:
Comparison module 501 is used for space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
Determination module 502 is used for according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit;
Prediction module 503 is for the motion vectors that described reference motion vector is defined as current predicting unit;
Reconstructed module 504 is used for being reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit.
Among the embodiment, described comparison module 501 specifically can be used for:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.
Among the embodiment, described determination module 502 can comprise:
Selected cell, be used for selecting from described adjacent predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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;
Determining unit, the motion vector that is used for the reference unit that will select is defined as the reference motion vector of current predicting unit.
Among the embodiment, described selected cell specifically can be used for:
From the adjacent predicting 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, described determination module 502 can also be used for: the reference set that described reference motion vector is write current predicting unit motion vector;
Described prediction module 503 specifically can be used for:
When in described reference set, only comprising a reference motion vector, this reference motion vector is defined as the motion vectors of current predicting unit;
When in described reference set, comprising more than one reference motion vector, then select one of them reference motion vector to be defined as the motion vectors of current predicting unit, or the mean value of getting these reference motion vectors is defined as the motion vectors of current predicting unit.
Among the embodiment, described reconstructed module 504 can comprise:
Decoding unit is used for the motion vector residual error that decoding obtains current predicting unit;
Addition unit is used for the motion vector residual error addition with motion vectors and the current predicting unit of current predicting unit, obtains the motion vector of current predicting unit.
In sum, the motion-vector prediction of the inter frame image Video coding of the embodiment of the invention carries out size relatively with space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit; According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit; According to described reference motion vector, predict the motion vector of current predicting unit; Thereby reduced the complexity of motion-vector prediction, improved the accuracy of motion-vector prediction, significantly promoted the efficient of inter frame image predictive coding.
The motion-vector prediction of the inter frame image video decode of the embodiment of the invention carries out size relatively with space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit; According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit; Described reference motion vector is defined as the motion vectors of current predicting unit; Be reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit; Thereby reduced the complexity of motion-vector prediction, improved the accuracy of motion-vector prediction, significantly promoted 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 complete hardware implementation example, complete implement software example or in conjunction with the form of the embodiment of software and hardware aspect.And the present invention can adopt the form of the computer program of implementing in 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.
The present invention is that reference is described according to 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 producing a machine, so that the instruction of carrying out by the processor of computer or other programmable data processing device produces the device of the function that is used for being 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 energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, so that the instruction that is stored in this computer-readable memory produces 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, so that carry out the sequence of operations step producing computer implemented processing at computer or other programmable devices, thereby be 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 in the instruction that computer or other programmable devices are carried out.
Above-described specific embodiment; purpose of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the above only is specific embodiments of the invention; the protection range that is not intended to limit the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (22)

1. the method for motion vector prediction of an inter frame image Video coding is characterized in that, the method comprises:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit;
According to described reference motion vector, predict the motion vector of current predicting unit.
2. the method for claim 1 is characterized in that, described space and/or adjacent predicting unit of time with current predicting unit and current predicting unit carried out size relatively, comprising:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.
3. the method for claim 1 is characterized in that, and is described according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit, comprising:
Select from described adjacent predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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 motion vector of the reference unit selected is defined as the reference motion vector of current predicting unit.
4. method as claimed in claim 3 is characterized in that, the reference unit of the difference of described 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.
5. the method for claim 1, it is characterized in that, described according to big or small comparative result, from the motion vector of described adjacent predicting unit, determine also to comprise: the reference set that described reference motion vector is write current predicting unit motion vector after the reference motion vector of current predicting unit;
Described according to described reference motion vector, predict the motion vector of current predicting unit, comprising:
If only comprise a reference motion vector in the described reference set, then predict the motion vector of current predicting unit according to this reference motion vector;
If comprise more than one reference motion vector in the described reference set, then select one of them reference motion vector to be used for predicting the motion vector of current predicting unit, or the mean value of getting these reference motion vectors is used for predicting the motion vector of current predicting unit.
6. the method for motion vector prediction of an inter frame image video decode is characterized in that, the method comprises:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
According to big or small comparative result, from the motion vector of described adjacent predicting unit, determine the reference motion vector of current predicting unit;
Described reference motion vector is defined as the motion vectors of current predicting unit;
Be reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit.
7. method as claimed in claim 6 is characterized in that, described space and/or adjacent predicting unit of time with current predicting unit and current predicting unit carried out size relatively, comprising:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.
8. method as claimed in claim 6 is characterized in that, and is described according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit, comprising:
Select from described adjacent predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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 motion vector of the reference unit selected is defined as the reference motion vector of current predicting unit.
9. method as claimed in claim 8 is characterized in that, the reference unit of the difference of described 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.
10. method as claimed in claim 6, it is characterized in that, described according to big or small comparative result, from the motion vector of described adjacent predicting unit, determine also to comprise: the reference set that described reference motion vector is write current predicting unit motion vector after the reference motion vector of current predicting unit;
Described described reference motion vector is defined as the motion vectors of current predicting unit, comprises:
If only comprise a reference motion vector in the described reference set, then this reference motion vector is defined as the motion vectors of current predicting unit;
If comprise more than one reference motion vector in the described reference set, then select one of them reference motion vector to be defined as the motion vectors of current predicting unit, or the mean value of getting these reference motion vectors is defined as the motion vectors of current predicting unit.
11. method as claimed in claim 6 is characterized in that, described motion vectors according to current predicting unit is reconstructed the motion vector of current predicting unit, comprising:
Decoding obtains the motion vector residual error of current predicting unit;
With the motion vector residual error addition of motion vectors and the current predicting unit of current predicting unit, obtain the motion vector of current predicting unit.
12. a video encoder is characterized in that, comprising:
Comparison module is used for space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
Determination module is used for according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit;
Prediction module is used for according to described reference motion vector, predicts the motion vector of current predicting unit.
13. video encoder as claimed in claim 12 is characterized in that, described comparison module specifically is used for:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.
14. video encoder as claimed in claim 12 is characterized in that, described determination module comprises:
Selected cell, be used for selecting from described adjacent predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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;
Determining unit, the motion vector that is used for the reference unit that will select is defined as the reference motion vector of current predicting unit.
15. video encoder as claimed in claim 14 is characterized in that, described selected cell specifically is used for:
From the adjacent predicting 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.
16. video encoder as claimed in claim 12 is characterized in that, described determination module also is used for: the reference set that described reference motion vector is write current predicting unit motion vector;
Described prediction module specifically is used for:
When in described reference set, only comprising a reference motion vector, predict the motion vector of current predicting unit according to this reference motion vector;
When in described reference set, comprising more than one reference motion vector, select one of them reference motion vector to be used for predicting the motion vector of current predicting unit, or the mean value of getting these reference motion vectors is used for predicting the motion vector of current predicting unit.
17. a Video Decoder is characterized in that, comprising:
Comparison module is used for space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out size relatively;
Determination module is used for according to big or small comparative result, determines the reference motion vector of current predicting unit from the motion vector of described adjacent predicting unit;
Prediction module is for the motion vectors that described reference motion vector is defined as current predicting unit;
Reconstructed module is used for being reconstructed according to the motion vectors of the current predicting unit motion vector to current predicting unit.
18. Video Decoder as claimed in claim 17 is characterized in that, described comparison module specifically is used for:
Space and/or the adjacent predicting unit of time of current predicting unit and current predicting unit are carried out number of pixels relatively, determine described big or small comparative result according to the number of pixels comparative result; Wherein, number of pixels is directly proportional with cell size.
19. Video Decoder as claimed in claim 17 is characterized in that, described determination module comprises:
Selected cell, be used for selecting from described adjacent predicting unit: size is more than or equal to the reference unit of current predicting unit; Or size is less than 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;
Determining unit, the motion vector that is used for the reference unit that will select is defined as the reference motion vector of current predicting unit.
20. Video Decoder as claimed in claim 19 is characterized in that, described selected cell specifically is used for:
From the adjacent predicting 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.
21. Video Decoder as claimed in claim 17 is characterized in that, described determination module also is used for: the reference set that described reference motion vector is write current predicting unit motion vector;
Described prediction module specifically is used for:
When in described reference set, only comprising a reference motion vector, this reference motion vector is defined as the motion vectors of current predicting unit;
When in described reference set, comprising more than one reference motion vector, then select one of them reference motion vector to be defined as the motion vectors of current predicting unit, or the mean value of getting these reference motion vectors is defined as the motion vectors of current predicting unit.
22. Video Decoder as claimed in claim 17 is characterized in that, described reconstructed module comprises:
Decoding unit is used for the motion vector residual error that decoding obtains current predicting unit;
Addition unit is used for the motion vector residual error addition with motion vectors and the current predicting unit of current predicting unit, obtains the motion vector of current predicting unit.
CN2011101880185A 2011-07-06 2011-07-06 Interframe image video coding and decoding motion vector predicting method and video codec Pending CN102868889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101880185A CN102868889A (en) 2011-07-06 2011-07-06 Interframe image video coding and decoding motion vector predicting method and video codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101880185A CN102868889A (en) 2011-07-06 2011-07-06 Interframe image video coding and decoding motion vector predicting method and video codec

Publications (1)

Publication Number Publication Date
CN102868889A true CN102868889A (en) 2013-01-09

Family

ID=47447457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101880185A Pending CN102868889A (en) 2011-07-06 2011-07-06 Interframe image video coding and decoding motion vector predicting method and video codec

Country Status (1)

Country Link
CN (1) CN102868889A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105359530A (en) * 2013-06-27 2016-02-24 高通股份有限公司 Depth oriented inter-view motion vector prediction
CN112020829A (en) * 2018-10-22 2020-12-01 腾讯美国有限责任公司 Method and device for video coding

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060126741A1 (en) * 2004-12-06 2006-06-15 Shohei Saito Motion compensation image coding device and coding method
US20070153897A1 (en) * 2006-01-04 2007-07-05 Freescale Semiconductor Inc. System and method for fast motion estimation
CN101198064A (en) * 2007-12-10 2008-06-11 武汉大学 Movement vector prediction method in resolution demixing technology
CN101420613A (en) * 2007-10-22 2009-04-29 索尼株式会社 Image processing device and image processing method
CN101860754A (en) * 2009-12-16 2010-10-13 香港应用科技研究院有限公司 Method and device for coding and decoding motion vector

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060126741A1 (en) * 2004-12-06 2006-06-15 Shohei Saito Motion compensation image coding device and coding method
US20070153897A1 (en) * 2006-01-04 2007-07-05 Freescale Semiconductor Inc. System and method for fast motion estimation
CN101420613A (en) * 2007-10-22 2009-04-29 索尼株式会社 Image processing device and image processing method
CN101198064A (en) * 2007-12-10 2008-06-11 武汉大学 Movement vector prediction method in resolution demixing technology
CN101860754A (en) * 2009-12-16 2010-10-13 香港应用科技研究院有限公司 Method and device for coding and decoding motion vector

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105359530A (en) * 2013-06-27 2016-02-24 高通股份有限公司 Depth oriented inter-view motion vector prediction
CN105359530B (en) * 2013-06-27 2018-09-18 高通股份有限公司 Motion vector prediction between view towards depth
CN112020829A (en) * 2018-10-22 2020-12-01 腾讯美国有限责任公司 Method and device for video coding
CN112020829B (en) * 2018-10-22 2022-11-01 腾讯美国有限责任公司 Method, apparatus and computer readable medium for video decoding in a decoder

Similar Documents

Publication Publication Date Title
CN102387360B (en) Video coding-decoding inter-frame image prediction method and Video Codec
CN102835111B (en) The motion vector of previous block is used as the motion vector of current block, image to be carried out to the method and apparatus of coding/decoding
CN105898325B (en) The derivation method and device of motion vector predictor candidate item set
CN103369315B (en) The coding of the intra prediction mode of chromatic component, coding/decoding method, equipment and system
EP3057328A1 (en) Method and apparatus for intra block copy mode in video coding system with pipeline architecture
KR20180019688A (en) Picture prediction method and picture prediction apparatus
EP3632105A1 (en) Method and apparatus for candidate list pruning
CN110198440B (en) Method, apparatus and readable medium for determining coding prediction information and video coding
CN101605256A (en) A kind of method of coding and decoding video and device
CN103686165A (en) Depth image intra-frame coding and decoding method, video encoder and video decoder
CN104202602A (en) Device and method of executing video coding
CN102843554A (en) Interframe image prediction encoding and decoding methods and video encoding and decoding device
CN102215395A (en) Video coding and decoding method and device
CN105025298A (en) A method and device of encoding/decoding an image
KR20220003020A (en) Encoding and decoding methods, apparatus, and apparatus
CN112954233B (en) Video synthesis system and method based on GPU
CN103096060A (en) Intra-frame image prediction coding and decoding self-adaption loop filtering method and device
CN105812797A (en) Coding unit selection method and device
CN102868889A (en) Interframe image video coding and decoding motion vector predicting method and video codec
CN102377992A (en) Method and device for obtaining predicted value of motion vector
CN105323636A (en) Video processing method and video processing device
CN103716631A (en) Image processing method, device, coder and decoder
KR102257379B1 (en) Video encoding circuit and video encoding method therewith
CN102387361A (en) Reference frame processing method of video coding-decoding and video coder-decoder
CN103841427A (en) Method for sliding search window and device thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130109

RJ01 Rejection of invention patent application after publication