summaryrefslogtreecommitdiff
path: root/libavutil/stereo3d.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-29 21:06:49 -0300
committerJames Almer <jamrial@gmail.com>2017-11-29 21:06:49 -0300
commitd268094f889479a8edee43d8c847da8838b8bf0f (patch)
treec18f40311df91539300d2b269a628761dbe0c12d /libavutil/stereo3d.h
parenteb01ac6c75b5b42a9d50d405248cb3315ccb3965 (diff)
parent99e9697e3a12ab4a6638a36b95edafd6a98f9eaa (diff)
Merge commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa'
* commit '99e9697e3a12ab4a6638a36b95edafd6a98f9eaa': stereo3d: Support view type for frame sequence type Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavutil/stereo3d.h')
-rw-r--r--libavutil/stereo3d.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h
index 54f4c4c5c7..d421aac2a2 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;
/**