Skip to content

High precision motion vector storage

Motion vecotrs are always stored with 1/16-pel precision; highprec flag, setlowPrec() and sethighPrec() 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:

  1. Motion vector data in the buffer are always stored in high precision.

  2. Motion vector used for motion compensation are always in high precision.

  3. Motion vector difference data are always in low precision.

  4. Encoder side motion estimation always use low precision.

  5. Motion vector bits calculation are always performed in low precision.

  6. Candidates of motion vector prediction list are always in low precision.

Merge request reports