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

static void get_defaults (AVAmbientViewingEnvironment *env)
 
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

◆ get_defaults()

static void get_defaults ( AVAmbientViewingEnvironment *  env)
static

◆ 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 31 of file ambient_viewing_environment.c.

Referenced by h2645_sei_to_side_data(), and 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 46 of file ambient_viewing_environment.c.