From bbc888d0c50edac459d5af14fdcfa7dbfcc08073 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 19 Dec 2008 06:29:35 +0000 Subject: a table for upcoming RV30 loop filtering Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv30data.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavcodec/rv30data.h') diff --git a/libavcodec/rv30data.h b/libavcodec/rv30data.h index c16e51baeb..1662fd7afe 100644 --- a/libavcodec/rv30data.h +++ b/libavcodec/rv30data.h @@ -171,4 +171,11 @@ static const uint8_t rv30_itype_from_context[900] = { 2, 7, 8, 4, 0, 6, 1, 5, 3, 2, 8, 3, 0, 7, 4, 1, 6, 5, }; + +/** + * Loop filter limits are taken from this table. + */ +static const uint8_t rv30_loop_filt_lim[32] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5 +}; #endif /* AVCODEC_RV30DATA_H */ -- cgit v1.2.3