39 #define MSBC_BLOCKS 15 42 #define SBC_FREQ_16000 0x00 43 #define SBC_FREQ_32000 0x01 44 #define SBC_FREQ_44100 0x02 45 #define SBC_FREQ_48000 0x03 48 #define SBC_BLK_4 0x00 49 #define SBC_BLK_8 0x01 50 #define SBC_BLK_12 0x02 51 #define SBC_BLK_16 0x03 54 #define SBC_MODE_MONO 0x00 55 #define SBC_MODE_DUAL_CHANNEL 0x01 56 #define SBC_MODE_STEREO 0x02 57 #define SBC_MODE_JOINT_STEREO 0x03 60 #define SBC_AM_LOUDNESS 0x00 61 #define SBC_AM_SNR 0x01 68 #define SBC_SYNCWORD 0x9C 69 #define MSBC_SYNCWORD 0xAD 72 #define SBCDEC_FIXED_EXTRA_BITS 2 87 DUAL_CHANNEL = SBC_MODE_DUAL_CHANNEL,
88 STEREO = SBC_MODE_STEREO,
89 JOINT_STEREO = SBC_MODE_JOINT_STEREO
93 LOUDNESS = SBC_AM_LOUDNESS,
104 DECLARE_ALIGNED(SBC_ALIGN, uint32_t, scale_factor)[2][8];
107 DECLARE_ALIGNED(SBC_ALIGN, int32_t, sb_sample_f)[16][2][8];
110 DECLARE_ALIGNED(SBC_ALIGN, int32_t, sb_sample)[16][2][8];
112 const AVCRC *crc_ctx;
115 uint8_t sbc_crc8(
const AVCRC *crc_ctx,
const uint8_t *data,
size_t len);
116 void ff_sbc_calculate_bits(
const struct sbc_frame *frame,
int (*bits)[8]);
Public header for CRC hash function implementation.
Libavcodec external API header.
mode
Use these values in ebur128_init (or'ed).
Definition: ebur128.h:83