Patent ID: 9736477
Date: 2017-08-15
CPC Classifications: H04N

Claim:
1. A method of performing video encoding mode decisions, the method comprising: receiving a down-scaled frame that includes a macroblock corresponding to a first subset of macroblocks in a full-scale frame; determining a first motion vector for each macroblock of the first subset of macroblocks in the full-scale frame; determining a second motion vector for each macroblock of a second subset of macroblocks in the full-scale frame, the second subset being adjacent to and sharing a common border with the first subset of macroblocks in the full-scale frame; calculating a first average motion vector of the first subset of macroblocks based on the first motion vectors of the macroblocks of the first subset of macroblocks; calculating a second average motion vector of the second subset of macroblocks based on the second motion vectors of the macroblocks of the second subset of macroblocks; determining whether a boundary region, indicating a level of motion for the macroblock in the down-scaled frame, exists between the first subset of macroblocks and the second subset of macroblocks based on a difference between the first average motion vector and the second average motion vector; and generating a predicted macroblock for the macroblock in the down-scaled frame by: (i) selecting, when the boundary region is determined, an encoding mode from a first number of selectable encoding modes, and performing a rate distortion assessment on each of the first number of selectable encoding modes; and (ii) selecting, when the boundary region is not determined, the encoding mode from a second number of selectable encoding modes and performing a rate distortion assessment on each of the second number selectable encoding modes, the second number of selectable encoding modes being less than the first number of selectable encoding modes.