Patent ID: 7852938

Claim:
A computer readable medium having instructions stored thereon for causing a computer to execute a method for processing a plurality of motion vectors for a video frame, the method comprising: determining a number of different block sizes in the video frame; performing a variable block size motion vector process if the number of different block sizes in the video frame is greater than one, the variable block size motion vector process comprising constructing a pyramid of motion vectors from the plurality of motion vectors, the pyramid having at a first layer and a second layer of motion vectors, each of the first and second layers having a set of motion vectors based on a particular block size; and performing a fixed block size motion vector process if the number of different block sizes in the video frame is less than two, the fixed block size motion vector process comprising: scaling the plurality of motion vectors; attaching a label to each motion vector in the plurality of motion vectors; determining a classification of each motion vector; and filtering the plurality of motion vectors based on the classification of each motion vector.