CPC H04N 19/52 (2014.11) [H04N 19/119 (2014.11); H04N 19/122 (2014.11); H04N 19/15 (2014.11); H04N 19/174 (2014.11); H04N 19/96 (2014.11)] | 20 Claims |
1. A method for encoding a picture, the method comprising:
dividing a coding unit (CU) of the picture into a first motion estimation region (MER) and a second MER, the CU larger in size than the first MER and the second MER;
performing a first motion search for the first MER and the second MER to determine a first motion vector (MV) for the first MER and a second MV for the second MER, wherein:
the first motion search is based on a first cost to predict the first MV and a second cost to predict the second MV;
the first motion search for the first MER includes a first predictor search, a first integer-pel search, and a first fractional-pel search based on a first set of search points of the first MV;
the first fractional-pel search includes an area bounded by eight neighbor integer-pel positions around a best integer-pel position determined from the first integer-pel search; and
the first cost and the second cost are determined based on a penalty component and a distortion component;
performing a second motion search for the CU to determine a selected MV from one of the first MV and the second MV based on which one of the first cost and the second cost is lower;
performing a sub-pel refinement using the selected MV to determine a refined MV; and
encoding the CU in the picture using the refined MV.
|