diff options
author | Christophe GISQUET <christophe.gisquet@gmail.com> | 2012-01-01 15:28:47 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-01-04 10:30:01 +0100 |
commit | 98f24ecd6cfc9c57a555aae6bfcd3d9a4ce9503d (patch) | |
tree | a4e562412fcd7dacf25afdbd3c2f8cfa5737c911 /libavcodec/arm/rv34dsp_init_neon.c | |
parent | 0749720b6cdce68e4908dc59f1b4e1399852372b (diff) | |
download | ffmpeg-98f24ecd6cfc9c57a555aae6bfcd3d9a4ce9503d.tar.gz |
rv34: joint coefficient decoding and dequantization
Perform dequantization while decoding coefficients instead of performing it
on the entire coefficients buffer.
Since quantized coefficients are very sparse, this usually causes a small
speedup. Speedup of around 1% on Panda board compared to the removed here
neon code. Global speedup is probably around 3%.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavcodec/arm/rv34dsp_init_neon.c')
-rw-r--r-- | libavcodec/arm/rv34dsp_init_neon.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/arm/rv34dsp_init_neon.c b/libavcodec/arm/rv34dsp_init_neon.c index acf2a7dcd3..9a09fde7a9 100644 --- a/libavcodec/arm/rv34dsp_init_neon.c +++ b/libavcodec/arm/rv34dsp_init_neon.c @@ -25,12 +25,9 @@ void ff_rv34_inv_transform_neon(DCTELEM *block); void ff_rv34_inv_transform_noround_neon(DCTELEM *block); -void ff_rv34_dequant4x4_neon(DCTELEM *block, int Qdc, int Q); void ff_rv34dsp_init_neon(RV34DSPContext *c, DSPContext* dsp) { c->rv34_inv_transform_tab[0] = ff_rv34_inv_transform_neon; c->rv34_inv_transform_tab[1] = ff_rv34_inv_transform_noround_neon; - - c->rv34_dequant4x4 = ff_rv34_dequant4x4_neon; } |