CN106851273B - A kind of motion-vector coding method and device - Google Patents
A kind of motion-vector coding method and device Download PDFInfo
- Publication number
- CN106851273B CN106851273B CN201710073895.5A CN201710073895A CN106851273B CN 106851273 B CN106851273 B CN 106851273B CN 201710073895 A CN201710073895 A CN 201710073895A CN 106851273 B CN106851273 B CN 106851273B
- Authority
- CN
- China
- Prior art keywords
- motion vector
- component
- predicted motion
- encoded
- image block
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/124—Quantisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/20—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding
- H04N19/29—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video object coding involving scalability at the object level, e.g. video object layer [VOL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/30—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability
- H04N19/33—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using hierarchical techniques, e.g. scalability in the spatial domain
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
- H04N19/513—Processing of motion vectors
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The present invention proposes a kind of motion-vector coding method, comprising: searches from the motion vector of the reference prediction encoding block of image block to be encoded and obtains the predicted motion vector predicted composition motion vector set of setting quantity;Judge in predicted motion vector set, if there is predicted motion vector identical with image block motion vector to be encoded;If there is predicted motion vector identical with image block motion vector to be encoded, then the serial number index of predicted motion vector identical with image block motion vector to be encoded is encoded;If there is no predicted motion vector identical with image block motion vector to be encoded, then according to the predicted motion vector in predicted motion vector set, treats coded picture block motion vector and carry out differential encoding processing.The predicted motion vector that the cataloged procedure of motion-vector coding method proposed by the present invention is applied to is more, considers that different situations carries out corresponding coded treatment comprehensively, code efficiency is higher.
Description
Technical field
The present invention relates to encoding video pictures field more particularly to a kind of motion-vector coding methods and device.
Background technique
Block base motion vector coding techniques, be block base hybrid discrete cosine transformation video encoding standard core technology it
One.
Existing piece of base motion-vector coding method, as it is traditional H.263, H.264 in coding method, first from airspace or
Time domain finds the intermediate value of the multiple coded encoding block motion vectors adjacent with encoding block, as encoding block motion vector
Prediction;Then the prediction that encoding block motion vector is subtracted with encoding block motion vector obtains the difference of encoding block motion vector, right
The difference of encoding block motion vector is encoded.In above-mentioned existing coding method, only application is adjacent with encoding block
The intermediate value of multiple coded encoding block motion vectors, as the prediction of encoding block motion vector, to encoding block motion vector
Prediction it is less, and for any one encoding block motion vector, carried out using the method for encoding motion vector difference
Coding, coding method is simple, and code efficiency is lower.
Summary of the invention
Defect and deficiency based on the above-mentioned prior art, the present invention propose a kind of motion-vector coding method and device,
Multiple predicted motion vectors are applied when encoding to motion vector, consider that different situations carry out corresponding coded treatment comprehensively,
Code efficiency is higher.
A kind of motion-vector coding method, comprising:
From the motion vector of the reference prediction encoding block of image block to be encoded, search and obtain setting quantity, it is described to
The predicted motion vector of coded picture block motion vector, predicted composition motion vector set;
By the image block motion vector to be encoded respectively with the predicted motion vector in the predicted motion vector set
It compares, judges in the predicted motion vector set, if exist identical as the image block motion vector to be encoded
Predicted motion vector;
If there is prediction identical with the image block motion vector to be encoded in the predicted motion vector set
Motion vector then encodes the serial number index of predicted motion vector identical with the image block motion vector to be encoded, as institute
State the coding of image block motion vector to be encoded;
If there is no identical pre- with the image block motion vector to be encoded in the predicted motion vector set
Motion vector is surveyed, then according to the predicted motion vector in the predicted motion vector set, the image block to be encoded is moved
Vector carries out differential encoding processing, obtains the coding of the image block motion vector to be encoded.
Preferably, described from the motion vector of the reference prediction encoding block of image block to be encoded, lookup obtains setting number
Amount, the predicted motion vector of the image block motion vector to be encoded, predicted composition motion vector set, comprising:
According to efficient video coding HEVC coding method, from the movement of the airspace adjacent encoder block of image block to be encoded to
In amount and time domain reference image in the motion vector of the encoding block of same position, searches and obtain setting quantity, it is corresponding wait compile
The predicted motion vector of code image block motion vector, predicted composition motion vector set;
It rejects in the predicted motion vector set, sets in the predicted motion vector of quantity, duplicate predicted motion
Vector.
Preferably, in the motion vector from the reference prediction encoding block of image block to be encoded, lookup obtains setting quantity
, the predicted motion vector of the image block motion vector to be encoded, after predicted composition motion vector set, will it is described to
Coded picture block motion vector is compared with the predicted motion vector in the predicted motion vector set respectively, is judged in institute
State in predicted motion vector set, if exist predicted motion vector identical with the image block motion vector to be encoded it
Before, this method further include:
According to pre- in the reference key of the image block motion vector to be encoded and the predicted motion vector set
The reference key for surveying motion vector, zooms in and out processing to the predicted motion vector in the predicted motion vector set respectively,
Make offset represented by predicted motion vector and the image block motion vector to be encoded in the predicted motion vector set
It measures identical.
Preferably, the serial number rope of coding predicted motion vector identical with the image block motion vector to be encoded
Draw, comprising:
Generation is characterized in the predicted motion vector set, is existed identical with the image block motion vector to be encoded
The identification information of reference motion vectors;
Encode the identification information, and coding predicted motion vector identical with the image block motion vector to be encoded
Serial number index.
Preferably, the predicted motion vector according in the predicted motion vector set, to the image to be encoded
Block motion vector carries out differential encoding processing, obtains the coding of the image block motion vector to be encoded, comprising:
According to the X-component of the predicted motion vector in the predicted motion vector set, the figure to be encoded is calculated
As the X-component difference of block motion vector;
According to the Y-component of the predicted motion vector in the predicted motion vector set, the figure to be encoded is calculated
As the Y-component difference of block motion vector;
To the serial number index of the X-component difference, the corresponding X-component difference, the Y-component difference and the corresponding Y
The serial number of component difference indexes, and carries out coded treatment, obtains the coding of the image block motion vector to be encoded.
Preferably, the X-component according to the predicted motion vector in the predicted motion vector set, is calculated institute
State the X-component difference of image block motion vector to be encoded, comprising:
It extracts respectively and obtains the X-component of the predicted motion vector in the predicted motion vector set;
First ray is generated, includes first predicted motion in the predicted motion vector set in the First ray
The X-component of vector;
The X-component for traversing the remaining predicted motion vector in the predicted motion vector set often traverses a prediction
When the X-component of motion vector, the X-component of the predicted motion vector and the X of the predicted motion vector in the First ray are calculated
The distance of component;If the X-component of the predicted motion vector in the X-component of the predicted motion vector and the First ray away from
From both greater than 1, then the First ray is added in the X-component of the predicted motion vector;
From the First ray, lookup obtains the absolute difference with the X-component of the image block motion vector to be encoded
The absolute difference of the X-component of the smallest predicted motion vector, record and the X-component of the image block motion vector to be encoded is minimum
Predicted motion vector X-component in the First ray serial number index;
According to the X of the smallest predicted motion vector of absolute difference of the X-component with the image block motion vector to be encoded
The X of the image block motion vector to be encoded is calculated in the X-component of component and the image block motion vector to be encoded
Component difference.
Preferably, the Y-component according to the predicted motion vector in the predicted motion vector set, is calculated institute
State the Y-component difference of image block motion vector to be encoded, comprising:
It extracts respectively and obtains the Y-component of the predicted motion vector in the predicted motion vector set;
By the Y-component of the predicted motion vector in the predicted motion vector set, it is divided into the second sequence and third sequence
Column;Wherein, the X-component of the corresponding predicted motion vector of Y-component of the predicted motion vector in second sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
It measures identical;The X-component of the corresponding predicted motion vector of Y-component of predicted motion vector in the third sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Amount is different;
Generate the 4th sequence, the Y comprising first predicted motion vector in second sequence in the 4th sequence
Component;
The Y-component for traversing remaining predicted motion vector in second sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 4th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 4th sequence
1, then the 4th sequence is added in the Y-component of the predicted motion vector;
Generate the 5th sequence, the Y comprising first predicted motion vector in the third sequence in the 5th sequence
Component;
The Y-component for traversing remaining predicted motion vector in the third sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 5th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 5th sequence
1, then the 5th sequence is added in the Y-component of the predicted motion vector;
From the 4th sequence and the 5th sequence, lookup obtains the Y with the image block motion vector to be encoded
The Y-component of the smallest predicted motion vector of the absolute difference of component, the Y-component of record and the image block motion vector to be encoded
The smallest predicted motion vector of absolute difference Y-component where sequence, and with the image block motion vector to be encoded
Y-component the smallest predicted motion vector of absolute difference sequence index of the Y-component in sequence where it;
According to the Y of the smallest predicted motion vector of absolute difference of the Y-component with the image block motion vector to be encoded
The Y of the image block motion vector to be encoded is calculated in the Y-component of component and the image block motion vector to be encoded
Component difference.
Preferably, described to the X-component difference, the serial number index of the corresponding X-component difference, the Y-component difference
And the serial number index of the corresponding Y-component difference, coded treatment is carried out, the volume of the image block motion vector to be encoded is obtained
Code, comprising:
The absolute value, described of the sum of absolute value to the X-component difference and the Y-component difference, the X-component difference
X-component difference, the Y-component difference, the smallest prediction of absolute difference with the X-component of the image block motion vector to be encoded
Serial number index, characterization and the Y of the to be encoded image block motion vector of the X-component of motion vector in the First ray divide
The information of sequence where the Y-component of the smallest predicted motion vector of the absolute difference of amount is moved with the image block to be encoded
Sequence index difference of the Y-component of the smallest predicted motion vector of the absolute difference of the Y-component of vector in the sequence where it
Carry out coded treatment.
A kind of motion vector code device, comprising:
Prediction processing unit, for from the motion vector of the reference prediction encoding block of image block to be encoded, lookup to be obtained
Set quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition motion vector set;
Judging unit, for by the image block motion vector to be encoded respectively and in the predicted motion vector set
Predicted motion vector compares, and judges in the predicted motion vector set, if exists and the image block to be encoded
The identical predicted motion vector of motion vector;
First coding unit judges in the predicted motion vector set for the judging unit, exist with it is described
When the identical predicted motion vector of image block motion vector to be encoded, encode identical with the image block motion vector to be encoded
The serial number of predicted motion vector indexes, the coding as the image block motion vector to be encoded;
Second coding unit judges in the predicted motion vector set for the judging unit, is not present and institute
When stating the identical predicted motion vector of image block motion vector to be encoded, transported according to the prediction in the predicted motion vector set
Moving vector carries out differential encoding processing to the image block motion vector to be encoded, obtain the image block to be encoded move to
The coding of amount.
Preferably, the prediction processing unit is looked into from the motion vector of the reference prediction encoding block of image block to be encoded
Find setting quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition motion vector set
When, it is specifically used for:
According to efficient video coding HEVC coding method, from the movement of the airspace adjacent encoder block of image block to be encoded to
In amount and time domain reference image in the motion vector of the encoding block of same position, searches and obtain setting quantity, it is corresponding wait compile
The predicted motion vector of code image block motion vector, predicted composition motion vector set;Reject the predicted motion vector set
In, it sets in the predicted motion vector of quantity, duplicate predicted motion vector.
Preferably, described device further include:
Scaling processing unit, for according to the image block motion vector to be encoded reference key and the prediction
The reference key of predicted motion vector in motion vector set, respectively to the predicted motion in the predicted motion vector set
Vector zooms in and out processing, moves the predicted motion vector in the predicted motion vector set and the image block to be encoded
Offset represented by vector is identical.
Preferably, first coding unit coding predicted motion identical with the image block motion vector to be encoded to
When the serial number index of amount, it is specifically used for:
Generation is characterized in the predicted motion vector set, is existed identical with the image block motion vector to be encoded
The identification information of reference motion vectors;Encode the identification information, and coding and the image block motion vector phase to be encoded
The serial number index of same predicted motion vector.
Preferably, second coding unit, comprising:
First component calculation unit, for the X-component according to the predicted motion vector in the predicted motion vector set,
The X-component difference of the image block motion vector to be encoded is calculated;
Second component computing unit, for the Y-component according to the predicted motion vector in the predicted motion vector set,
The Y-component difference of the image block motion vector to be encoded is calculated;
Differential encoding unit divides for serial number index, the Y to the X-component difference, the corresponding X-component difference
The serial number index for measuring difference and the corresponding Y-component difference, carries out coded treatment, obtains the image block motion vector to be encoded
Coding.
Preferably, first component calculation unit is according to the predicted motion vector in the predicted motion vector set
X-component is specifically used for when the X-component difference of the image block motion vector to be encoded is calculated:
It extracts respectively and obtains the X-component of the predicted motion vector in the predicted motion vector set;
First ray is generated, includes first predicted motion in the predicted motion vector set in the First ray
The X-component of vector;
The X-component for traversing the remaining predicted motion vector in the predicted motion vector set often traverses a prediction
When the X-component of motion vector, the X-component of the predicted motion vector and the X of the predicted motion vector in the First ray are calculated
The distance of component;If the X-component of the predicted motion vector in the X-component of the predicted motion vector and the First ray away from
From both greater than 1, then the First ray is added in the X-component of the predicted motion vector;
From the First ray, lookup obtains the absolute difference with the X-component of the image block motion vector to be encoded
The absolute difference of the X-component of the smallest predicted motion vector, record and the X-component of the image block motion vector to be encoded is minimum
Predicted motion vector X-component in the First ray serial number index;
According to the X of the smallest predicted motion vector of absolute difference of the X-component with the image block motion vector to be encoded
The X of the image block motion vector to be encoded is calculated in the X-component of component and the image block motion vector to be encoded
Component difference.
Preferably, the second component computing unit is according to the predicted motion vector in the predicted motion vector set
Y-component is specifically used for when the Y-component difference of the image block motion vector to be encoded is calculated:
It extracts respectively and obtains the Y-component of the predicted motion vector in the predicted motion vector set;
By the Y-component of the predicted motion vector in the predicted motion vector set, it is divided into the second sequence and third sequence
Column;Wherein, the X-component of the corresponding predicted motion vector of Y-component of the predicted motion vector in second sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
It measures identical;The X-component of the corresponding predicted motion vector of Y-component of predicted motion vector in the third sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Amount is different;
Generate the 4th sequence, the Y comprising first predicted motion vector in second sequence in the 4th sequence
Component;
The Y-component for traversing remaining predicted motion vector in second sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 4th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 4th sequence
1, then the 4th sequence is added in the Y-component of the predicted motion vector;
Generate the 5th sequence, the Y comprising first predicted motion vector in the third sequence in the 5th sequence
Component;
The Y-component for traversing remaining predicted motion vector in the third sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 5th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 5th sequence
1, then the 5th sequence is added in the Y-component of the predicted motion vector;
From the 4th sequence and the 5th sequence, lookup obtains the Y with the image block motion vector to be encoded
The Y-component of the smallest predicted motion vector of the absolute difference of component, the Y-component of record and the image block motion vector to be encoded
The smallest predicted motion vector of absolute difference Y-component where sequence, and with the image block motion vector to be encoded
Y-component the smallest predicted motion vector of absolute difference sequence index of the Y-component in sequence where it;
According to the Y of the smallest predicted motion vector of absolute difference of the Y-component with the image block motion vector to be encoded
The Y of the image block motion vector to be encoded is calculated in the Y-component of component and the image block motion vector to be encoded
Component difference.
Preferably, the differential encoding unit is to the X-component difference, the serial number index of the corresponding X-component difference, institute
The serial number index for stating Y-component difference and the corresponding Y-component difference, carries out coded treatment, obtains the image block fortune to be encoded
When the coding of moving vector, it is specifically used for:
The absolute value, described of the sum of absolute value to the X-component difference and the Y-component difference, the X-component difference
X-component difference, the Y-component difference, the smallest prediction of absolute difference with the X-component of the image block motion vector to be encoded
Serial number index, characterization and the Y of the to be encoded image block motion vector of the X-component of motion vector in the First ray divide
The information of sequence where the Y-component of the smallest predicted motion vector of the absolute difference of amount is moved with the image block to be encoded
Sequence index difference of the Y-component of the smallest predicted motion vector of the absolute difference of the Y-component of vector in the sequence where it
Carry out coded treatment.
Motion-vector coding method proposed by the present invention obtains the pre- of the present encoding block motion vector of setting quantity first
Motion vector is surveyed, and processing is zoomed in and out to the predicted motion vector of setting quantity;Then, comparison judges in predicted motion vector
In whether there is predicted motion vector identical with present encoding block motion vector, if so, then direct coding predicted motion
The serial number of vector indexes;If it is not, being carried out according to the predicted motion vector of setting quantity to present encoding block motion vector
Differential encoding processing.In above-mentioned coding process, multiple predicted motion vectors are applied to, and move to present encoding block
It is identical with present encoding block motion vector in view of whether having in multiple predicted motion vectors first when vector is encoded
Predicted motion vector, if so, the then coding directly by the coding of the predicted motion vector as present encoding block motion vector,
Only encode the serial number index of the predicted motion vector;If it is not, using above-mentioned multiple predicted motion vectors, to current
Encoding block motion vector is encoded.The predicted motion vector that its cataloged procedure is applied to is more, considers different situations comprehensively
Corresponding coded treatment is carried out, code efficiency is higher.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of motion-vector coding method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of predicted motion vector for obtaining motion vector provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another motion-vector coding method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another motion-vector coding method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another motion-vector coding method provided in an embodiment of the present invention;
Fig. 6 is a kind of structural schematic diagram of motion vector code device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of another motion vector code device provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of another motion vector code device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
It is shown in Figure 1 the embodiment of the invention discloses a kind of motion-vector coding method, this method comprises:
S101, from the motion vector of the reference prediction encoding block of image block to be encoded, search and obtain setting quantity, institute
State the predicted motion vector of image block motion vector to be encoded, predicted composition motion vector set;
Specifically, usually finding image block fortune to be encoded first when the motion vector for treating coded picture block is encoded
The predicted motion vector of row vector is encoded using the motion vector that predicted motion vector treats coded picture block.In this hair
In bright embodiment, from the motion vector of the reference prediction encoding block of image block to be encoded, searches and obtain setting quantity, wait compile
The predicted motion vector of code image block motion vector.Using multiple predicted motion vectors participate in treating the movement of coded picture block to
The coding of amount, to improve the code efficiency for treating coded picture block motion vector.Further, it searches and obtains setting quantity
After predicted motion vector, predicted composition motion vector set.
S102, by the image block motion vector to be encoded respectively with the predicted motion in the predicted motion vector set
Vector compares, and judges in the predicted motion vector set, if exists and the image block motion vector to be encoded
Identical predicted motion vector;
Specifically, by the motion vector of image block to be encoded and the reference key of the motion vector of image block to be encoded,
It is carried out pair with the reference key of each predicted motion vector and each predicted motion vector in predicted motion vector set
Than.If some predicted motion vector is identical as the motion vector of image block to be encoded, and the reference of the predicted motion vector
Index is also identical as the reference key of image block motion vector to be encoded, it is considered that the predicted motion vector and image to be encoded
The motion vector of block is identical.
If there is prediction identical with the image block motion vector to be encoded in the predicted motion vector set
Motion vector thens follow the steps the sequence of S103, coding predicted motion vector identical with the image block motion vector to be encoded
Number index, the coding as the image block motion vector to be encoded;
Specifically, if existing identical with the motion vector of image block to be encoded pre- in predicted motion vector set
Motion vector is surveyed, is to have completed the motion vector of coding in view of predicted motion vector, coding is accurate.Therefore, at this
In inventive embodiments, there is prediction identical with the motion vector of image block to be encoded fortune when determining in predicted motion vector set
When moving vector, in order to save operand, directly by the coding of predicted motion vector identical with image block motion vector to be encoded
The coding of motion vector as image block to be encoded only encodes the serial number index of the predicted motion vector.It is compiled treating
When the motion vector of code image block is decoded, the coding that only decoding indexes the serial number of the predicted motion vector, further,
The coding that the predicted motion vector is found by serial number index, is the coding for having found image block motion vector to be encoded, solution
The coding of the code predicted motion vector, also just completes the decoding for treating coded picture block motion vector.
If there is no identical pre- with the image block motion vector to be encoded in the predicted motion vector set
Motion vector is surveyed, S104 is thened follow the steps, according to the predicted motion vector in the predicted motion vector set, to described wait compile
Code image block motion vector carries out differential encoding processing, obtains the coding of the image block motion vector to be encoded.
Specifically, if there is no identical pre- with image block motion vector to be encoded in predicted motion vector set
Motion vector is surveyed, then it is poor to treat the progress of coded picture block motion vector according to the prediction for treating coded picture block motion vector
Coded processing, obtains the coding of image block motion vector to be encoded.It should be noted that in embodiments of the present invention, being conducive to
The motion vector that multiple predicted motion vectors of the motion vector of image block to be encoded treat coded picture block carries out differential encoding
Processing, processing method compared with the existing technology, encoding precision are higher.
Motion-vector coding method proposed by the present invention obtains the pre- of the present encoding block motion vector of setting quantity first
Motion vector is surveyed, and processing is zoomed in and out to the predicted motion vector of setting quantity;Then, comparison judges in predicted motion vector
In whether there is predicted motion vector identical with present encoding block motion vector, if so, then direct coding predicted motion
The serial number of vector indexes;If it is not, being carried out according to the predicted motion vector of setting quantity to present encoding block motion vector
Differential encoding processing.In above-mentioned coding process, multiple predicted motion vectors are applied to, and move to present encoding block
It is identical with present encoding block motion vector in view of whether having in multiple predicted motion vectors first when vector is encoded
Predicted motion vector, if so, the then coding directly by the coding of the predicted motion vector as present encoding block motion vector,
Only encode the serial number index of the predicted motion vector;If it is not, using above-mentioned multiple predicted motion vectors, to current
Encoding block motion vector is encoded.The predicted motion vector that its cataloged procedure is applied to is more, considers different situations comprehensively
Corresponding coded treatment is carried out, code efficiency is higher.
Optionally, in another embodiment of the present invention, the reference prediction encoding block from image block to be encoded
In motion vector, searches and obtain setting quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition
Motion vector set, comprising:
According to efficient video coding HEVC coding method, from the movement of the airspace adjacent encoder block of image block to be encoded to
In amount and time domain reference image in the motion vector of the encoding block of same position, searches and obtain setting quantity, it is corresponding wait compile
The predicted motion vector of code image block motion vector, predicted composition motion vector set;
Specifically, the airspace adjacent encoder block of image block to be encoded, refer to it is spatially adjacent with image block to be encoded,
Belong to the encoded image block of same frame image;The coding of same position in the time domain reference image of image block to be encoded
Block, refer to it is encoded, with image block to be encoded not in same frame image, but be in identical image position image
Block.The embodiment of the present invention uses HEVC coding method, from the motion vector of the airspace adjacent encoder block of image block to be encoded, and
In time domain reference image in the motion vector of the encoding block of same position, searches and obtain the predicted motion vector of setting quantity.
For example, Y is the same location drawing picture in time domain in the reference picture of X as illustrated in fig. 2, it is assumed that X is image block to be encoded
Block.Using the method for the acquisition spatial and temporal prediction motion vector of HEVC, first from the movement of the upper left adjacent image block of X to
Predicted motion vector is searched in amount in order, such as obtains predicted motion vector according to the sequence of A0, B0, B2, A1, B1, if certain
The motion vector of a position is not present, then skipping it.Then, if being obtained from the same position encoding block of time domain reference image
Dry predicted motion vector, the position of two stains as shown on the right, C0 and C1.
It rejects in the predicted motion vector set, sets in the predicted motion vector of quantity, duplicate predicted motion
Vector.
Specifically, after searching the predicted motion vector for obtaining setting quantity, prediction fortune of the comparison confirmation in setting quantity
In moving vector, if having duplicate predicted motion vector, that is, be confirmed whether to have that motion vector is identical, and reference key is also identical
Predicted motion vector.If so, then rejecting duplicate predicted motion vector, make the predicted motion in predicted motion vector set
Vector is all different.
Optionally, in another embodiment of the present invention, shown in Figure 3, execute step S301, from figure to be encoded
As the reference prediction encoding block of block motion vector in, search and obtain setting quantity, the image block motion vector to be encoded
Predicted motion vector, after predicted composition motion vector set, execute step S303, will the image block movement to be encoded
Vector is compared with the predicted motion vector in the predicted motion vector set respectively, is judged in the predicted motion vector
In set, if before there is predicted motion vector identical with the image block motion vector to be encoded, this method further include:
S302, the reference key according to the image block motion vector to be encoded and the predicted motion vector set
In predicted motion vector reference key, the predicted motion vector in the predicted motion vector set is zoomed in and out respectively
Processing makes represented by predicted motion vector and the image block motion vector to be encoded in the predicted motion vector set
Offset is identical.
Specifically, the reference key of motion vector, represents the offset of the motion vector.If the ginseng of two motion vectors
It is different to examine index, must not believe that the two motion vectors are identical.Therefore, in order to guarantee to look in predicted motion vector set
To predicted motion vector identical with image motion vector to be encoded, the embodiment of the present invention is to pre- in predicted motion vector set
Survey motion vector zoom in and out processing, make the offset of predicted motion vector, i.e. reference key, with image block to be encoded move to
The reference key of amount is identical.Correspondingly, while the reference key of predicted motion vector is zoomed in and out, by predicted motion to
The coordinate of amount scales identical multiple.It should be noted that the present invention is implemented before zooming in and out processing to predicted motion vector
Example processing is ranked up to the predicted motion vector in predicted motion vector set first, specifically first, in accordance with index from it is small to
Big sequence selects reference key predicted motion vector identical with the reference key of image block motion vector to be encoded, then
The sequence of reference key from small to large is pressed again, selects other predicted motion vectors.After above-mentioned processing, to predicted motion to
It is actually mainly different from the reference key of image block motion vector to be encoded to reference key when amount zooms in and out processing
Predicted motion vector.
For example, it is assumed that the coordinate of a certain predicted motion vector is (4,8), reference key 2;Image block to be encoded move to
The coordinate of amount is (X, Y), reference key 1.When so zooming in and out to the predicted motion vector, its reference key is reduced 1
Times, its reference key can be made identical as the reference key of image block motion vector to be encoded.Correspondingly, by the predicted motion
While the reference key of vector reduces 1 times, the coordinate of the predicted motion vector is also reduced 1 times, becomes (2,4).Therefore, right
After the predicted motion vector zooms in and out processing, coordinate is (2,4), reference key 1.
Step S301, S303~S305 in the present embodiment respectively corresponds the step in embodiment of the method shown in FIG. 1
S101, S102~S104, particular content refer to the content of corresponding embodiment of the method shown in FIG. 1, and details are not described herein again.
Optionally, in another embodiment of the present invention, shown in Figure 4, the coding and the image to be encoded
The serial number of the identical predicted motion vector of block motion vector indexes, comprising:
S403, generation are characterized in the predicted motion vector set, are existed and the image block motion vector to be encoded
The identification information of identical reference motion vectors;
Specifically, during treating coded picture block motion vector coding, when by generating predicted motion vector collection
It closes, and image block motion vector to be encoded is compared with the predicted motion vector in predicted motion vector set, find
When there is predicted motion vector identical with image block motion vector to be encoded in predicted motion vector set, a mark is generated
Will information, and 0 is set by the value of the flag information.That is, expression is being predicted when the value of the flag information is 0
In motion vector set, there is predicted motion vector identical with image block motion vector to be encoded.
S404, the coding identification information, and coding prediction fortune identical with the image block motion vector to be encoded
The serial number of moving vector indexes.
Specifically, the flag information and its value that generate in step S403 are encoded, also, will be with image to be encoded
Serial number index of the identical predicted motion vector of the motion vector of block in predicted motion vector set is encoded.
For example, it is assumed that shared n of the predicted motion vector in predicted motion vector set, number mvp0, mvp1 ...
mvpn-1.If the motion vector MV of image block to be encoded is identical with one predicted motion vector of any of the above, if this is transported
Serial number index of the moving vector in predicted motion vector set is j, i.e. otherwise mvpj is enabled then enabling ismvdabs0=0
Ismvdabs0=1.Then ismvdabs0=0, and coding j are encoded, and terminates to treat the motion vector MV of coded picture block
Cataloged procedure.
Step S401, S402, S405 in the present embodiment, respectively correspond the step in embodiment of the method shown in FIG. 1
S101, S102, S104, particular content refer to the content of corresponding embodiment of the method shown in FIG. 1, and details are not described herein again.
Optionally, in another embodiment of the present invention, shown in Figure 5, it is described according to the predicted motion vector
Predicted motion vector in set carries out differential encoding processing to the image block motion vector to be encoded, obtains described wait compile
The coding of code image block motion vector, comprising:
S504, according to the X-component of the predicted motion vector in the predicted motion vector set, be calculated described wait compile
The X-component difference of code image block motion vector;
Specifically, extraction obtains the X-component of all predicted motion vectors, as wait compile from predicted motion vector set
The prediction of the X-component of code image block motion vector.Then, according to the prediction of the X-component of image block motion vector to be encoded, to
The absolute difference with the X-component of image block motion vector to be encoded is selected in the prediction of the X-component of coded picture block motion vector
The prediction of the X-component of the smallest image block motion vector to be encoded, the method for copying the difference of calculation of motion vectors in H.264,
The difference of the prediction of the X-component of image block motion vector to be encoded and the X-component of the image block motion vector to be encoded is calculated,
The difference of X-component as image block motion vector to be encoded.
S505, according to the Y-component of the predicted motion vector in the predicted motion vector set, be calculated described wait compile
The Y-component difference of code image block motion vector;
Specifically, extraction obtains the Y-component of all predicted motion vectors, as wait compile from predicted motion vector set
The prediction of the Y-component of code image block motion vector.Then, according to the prediction of the Y-component of image block motion vector to be encoded, to
The absolute difference with the Y-component of image block motion vector to be encoded is selected in the prediction of the Y-component of coded picture block motion vector
The prediction of the Y-component of the smallest image block motion vector to be encoded, the method for copying the difference of calculation of motion vectors in H.265,
The difference of the prediction of the Y-component of image block motion vector to be encoded and the Y-component of the image block motion vector to be encoded is calculated,
The difference of Y-component as image block motion vector to be encoded.
S506, to the X-component difference, serial number index, the Y-component difference and the correspondence of the corresponding X-component difference
The serial number of the Y-component difference indexes, and carries out coded treatment, obtains the coding of the image block motion vector to be encoded.
Specifically, in the X-component difference and image block motion vector to be encoded that obtain image block motion vector to be encoded
Y-component difference after, according to common coding method, to the serial number index of the X-component difference, the corresponding X-component difference,
The serial number index of the Y-component difference and the corresponding Y-component difference, progress coded treatment, a series of obtained codings, as
The coding of image block motion vector to be encoded.
Step S501~S503 in the present embodiment respectively correspond the step S101 in embodiment of the method shown in FIG. 1~
S103, particular content refer to the content of corresponding embodiment of the method shown in FIG. 1, and details are not described herein again.
Optionally, in another embodiment of the present invention, the prediction according in the predicted motion vector set
The X-component difference of the image block motion vector to be encoded is calculated in the X-component of motion vector, comprising:
It extracts respectively and obtains the X-component of the predicted motion vector in the predicted motion vector set;
For example, after rejecting and searching obtained duplicate predicted motion vector, in obtained predicted motion vector set
Predicted motion vector be mvp0, mvp1 ... mvpn-1 is extracted in this step process and is obtained the X point of each predicted motion vector
Amount, i.e. mvpx0, mvpx1 ... mvpxn-1.
First ray is generated, includes first predicted motion in the predicted motion vector set in the First ray
The X-component of vector;
For example, First ray is generated, wherein including mvpx0.
The X-component for traversing the remaining predicted motion vector in the predicted motion vector set often traverses a prediction
When the X-component of motion vector, the X-component of the predicted motion vector and the X of the predicted motion vector in the First ray are calculated
The distance of component;If the X-component of the predicted motion vector in the X-component of the predicted motion vector and the First ray away from
From both greater than 1, then the First ray is added in the X-component of the predicted motion vector;
Specifically, referring to the example above, mvpx1 to mvpxn-1 is traversed from small to large one by one, if currently mvpxi and the
The distance of existing mvpx is less than or equal to 1 in one sequence, then rejecting this mvpxi, the first sequence otherwise is added in this mvpxi
Column.
From the First ray, lookup obtains the absolute difference with the X-component of the image block motion vector to be encoded
The absolute difference of the X-component of the smallest predicted motion vector, record and the X-component of the image block motion vector to be encoded is minimum
Predicted motion vector X-component in the First ray serial number index;
Specifically, referring to the example above, after having traversed mvpx1 to mvpxn-1, if the member in First ray is known as m, i.e.,
Mvpxx0 to mvpxxm-1.If the x-component of the motion vector of the image block with coding is mvx, one is selected from First ray
With the smallest mvpxx of its absolute difference, if its serial number index is t, i.e. this mvpxx is mvpxxt.
According to the X of the smallest predicted motion vector of absolute difference of the X-component with the image block motion vector to be encoded
The X of the image block motion vector to be encoded is calculated in the X-component of component and the image block motion vector to be encoded
Component difference.
Specifically, referring to the example above, the X-component difference mvxdiff=mvx- of image block motion vector to be encoded
mvpxxt。
Optionally, in another embodiment of the present invention, the prediction according in the predicted motion vector set
The Y-component difference of the image block motion vector to be encoded is calculated in the Y-component of motion vector, comprising:
It extracts respectively and obtains the Y-component of the predicted motion vector in the predicted motion vector set;
For example, after rejecting and searching obtained duplicate predicted motion vector, in obtained predicted motion vector set
Predicted motion vector be mvp0, mvp1 ... mvpn-1 is extracted in this step process and is obtained the Y point of each predicted motion vector
Amount, i.e. mvpy0, mvpy1 ... mvpyn-1.
By the Y-component of the predicted motion vector in the predicted motion vector set, it is divided into the second sequence and third sequence
Column;Wherein, the X-component of the corresponding predicted motion vector of Y-component of the predicted motion vector in second sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
It measures identical;The X-component of the corresponding predicted motion vector of Y-component of predicted motion vector in the third sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Amount is different;
Specifically, the absolute difference according to the X-component with image block motion vector to be encoded is the smallest referring to the example above
The X-component mvpxxt of predicted motion vector, by mvpy0, mvpy1 ... mvpyn-1 is divided into the second sequence and third sequence.Second
The X-component mvpx of the corresponding predicted motion vector of the Y-component of predicted motion vector in sequence is all equal to mvpxxt, third sequence
The X-component mvpx of the corresponding predicted motion vector of the Y-component of predicted motion vector in column is all not equal to mvpxxt.
Generate the 4th sequence, the Y comprising first predicted motion vector in second sequence in the 4th sequence
Component;
The Y-component for traversing remaining predicted motion vector in second sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 4th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 4th sequence
1, then the 4th sequence is added in the Y-component of the predicted motion vector;
Specifically, traversing Y points of remaining predicted motion vector in the second sequence from small to large one by one referring to the example above
Amount, if the Y-component of current predictive motion vector is less than at a distance from the Y-component of existing predicted motion vector in the 4th sequence
Equal to 1, then rejecting the Y-component of this predicted motion vector, the 4th sequence otherwise is added in the Y-component of this predicted motion vector
Column.
Generate the 5th sequence, the Y comprising first predicted motion vector in the third sequence in the 5th sequence
Component;
The Y-component for traversing remaining predicted motion vector in the third sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 5th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 5th sequence
1, then the 5th sequence is added in the Y-component of the predicted motion vector;
Specifically, traversing Y points of remaining predicted motion vector in third sequence from small to large one by one referring to the example above
Amount, if the Y-component of current predictive motion vector is less than at a distance from the Y-component of existing predicted motion vector in the 5th sequence
Equal to 1, then rejecting the Y-component of this predicted motion vector, the 5th sequence otherwise is added in the Y-component of this predicted motion vector
Column.
From the 4th sequence and the 5th sequence, lookup obtains the Y with the image block motion vector to be encoded
The Y-component of the smallest predicted motion vector of the absolute difference of component, the Y-component of record and the image block motion vector to be encoded
The smallest predicted motion vector of absolute difference Y-component where sequence, and with the image block motion vector to be encoded
Y-component the smallest predicted motion vector of absolute difference sequence index of the Y-component in sequence where it;
Specifically, if the y-component of the motion vector of image block to be encoded is mvy, finding the 4th sequence referring to the example above
With in the 5th sequence with that the smallest mvpy of mvy absolute difference.If it sets isusemvxeq=1 in the 4th sequence, no
Then set isusemvxeq=0.
According to the Y of the smallest predicted motion vector of absolute difference of the Y-component with the image block motion vector to be encoded
The Y of the image block motion vector to be encoded is calculated in the Y-component of component and the image block motion vector to be encoded
Component difference.
Specifically, referring to the example above, if serial number index of this mvpy in that corresponding sequence is i, i.e., this
Mvpy is mvpyi, then the Y-component difference mvydiff=mvy-mvpyi of image block motion vector to be encoded.
Optionally, in another embodiment of the present invention, described to the X-component difference, the corresponding X-component difference
Serial number index, the Y-component difference and the corresponding Y-component difference serial number index, carry out coded treatment, obtain it is described to
The coding of coded picture block motion vector, comprising:
The absolute value, described of the sum of absolute value to the X-component difference and the Y-component difference, the X-component difference
X-component difference, the Y-component difference, the smallest prediction of absolute difference with the X-component of the image block motion vector to be encoded
Serial number index, characterization and the Y of the to be encoded image block motion vector of the X-component of motion vector in the First ray divide
The information of sequence where the Y-component of the smallest predicted motion vector of the absolute difference of amount is moved with the image block to be encoded
Sequence index difference of the Y-component of the smallest predicted motion vector of the absolute difference of the Y-component of vector in the sequence where it
Carry out coded treatment.
Specifically, referring to the example above, then coding abs (mvxdiff)+abs (mvydiff) first encodes abs
(mvxdiff).If mvxdiff is not equal to zero, the symbol of mvxdiff is encoded, then if mvydiff is not equal to 0, that
Encode the symbol of mvydiff.Then the index t for encoding mvpx, next encodes isusemvxeq, finally encodes mvpy's
Index i.
By above-mentioned processing, that is, complete the coded treatment for treating coded picture block motion vector.Correspondingly, to use
When the image block motion vector of above-mentioned coding method coding is decoded, referring to the citing in the various embodiments described above, process is general
It states as follows: first as cataloged procedure, first constructing mvp sequence, then decode ismvdabs0, if it is 0, then decoding mvp
Index j after terminate this process.Otherwise successively decode abs (mvxdiff)+abs (mvydiff), abs (mvxdiff),
The symbol of the symbol of mvxdiff, mvydiff.Mvxdiff and mvydiff is obtained after decoding.Then it is constructed as cataloged procedure
Then the forecasting sequence of the x-component of image block motion vector decodes the index t of mvpx, mvpxxt is obtained from sequence.Root again
Two forecasting sequences for constructing y as in cataloged procedure according to mvpxxt, then decode isusemvxeq, select corresponding sequence
Column, decode the index i of mvpy, obtain mvpyi from the corresponding forecasting sequence of y.Finally obtain x points of image block motion vector
Measure mvx=mvxdiff+mvpxxt, y-component mvy=mvydiff+mvpyi.
Shown in Figure 6 the embodiment of the invention also discloses a kind of motion vector code device, which includes:
Prediction processing unit 601, for searching from the motion vector of the reference prediction encoding block of image block to be encoded
To setting quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition motion vector set;
Judging unit 602, for by the image block motion vector to be encoded respectively with the predicted motion vector set
In predicted motion vector compare, judge in the predicted motion vector set, if exist and the figure to be encoded
As the identical predicted motion vector of block motion vector;
First coding unit 603 judges exist in the predicted motion vector set for the judging unit 602
When predicted motion vector identical with the image block motion vector to be encoded, coding and the image block motion vector to be encoded
The serial number of identical predicted motion vector indexes, the coding as the image block motion vector to be encoded;
Second coding unit 604 judges not deposit in the predicted motion vector set for the judging unit 602
In predicted motion vector identical with the image block motion vector to be encoded, according in the predicted motion vector set
Predicted motion vector carries out differential encoding processing to the image block motion vector to be encoded, obtains the image block to be encoded
The coding of motion vector.
Specifically, in the present embodiment each unit specific works content, refer to the content of corresponding embodiment of the method,
Details are not described herein again.
Motion vector code device proposed by the present invention, it is single by prediction processing first when being encoded to image motion vector
Member 601 obtain setting quantity present encoding block motion vector predicted motion vector, and to setting quantity predicted motion to
Amount zooms in and out processing;Then, the comparison of judging unit 602 judges to transport in predicted motion vector with the presence or absence of with present encoding block
The identical predicted motion vector of moving vector, if so, the then serial number of the 603 direct coding predicted motion vector of the first coding unit
Index;If it is not, the second coding unit 604 according to setting quantity predicted motion vector, to present encoding block move to
Amount carries out differential encoding processing.In above-mentioned coding process, multiple predicted motion vectors are applied to, and to present encoding
When block motion vector is encoded, first in view of whether having in multiple predicted motion vectors and present encoding block motion vector
Identical predicted motion vector, if so, then directly using the coding of the predicted motion vector as present encoding block motion vector
Coding, only encode the predicted motion vector serial number index;If it is not, using above-mentioned multiple predicted motions to
Amount, encodes present encoding block motion vector.The predicted motion vector that its cataloged procedure is applied to is more, considers comprehensively not
Same situation carries out corresponding coded treatment, and code efficiency is higher.
Optionally, in another embodiment of the present invention, ginseng of the prediction processing unit 601 from image block to be encoded
In the motion vector for examining predictive coding block, searches and obtain setting quantity, the prediction fortune of the image block motion vector to be encoded
Moving vector when predicted composition motion vector set, is specifically used for:
According to efficient video coding HEVC coding method, from the movement of the airspace adjacent encoder block of image block to be encoded to
In amount and time domain reference image in the motion vector of the encoding block of same position, searches and obtain setting quantity, it is corresponding wait compile
The predicted motion vector of code image block motion vector, predicted composition motion vector set;Reject the predicted motion vector set
In, it sets in the predicted motion vector of quantity, duplicate predicted motion vector.
Specifically, in the present embodiment prediction processing unit 601 specific works content, refer to corresponding embodiment of the method
Content, details are not described herein again.
Optionally, in another embodiment of the present invention, shown in Figure 7, described device further include:
Scaling processing unit 605, for according to the reference key of the image block motion vector to be encoded and described pre-
The reference key of the predicted motion vector in motion vector set is surveyed, the prediction in the predicted motion vector set is transported respectively
Moving vector zooms in and out processing, transports the predicted motion vector in the predicted motion vector set and the image block to be encoded
Offset represented by moving vector is identical.
Specifically, in the present embodiment scaling processing unit 605 specific works content, refer to corresponding embodiment of the method
Content, details are not described herein again.
Optionally, in another embodiment of the present invention, the coding of the first coding unit 603 and the figure to be encoded
When being indexed as the serial number of the identical predicted motion vector of block motion vector, it is specifically used for:
Generation is characterized in the predicted motion vector set, is existed identical with the image block motion vector to be encoded
The identification information of reference motion vectors;Encode the identification information, and coding and the image block motion vector phase to be encoded
The serial number index of same predicted motion vector.
Specifically, in the present embodiment the first coding unit 603 specific works content, refer to corresponding embodiment of the method
Content, details are not described herein again.
Optionally, in another embodiment of the present invention, shown in Figure 8, the second coding unit 604, comprising:
First component calculation unit 6041, for the X according to the predicted motion vector in the predicted motion vector set
The X-component difference of the image block motion vector to be encoded is calculated in component;
Second component computing unit 6042, for the Y according to the predicted motion vector in the predicted motion vector set
The Y-component difference of the image block motion vector to be encoded is calculated in component;
Differential encoding unit 6043 indexes for the serial number to the X-component difference, the corresponding X-component difference, is described
The serial number index of Y-component difference and the corresponding Y-component difference, carries out coded treatment, obtains the image block movement to be encoded
The coding of vector.
Specifically, in the present embodiment each unit specific works content, refer to the content of corresponding embodiment of the method,
Details are not described herein again.
Optionally, in another embodiment of the present invention, first component calculation unit 6041 is according to the prediction
The X-component of predicted motion vector in motion vector set, the X-component that the image block motion vector to be encoded is calculated are poor
Timesharing is specifically used for:
It extracts respectively and obtains the X-component of the predicted motion vector in the predicted motion vector set;
First ray is generated, includes first predicted motion in the predicted motion vector set in the First ray
The X-component of vector;
The X-component for traversing the remaining predicted motion vector in the predicted motion vector set often traverses a prediction
When the X-component of motion vector, the X-component of the predicted motion vector and the X of the predicted motion vector in the First ray are calculated
The distance of component;If the X-component of the predicted motion vector in the X-component of the predicted motion vector and the First ray away from
From both greater than 1, then the First ray is added in the X-component of the predicted motion vector;
From the First ray, lookup obtains the absolute difference with the X-component of the image block motion vector to be encoded
The absolute difference of the X-component of the smallest predicted motion vector, record and the X-component of the image block motion vector to be encoded is minimum
Predicted motion vector X-component in the First ray serial number index;
According to the X of the smallest predicted motion vector of absolute difference of the X-component with the image block motion vector to be encoded
The X of the image block motion vector to be encoded is calculated in the X-component of component and the image block motion vector to be encoded
Component difference.
Specifically, in the present embodiment the first component calculation unit 6041 specific works content, refer to corresponding method
The content of embodiment, details are not described herein again.
Optionally, in another embodiment of the present invention, the second component computing unit 6042 is according to the prediction
The Y-component of predicted motion vector in motion vector set, the Y-component that the image block motion vector to be encoded is calculated are poor
Timesharing is specifically used for:
It extracts respectively and obtains the Y-component of the predicted motion vector in the predicted motion vector set;
By the Y-component of the predicted motion vector in the predicted motion vector set, it is divided into the second sequence and third sequence
Column;Wherein, the X-component of the corresponding predicted motion vector of Y-component of the predicted motion vector in second sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
It measures identical;The X-component of the corresponding predicted motion vector of Y-component of predicted motion vector in the third sequence, with described
In one sequence, divide with the X of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Amount is different;
Generate the 4th sequence, the Y comprising first predicted motion vector in second sequence in the 4th sequence
Component;
The Y-component for traversing remaining predicted motion vector in second sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 4th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 4th sequence
1, then the 4th sequence is added in the Y-component of the predicted motion vector;
Generate the 5th sequence, the Y comprising first predicted motion vector in the third sequence in the 5th sequence
Component;
The Y-component for traversing remaining predicted motion vector in the third sequence often traverses a predicted motion vector
Y-component when, calculate the predicted motion vector Y-component and the 5th sequence in predicted motion vector Y-component away from
From;If the Y-component of the predicted motion vector is both greater than at a distance from the Y-component of the predicted motion vector in the 5th sequence
1, then the 5th sequence is added in the Y-component of the predicted motion vector;
From the 4th sequence and the 5th sequence, lookup obtains the Y with the image block motion vector to be encoded
The Y-component of the smallest predicted motion vector of the absolute difference of component, the Y-component of record and the image block motion vector to be encoded
The smallest predicted motion vector of absolute difference Y-component where sequence, and with the image block motion vector to be encoded
Y-component the smallest predicted motion vector of absolute difference sequence index of the Y-component in sequence where it;
According to the Y of the smallest predicted motion vector of absolute difference of the Y-component with the image block motion vector to be encoded
The Y of the image block motion vector to be encoded is calculated in the Y-component of component and the image block motion vector to be encoded
Component difference.
Specifically, in the present embodiment second component computing unit 6042 specific works content, refer to corresponding method
The content of embodiment, details are not described herein again.
Optionally, in another embodiment of the present invention, the differential encoding unit 6043 to the X-component difference,
Serial number index, the Y-component difference and the serial number index for corresponding to the Y-component difference of the corresponding X-component difference, are compiled
Code processing, when obtaining the coding of the image block motion vector to be encoded, is specifically used for:
The absolute value, described of the sum of absolute value to the X-component difference and the Y-component difference, the X-component difference
X-component difference, the Y-component difference, the smallest prediction of absolute difference with the X-component of the image block motion vector to be encoded
Serial number index, characterization and the Y of the to be encoded image block motion vector of the X-component of motion vector in the First ray divide
The information of sequence where the Y-component of the smallest predicted motion vector of the absolute difference of amount is moved with the image block to be encoded
Sequence index difference of the Y-component of the smallest predicted motion vector of the absolute difference of the Y-component of vector in the sequence where it
Carry out coded treatment.
Specifically, in the present embodiment differential encoding unit 6043 specific works content, refer to corresponding method and implement
The content of example, details are not described herein again.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (16)
1. a kind of motion-vector coding method characterized by comprising
From the motion vector of the reference prediction encoding block of image block to be encoded, searches and obtain setting quantity, it is described to be encoded
The predicted motion vector of image block motion vector, predicted composition motion vector set;
The image block motion vector to be encoded is carried out with the predicted motion vector in the predicted motion vector set respectively
Comparison, judges in the predicted motion vector set, if exist identical pre- with the image block motion vector to be encoded
Survey motion vector;
If there is predicted motion identical with the image block motion vector to be encoded in the predicted motion vector set
Vector then encodes the serial number index of predicted motion vector identical with the image block motion vector to be encoded, as it is described to
The coding of coded picture block motion vector;
If there is no prediction fortune identical with the image block motion vector to be encoded in the predicted motion vector set
Moving vector, then according to the predicted motion vector in the predicted motion vector set, to the image block motion vector to be encoded
Differential encoding processing is carried out, the coding of the image block motion vector to be encoded is obtained.
2. the method according to claim 1, wherein the reference prediction encoding block from image block to be encoded
In motion vector, searches and obtain setting quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition
Motion vector set, comprising:
According to efficient video coding HEVC coding method, from the motion vector of the airspace adjacent encoder block of image block to be encoded, with
And in time domain reference picture in the motion vector of the encoding block of same position, searches and obtain setting quantity, corresponding figure to be encoded
As the predicted motion vector of block motion vector, predicted composition motion vector set;
It rejects in the predicted motion vector set, sets in the predicted motion vector of quantity, duplicate predicted motion vector.
3. the method according to claim 1, wherein in the fortune of the reference prediction encoding block from image block to be encoded
In moving vector, searches and obtain setting quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition fortune
After trend duration set, by the image block motion vector to be encoded respectively with the prediction in the predicted motion vector set
Motion vector compares, and judges in the predicted motion vector set, if exists and moves with the image block to be encoded
Before the identical predicted motion vector of vector, this method further include:
According to the prediction fortune in the reference key of the image block motion vector to be encoded and the predicted motion vector set
The reference key of moving vector zooms in and out processing to the predicted motion vector in the predicted motion vector set respectively, makes institute
State the predicted motion vector in predicted motion vector set and offset phase represented by the image block motion vector to be encoded
Together.
4. the method according to claim 1, wherein the coding and the image block motion vector phase to be encoded
The serial number index of same predicted motion vector, comprising:
Generation is characterized in the predicted motion vector set, there is reference identical with the image block motion vector to be encoded
The identification information of motion vector;
Encode the identification information, and the sequence of coding predicted motion vector identical with the image block motion vector to be encoded
Number index.
5. the method according to claim 1, wherein the prediction according in the predicted motion vector set
Motion vector carries out differential encoding processing to the image block motion vector to be encoded, obtains the image block movement to be encoded
The coding of vector, comprising:
According to the X-component of the predicted motion vector in the predicted motion vector set, the image block to be encoded is calculated
The X-component difference of motion vector;
According to the Y-component of the predicted motion vector in the predicted motion vector set, the image block to be encoded is calculated
The Y-component difference of motion vector;
To the serial number index of the X-component difference, the corresponding X-component difference, the Y-component difference and the corresponding Y-component
The serial number of difference indexes, and carries out coded treatment, obtains the coding of the image block motion vector to be encoded;
Wherein, the serial number index of the correspondence X-component difference, refers to and the X of the image block motion vector to be encoded points
Serial number index of the X-component of the smallest predicted motion vector of the absolute difference of amount in First ray, the First ray refer to
The sequence being made of the X-component of predicted motion vector;
The serial number of the correspondence Y-component difference indexes, and refers to exhausted with the Y-component of the image block motion vector to be encoded
To the serial number index of the Y-component of the smallest predicted motion vector of value difference in the sequence where it, the sequence where it is
Refer to the sequence being made of the Y-component of predicted motion vector.
6. according to the method described in claim 5, it is characterized in that, the prediction according in the predicted motion vector set
The X-component difference of the image block motion vector to be encoded is calculated in the X-component of motion vector, comprising:
It extracts respectively and obtains the X-component of the predicted motion vector in the predicted motion vector set;
First ray is generated, includes first predicted motion vector in the predicted motion vector set in the First ray
X-component;
The X-component for traversing the remaining predicted motion vector in the predicted motion vector set often traverses a predicted motion
When the X-component of vector, the X-component of the predicted motion vector and the X-component of the predicted motion vector in the First ray are calculated
Distance;If the X-component of the predicted motion vector at a distance from the X-component of the predicted motion vector in the First ray all
Greater than 1, then the First ray is added in the X-component of the predicted motion vector;
From the First ray, lookup is obtained and the absolute difference of the X-component of the image block motion vector to be encoded minimum
Predicted motion vector X-component, record it is the smallest pre- with the absolute difference of the X-component of the image block motion vector to be encoded
Survey serial number index of the X-component of motion vector in the First ray;
According to the X-component of the smallest predicted motion vector of absolute difference of the X-component with the image block motion vector to be encoded,
And the X-component of the image block motion vector to be encoded, the X-component that the image block motion vector to be encoded is calculated are poor
Point.
7. according to the method described in claim 6, it is characterized in that, the prediction according in the predicted motion vector set
The Y-component difference of the image block motion vector to be encoded is calculated in the Y-component of motion vector, comprising:
It extracts respectively and obtains the Y-component of the predicted motion vector in the predicted motion vector set;
By the Y-component of the predicted motion vector in the predicted motion vector set, it is divided into the second sequence and third sequence;Its
In, the X-component of the corresponding predicted motion vector of Y-component of the predicted motion vector in second sequence, with first sequence
X-component phase in column, with the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Together;The X-component of the corresponding predicted motion vector of Y-component of predicted motion vector in the third sequence, with first sequence
In column, not with the X-component of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Together;
Generate the 4th sequence, the Y-component comprising first predicted motion vector in second sequence in the 4th sequence;
The Y-component for traversing remaining predicted motion vector in second sequence often traverses Y points of a predicted motion vector
When amount, the Y-component of the predicted motion vector is calculated at a distance from the Y-component of the predicted motion vector in the 4th sequence;Such as
The Y-component of the fruit predicted motion vector is both greater than 1 at a distance from the Y-component of the predicted motion vector in the 4th sequence, then
The 4th sequence is added in the Y-component of the predicted motion vector;
Generate the 5th sequence, the Y-component comprising first predicted motion vector in the third sequence in the 5th sequence;
The Y-component for traversing remaining predicted motion vector in the third sequence often traverses Y points of a predicted motion vector
When amount, the Y-component of the predicted motion vector is calculated at a distance from the Y-component of the predicted motion vector in the 5th sequence;Such as
The Y-component of the fruit predicted motion vector is both greater than 1 at a distance from the Y-component of the predicted motion vector in the 5th sequence, then
The 5th sequence is added in the Y-component of the predicted motion vector;
From the 4th sequence and the 5th sequence, lookup obtains the Y-component with the image block motion vector to be encoded
The smallest predicted motion vector of absolute difference Y-component, record exhausted with the Y-component of the image block motion vector to be encoded
To the sequence where the Y-component of the smallest predicted motion vector of value difference, and Y points with the image block motion vector to be encoded
Sequence index of the Y-component of the smallest predicted motion vector of the absolute difference of amount in the sequence where it;
According to the Y-component of the smallest predicted motion vector of absolute difference of the Y-component with the image block motion vector to be encoded,
And the Y-component of the image block motion vector to be encoded, the Y-component that the image block motion vector to be encoded is calculated are poor
Point.
8. the method according to the description of claim 7 is characterized in that described poor to the X-component difference, the corresponding X-component
Point serial number index, the Y-component difference and the corresponding Y-component difference serial number index, carry out coded treatment, obtain described
The coding of image block motion vector to be encoded, comprising:
The sum of absolute value to the X-component difference and the Y-component difference, the absolute value of the X-component difference, the X point
Measure difference, the Y-component difference, the smallest prediction fortune of absolute difference with the X-component of the image block motion vector to be encoded
Serial number index, characterization and the Y-component of the to be encoded image block motion vector of the X-component of moving vector in the First ray
The smallest predicted motion vector of absolute difference Y-component where sequence information, with the image block to be encoded move to
Sequence index of the Y-component of the smallest predicted motion vector of the absolute difference of the Y-component of amount in the sequence where it respectively into
Row coded treatment.
9. a kind of motion vector code device characterized by comprising
Prediction processing unit, for from the motion vector of the reference prediction encoding block of image block to be encoded, lookup to be set
Quantity, the predicted motion vector of the image block motion vector to be encoded, predicted composition motion vector set;
Judging unit, for by the image block motion vector to be encoded respectively with the prediction in the predicted motion vector set
Motion vector compares, and judges in the predicted motion vector set, if exists and moves with the image block to be encoded
The identical predicted motion vector of vector;
First coding unit judges exist with described in the predicted motion vector set wait compile for the judging unit
When the code identical predicted motion vector of image block motion vector, coding prediction identical with the image block motion vector to be encoded
The serial number of motion vector indexes, the coding as the image block motion vector to be encoded;
Second coding unit judge in the predicted motion vector set for the judging unit, be not present with it is described to
When the identical predicted motion vector of coded picture block motion vector, according to the predicted motion in the predicted motion vector set to
Amount carries out differential encoding processing to the image block motion vector to be encoded, obtains the image block motion vector to be encoded
Coding.
10. device according to claim 9, which is characterized in that ginseng of the prediction processing unit from image block to be encoded
In the motion vector for examining predictive coding block, searches and obtain setting quantity, the prediction fortune of the image block motion vector to be encoded
Moving vector when predicted composition motion vector set, is specifically used for:
According to efficient video coding HEVC coding method, from the motion vector of the airspace adjacent encoder block of image block to be encoded, with
And in time domain reference picture in the motion vector of the encoding block of same position, searches and obtain setting quantity, corresponding figure to be encoded
As the predicted motion vector of block motion vector, predicted composition motion vector set;It rejects in the predicted motion vector set, if
In the predicted motion vector of fixed number amount, duplicate predicted motion vector.
11. device according to claim 9, which is characterized in that described device further include:
Scaling processing unit, for according to the image block motion vector to be encoded reference key and the predicted motion
The reference key of predicted motion vector in vector set, respectively to the predicted motion vector in the predicted motion vector set
Processing is zoomed in and out, predicted motion vector and the image block motion vector to be encoded in the predicted motion vector set are made
Represented offset is identical.
12. device according to claim 9, which is characterized in that the first coding unit coding and the figure to be encoded
When being indexed as the serial number of the identical predicted motion vector of block motion vector, it is specifically used for:
Generation is characterized in the predicted motion vector set, there is reference identical with the image block motion vector to be encoded
The identification information of motion vector;The identification information is encoded, and is encoded identical with the image block motion vector to be encoded
The serial number of predicted motion vector indexes.
13. device according to claim 9, which is characterized in that second coding unit, comprising:
First component calculation unit is calculated for the X-component according to the predicted motion vector in the predicted motion vector set
Obtain the X-component difference of the image block motion vector to be encoded;
Second component computing unit is calculated for the Y-component according to the predicted motion vector in the predicted motion vector set
Obtain the Y-component difference of the image block motion vector to be encoded;
Differential encoding unit, for poor to the X-component difference, the serial number index of the corresponding X-component difference, the Y-component
Divide and the serial number index of the corresponding Y-component difference, progress coded treatment obtain the volume of the image block motion vector to be encoded
Code;
Wherein, the serial number index of the correspondence X-component difference, refers to and the X of the image block motion vector to be encoded points
Serial number index of the X-component of the smallest predicted motion vector of the absolute difference of amount in First ray, the First ray refer to
The sequence being made of the X-component of predicted motion vector;
The serial number of the correspondence Y-component difference indexes, and refers to exhausted with the Y-component of the image block motion vector to be encoded
To the serial number index of the Y-component of the smallest predicted motion vector of value difference in the sequence where it, the sequence where it is
Refer to the sequence being made of the Y-component of predicted motion vector.
14. device according to claim 13, which is characterized in that first component calculation unit is transported according to the prediction
The X-component difference of the image block motion vector to be encoded is calculated in the X-component of predicted motion vector in trend duration set
When, it is specifically used for:
It extracts respectively and obtains the X-component of the predicted motion vector in the predicted motion vector set;
First ray is generated, includes first predicted motion vector in the predicted motion vector set in the First ray
X-component;
The X-component for traversing the remaining predicted motion vector in the predicted motion vector set often traverses a predicted motion
When the X-component of vector, the X-component of the predicted motion vector and the X-component of the predicted motion vector in the First ray are calculated
Distance;If the X-component of the predicted motion vector at a distance from the X-component of the predicted motion vector in the First ray all
Greater than 1, then the First ray is added in the X-component of the predicted motion vector;
From the First ray, lookup is obtained and the absolute difference of the X-component of the image block motion vector to be encoded minimum
Predicted motion vector X-component, record it is the smallest pre- with the absolute difference of the X-component of the image block motion vector to be encoded
Survey serial number index of the X-component of motion vector in the First ray;
According to the X-component of the smallest predicted motion vector of absolute difference of the X-component with the image block motion vector to be encoded,
And the X-component of the image block motion vector to be encoded, the X-component that the image block motion vector to be encoded is calculated are poor
Point.
15. device according to claim 14, which is characterized in that the second component computing unit is transported according to the prediction
The Y-component difference of the image block motion vector to be encoded is calculated in the Y-component of predicted motion vector in trend duration set
When, it is specifically used for:
It extracts respectively and obtains the Y-component of the predicted motion vector in the predicted motion vector set;
By the Y-component of the predicted motion vector in the predicted motion vector set, it is divided into the second sequence and third sequence;Its
In, the X-component of the corresponding predicted motion vector of Y-component of the predicted motion vector in second sequence, with first sequence
X-component phase in column, with the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Together;The X-component of the corresponding predicted motion vector of Y-component of predicted motion vector in the third sequence, with first sequence
In column, not with the X-component of the smallest predicted motion vector of absolute difference of the X-component of the image block motion vector to be encoded
Together;
Generate the 4th sequence, the Y-component comprising first predicted motion vector in second sequence in the 4th sequence;
The Y-component for traversing remaining predicted motion vector in second sequence often traverses Y points of a predicted motion vector
When amount, the Y-component of the predicted motion vector is calculated at a distance from the Y-component of the predicted motion vector in the 4th sequence;Such as
The Y-component of the fruit predicted motion vector is both greater than 1 at a distance from the Y-component of the predicted motion vector in the 4th sequence, then
The 4th sequence is added in the Y-component of the predicted motion vector;
Generate the 5th sequence, the Y-component comprising first predicted motion vector in the third sequence in the 5th sequence;
The Y-component for traversing remaining predicted motion vector in the third sequence often traverses Y points of a predicted motion vector
When amount, the Y-component of the predicted motion vector is calculated at a distance from the Y-component of the predicted motion vector in the 5th sequence;Such as
The Y-component of the fruit predicted motion vector is both greater than 1 at a distance from the Y-component of the predicted motion vector in the 5th sequence, then
The 5th sequence is added in the Y-component of the predicted motion vector;
From the 4th sequence and the 5th sequence, lookup obtains the Y-component with the image block motion vector to be encoded
The smallest predicted motion vector of absolute difference Y-component, record exhausted with the Y-component of the image block motion vector to be encoded
To the sequence where the Y-component of the smallest predicted motion vector of value difference, and Y points with the image block motion vector to be encoded
Sequence index of the Y-component of the smallest predicted motion vector of the absolute difference of amount in the sequence where it;
According to the Y-component of the smallest predicted motion vector of absolute difference of the Y-component with the image block motion vector to be encoded,
And the Y-component of the image block motion vector to be encoded, the Y-component that the image block motion vector to be encoded is calculated are poor
Point.
16. device according to claim 15, which is characterized in that the differential encoding unit is to the X-component difference, right
It answers the serial number of the X-component difference to index, the serial number index of the Y-component difference and the corresponding Y-component difference, is encoded
Processing, when obtaining the coding of the image block motion vector to be encoded, is specifically used for:
The sum of absolute value to the X-component difference and the Y-component difference, the absolute value of the X-component difference, the X point
Measure difference, the Y-component difference, the smallest prediction fortune of absolute difference with the X-component of the image block motion vector to be encoded
Serial number index, characterization and the Y-component of the to be encoded image block motion vector of the X-component of moving vector in the First ray
The smallest predicted motion vector of absolute difference Y-component where sequence information, with the image block to be encoded move to
Sequence index of the Y-component of the smallest predicted motion vector of the absolute difference of the Y-component of amount in the sequence where it respectively into
Row coded treatment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710073895.5A CN106851273B (en) | 2017-02-10 | 2017-02-10 | A kind of motion-vector coding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710073895.5A CN106851273B (en) | 2017-02-10 | 2017-02-10 | A kind of motion-vector coding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106851273A CN106851273A (en) | 2017-06-13 |
CN106851273B true CN106851273B (en) | 2019-08-06 |
Family
ID=59122732
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710073895.5A Active CN106851273B (en) | 2017-02-10 | 2017-02-10 | A kind of motion-vector coding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106851273B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107318024A (en) * | 2017-06-27 | 2017-11-03 | 北京奇艺世纪科技有限公司 | Method for video coding and device based on sports ground |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070111947A (en) * | 2006-05-19 | 2007-11-22 | 엘지전자 주식회사 | A method and apparatus for decoding/encoding a video signal |
CN102131094A (en) * | 2010-01-18 | 2011-07-20 | 联发科技股份有限公司 | Motion prediction method |
CN102714720A (en) * | 2009-11-18 | 2012-10-03 | Sk电信有限公司 | Method and apparatus for encoding/decoding a motion vector by selecting a set of predicted candidate motion vectors, and method and apparatus for image encoding/decoding using the same |
CN103339935A (en) * | 2011-01-21 | 2013-10-02 | 高通股份有限公司 | Motion vector prediction |
JP2015228680A (en) * | 2011-09-28 | 2015-12-17 | 株式会社Jvcケンウッド | Moving image decoder, moving image decoding method, moving image decoding program, receiver, reception method and reception program |
-
2017
- 2017-02-10 CN CN201710073895.5A patent/CN106851273B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070111947A (en) * | 2006-05-19 | 2007-11-22 | 엘지전자 주식회사 | A method and apparatus for decoding/encoding a video signal |
CN102714720A (en) * | 2009-11-18 | 2012-10-03 | Sk电信有限公司 | Method and apparatus for encoding/decoding a motion vector by selecting a set of predicted candidate motion vectors, and method and apparatus for image encoding/decoding using the same |
CN102131094A (en) * | 2010-01-18 | 2011-07-20 | 联发科技股份有限公司 | Motion prediction method |
CN103339935A (en) * | 2011-01-21 | 2013-10-02 | 高通股份有限公司 | Motion vector prediction |
JP2015228680A (en) * | 2011-09-28 | 2015-12-17 | 株式会社Jvcケンウッド | Moving image decoder, moving image decoding method, moving image decoding program, receiver, reception method and reception program |
Also Published As
Publication number | Publication date |
---|---|
CN106851273A (en) | 2017-06-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105915914B (en) | Remove the method and apparatus of redundancy in motion vector predictor | |
US10771808B2 (en) | Video encoder and decoder for predictive partitioning | |
CN110213590B (en) | Method and equipment for acquiring time domain motion vector, inter-frame prediction and video coding | |
CN102714736B (en) | Method and apparatus for encoding and decoding motion vector based on reduced motion vector predictor candidates | |
CN101860754B (en) | Method and device for coding and decoding motion vector | |
CN104980760B (en) | Method and apparatus for being coded and decoded to motion vector | |
CA2845442C (en) | Method and apparatus for building motion vector list for motion vector prediction | |
CN108432250A (en) | The method and device of affine inter-prediction for coding and decoding video | |
CN111200736B (en) | Method and device for acquiring motion information in video coding/decoding | |
CN110115032A (en) | The method and device of motion refinement for coding and decoding video | |
CN102291581B (en) | Realizing method of self-adaptive motion estimation supporting frame field | |
CN102461150A (en) | Object tracking using momentum and acceleration vectors in a motion estimation system | |
CN108134939A (en) | A kind of method for estimating and device | |
US7450642B2 (en) | Fast motion vector prediction method | |
CN103338372A (en) | Method and device for processing video | |
CN103686165A (en) | Depth image intra-frame coding and decoding method, video encoder and video decoder | |
CN108419082A (en) | A kind of method for estimating and device | |
CN106851273B (en) | A kind of motion-vector coding method and device | |
CN105338354B (en) | A kind of motion vector estimation method and apparatus | |
CN106658024B (en) | A kind of quick method for video coding | |
CN101001380A (en) | Movable estimation method of vedio code | |
CN112868234A (en) | Motion estimation method, system and storage medium | |
CN104967858A (en) | Sub-pixel motion vector estimation method and device | |
Chan et al. | Faster inter prediction by NR-frame in VVC | |
US9497482B2 (en) | Methods for comparing a target block to a reference window for motion estimation during video encoding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |