A kind of motion-vector prediction decoding method, device and coding/decoding system
Technical field
The present invention relates to coding and decoding video field, more particularly to a kind of motion-vector prediction decoding method, device and volume
Solution code system.
Background technology
As Video Applications are constantly carried out, video encoding standard and algorithm are also developed rapidly, such as newest video
Coding standard H264 compares traditional coding standard such as H263 picture compression efficiencies and has and greatly lifted, but while also brings
New problem.In new video encoding standard, Image Coding Algorithms are finer, and the division to view data is also less and less,
Such as H264 is exactly 4x4 to brightness data minimal processing unit.Advantage of this is that in inter predication process, can be lifted
The accuracy of motion prediction.Weak point is that becoming more meticulous for data processing unit brings the increase of motion vector, needs to expend big
The data of amount cause the increase of code check transmitting motion vector, and this deficiency is especially projected in low bit-rate video compression, according to system
Meter about 20% to 30% data in low bit-rate video stream are for transmitting motion vector.
The content of the invention
The purpose of the embodiment of the present invention is to propose a kind of motion-vector prediction coded method, it is intended to solves prior art and exists
In low bit-rate video compression, becoming more meticulous for data processing unit brings the increase of motion vector, causes the increase problem of code check.
A kind of motion-vector prediction coded method of the embodiment of the present invention is achieved in that methods described includes:
Obtain the motion vector (mv) of the current block after motion prediction;
Build the set of candidate motion vectors for motion-vector prediction coding;
Optimal motion vector predictor (mv is chosen from set of candidate motion vectorsbest);
Ask for the motion vector difference (mvd) of current block motion vector and the optimal motion vector predictor.
Preferably, after step asks for the motion vector difference of current block motion vector and the optimal motion vector predictor
Also include step:
Motion vector is simulated in coding side and is decoded, to obtain the optimal motion vector analogue value (mvdec)。
Preferably, after step asks for the motion vector difference of current block motion vector and the optimal motion vector predictor
Also include step:
The motion vector difference (mvd) is entropy encoded module coding to send to decoding end.
Second purpose of the embodiment of the present invention is to propose a kind of motion-vector prediction code device, and described device includes:
Motion vector acquisition module, for obtaining the motion vector of the current block after motion prediction;
Set of candidate motion vectors builds module, for building the set of candidate motion vectors for motion-vector prediction coding;
Specially:Choose motion vector mv of the current block left side adjacent to a blockA, directly over current block block motion vector mvB, it is current
The motion vector mv of block upper right squareC, the predicted motion vector mv that obtained using H264 methods of current blockh264, present frame former frame
The motion vector mv of same position blockD, current block motion vector mv point to reference block motion vector mvE, constitute Candidate Motion
Vector set
[mvA mvB mvC mvh264 mvD mvE], each candidate motion vector has which in set of candidate motion vectors
Specific position number;
Optimal motion vector predictor chooses module, for optimal motion vector prediction is chosen from set of candidate motion vectors
Value, which includes motion-vector prediction differential bits number computing module, motion vector difference selecting module;
Motion-vector prediction differential bits number computing module, for the bit that calculation code motion-vector prediction difference needs
Number R (mv-mvP), wherein, mvP∈[mvA mvB mvC mvh264 mvD mvE], wherein mv is current block motion vector, mvPIt is fortune
The predictive value of dynamic vector, mvPValue select in the set of candidate motion vectors;
Motion vector difference bit number selecting module, for selecting to cause encoding motion vector difference bit number R (mv-mvP) most
Little motion vector predictor mvPFor optimal motion vector predictor mvbest;
Motion vector difference asks for module, for asking for current block motion vector mv and the optimal motion vector predictor
mvbestMotion vector difference mvd, mvd=mv-mvbest。
Preferably, described device is further included:
Motion vector difference sending module, sends to decoding for motion vector difference mvd is entropy encoded module coding
End.
Preferably, described device is further included:
Analog codec module, asks for module with the motion vector difference and is connected, for carrying out to motion vector in coding side
Analog codec, to obtain the optimal motion vector analogue value.
3rd purpose of the embodiment of the present invention is to propose a kind of motion-vector prediction coding/decoding method, and methods described includes:
Receive coding side transmitted stream data;
Whether position number of the motion vector in set of candidate motion vectors is included in the bit stream data that detection is received;
Motion vector position number is included whether according in bit stream data, decode in different ways.
, " whether including motion vector position number according in bit stream data, decode by the way of the different " tool
Body is:
When the position number is included in the bit stream data, according to the motion vector position number, from motion arrow
Optimal motion vector predictor mv is obtained in amount Candidate Setbest, what further decoding was calculated goes out current block motion vector mv, its
In, mvd=mv-mvbest;
When the position number is not included in the bit stream data, motion vector difference mvd to receiving is decoded
Current block motion vector is calculated, wherein, mvd=mv-mvbest;
4th purpose of the embodiment of the present invention is to propose a kind of motion-vector prediction decoding apparatus, and described device includes:
Data reception module, for receiving coding side transmitted stream data, the bit stream data includes motion vector difference
And/or motion vector position number;
Motion vector position number detection module, for detecting in the bit stream data for receiving whether include motion vector position
Sequence number, the motion vector position number are specific position number of the candidate motion vector in set of candidate motion vectors;
Decoder module, for when the position number of motion vector is not included in bit stream data, to the motion arrow for receiving
Amount difference carries out decoding and calculates current block motion vector;It is additionally operable to when motion vector position number is included in bit stream data,
According to the motion vector position number, concentrate from motion vector candidates and obtain optimal motion vector predictor, further decode
What is calculated goes out current block motion vector.
5th purpose of the embodiment of the present invention is to propose a kind of motion-vector prediction coding/decoding system, the system bag
Include the motion-vector prediction code device and the motion-vector prediction decoding apparatus.
Beneficial effects of the present invention
The embodiment of the present invention by building a set of motion vector analog codec module in coding side, by room and time phase
Closing property more accurately selects the predictive value of motion vector, reduces the code check of encoding motion vector difference, more subtly can compress
Motion vector data, reduces the code check of output.
Description of the drawings
Fig. 1 is a kind of motion-vector prediction coded method flow chart of the embodiment of the present invention;
Fig. 2 is motion vector to be simulated in coding side in Fig. 1 methods to decode, to obtain the optimal motion vector analogue value
Method flow diagram;
Fig. 3 is the candidate motion vector when current block enumerated in the embodiment of the present invention is located at the 1st row row k of present frame
The location drawing;
Fig. 4 is a kind of motion-vector prediction code device structural representation of the embodiment of the present invention;
Concrete modular structure schematic diagrams of the Fig. 5 for the analog codec module in Fig. 4 devices;
Fig. 6 is a kind of motion-vector prediction coding/decoding method flow chart of the embodiment of the present invention;
Fig. 7 is a kind of motion-vector prediction decoding apparatus structural representation of the embodiment of the present invention;
Fig. 8 is a kind of motion-vector prediction coding/decoding system structural representation of the embodiment of the present invention.
Specific embodiment
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is below in conjunction with drawings and Examples, right
The present invention is further elaborated, and for convenience of description, illustrate only the part related to the embodiment of the present invention.Should manage
Solution, the specific embodiment that this place is described are used only for explaining the present invention, not to limit the present invention.
The embodiment of the present invention by building a set of motion vector analog codec module in coding side, by room and time phase
Closing property more accurately selects the predictive value of motion vector, reduces the code check of encoding motion vector difference, more subtly can compress
Motion vector data, reduces the code check of output.
Embodiment one
Fig. 1 is a kind of motion-vector prediction coded method flow chart of the embodiment of the present invention, be the method comprising the steps of:
S101, obtains the motion vector mv of the current block after motion prediction;
S102, builds the set of candidate motion vectors for motion-vector prediction coding;
Described " building the set of candidate motion vectors for motion-vector prediction coding " concrete grammar is:Choose current block left
While adjacent to the motion vector mv of a blockA, directly over current block block motion vector mvB, current block upper right square motion vector
mvC, the predicted motion vector mv that obtained using H264 methods of current blockh264, present frame former frame same position block motion vector
mvD, current block motion vector mv point to reference block motion vector mvE, constitute set of candidate motion vectors
[mvA mvB mvC mvh264 mvD mvE], each candidate motion vector has which in set of candidate motion vectors
Specific position number, for example:mvAPosition number in set of candidate motion vectors can be 1, mvDIn set of candidate motion vectors
In position number can be 5.
The candidate motion vector location drawing being illustrated in figure 3 when the current block enumerated is located at the 1st row row k of present frame.
As shown in figure 3, the motion vector of current block is mv, the motion vector of current block left side block is mvA, the fortune of block directly over current block
Dynamic vector is mvB, the motion vector of current block upper right square is mvC;Present frame former frame same position (the 1st row row k) block
Motion vector is mvD, the motion vector of the reference block that current block motion vector mv is pointed to is mvE。
S103, chooses optimal motion vector predictor mv from set of candidate motion vectorsbest;
It is described " to choose optimal motion vector predictor mvbest" concrete grammar it is as follows:
S1031, the bit number R (mv-mv that calculation code motion-vector prediction difference needsP);
Wherein, mvP∈[mvA mvB mvC mvh264 mvD mvE], wherein mv is current block motion vector, mvPIt is motion arrow
The predictive value of amount, mvPValue select in the set of candidate motion vectors.
S1032, selects to cause encoding motion vector difference bit number R (mv-mvP) minimum motion vector predictor mvPFor most
Excellent motion vector predictor mvbest;
S104, asks for current block motion vector mv and optimal motion vector predictor mvbestMotion vector difference
Mvd, mvd=mv-mvbest;
Motion vector difference mvd is entropy encoded module coding and is sent to decoding end by S106.
The embodiment of the present invention more accurately selects the predictive value of motion vector by room and time dependency, reduces volume
The code check of code motion vector difference.
In order to further reduce the code check that transmission motion vector prediction mode needs, can also increase after step s 104
Following steps:
S105, is simulated to motion vector in coding side and decodes, to obtain the optimal motion vector analogue value;
Fig. 2 is that the coding side is simulated decoding, the method to obtain the optimal motion vector analogue value to motion vector
Flow chart;
Described " be simulated to motion vector and decode, to obtain the optimal motion vector analogue value " concrete grammar is:
S1051, selects motion vector predictor mv successively from the set of candidate motion vectorsP;
S1052, builds temporary movement vector mvi, mvi=mvd+mvp;
S1053, obtains current reconstructed image block number according to YR, YR=ZR+XR;
Wherein:
ZRFor the prediction data of current block image, which is to carry out motion compensation acquisition by the temporary movement vector mvi
's;
XRFor residual error data, which is to carry out motion compensation acquisition by current block motion vector mv.
S1054, builds coefficient of variation Ed;
Wherein,
Y (i, j) be the i-th row jth row reconstructed image data, current reconstructed image block
Data YRFirst, middle upper left corner data be origin, with y (0,0) represent, m and n is the length and width of current block;
Y (i, -1) represents current reconstructed image block number according to YROne column data of the left side, wherein the value of i is from 0 to n-1;
(- 1, the current reconstructed image block number for j) representing is according to Y for yRThe value of top data line, wherein j is from 1 to m-1;
S1055, selection make coefficient of variation EdMinimum motion vector predictor mvPFor the decoding optimal motion arrow for simulating
Amount analogue value mvdec;
If optimal motion vector analogue value mvdecEqual to optimal motion vector predictor mvdest, in known mvd and
mvbestIn the case of, decoding end can directly according to formula mvd=mv-mv in decodingbestThe motion vector mv of current block is drawn,
Then coding side need not increase in output code flow and indicate position of the optimal motion vector predictor in set of candidate motion vectors
The description of sequence number;
If optimal motion vector analogue value mvdecIt is not equal to optimal motion vector predictor mvbest, decoding end without
Method correctly selects optimal motion vector predictor mvbest, then coding side need in output code flow increase indicate optimal motion swear
Amount predictive value mvbestThe description of the position number in set of candidate motion vectors;Decoding end is obtained most according to the position number
Excellent motion vector predictor mvbest;In known mvd and mvbestIn the case of, so as to further according to formula mvd=mv-mvbest
Draw the motion vector mv of current block.
The embodiment of the present invention proposes a kind of motion-vector prediction coded method, more accurate by room and time dependency
Ground selects the predictive value of motion vector, reduces the code check of encoding motion vector difference, can more subtly compressing motion vector number
According to the code check of reduction output.
Embodiment two
Fig. 4 is a kind of motion-vector prediction code device structural representation of the embodiment of the present invention, the motion-vector prediction
Code device includes:
Motion vector acquisition module, for obtaining the motion vector of the current block after motion prediction;
Set of candidate motion vectors builds module, for building the set of candidate motion vectors for motion-vector prediction coding;
Specially:Choose motion vector mv of the current block left side adjacent to a blockA, directly over current block block motion vector mvB, it is current
The motion vector mv of block upper right squareC, the predicted motion vector mv that obtained using H264 methods of current blockh264, present frame former frame
The motion vector mv of same position blockD, current block motion vector mv point to reference block motion vector mvE, constitute Candidate Motion
Vector set [mvA mvB mvC mvh264 mvD mvE], each candidate motion vector has which special in set of candidate motion vectors
Fixed position number.
Optimal motion vector predictor chooses module, for optimal motion vector prediction is chosen from set of candidate motion vectors
Value, which includes motion-vector prediction differential bits number computing module, motion vector difference selecting module;
Motion-vector prediction differential bits number computing module, for the bit that calculation code motion-vector prediction difference needs
Number R (mv-mvP), wherein, mvP∈[mvA mvB mvC mvh264 mvD mvE], wherein mv is current block motion vector, mvPIt is
The predictive value of motion vector, mvPValue select in the set of candidate motion vectors;
Motion vector difference bit number selecting module, for selecting to cause encoding motion vector difference bit number R (mv-mvP) most
Little motion vector predictor mvPFor optimal motion vector predictor mvbest;
Motion vector difference asks for module, for asking for current block motion vector mv and the optimal motion vector predictor
mvbestMotion vector difference mvd, mvd=mv-mvbest;
Further, the motion-vector prediction code device may also include:
Motion vector difference sending module, sends to decoding for motion vector difference mvd is entropy encoded module coding
End;
Further, the motion-vector prediction code device can also include analog codec module, be institute as described in Figure 5
State the concrete modular structure schematic diagram of analog codec module.
Analog codec module, asks for module with the motion vector difference and is connected, for carrying out to motion vector in coding side
Analog codec, to obtain the optimal motion vector analogue value;
The analog codec module further includes that motion vector predictor is chosen module, temporary movement vector and builds mould
Block, reconstructed image block data acquisition module, coefficient of variation build module, the optimal motion vector analogue value and choose module, optimum fortune
Dynamic vector position number writing module;
Motion vector predictor chooses module, for selecting motion-vector prediction from the set of candidate motion vectors successively
Value mvP;
Temporary movement vector builds module, for building temporary movement vector mvi, mvi=mvd+mvp;Wherein mvd is to work as
The motion vector difference of front block motion vector and the optimal motion vector predictor, mvd=mv-mvbest;
Reconstructed image block data acquisition module, for obtaining current reconstructed image block number according to YR, YR=ZR+XR;
Wherein:ZRFor the prediction data of current block image, which is to carry out motion compensation by the temporary movement vector mvi
Obtain;
XRFor residual error data, which is to carry out motion compensation acquisition by current block motion vector mv.Coefficient of variation builds
Module, builds coefficient of variation E for askingd;
Wherein,
Y (i, j) is the reconstructed image data of the i-th row jth row, and current reconstructed image block number is according to YRThe first number of the middle upper left corner
According to for origin, with y (0,0) represent, m and n is the length and width of current block;
Y (i, -1) represents current reconstructed image block number according to YROne column data of the left side, wherein the value of i is from 0 to n-1;
(- 1, the current reconstructed image block number for j) representing is according to Y for yRThe value of top data line, wherein j is from 1 to m-1;
The optimal motion vector analogue value chooses module, for selecting to make coefficient of variation EdMinimum motion vector predictor mvP
For decoding optimal motion vector analogue value mv for simulatingdec;
Optimal motion vector position sequence number writing module, if for when optimal motion vector analogue value mvdec
In optimal motion vector predictor mvbest, increase in output code flow and indicate optimal motion vector predictor mvbestTransport in candidate
The description of the position number that dynamic vector is concentrated.
The embodiment of the present invention more accurately selects the predictive value of motion vector by room and time dependency, reduces coding
The code check of motion vector difference, can more subtly compressing motion vector data, reduce the code check of output.
Embodiment three
Fig. 6 show a kind of motion-vector prediction coding/decoding method flow chart of the embodiment of the present invention, and methods described includes:
S601, receives coding side transmitted stream data;
Whether S602, include motion vector position number in detecting the bit stream data for receiving, and is then to enter step S603, no
Step S604 is entered then
The motion vector position number is specific position number of the candidate motion vector in set of candidate motion vectors;
S603, according to the motion vector position number, concentrates from motion vector candidates and obtains optimal motion vector prediction
Value mvbest, what further decoding was calculated goes out current block motion vector mv;
Wherein, mvd=mv-mvbest;
S604, motion vector difference mvd to receiving carry out decoding and calculate current block motion vector;
Wherein, mvd=mv-mvbest;
The bit stream data includes motion vector difference mvd and/or motion vector position number;
The set of candidate motion vectors is built by coding side, specially:Choose motion of the current block left side adjacent to a block
Vector mvA, directly over current block block motion vector mvB, current block upper right square motion vector mvC, current block use H264
The predicted motion vector mv that method is obtainedh264, present frame former frame same position block motion vector mvD, current block motion vector
The motion vector mv of the reference block that mv is pointed toE, constitute set of candidate motion vectors [mvA mvB mvC mvh264 mvD mvE], it is each
Individual candidate motion vector has its specific position number in set of candidate motion vectors, the motion vector collection by coding side and
Decoding end is safeguarded jointly;
The motion vector position number is specific position number of the candidate motion vector in set of candidate motion vectors.
Example IV
Fig. 7 is a kind of motion-vector prediction decoding apparatus structural representation of the embodiment of the present invention.
The motion-vector prediction decoding apparatus include data reception module, motion vector position number detection module, solution
Code module;
Data reception module, for receiving coding side transmitted stream data, the bit stream data includes motion vector difference
And/or motion vector position number;
Motion vector position number detection module, for detecting in the bit stream data for receiving whether include motion vector position
Sequence number, the motion vector position number are specific position number of the candidate motion vector in set of candidate motion vectors;
Decoder module, for when the position number of motion vector is not included in bit stream data, to the motion arrow for receiving
Amount difference carries out decoding and calculates current block motion vector;It is additionally operable to when motion vector position number is included in bit stream data,
According to the motion vector position number, concentrate from motion vector candidates and obtain optimal motion vector predictor, further decode
What is calculated goes out current block motion vector.
The set of candidate motion vectors is built by coding side, specially:Choose motion of the current block left side adjacent to a block
Vector mvA, directly over current block block motion vector mvB, current block upper right square motion vector mvC, current block use H264
The predicted motion vector mv that method is obtainedh264, present frame former frame same position block motion vector mvD, current block motion vector
The motion vector mv of the reference block that mv is pointed toE, constitute set of candidate motion vectors [mvA mvB mvC mvh264 mvD mvE], it is each
Individual candidate motion vector has its specific position number in set of candidate motion vectors, the motion vector collection by coding side and
Decoding end is safeguarded jointly;
The motion vector position number is specific position number of the candidate motion vector in set of candidate motion vectors.
Implement five
Fig. 8 be a kind of motion-vector prediction coding/decoding system structural representation of the embodiment of the present invention, the system include fortune
Dynamic vector predictive coding apparatus, motion-vector prediction decoding apparatus.
The motion-vector prediction code device includes:
Motion vector acquisition module, for obtaining the motion vector of the current block after motion prediction;
Set of candidate motion vectors builds module, for building the set of candidate motion vectors for motion-vector prediction coding;
Specially:Choose motion vector mv of the current block left side adjacent to a blockA, directly over current block block motion vector mvB, it is current
The motion vector mv of block upper right squareC, the predicted motion vector mv that obtained using H264 methods of current blockh264, present frame former frame
The motion vector mv of same position blockD, current block motion vector mv point to reference block motion vector mvE, constitute Candidate Motion
Vector set [mvA mvB mvC mvh264 mvD mvE], each candidate motion vector has which special in set of candidate motion vectors
Fixed position number;
Optimal motion vector predictor chooses module, for optimal motion vector prediction is chosen from set of candidate motion vectors
Value, which includes motion-vector prediction differential bits number computing module, motion vector difference selecting module;
Motion-vector prediction differential bits number computing module, for the bit that calculation code motion-vector prediction difference needs
Number R (mv-mvP), wherein, mvP∈[mvA mvB mvC mvh264 mvD mvE], wherein mv is current block motion vector, mvPIt is fortune
The predictive value of dynamic vector, mvPValue select in the set of candidate motion vectors;
Motion vector difference bit number selecting module, for selecting to cause encoding motion vector difference bit number R (mv-mvP) most
Little motion vector predictor mvPFor optimal motion vector predictor mvbest;
Motion vector difference asks for module, for asking for current block motion vector mv and the optimal motion vector predictor
mvbestMotion vector difference mvd, mvd=mv-mvbest;
Further, the motion-vector prediction code device may also include:
Motion vector difference sending module, sends to decoding for motion vector difference mvd is entropy encoded module coding
End;
Further, the motion-vector prediction code device can also include analog codec module, be institute as described in Figure 5
State the concrete modular structure schematic diagram of analog codec module.
Analog codec module, asks for module with the motion vector difference and is connected, for carrying out to motion vector in coding side
Analog codec, to obtain the optimal motion vector analogue value;
The analog codec module further includes that motion vector predictor is chosen module, temporary movement vector and builds mould
Block, reconstructed image block data acquisition module, coefficient of variation build module, the optimal motion vector analogue value and choose module, optimum fortune
Dynamic vector position number writing module.
Motion vector predictor chooses module, for selecting motion-vector prediction from the set of candidate motion vectors successively
Value mvP;
Temporary movement vector builds module, for building temporary movement vector mvi, mvi=mvd+mvp;Wherein mvd is to work as
The motion vector difference of front block motion vector and the optimal motion vector predictor, mvd=mv-mvbest;
Reconstructed image block data acquisition module, for obtaining current reconstructed image block number according to YR, YR=ZR+XR;
Wherein:ZRFor the prediction data of current block image, which is to carry out motion compensation by the temporary movement vector mvi
Obtain;
XRFor residual error data, which is to carry out motion compensation acquisition by current block motion vector mv.Coefficient of variation builds
Module, builds coefficient of variation E for askingd;
Wherein,
Y (i, j) is the reconstructed image data of the i-th row jth row, and current reconstructed image block number is according to YRThe first number of the middle upper left corner
According to for origin, with y (0,0) represent, m and n is the length and width of current block;
Y (i, -1) represents current reconstructed image block number according to YROne column data of the left side, wherein the value of i is from 0 to n-1;
(- 1, the current reconstructed image block number for j) representing is according to Y for yRThe value of top data line, wherein j is from 1 to m-1;
The optimal motion vector analogue value chooses module, for selecting to make coefficient of variation EdMinimum motion vector predictor mvP
For decoding optimal motion vector analogue value mv for simulatingdec;
Optimal motion vector position sequence number writing module, if for for when optimal motion vector analogue value mvdec
It is not equal to optimal motion vector predictor mvbest, increase in output code flow and indicate optimal motion vector predictor mvbestWaiting
Select the description of the position number of motion vector concentration.
The motion-vector prediction decoding apparatus include data reception module, motion vector position number detection module, solution
Code module;
Data reception module, for receiving coding side transmitted stream data, the bit stream data includes motion vector difference
And/or motion vector position number;
Motion vector position number detection module, for detecting in the bit stream data for receiving whether include motion vector position
Sequence number, the motion vector position number are specific position number of the candidate motion vector in set of candidate motion vectors;
Decoder module, for when the position number of motion vector is not included in bit stream data, to the motion arrow for receiving
Amount difference carries out decoding and calculates current block motion vector;It is additionally operable to when motion vector position number is included in bit stream data,
According to the motion vector position number, concentrate from motion vector candidates and obtain optimal motion vector predictor, further decode
What is calculated goes out current block motion vector.
The set of candidate motion vectors is built by coding side, specially:Choose motion of the current block left side adjacent to a block
Vector mvA, directly over current block block motion vector mvB, current block upper right square motion vector mvC, current block use H264
The predicted motion vector mv that method is obtainedh264, present frame former frame same position block motion vector mvD, current block motion vector
The motion vector mv of the reference block that mv is pointed toE, constitute set of candidate motion vectors [mvA mvB mvC mvh264 mvD mvE], it is each
Individual candidate motion vector has its specific position number in set of candidate motion vectors, the motion vector collection by coding side and
Decoding end is safeguarded jointly;
The motion vector position number is specific position number of the candidate motion vector in set of candidate motion vectors.
The embodiment of the present invention more accurately selects the predictive value of motion vector by room and time dependency, reduces coding
The code check of motion vector difference, can more subtly compressing motion vector data, reduce the code check of output.
It will be understood by those skilled in the art that all or part of step in realizing above-described embodiment method is can
Complete with by programmed instruction related hardware, described program can be stored in a computer read/write memory medium,
Described storage medium can be ROM, RAM, disk, CD etc..
Presently preferred embodiments of the present invention is the foregoing is only, not to limit the present invention, all essences in the present invention
Any modification, equivalent and improvement made within god and principle etc., should be included within the scope of the present invention.