diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-09-25 16:09:21 +0300 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-11-28 22:56:51 +0300 |
commit | 99e9697e3a12ab4a6638a36b95edafd6a98f9eaa (patch) | |
tree | 6d25232267e3d7822aa3a1b5e080c06b96d6cce6 /libavutil | |
parent | 45d7be7f930cf707ead07416e10e2d0e061e99ce (diff) |
stereo3d: Support view type for frame sequence type
Implement detection in h264 and hevc and insertion in framepack filter.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/stereo3d.h | 24 | ||||
-rw-r--r-- | libavutil/version.h | 2 |
2 files changed, 25 insertions, 1 deletions
diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h index 0fa9f63a2c..2d7cb8d4aa 100644 --- a/libavutil/stereo3d.h +++ b/libavutil/stereo3d.h @@ -141,6 +141,25 @@ enum AVStereo3DType { AV_STEREO3D_COLUMNS, }; +/** + * List of possible view types. + */ +enum AVStereo3DView { + /** + * Frame contains two packed views. + */ + AV_STEREO3D_VIEW_PACKED, + + /** + * Frame contains only the left view. + */ + AV_STEREO3D_VIEW_LEFT, + + /** + * Frame contains only the right view. + */ + AV_STEREO3D_VIEW_RIGHT, +}; /** * Inverted views, Right/Bottom represents the left view. @@ -164,6 +183,11 @@ typedef struct AVStereo3D { * Additional information about the frame packing. */ int flags; + + /** + * Determines which views are packed. + */ + enum AVStereo3DView view; } AVStereo3D; /** diff --git a/libavutil/version.h b/libavutil/version.h index c258968b8e..4a9fffef43 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -54,7 +54,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 56 -#define LIBAVUTIL_VERSION_MINOR 6 +#define LIBAVUTIL_VERSION_MINOR 7 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ |