FFmpeg
Loading...
Searching...
No Matches
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)
 
AVAmbientViewingEnvironmentav_ambient_viewing_environment_alloc (size_t *size)
 Allocate an AVAmbientViewingEnvironment structure.
 
AVAmbientViewingEnvironmentav_ambient_viewing_environment_create_side_data (AVFrame *frame)
 Allocate and add an AVAmbientViewingEnvironment structure to an existing AVFrame as side data.
 

Function Documentation

◆ get_defaults()

◆ 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(), main(), 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 47 of file ambient_viewing_environment.c.

Referenced by main().