SBC common definitions for the encoder and decoder.
More...
Go to the source code of this file.
|
|
#define | MSBC_BLOCKS 15 |
| |
|
#define | SBC_FREQ_16000 0x00 |
| |
|
#define | SBC_FREQ_32000 0x01 |
| |
|
#define | SBC_FREQ_44100 0x02 |
| |
|
#define | SBC_FREQ_48000 0x03 |
| |
|
#define | SBC_BLK_4 0x00 |
| |
|
#define | SBC_BLK_8 0x01 |
| |
|
#define | SBC_BLK_12 0x02 |
| |
|
#define | SBC_BLK_16 0x03 |
| |
|
#define | SBC_MODE_MONO 0x00 |
| |
|
#define | SBC_MODE_DUAL_CHANNEL 0x01 |
| |
|
#define | SBC_MODE_STEREO 0x02 |
| |
|
#define | SBC_MODE_JOINT_STEREO 0x03 |
| |
|
#define | SBC_AM_LOUDNESS 0x00 |
| |
|
#define | SBC_AM_SNR 0x01 |
| |
|
#define | SBC_SB_4 0x00 |
| |
|
#define | SBC_SB_8 0x01 |
| |
|
#define | SBC_SYNCWORD 0x9C |
| |
|
#define | MSBC_SYNCWORD 0xAD |
| |
|
#define | SBCDEC_FIXED_EXTRA_BITS 2 |
| |
|
#define | SBC_ALIGN 16 |
| |
|
|
uint8_t | sbc_crc8 (const AVCRC *crc_ctx, const uint8_t *data, size_t len) |
| |
|
void | ff_sbc_calculate_bits (const struct sbc_frame *frame, int(*bits)[8]) |
| |
SBC common definitions for the encoder and decoder.