Go to the documentation of this file.
149 if (!mix_presentation)
164 for (
int i = 0;
i <
c->nb_codec_configs;
i++) {
169 c->nb_codec_configs = 0;
171 for (
int i = 0;
i <
c->nb_audio_elements;
i++)
174 c->nb_audio_elements = 0;
176 for (
int i = 0;
i <
c->nb_mix_presentations;
i++)
179 c->nb_mix_presentations = 0;
181 for (
int i = 0;
i <
c->nb_param_definitions;
i++)
184 c->nb_param_definitions = 0;
#define AV_CHANNEL_LAYOUT_7POINT1POINT4_BACK
#define AV_CH_TOP_SIDE_LEFT
#define AV_CHANNEL_LAYOUT_STEREO
unsigned int nb_substreams
#define AV_CHANNEL_LAYOUT_9POINT1POINT6
#define AV_CH_TOP_FRONT_RIGHT
void av_iamf_mix_presentation_free(AVIAMFMixPresentation **pmix_presentation)
Free an AVIAMFMixPresentation and all its contents.
#define AV_CH_TOP_FRONT_LEFT
int nb_channels
Number of channels in this layout.
#define AV_CHANNEL_LAYOUT_7POINT2POINT3
#define AV_CH_TOP_BACK_LEFT
#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
#define AV_CHANNEL_LAYOUT_SURROUND
AVIAMFAudioElement * element
element backs celement iff the AVIAMFAudioElement is owned by this structure.
#define AV_CH_LOW_FREQUENCY
#define AV_CHANNEL_LAYOUT_7POINT1
#define AV_CH_TOP_SIDE_RIGHT
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
#define AV_CH_TOP_BACK_RIGHT
@ 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