diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-11 17:25:45 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-04-01 22:46:21 +0100 |
commit | aa05f2126e18d23432bde77e6f44e41691472fef (patch) | |
tree | f02f9dc4228f0b851a94b9ce2c5b702522c148bf /libavcodec/arm/ac3dsp_init_arm.c | |
parent | 182826c8846f2f7f0538c4b2a09e882e29881804 (diff) | |
download | ffmpeg-aa05f2126e18d23432bde77e6f44e41691472fef.tar.gz |
ac3enc: ARM optimised ac3_compute_matissa_size
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/arm/ac3dsp_init_arm.c')
-rw-r--r-- | libavcodec/arm/ac3dsp_init_arm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/arm/ac3dsp_init_arm.c b/libavcodec/arm/ac3dsp_init_arm.c index c1e96e2d1b..92e4a4f291 100644 --- a/libavcodec/arm/ac3dsp_init_arm.c +++ b/libavcodec/arm/ac3dsp_init_arm.c @@ -34,8 +34,12 @@ void ff_ac3_bit_alloc_calc_bap_armv6(int16_t *mask, int16_t *psd, int snr_offset, int floor, const uint8_t *bap_tab, uint8_t *bap); +int ff_ac3_compute_mantissa_size_arm(int cnt[5], uint8_t *bap, int nb_coefs); + av_cold void ff_ac3dsp_init_arm(AC3DSPContext *c, int bit_exact) { + c->compute_mantissa_size = ff_ac3_compute_mantissa_size_arm; + if (HAVE_ARMV6) { c->bit_alloc_calc_bap = ff_ac3_bit_alloc_calc_bap_armv6; } |