Go to the documentation of this file.
89 if (!mix_presentation)
104 for (
int i = 0;
i <
c->nb_codec_configs;
i++) {
109 c->nb_codec_configs = 0;
111 for (
int i = 0;
i <
c->nb_audio_elements;
i++)
114 c->nb_audio_elements = 0;
116 for (
int i = 0;
i <
c->nb_mix_presentations;
i++)
119 c->nb_mix_presentations = 0;
121 for (
int i = 0;
i <
c->nb_param_definitions;
i++)
124 c->nb_param_definitions = 0;
#define AV_CHANNEL_LAYOUT_7POINT1POINT4_BACK
#define AV_CHANNEL_LAYOUT_STEREO
unsigned int nb_substreams
void av_iamf_mix_presentation_free(AVIAMFMixPresentation **pmix_presentation)
Free an AVIAMFMixPresentation and all its contents.
#define AV_CHANNEL_LAYOUT_7POINT2POINT3
#define AV_CHANNEL_LAYOUT_9POINT1POINT4_BACK
#define AV_CHANNEL_LAYOUT_7POINT1POINT2
void av_iamf_audio_element_free(AVIAMFAudioElement **paudio_element)
Free an AVIAMFAudioElement and all its contents.
#define AV_CH_LAYOUT_5POINT1POINT4_BACK
AVIAMFAudioElement * element
element backs celement iff the AVIAMFAudioElement is owned by this structure.
#define AV_CHANNEL_LAYOUT_7POINT1
void avcodec_parameters_free(AVCodecParameters **ppar)
Free an AVCodecParameters instance and everything associated with it and write NULL to the supplied p...
#define AV_CHANNEL_LAYOUT_3POINT1POINT2
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
#define AV_CHANNEL_LAYOUT_22POINT2
#define AV_CH_BOTTOM_FRONT_CENTER
#define AV_CHANNEL_LAYOUT_5POINT1POINT2_BACK
An AVChannelLayout holds information about the channel layout of audio data.
IAMFSubStream * substreams
@ AV_CHANNEL_ORDER_NATIVE
The native channel order, i.e.
#define i(width, name, range_min, range_max)
#define AV_CHANNEL_LAYOUT_5POINT1POINT4_BACK
#define AV_CHANNEL_LAYOUT_BINAURAL
#define AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_5POINT1_BACK
AVIAMFMixPresentation * mix
mix backs cmix iff the AVIAMFMixPresentation is owned by this structure.
AVCodecParameters * codecpar