From 98f24ecd6cfc9c57a555aae6bfcd3d9a4ce9503d Mon Sep 17 00:00:00 2001 From: Christophe GISQUET Date: Sun, 1 Jan 2012 15:28:47 +0100 Subject: 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 --- libavcodec/rv34data.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libavcodec/rv34data.h') diff --git a/libavcodec/rv34data.h b/libavcodec/rv34data.h index f8f941d061..fa41a882a6 100644 --- a/libavcodec/rv34data.h +++ b/libavcodec/rv34data.h @@ -100,16 +100,6 @@ static const uint16_t rv34_qscale_tab[32] = { 963, 1074, 1212, 1392, 1566, 1708, 1978, 2211 }; -/** - * 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. -- cgit v1.2.3