[FFmpeg-cvslog] avutil/stereo3d: add a Stereo3D view to signal that the view is unspecified

James Almer git at videolan.org
Fri Jun 28 20:44:36 EEST 2024


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jun 26 19:50:38 2024 -0300| [8af0919cc6683b8432860a586de6cfa9c5f05109] | committer: James Almer

avutil/stereo3d: add a Stereo3D view to signal that the view is unspecified

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8af0919cc6683b8432860a586de6cfa9c5f05109
---

 doc/APIchanges       | 3 +++
 libavutil/stereo3d.c | 1 +
 libavutil/stereo3d.h | 5 +++++
 libavutil/version.h  | 2 +-
 4 files changed, 10 insertions(+), 1 deletion(-)

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, \



More information about the ffmpeg-cvslog mailing list