diff options
author | Christophe GISQUET <christophe.gisquet@gmail.com> | 2012-01-01 18:28:47 +0400 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-01-04 13:30:01 +0400 |
commit | 98f24ecd6cfc9c57a555aae6bfcd3d9a4ce9503d (patch) | |
tree | a4e562412fcd7dacf25afdbd3c2f8cfa5737c911 /libavcodec/rv34data.h | |
parent | 0749720b6cdce68e4908dc59f1b4e1399852372b (diff) |
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/rv34data.h')
-rw-r--r-- | libavcodec/rv34data.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libavcodec/rv34data.h b/libavcodec/rv34data.h index f8f941d061..fa41a882a6 100644 --- a/libavcodec/rv34data.h +++ b/libavcodec/rv34data.h @@ -101,16 +101,6 @@ static const uint16_t rv34_qscale_tab[32] = { }; /** - * 4x4 dezigzag pattern - */ -static const uint8_t rv34_dezigzag[16] = { - 0, 1, 8, 16, - 9, 2, 3, 10, - 17, 24, 25, 18, - 11, 19, 26, 27 -}; - -/** * tables used to translate a quantizer value into a VLC set for decoding * The first table is used for intraframes. */ |