162 if (!mix_presentation)
177 for (
int i = 0;
i <
c->nb_codec_configs;
i++) {
182 c->nb_codec_configs = 0;
184 for (
int i = 0;
i <
c->nb_audio_elements;
i++)
187 c->nb_audio_elements = 0;
189 for (
int i = 0;
i <
c->nb_mix_presentations;
i++)
192 c->nb_mix_presentations = 0;
194 for (
int i = 0;
i <
c->nb_param_definitions;
i++)
197 c->nb_param_definitions = 0;
#define i(width, name, range_min, range_max)
Public libavutil channel layout APIs header.
void avcodec_parameters_free(AVCodecParameters **ppar)
#define AV_CH_LAYOUT_5POINT1POINT4_BACK
#define AV_CH_TOP_FRONT_LEFT
#define AV_CH_BOTTOM_FRONT_CENTER
#define AV_CH_TOP_SIDE_RIGHT
#define AV_CH_TOP_BACK_RIGHT
#define AV_CH_TOP_SIDE_LEFT
#define AV_CH_TOP_BACK_LEFT
#define AV_CH_LOW_FREQUENCY
#define AV_CH_TOP_FRONT_RIGHT
#define AV_CHANNEL_LAYOUT_7POINT2POINT3
#define AV_CHANNEL_LAYOUT_5POINT1POINT2
#define AV_CHANNEL_LAYOUT_BINAURAL
#define AV_CHANNEL_LAYOUT_9POINT1POINT4_BACK
#define AV_CHANNEL_LAYOUT_7POINT1POINT2
#define AV_CHANNEL_LAYOUT_STEREO
#define AV_CHANNEL_LAYOUT_5POINT1
#define AV_CHANNEL_LAYOUT_MONO
#define AV_CHANNEL_LAYOUT_5POINT1POINT4_BACK
#define AV_CHANNEL_LAYOUT_SURROUND
#define AV_CHANNEL_LAYOUT_22POINT2
#define AV_CHANNEL_LAYOUT_7POINT1
#define AV_CHANNEL_LAYOUT_7POINT1POINT4_BACK
#define AV_CHANNEL_LAYOUT_9POINT1POINT6
#define AV_CHANNEL_LAYOUT_3POINT1POINT2
@ AV_CHANNEL_ORDER_NATIVE
The native channel order, i.e.
void av_iamf_audio_element_free(AVIAMFAudioElement **paudio_element)
Free an AVIAMFAudioElement and all its contents.
void av_iamf_mix_presentation_free(AVIAMFMixPresentation **pmix_presentation)
Free an AVIAMFMixPresentation and all its contents.
Immersive Audio Model and Formats API header.
Memory handling functions.
An AVChannelLayout holds information about the channel layout of audio data.
AVIAMFAudioElement * element
element backs celement iff the AVIAMFAudioElement is owned by this structure.
unsigned int nb_substreams
IAMFSubStream * substreams
AVIAMFMixPresentation * mix
mix backs cmix iff the AVIAMFMixPresentation is owned by this structure.
AVCodecParameters * codecpar