diff options
author | Clément Bœsch <u@pkh.me> | 2015-11-12 15:03:07 +0100 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-11-23 10:55:15 +0100 |
commit | 56bdf61baa04c4fd8d165f34499115ce0aa97c43 (patch) | |
tree | 9a973b765cba9ca2de8ff68c07805d32a2bdc319 /libavutil/motion_vector.h | |
parent | c7b933885343739e5fc37286d6d2c0736c1ffeb4 (diff) | |
download | ffmpeg-56bdf61baa04c4fd8d165f34499115ce0aa97c43.tar.gz |
avutil/motion_vector: export subpel motion information
FATE test changes because of the switch from shift to division.
Diffstat (limited to 'libavutil/motion_vector.h')
-rw-r--r-- | libavutil/motion_vector.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ |