avutil/motion_vector: export subpel motion information

FATE test changes because of the switch from shift to division.
This commit is contained in:
Clément Bœsch
2015-11-12 15:03:07 +01:00
committed by Clément Bœsch
parent c7b9338853
commit 56bdf61baa
5 changed files with 50 additions and 36 deletions

View File

@@ -45,6 +45,13 @@ typedef struct AVMotionVector {
* Currently unused.
*/
uint64_t flags;
/**
* Motion vector
* src_x = dst_x + motion_x / motion_scale
* src_y = dst_y + motion_y / motion_scale
*/
int32_t motion_x, motion_y;
uint16_t motion_scale;
} AVMotionVector;
#endif /* AVUTIL_MOTION_VECTOR_H */