World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл mastering_display_metadata.h

См. исходные тексты.

Классы

struct  AVMasteringDisplayMetadata
 
struct  AVContentLightMetadata
 

Определения типов

typedef struct AVMasteringDisplayMetadata AVMasteringDisplayMetadata
 
typedef struct AVContentLightMetadata AVContentLightMetadata
 

Функции

AVMasteringDisplayMetadataav_mastering_display_metadata_alloc (void)
 
AVMasteringDisplayMetadataav_mastering_display_metadata_create_side_data (AVFrame *frame)
 
AVContentLightMetadataav_content_light_metadata_alloc (size_t *size)
 
AVContentLightMetadataav_content_light_metadata_create_side_data (AVFrame *frame)
 

Типы

◆ AVMasteringDisplayMetadata

Mastering display metadata capable of representing the color volume of the display used to master the content (SMPTE 2086:2014).

To be used as payload of a AVFrameSideData or AVPacketSideData with the appropriate type.

Заметки
The struct should be allocated with av_mastering_display_metadata_alloc() and its size is not a part of the public ABI.

◆ AVContentLightMetadata

Content light level needed by to transmit HDR over HDMI (CTA-861.3).

To be used as payload of a AVFrameSideData or AVPacketSideData with the appropriate type.

Заметки
The struct should be allocated with av_content_light_metadata_alloc() and its size is not a part of the public ABI.

Функции

◆ av_mastering_display_metadata_alloc()

AVMasteringDisplayMetadata* av_mastering_display_metadata_alloc ( void  )

Allocate an AVMasteringDisplayMetadata structure and set its fields to default values. The resulting struct can be freed using av_freep().

Возвращает
An AVMasteringDisplayMetadata filled with default values or NULL on failure.

◆ av_mastering_display_metadata_create_side_data()

AVMasteringDisplayMetadata* av_mastering_display_metadata_create_side_data ( AVFrame frame)

Allocate a complete AVMasteringDisplayMetadata and add it to the frame.

Аргументы
frameThe frame which side data is added to.
Возвращает
The AVMasteringDisplayMetadata structure to be filled by caller.

◆ av_content_light_metadata_alloc()

AVContentLightMetadata* av_content_light_metadata_alloc ( size_t size)

Allocate an AVContentLightMetadata structure and set its fields to default values. The resulting struct can be freed using av_freep().

Возвращает
An AVContentLightMetadata filled with default values or NULL on failure.

◆ av_content_light_metadata_create_side_data()

AVContentLightMetadata* av_content_light_metadata_create_side_data ( AVFrame frame)

Allocate a complete AVContentLightMetadata and add it to the frame.

Аргументы
frameThe frame which side data is added to.
Возвращает
The AVContentLightMetadata structure to be filled by caller.