High prec mv storage
Motion vecotrs are always stored with 1/16-pel precision; highprec flag, setlow() and sethigh() functions are removed from the MV class; SPS flag indicate whether high precision motion vector is used is also removed.
The following strategies are followed:
-
Motion vector data in the buffer are always stored in high precision.
-
Motion vector used for motion compensation are always in high precision.
-
Motion vector difference data are always in low precision.
-
Encoder side motion estimation always use low precision.
-
Motion vector bits calculation are always performed in low precision.
-
Candidates of motion vector prediction list are always in low precision.