[FFmpeg-devel] [PATCH v2 1/3] lavu: add an AV_FRAME_DATA_GAMMA side data type

Rostislav Pehlivanov atomnuker at gmail.com
Mon Sep 25 22:28:07 EEST 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 d06144f1e9..427d7e5613 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,9 @@ libavutil:     2015-08-28
 
 API changes, most recent first:
 
+2017-09-24 - xxxxxxx - lavu 55.77.199 - frame.h
+    Add AV_FRAME_DATA_GAMMA side data type.
+
 2017-xx-xx - xxxxxxx - lavu 55.76.100 / 56.6.0 - pixdesc.h
   Add av_color_range_from_name(), av_color_primaries_from_name(),
   av_color_transfer_from_name(), av_color_space_from_name(), and
diff --git a/libavutil/frame.h b/libavutil/frame.h
index 013043c250..e44ba18105 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 8ac41f49f5..9dbcdc4a8c 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -80,7 +80,7 @@
 
 
 #define LIBAVUTIL_VERSION_MAJOR  55
-#define LIBAVUTIL_VERSION_MINOR  76
+#define LIBAVUTIL_VERSION_MINOR  77
 #define LIBAVUTIL_VERSION_MICRO 100
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
-- 
2.14.1.821.g8fa685d3b7



More information about the ffmpeg-devel mailing list