summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2015-11-12 15:03:07 +0100
committerClément Bœsch <clement@stupeflix.com>2015-11-23 10:55:15 +0100
commit56bdf61baa04c4fd8d165f34499115ce0aa97c43 (patch)
tree9a973b765cba9ca2de8ff68c07805d32a2bdc319 /libavutil
parentc7b933885343739e5fc37286d6d2c0736c1ffeb4 (diff)
avutil/motion_vector: export subpel motion information
FATE test changes because of the switch from shift to division.
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/motion_vector.h7
-rw-r--r--libavutil/version.h2
2 files changed, 8 insertions, 1 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 */
diff --git a/libavutil/version.h b/libavutil/version.h
index 4520c52909..e0ddfd2130 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -56,7 +56,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 55
-#define LIBAVUTIL_VERSION_MINOR 8
+#define LIBAVUTIL_VERSION_MINOR 9
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \