FFmpeg
Functions
ambient_viewing_environment.c File Reference
#include "ambient_viewing_environment.h"
#include "mem.h"

Go to the source code of this file.

Functions

AVAmbientViewingEnvironment * av_ambient_viewing_environment_alloc (size_t *size)
 Allocate an AVAmbientViewingEnvironment structure. More...
 
AVAmbientViewingEnvironment * av_ambient_viewing_environment_create_side_data (AVFrame *frame)
 Allocate and add an AVAmbientViewingEnvironment structure to an existing AVFrame as side data. More...
 

Function Documentation

◆ av_ambient_viewing_environment_alloc()

AVAmbientViewingEnvironment* av_ambient_viewing_environment_alloc ( size_t *  size)

Allocate an AVAmbientViewingEnvironment structure.

Returns
the newly allocated struct or NULL on failure

Definition at line 24 of file ambient_viewing_environment.c.

Referenced by mov_read_amve().

◆ av_ambient_viewing_environment_create_side_data()

AVAmbientViewingEnvironment* av_ambient_viewing_environment_create_side_data ( AVFrame *  frame)

Allocate and add an AVAmbientViewingEnvironment structure to an existing AVFrame as side data.

Returns
the newly allocated struct, or NULL on failure

Definition at line 37 of file ambient_viewing_environment.c.

Referenced by ff_h2645_sei_to_frame().