summaryrefslogtreecommitdiff
path: root/libavcodec/rv30data.h
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2008-12-19 06:29:35 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2008-12-19 06:29:35 +0000
commitbbc888d0c50edac459d5af14fdcfa7dbfcc08073 (patch)
tree5e9ecaffd642be9d8b095b25595f5ba051013777 /libavcodec/rv30data.h
parent40c7d0ae3c093413bb3970b69f68958ac7e21380 (diff)
a table for upcoming RV30 loop filtering
Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv30data.h')
-rw-r--r--libavcodec/rv30data.h7
1 files changed, 7 insertions, 0 deletions
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 */