spf/api/modules/media_fmt_api_basic.h
Media Fmt API Basic
This file contains media format IDs and definitions.
Header:
Members
Payload structure used when media_format_t::data_format = DATA_FORMAT_GENERIC_COMPRESSED. Members
Payload of MEDIA_FMT_ID_PCM when media_format_t::fmt_id = MEDIA_FMT_ID_PCM and data_format = DATA_FORMAT_FIXED_POINT. Members
Payload structure used by the following opcodes: Members
Payload of the PARAM_ID_ENCODER_OUTPUT_CONFIG parameter. Members
Channel map values.
Enumeration for infinity.
Enumeration for an invalid value.
Sixteen bits per sample (= sample word size).
Twenty-four bits per sample (= sample word size).
Thirty-two bits per sample (= sample word size).
Two bytes per sample.
Three bytes per sample.
Four bytes per sample.
Sample has a bit width of 16 (the actual width of the sample in a word).
Sample has a bit width of 24 (the actual width of the sample in a word).
Sample has a bit width of 32 (the actual width of the sample in a word).
Enumeration for LSB alignment.
Enumeration for MSB alignment.
Enumeration for the Q15 factor.
Enumeration for the Q23 factor.
Enumeration for the Q27 factor.
Enumeration for the Q31 factor.
Shift factor for Q31 <=> Q28 conversion for 32-bit P.
Sampling rate is 8 kHz.
Sampling rate is 11.025 kHz.
Sampling rate is 12 kHz.
Sampling rate is 16 kHz.
Sampling rate is 22.05 kHz.
Sampling rate is 24 kHz.
Sampling rate is 32 kHz.
Sampling rate is 44.1 kHz.
Sampling rate is 48 kHz.
Sampling rate is 88.2 kHz.
Sampling rate is 96 kHz.
Sampling rate is 176.4 kHz.
Sampling rate is 192 kHz.
Sampling rate is 352.8 kHz.
Sampling rate is 384 kHz.
Byte order is little endian.
Byte order is big endian.
PCM data is interleaved.
PCM data is de-interleaved packed.
PCM data is de-interleaved unpacked.
Enumeration for the fixed-point data format.
Data format is an IEC 61937 packetized stream.
Data format is IEC 60958 packetized stream for PCM only.
Data format is a DSD-over-PCM stream.
Data format is a generic compressed stream.
Data format is a Raw compressed stream.
Compressed bitstreams are packetized like PCM using a QTI-designed packetizer.
Data format is an IEC 60958 packetized stream for compressed streams.
Value of a configured parameter (like bits_per_sample and num_channels) is don’t care .
Value of a configured parameter (like bits_per_sample and num_channels) must follow the input media format that the module will receive or has received.
Value of a configured parameter (like bits_per_sample and num_channels) is considered invalid and the Set parameter command should result in an error.
Identifier for the media format used to identify a PCM stream.
Identifier for the parameter used to set the media format on any Shared Memory Endpoint module.
Identifier for the parameter that configures the encoder.
Was this page helpful?

