FFmpeg
Data Structures | Functions
hdr_dynamic_vivid_metadata.h File Reference
#include "frame.h"
#include "rational.h"

Go to the source code of this file.

Data Structures

struct  AVHDRVividColorToneMappingParams
 Color tone mapping parameters at a processing window in a dynamic metadata for CUVA 005.1:2021. More...
 
struct  AVHDRVividColorTransformParams
 Color transform parameters at a processing window in a dynamic metadata for CUVA 005.1:2021. More...
 
struct  AVDynamicHDRVivid
 This struct represents dynamic metadata for color volume transform - CUVA 005.1:2021 standard. More...
 

Functions

AVDynamicHDRVividav_dynamic_hdr_vivid_alloc (size_t *size)
 Allocate an AVDynamicHDRVivid structure and set its fields to default values. More...
 
AVDynamicHDRVividav_dynamic_hdr_vivid_create_side_data (AVFrame *frame)
 Allocate a complete AVDynamicHDRVivid and add it to the frame. More...
 

Function Documentation

◆ av_dynamic_hdr_vivid_alloc()

AVDynamicHDRVivid* av_dynamic_hdr_vivid_alloc ( size_t *  size)

Allocate an AVDynamicHDRVivid structure and set its fields to default values.

The resulting struct can be freed using av_freep().

Returns
An AVDynamicHDRVivid filled with default values or NULL on failure.

Allocate an AVDynamicHDRVivid structure and set its fields to default values.

This file is part of FFmpeg.

FFmpeg is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

FFmpeg is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with FFmpeg; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Definition at line 24 of file hdr_dynamic_vivid_metadata.c.

Referenced by decode_registered_user_data_dynamic_hdr_vivid().

◆ av_dynamic_hdr_vivid_create_side_data()

AVDynamicHDRVivid* av_dynamic_hdr_vivid_create_side_data ( AVFrame frame)

Allocate a complete AVDynamicHDRVivid and add it to the frame.

Parameters
frameThe frame which side data is added to.
Returns
The AVDynamicHDRVivid structure to be filled by caller or NULL on failure.

Definition at line 36 of file hdr_dynamic_vivid_metadata.c.