FFmpeg
Data Structures | Functions
dovi_meta.c File Reference
#include "dovi_meta.h"
#include "mem.h"

Go to the source code of this file.

Data Structures

struct  AVDOVIMetadataInternal
 

Functions

AVDOVIDecoderConfigurationRecordav_dovi_alloc (size_t *size)
 Allocate a AVDOVIDecoderConfigurationRecord structure and initialize its fields to default values. More...
 
AVDOVIMetadataav_dovi_metadata_alloc (size_t *size)
 Allocate an AVDOVIMetadata structure and initialize its fields to default values. More...
 

Function Documentation

◆ av_dovi_alloc()

AVDOVIDecoderConfigurationRecord* av_dovi_alloc ( size_t *  size)

Allocate a AVDOVIDecoderConfigurationRecord structure and initialize its fields to default values.

Returns
the newly allocated struct or NULL on failure

Definition at line 24 of file dovi_meta.c.

Referenced by ff_isom_parse_dvcc_dvvc(), and ff_parse_mpeg2_descriptor().

◆ av_dovi_metadata_alloc()

AVDOVIMetadata* av_dovi_metadata_alloc ( size_t *  size)

Allocate an AVDOVIMetadata structure and initialize its fields to default values.

Parameters
sizeIf this parameter is non-NULL, the size in bytes of the allocated struct will be written here on success
Returns
the newly allocated struct or NULL on failure

Definition at line 44 of file dovi_meta.c.

Referenced by ff_dovi_attach_side_data().