From 56bdf61baa04c4fd8d165f34499115ce0aa97c43 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Thu, 12 Nov 2015 15:03:07 +0100 Subject: avutil/motion_vector: export subpel motion information FATE test changes because of the switch from shift to division. --- libavutil/motion_vector.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavutil/motion_vector.h') diff --git a/libavutil/motion_vector.h b/libavutil/motion_vector.h index 30cfb994b7..ec29556388 100644 --- a/libavutil/motion_vector.h +++ b/libavutil/motion_vector.h @@ -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 */ -- cgit v1.2.3