FFmpeg 5.1.4
Data Structures | Enumerations | Functions
hdr_dynamic_metadata.h File Reference
#include "frame.h"
#include "rational.h"

Go to the source code of this file.

Data Structures

struct  AVHDRPlusPercentile
 Represents the percentile at a specific percentage in a distribution. More...
 
struct  AVHDRPlusColorTransformParams
 Color transform parameters at a processing window in a dynamic metadata for SMPTE 2094-40. More...
 
struct  AVDynamicHDRPlus
 This struct represents dynamic metadata for color volume transform - application 4 of SMPTE 2094-40:2016 standard. More...
 

Enumerations

enum  AVHDRPlusOverlapProcessOption { AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING = 0 , AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING = 1 }
 Option for overlapping elliptical pixel selectors in an image. More...
 

Functions

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

Enumeration Type Documentation

◆ AVHDRPlusOverlapProcessOption

Option for overlapping elliptical pixel selectors in an image.

Enumerator
AV_HDR_PLUS_OVERLAP_PROCESS_WEIGHTED_AVERAGING 
AV_HDR_PLUS_OVERLAP_PROCESS_LAYERING 

Definition at line 30 of file hdr_dynamic_metadata.h.

Function Documentation

◆ av_dynamic_hdr_plus_alloc()

AVDynamicHDRPlus * av_dynamic_hdr_plus_alloc ( size_t *  size)

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

The resulting struct can be freed using av_freep().

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

◆ av_dynamic_hdr_plus_create_side_data()

AVDynamicHDRPlus * av_dynamic_hdr_plus_create_side_data ( AVFrame frame)

Allocate a complete AVDynamicHDRPlus and add it to the frame.

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