diff options
author | Christophe GISQUET <christophe.gisquet@gmail.com> | 2012-01-01 18:33:22 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-01-12 09:52:33 +0100 |
commit | 3faa303a47e0c3b59a53988e0f76018930c6cb1a (patch) | |
tree | 7e1f4192c2d6ddab81cb80c71deb1586b11e16cf /libavcodec/libschroedingerdec.c | |
parent | b2ce3b998b90c9ec8dcefe4b2c45fcf5b2f0a903 (diff) | |
download | ffmpeg-3faa303a47e0c3b59a53988e0f76018930c6cb1a.tar.gz |
rv34: DC-only inverse transform
When decoding coefficients, detect whether the block is DC-only, and take
advantage of this knowledge to perform DC-only inverse transform.
This is achieved by:
- first, changing the 108x4 element modulo_three_table into a 108 element
table (kind of base4), and accessing each value using mask and shifts.
- then, checking low bits for 0 (as they represent the presence of higher
frequency coefficients)
Also provide x86 SIMD code for the DC-only inverse transform.
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
Diffstat (limited to 'libavcodec/libschroedingerdec.c')
0 files changed, 0 insertions, 0 deletions