[FFmpeg-devel] [PATCH v3] lavu: add an AV_FRAME_DATA_GAMMA side data type

Rostislav Pehlivanov atomnuker at gmail.com
Mon Nov 6 19:38:39 EET 2017


Signed-off-by: Rostislav Pehlivanov <atomnuker at gmail.com>
---
 doc/APIchanges      | 3 +++
 libavutil/frame.h   | 6 ++++++
 libavutil/version.h | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 1490d67f27..75051deaf8 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil:     2017-10-21
 
 API changes, most recent first:
 
+2017-11-06 - xxxxxxx - lavu 56.01.100 - frame.h
+  Add the AV_FRAME_DATA_GAMMA side data type.
+
 -------- 8< --------- FFmpeg 3.4 was cut here -------- 8< ---------
 
 2017-09-28 - b6cf66ae1c - lavc 57.106.104 - avcodec.h
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 0c6aab1c02..64dcf3a397 100644
--- a/libavutil/frame.h
+++ b/libavutil/frame.h
@@ -141,6 +141,12 @@ enum AVFrameSideDataType {
      * metadata key entry "name".
      */
     AV_FRAME_DATA_ICC_PROFILE,
+
+    /**
+     * The data contains an AVRational which describes the exponent needed to
+     * compensate for nonlinearity in the input signal.
+     */
+    AV_FRAME_DATA_GAMMA,
 };
 
 enum AVActiveFormatDescription {
diff --git a/libavutil/version.h b/libavutil/version.h
index 1bc4b2a6cb..cf8ec498e4 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -80,7 +80,7 @@
 
 
 #define LIBAVUTIL_VERSION_MAJOR  56
-#define LIBAVUTIL_VERSION_MINOR   0
+#define LIBAVUTIL_VERSION_MINOR   1
 #define LIBAVUTIL_VERSION_MICRO 100
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
-- 
2.15.0.403.gc27cc4dac6



More information about the ffmpeg-devel mailing list