diff mbox

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

Message ID 20170925192809.1379-1-atomnuker@gmail.com
State Superseded
Headers show

Commit Message

Rostislav Pehlivanov Sept. 25, 2017, 7:28 p.m. UTC
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
---
 doc/APIchanges      | 3 +++
 libavutil/frame.h   | 6 ++++++
 libavutil/version.h | 2 +-
 3 files changed, 10 insertions(+), 1 deletion(-)

Comments

James Almer Sept. 25, 2017, 7:53 p.m. UTC | #1
On 9/25/2017 4:28 PM, Rostislav Pehlivanov wrote:
> Signed-off-by: Rostislav Pehlivanov <atomnuker@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

199?

> +    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, \
>
wm4 Sept. 26, 2017, 12:15 p.m. UTC | #2
On Mon, 25 Sep 2017 20:28:07 +0100
Rostislav Pehlivanov <atomnuker@gmail.com> wrote:

> Signed-off-by: Rostislav Pehlivanov <atomnuker@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,

Seems OK.
diff mbox

Patch

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