summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dsp.h
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-03-12 22:16:49 +0000
committerMans Rullgard <mans@mansr.com>2011-04-04 18:27:22 +0100
commit2310ee4b1cca48609d06774b7c3c70a5f38f3473 (patch)
tree961af13445c83097865689c06747b0487dc532cd /libavcodec/ac3dsp.h
parent727c7aa02642c97b68356d40d1a8e9e835ba1a69 (diff)
downloadffmpeg-streaming-2310ee4b1cca48609d06774b7c3c70a5f38f3473.zip
ffmpeg-streaming-2310ee4b1cca48609d06774b7c3c70a5f38f3473.tar.gz
ac3enc: move extract_exponents inner loop to ac3dsp
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3dsp.h')
-rw-r--r--libavcodec/ac3dsp.h2
1 files changed, 2 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud