![]() |
![]() |
Codec Engine Application Programming Interface (API)
ce-w08
|
Defines the creation time parameters for all IAUDENC1 instance objects. More...
#include <iaudenc1.h>
Defines the creation time parameters for all IAUDENC1 instance objects.
@remarks This structure may be extended by individual codec implementations allowing customization with vendor specific parameters. The presence of vendor specific extensions will be detected by the value of the @c size parameter.
size
field must be correctly set by the caller. See https://processors.wiki.ti.com/index.php/Extending_data_structures_in_XDM for more details. XDAS_Int32 IAUDENC1_Params::size |
Size of this structure in bytes. Because this structure can be extended, this field must be correctly set by the caller.
XDAS_Int32 IAUDENC1_Params::sampleRate |
Sampling Frequency in Hz. For example, if the sampling frequency is 44.1 kHz, this field will be 44100.
XDAS_Int32 IAUDENC1_Params::bitRate |
Average bit rate, in bits per second.
@sa IAUDENC1_DynamicParams.bitRate @sa IAUDENC1_Status.bitRate
XDAS_Int32 IAUDENC1_Params::channelMode |
Input Channel Mode.
@sa IAUDIO_ChannelMode @sa IAUDENC1_DynamicParams.channelMode
XDAS_Int32 IAUDENC1_Params::dataEndianness |
Endianness of input data.
@sa XDM_DataFormat
XDAS_Int32 IAUDENC1_Params::encMode |
Encoding mode.
@sa IAUDIO_EncMode @sa IAUDENC1_Status.encMode
XDAS_Int32 IAUDENC1_Params::inputFormat |
Input format block/interleaved.
@sa IAUDIO_PcmFormat
XDAS_Int32 IAUDENC1_Params::inputBitsPerSample |
Number of input bits per output sample. For example, if there are 16 bits per PCM input sample, this should be set to 16.
XDAS_Int32 IAUDENC1_Params::maxBitRate |
Maximum bit rate in case of VBR. Some of the encoders allow you to specify max bit rate in case of VBR mode
XDAS_Int32 IAUDENC1_Params::dualMonoMode |
Mode to indicate type of Dual Mono. Applicable only if channelMode is dualMono
XDAS_Int32 IAUDENC1_Params::crcFlag |
Flag indicating whether the encoder should insert CRC bits into the bitstream or not.
Valid values for this field are XDAS_TRUE and XDAS_FALSE.
XDAS_Int32 IAUDENC1_Params::ancFlag |
Ancillary Data Flag.
@remarks This flag indicates to the encoder that Ancillary data needs to be encoded along with the normal audio data. The ancillary data can be provided for each input frame. Valid values for this field are XDAS_TRUE and XDAS_FALSE.
XDAS_Int32 IAUDENC1_Params::lfeFlag |
Flag indicating whether LFE channel data is present or not in the input.
Valid values for this field are XDAS_TRUE and XDAS_FALSE.