From 2310ee4b1cca48609d06774b7c3c70a5f38f3473 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Sat, 12 Mar 2011 22:16:49 +0000 Subject: ac3enc: move extract_exponents inner loop to ac3dsp Signed-off-by: Mans Rullgard --- libavcodec/ac3dsp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/ac3dsp.h') diff --git a/libavcodec/ac3dsp.h b/libavcodec/ac3dsp.h index aa605a8..b750767 100644 --- a/libavcodec/ac3dsp.h +++ b/libavcodec/ac3dsp.h @@ -105,6 +105,8 @@ typedef struct AC3DSPContext { * Calculate the number of bits needed to encode a set of mantissas. */ int (*compute_mantissa_size)(int mant_cnt[5], uint8_t *bap, int nb_coefs); + + void (*extract_exponents)(uint8_t *exp, int32_t *coef, int nb_coefs); } AC3DSPContext; void ff_ac3dsp_init (AC3DSPContext *c, int bit_exact); -- cgit v1.1