FFmpeg
|
Parameters as defined in section 3.6.1 of IAMF. More...
#include <iamf.h>
Data Fields | |
const AVClass * | av_class |
size_t | subblocks_offset |
Offset in bytes from the start of this struct, at which the subblocks array is located. More... | |
size_t | subblock_size |
Size in bytes of each element in the subblocks array. More... | |
unsigned int | nb_subblocks |
Number of subblocks in the array. More... | |
enum AVIAMFParamDefinitionType | type |
Parameters type. More... | |
unsigned int | parameter_id |
Identifier for the paremeter substream. More... | |
unsigned int | parameter_rate |
Sample rate for the paremeter substream. More... | |
unsigned int | duration |
The accumulated duration of all blocks in this parameter definition, in units of 1 / parameter_rate. More... | |
unsigned int | constant_subblock_duration |
The duration of every subblock in the case where all subblocks, with the optional exception of the last subblock, have equal durations. More... | |
Parameters as defined in section 3.6.1 of IAMF.
The struct is allocated by av_iamf_param_definition_alloc() along with an array of subblocks, its type depending on the value of type. This array is placed subblocks_offset bytes after the start of this struct.
const AVClass* AVIAMFParamDefinition::av_class |
Definition at line 194 of file iamf.h.
Referenced by av_iamf_param_definition_alloc().
size_t AVIAMFParamDefinition::subblocks_offset |
Offset in bytes from the start of this struct, at which the subblocks array is located.
Definition at line 200 of file iamf.h.
Referenced by av_iamf_param_definition_alloc(), and av_iamf_param_definition_get_subblock().
size_t AVIAMFParamDefinition::subblock_size |
Size in bytes of each element in the subblocks array.
Definition at line 204 of file iamf.h.
Referenced by av_iamf_param_definition_alloc(), and av_iamf_param_definition_get_subblock().
unsigned int AVIAMFParamDefinition::nb_subblocks |
Number of subblocks in the array.
Definition at line 208 of file iamf.h.
Referenced by av_iamf_param_definition_alloc(), ff_iamf_add_audio_element(), param_definition(), param_parse(), parameter_block_obu(), print_iamf_param_definition(), and write_parameter_block().
enum AVIAMFParamDefinitionType AVIAMFParamDefinition::type |
Parameters type.
Determines the type of the subblock elements.
Definition at line 213 of file iamf.h.
Referenced by av_iamf_param_definition_alloc(), param_definition(), parameter_block_obu(), print_iamf_param_definition(), and write_parameter_block().
unsigned int AVIAMFParamDefinition::parameter_id |
Identifier for the paremeter substream.
Definition at line 218 of file iamf.h.
Referenced by add_param_definition(), ff_iamf_add_audio_element(), ff_iamf_add_mix_presentation(), ff_iamf_get_param_definition(), iamf_write_audio_element(), iamf_write_mixing_presentation(), param_definition(), param_parse(), parameter_block_obu(), print_iamf_param_definition(), and write_parameter_block().
unsigned int AVIAMFParamDefinition::parameter_rate |
Sample rate for the paremeter substream.
It must not be 0.
Definition at line 222 of file iamf.h.
Referenced by add_param_definition(), param_definition(), param_parse(), parameter_block_obu(), and print_iamf_param_definition().
unsigned int AVIAMFParamDefinition::duration |
The accumulated duration of all blocks in this parameter definition, in units of 1 / parameter_rate.
May be 0, in which case all duration values should be specified in another parameter definition referencing the same parameter_id.
Definition at line 231 of file iamf.h.
Referenced by add_param_definition(), param_definition(), param_parse(), parameter_block_obu(), print_iamf_param_definition(), and write_parameter_block().
unsigned int AVIAMFParamDefinition::constant_subblock_duration |
The duration of every subblock in the case where all subblocks, with the optional exception of the last subblock, have equal durations.
Must be 0 if subblocks have different durations.
Definition at line 238 of file iamf.h.
Referenced by add_param_definition(), param_definition(), param_parse(), parameter_block_obu(), print_iamf_param_definition(), and write_parameter_block().