Go to the source code of this file.
|
| #define | PROBE_EXTRACT_SYNC_WORD 0xBABEBEBA |
| #define | PROBE_SHIFT_FMT_TYPE 31 |
| | Definitions of shifts and masks for format encoding in probe extraction stream.
|
| #define | PROBE_SHIFT_STANDARD_TYPE 27 |
| #define | PROBE_SHIFT_AUDIO_FMT 23 |
| #define | PROBE_SHIFT_SAMPLE_RATE 19 |
| #define | PROBE_SHIFT_NB_CHANNELS 14 |
| #define | PROBE_SHIFT_SAMPLE_SIZE 12 |
| #define | PROBE_SHIFT_CONTAINER_SIZE 10 |
| #define | PROBE_SHIFT_SAMPLE_FMT 9 |
| #define | PROBE_SHIFT_SAMPLE_END 8 |
| #define | PROBE_SHIFT_INTERLEAVING_ST 7 |
| #define | PROBE_MASK_FMT_TYPE MASK(31, 31) |
| #define | PROBE_MASK_STANDARD_TYPE MASK(30, 27) |
| #define | PROBE_MASK_AUDIO_FMT MASK(26, 23) |
| #define | PROBE_MASK_SAMPLE_RATE MASK(22, 19) |
| #define | PROBE_MASK_NB_CHANNELS MASK(18, 14) |
| #define | PROBE_MASK_SAMPLE_SIZE MASK(13, 12) |
| #define | PROBE_MASK_CONTAINER_SIZE MASK(11, 10) |
| #define | PROBE_MASK_SAMPLE_FMT MASK(9, 9) |
| #define | PROBE_MASK_SAMPLE_END MASK(8, 8) |
| #define | PROBE_MASK_INTERLEAVING_ST MASK(7, 7) |
◆ PROBE_EXTRACT_SYNC_WORD
| #define PROBE_EXTRACT_SYNC_WORD 0xBABEBEBA |
◆ PROBE_MASK_AUDIO_FMT
| #define PROBE_MASK_AUDIO_FMT MASK(26, 23) |
◆ PROBE_MASK_CONTAINER_SIZE
| #define PROBE_MASK_CONTAINER_SIZE MASK(11, 10) |
◆ PROBE_MASK_FMT_TYPE
| #define PROBE_MASK_FMT_TYPE MASK(31, 31) |
◆ PROBE_MASK_INTERLEAVING_ST
| #define PROBE_MASK_INTERLEAVING_ST MASK(7, 7) |
◆ PROBE_MASK_NB_CHANNELS
| #define PROBE_MASK_NB_CHANNELS MASK(18, 14) |
◆ PROBE_MASK_SAMPLE_END
| #define PROBE_MASK_SAMPLE_END MASK(8, 8) |
◆ PROBE_MASK_SAMPLE_FMT
| #define PROBE_MASK_SAMPLE_FMT MASK(9, 9) |
◆ PROBE_MASK_SAMPLE_RATE
| #define PROBE_MASK_SAMPLE_RATE MASK(22, 19) |
◆ PROBE_MASK_SAMPLE_SIZE
| #define PROBE_MASK_SAMPLE_SIZE MASK(13, 12) |
◆ PROBE_MASK_STANDARD_TYPE
| #define PROBE_MASK_STANDARD_TYPE MASK(30, 27) |
◆ PROBE_SHIFT_AUDIO_FMT
| #define PROBE_SHIFT_AUDIO_FMT 23 |
◆ PROBE_SHIFT_CONTAINER_SIZE
| #define PROBE_SHIFT_CONTAINER_SIZE 10 |
◆ PROBE_SHIFT_FMT_TYPE
| #define PROBE_SHIFT_FMT_TYPE 31 |
Definitions of shifts and masks for format encoding in probe extraction stream.
Audio format from extraction probes is encoded as 32 bit value. Following graphic explains encoding.
A|BBBB|CCCC|DDDD|EEEEE|FF|GG|H|I|J|XXXXXXX A - 1 bit - Specifies Type Encoding - 1 for Standard encoding B - 4 bits - Specify Standard Type - 0 for Audio C - 4 bits - Specify Audio format - 0 for PCM D - 4 bits - Specify Sample Rate - value enumerating standard sample rates: 8000 Hz = 0x0 11025 Hz = 0x1 12000 Hz = 0x2 16000 Hz = 0x3 22050 Hz = 0x4 24000 Hz = 0x5 32000 Hz = 0x6 44100 Hz = 0x7 48000 Hz = 0x8 64000 Hz = 0x9 88200 Hz = 0xA 96000 Hz = 0xB 128000 Hz = 0xC 176400 Hz = 0xD 192000 Hz = 0xE none of the above = 0xF E - 5 bits - Specify Number of Channels minus 1 F - 2 bits - Specify Sample Size, number of valid sample bytes minus 1 G - 2 bits - Specify Container Size, number of container bytes minus 1 H - 1 bit - Specifies Sample Format - 0 for Integer, 1 for Floating point I - 1 bit - Specifies Sample Endianness - 0 for LE J - 1 bit - Specifies Interleaving - 1 for Sample Interleaving
◆ PROBE_SHIFT_INTERLEAVING_ST
| #define PROBE_SHIFT_INTERLEAVING_ST 7 |
◆ PROBE_SHIFT_NB_CHANNELS
| #define PROBE_SHIFT_NB_CHANNELS 14 |
◆ PROBE_SHIFT_SAMPLE_END
| #define PROBE_SHIFT_SAMPLE_END 8 |
◆ PROBE_SHIFT_SAMPLE_FMT
| #define PROBE_SHIFT_SAMPLE_FMT 9 |
◆ PROBE_SHIFT_SAMPLE_RATE
| #define PROBE_SHIFT_SAMPLE_RATE 19 |
◆ PROBE_SHIFT_SAMPLE_SIZE
| #define PROBE_SHIFT_SAMPLE_SIZE 12 |
◆ PROBE_SHIFT_STANDARD_TYPE
| #define PROBE_SHIFT_STANDARD_TYPE 27 |