aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2024-06-26 19:50:38 -0300
committerJames Almer <jamrial@gmail.com>2024-06-28 13:16:57 -0300
commit8af0919cc6683b8432860a586de6cfa9c5f05109 (patch)
treeff47268f819c557218bc4b421e988846c04d7477
parent1c8b32e19f8327c1efe8d530b9b6f15e0e9ae120 (diff)
downloadffmpeg-8af0919cc6683b8432860a586de6cfa9c5f05109.tar.gz
avutil/stereo3d: add a Stereo3D view to signal that the view is unspecified
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r--doc/APIchanges3
-rw-r--r--libavutil/stereo3d.c1
-rw-r--r--libavutil/stereo3d.h5
-rw-r--r--libavutil/version.h2
4 files changed, 10 insertions, 1 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index cf0555d5e0..f1828436e5 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2024-03-07
API changes, most recent first:
+2024-06-28 - xxxxxxxxxx - lavu 59.27.100 - stereo3d.h
+ Add AV_STEREO3D_UNSPEC and AV_STEREO3D_VIEW_UNSPEC.
+
2024-06-25 - xxxxxxxxxx - lavu 59.26.100 - stereo3d.h
Add av_stereo3d_alloc_size().
diff --git a/libavutil/stereo3d.c b/libavutil/stereo3d.c
index 647f9a952a..d6de476532 100644
--- a/libavutil/stereo3d.c
+++ b/libavutil/stereo3d.c
@@ -81,6 +81,7 @@ static const char * const stereo3d_view_names[] = {
[AV_STEREO3D_VIEW_PACKED] = "packed",
[AV_STEREO3D_VIEW_LEFT] = "left",
[AV_STEREO3D_VIEW_RIGHT] = "right",
+ [AV_STEREO3D_VIEW_UNSPEC] = "unspecified",
};
static const char * const stereo3d_primary_eye_names[] = {
diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h
index e3da3257d7..c0a4ab3f2d 100644
--- a/libavutil/stereo3d.h
+++ b/libavutil/stereo3d.h
@@ -161,6 +161,11 @@ enum AVStereo3DView {
* Frame contains only the right view.
*/
AV_STEREO3D_VIEW_RIGHT,
+
+ /**
+ * Content is unspecified.
+ */
+ AV_STEREO3D_VIEW_UNSPEC,
};
/**
diff --git a/libavutil/version.h b/libavutil/version.h
index 9c1a2dfe39..a8962734e7 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -79,7 +79,7 @@
*/
#define LIBAVUTIL_VERSION_MAJOR 59
-#define LIBAVUTIL_VERSION_MINOR 26
+#define LIBAVUTIL_VERSION_MINOR 27
#define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \