spf/api/modules/media_fmt_api_ext.h
Structures
payload_media_fmt_aac_t
Members
uint16_t
}
uint16_t
}
uint16_t
}
uint16_t
If this field is greater than 0, the PCE information follows this structure. Additional bits might be required for 32-bit alignment.}
uint32_t
This field must be equal to the sample rate of the AAC-LC decoder output.
For MP4 or 3GP containers, this sample rate is indicated by the samplingFrequencyIndex field in the AudioSpecificConfig element.
For ADTS format, this sample rate is indicated by the samplingFrequencyIndex in the ADTS fixed header.
For ADIF format, this sample rate is indicated by the samplingFrequencyIndex in the program_config_element present in the ADIF header.}
aac_enc_cfg_t
Members
uint16_t
uint16_t
payload_media_fmt_alac_t
Members
uint32_t
The encoder frames per packet can be explicitly set, but for maximum compatibility, use the default encoder setting of 4096.}
uint8_t
}
uint8_t
}
uint8_t
(Currently not used.)}
uint8_t
(Currently not used.)}
uint8_t
(Currently not used.)}
uint8_t
}
uint16_t
uint32_t
}
uint32_t
}
uint32_t
}
uint32_t
Constants are extracted when channel layout information is present}
payload_media_fmt_ape_t
Members
uint16_t
}
uint16_t
The nBlocksPerFrame parameter value is based on the compression level.}
uint32_t
}
uint32_t
}
uint32_t
uint32_t
}
uint16_t
}
uint16_t
uint32_t
}
uint32_t
This flag is not part of the APE header.}
payload_media_fmt_flac_t
Members
uint16_t
}
uint16_t
uint16_t
It must be lessthan or equal to max_blk_size.}
uint16_t
If the minimum block size equals the maximum block size, a fixed block size stream is implied}
uint32_t
uint32_t
This should be greater than 0}
uint32_t
This should be greater than 0}
payload_media_fmt_vorbis_t
Members
uint32_t
}
payload_media_fmt_wmapro_t
Members
uint16_t
}
uint16_t
}
uint32_t
}
uint32_t
uint16_t
WMA Pro files have a payload of one block per bit stream packet.}
uint16_t
}
uint32_t
}
uint16_t
}
uint16_t
This field is ignored.}
uint32_t
This field is ignored.}
payload_media_fmt_wmastd_t
Members
uint16_t
}
uint16_t
}
uint32_t
}
uint32_t
uint16_t
All WMA files with a maximum packet size of 13376 are supported.}
uint16_t
uint32_t
}
uint16_t
}
uint16_t
}
sbc_enc_cfg_t
Members
uint32_t
uint32_t
int32_t
-Native mode indicates that encoding must be performed with the number
of channels at the input.-If postprocessing outputs one-channel data, Mono mode is used. If
postprocessing outputs two-channel data, Stereo mode is used.-The number of channels must not change during encoding. }
uint32_t
}
payload_media_fmt_amrwbplus_t
Members
uint32_t
amrnb_enc_cfg_t
Members
uint16_t
}
uint16_t
payload_media_fmt_eamr_t
Members
uint32_t
evrc_enc_cfg_t
Members
uint16_t
}
uint16_t
}
uint16_t
If bit 1=1, the maximum number of consecutive full rate frames is limited with numbers supplied in bits 2 to 10. If bit 1=0, the minimum number of non-full rate frames in between two full rate frames is forced to the number supplied in bits 2 to 10 In both cases of bit 1, if necessary, half rate is used to substitute full rate. Bits 15 to 10 are reserved and must all be set to 0.}
uint16_t
}
payload_media_fmt_g711_t
Members
uint32_t
ldac_enc_cfg_t
Members
uint32_t
The number of channels must not change during encoding }
v13k_enc_cfg_t
Members
uint16_t
}
uint16_t
}
uint16_t
uint16_t
If bit 1=1, the maximum number of consecutive full rate frames is limited with numbers supplied in bits 2 to 10. If bit 1=0, the minimum number of non-full rate frames in between two full rate frames is forced to the number supplied in bits 2 to 10 In both cases of bit 1, if necessary, half rate is used to substitute full rate. Bits 15 to 10 are reserved and must all be set to 0.}
amrwb_enc_cfg_t
Members
uint16_t
}
uint16_t
celt_enc_cfg_t
Members
uint16_t
}
uint16_t
Currently, this parameter is used to enable or disable the pitch analysis. In the future, it can be scaled to add more levels of complexity.
value less than 2 - Disable pitch analysis
Value > 2 - Enable pitch analysis}
uint16_t
This parameter is used to choose between the level of interframe predictions allowed while encoding.
0 Independent frames
1 Short-term interframe prediction allowed
2 Long-term prediction allowed}
uint16_t
Currently, this parameter is disabled. In the future, it can be enabled if use cases require it.}
evrcb_enc_cfg_t
Members
uint16_t
}
uint16_t
}
uint16_t
uint16_t
evrcwb_enc_cfg_t
Members
uint16_t
}
uint16_t
}
uint16_t
uint16_t
}
evs_enc_cfg_t
Members
uint32_t
uint32_t
payload_media_fmt_opus_t
Members
uint16_t
}
uint16_t
}
uint8_t
}
uint8_t
}
uint16_t
}
uint32_t
uint16_t
}
uint8_t
uint8_t
uint8_t
uint8_t
This member is valid only if mapping_family is not 0}
uint8_t
}

