mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
avcodec/ac3dec: Deduplicate mantissas and their init code
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -29,13 +29,21 @@
|
||||
FF_VISIBILITY_PUSH_HIDDEN
|
||||
|
||||
extern const uint8_t ff_ac3_ungroup_3_in_5_bits_tab[32][3];
|
||||
extern uint8_t ff_ac3_ungroup_3_in_7_bits_tab[128][3];
|
||||
|
||||
extern const int ff_ac3_bap3_mantissas[ 7 + 1];
|
||||
extern const int ff_ac3_bap5_mantissas[15 + 1];
|
||||
|
||||
/** tables for ungrouping mantissas */
|
||||
extern int ff_ac3_bap1_mantissas[32][3];
|
||||
extern int ff_ac3_bap2_mantissas[128][3];
|
||||
extern int ff_ac3_bap4_mantissas[128][2];
|
||||
|
||||
extern const uint8_t ff_eac3_hebap_tab[64];
|
||||
extern const uint8_t ff_eac3_default_spx_band_struct[17];
|
||||
|
||||
void ff_ac3_init_static(void);
|
||||
|
||||
FF_VISIBILITY_POP_HIDDEN
|
||||
|
||||
#endif /* AVCODEC_AC3DEC_DATA_H */
|
||||
|
||||
Reference in New Issue
Block a user