a table for upcoming RV30 loop filtering
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 19 Dec 2008 06:29:35 +0000 (06:29 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 19 Dec 2008 06:29:35 +0000 (06:29 +0000)
Originally committed as revision 16235 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv30data.h

index c16e51b..1662fd7 100644 (file)
@@ -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 */