mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-01 13:03:52 +08:00
avcodec/dcaenc: Initial implementation of ADPCM encoding for DCA encoder
This commit is contained in:
committed by
Rostislav Pehlivanov
parent
5f928c5201
commit
b8c2b9c392
@@ -25,6 +25,9 @@
|
||||
|
||||
#include "dcahuff.h"
|
||||
|
||||
#define DCA_ADPCM_COEFFS 4
|
||||
#define DCA_ADPCM_VQCODEBOOK_SZ 4096
|
||||
|
||||
extern const uint32_t ff_dca_bit_rates[32];
|
||||
|
||||
extern const uint8_t ff_dca_channels[16];
|
||||
@@ -36,7 +39,7 @@ extern const uint8_t ff_dca_dmix_primary_nch[8];
|
||||
extern const uint8_t ff_dca_quant_index_sel_nbits[DCA_CODE_BOOKS];
|
||||
extern const uint8_t ff_dca_quant_index_group_size[DCA_CODE_BOOKS];
|
||||
|
||||
extern const int16_t ff_dca_adpcm_vb[4096][4];
|
||||
extern const int16_t ff_dca_adpcm_vb[DCA_ADPCM_VQCODEBOOK_SZ][DCA_ADPCM_COEFFS];
|
||||
|
||||
extern const uint32_t ff_dca_scale_factor_quant6[64];
|
||||
extern const uint32_t ff_dca_scale_factor_quant7[128];
|
||||
|
||||
Reference in New Issue
Block a user