Go to the documentation of this file.
22 #ifndef AVFORMAT_IAMF_H
23 #define AVFORMAT_IAMF_H
34 #define MAX_IAMF_OBU_HEADER_SIZE (1 + 8 * 3)
173 unsigned int codec_config_id)
177 for (
int i = 0;
i <
c->nb_codec_configs;
i++) {
178 if (
c->codec_configs[
i]->codec_config_id == codec_config_id)
179 codec_config =
c->codec_configs[
i];
186 unsigned int parameter_id)
#define FF_VISIBILITY_PUSH_HIDDEN
This struct describes the properties of an encoded stream.
unsigned int nb_substreams
AVIAMFParamDefinition * param
Parameters as defined in section 3.6.1 of IAMF.
enum IAMF_Sound_System id
const AVIAMFMixPresentation * cmix
AVIAMFAudioElement * element
element backs celement iff the AVIAMFAudioElement is owned by this structure.
IAMFAudioElement ** audio_elements
unsigned int audio_substream_id
unsigned int substream_count
unsigned int audio_element_id
const AVIAMFAudioElement * celement
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
AVCodecID
Identify the syntax and semantics of the bitstream.
An AVChannelLayout holds information about the channel layout of audio data.
unsigned int coupled_substream_count
IAMFSubStream * substreams
Information on how to combine one or more audio streams, as defined in section 3.6 of IAMF.
#define FF_VISIBILITY_POP_HIDDEN
IAMFParamDefinition ** param_definitions
const IAMFAudioElement * audio_element
#define i(width, name, range_min, range_max)
unsigned int parameter_id
Identifier for the paremeter substream.
Information on how to render and mix one or more AVIAMFAudioElement to generate the final audio outpu...
static int param_definition(const IAMFContext *iamf, const IAMFParamDefinition *param_def, AVIOContext *dyn_bc, void *log_ctx)
IAMFCodecConfig ** codec_configs
IAMFMixPresentation ** mix_presentations
unsigned int codec_config_id
AVIAMFMixPresentation * mix
mix backs cmix iff the AVIAMFMixPresentation is owned by this structure.
AVCodecParameters * codecpar
unsigned int mix_presentation_id