Patent ID: 8824553

Claim:
A method of compressing a current block of pixels of a current frame of video data with respect to a reference frame, the method comprising: examining a plurality of candidate motion vectors, wherein a first candidate motion vector from the plurality of candidate motion vectors corresponds to a first prior-coded block from a predetermined set of prior-coded blocks in the current frame, and a second candidate motion vector from the plurality of candidate motion vectors corresponds to a second prior-coded block from the predetermined set of prior-coded blocks in the current frame; determining whether the first candidate motion vector from the plurality of candidate motion vectors is coded with respect to the same reference frame as the current block and has a non-zero value, wherein all other blocks of different reference frames are ignored; selecting the first candidate motion vector as a first reference motion vector on a condition that the first candidate motion vector is coded with respect to the reference frame and has a non-zero value; determining whether the second candidate motion vector from the plurality of candidate motion vectors is coded with respect to the same reference frame as the current block and has a non-zero value, wherein all other blocks of different reference frames are ignored; selecting the second candidate motion vector as a second reference motion vector on a condition that the second candidate motion vector is coded with respect to the reference frame, differs from the first reference motion vector, and has a non-zero value; and determining whether to use the first reference motion vector or the second reference motion vector for coding the current block.