]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv30data.h
Commit functions used by both AMRNB and SIPR
[ffmpeg] / libavcodec / rv30data.h
index c16e51baeb03a1b97c5da267edc84a61c7adc591..2a8f3ad991bb67c6e09c7ccd61a2effb47e2967e 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file rv30data.h
+ * @file libavcodec/rv30data.h
  * miscellaneous RV30 tables
  */
 
@@ -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 */