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

wm4 nfxjfg at googlemail.com
Tue Sep 26 15:15:26 EEST 2017


On Mon, 25 Sep 2017 20:28:07 +0100
Rostislav Pehlivanov <atomnuker at gmail.com> wrote:

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

Seems OK.


More information about the ffmpeg-devel mailing list