]> git.sesse.net Git - ffmpeg/commitdiff
diracdec: move the MAX_DWT_LEVELS macro to dirac.h
authorRostislav Pehlivanov <atomnuker@gmail.com>
Tue, 2 Feb 2016 12:35:28 +0000 (12:35 +0000)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Wed, 3 Feb 2016 17:19:30 +0000 (17:19 +0000)
Used by the VC-2 encoder.

Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
libavcodec/dirac.h
libavcodec/diracdec.c

index cb80fdc1bffb29497e92ff2b188cedeb506155f9..e6d9d346d9cc13c23092f5e1f4501d20157e1def 100644 (file)
 
 #include "avcodec.h"
 
+/**
+ * The spec limits the number of wavelet decompositions to 4 for both
+ * level 1 (VC-2) and 128 (long-gop default).
+ * 5 decompositions is the maximum before >16-bit buffers are needed.
+ * Schroedinger allows this for DD 9,7 and 13,7 wavelets only, limiting
+ * the others to 4 decompositions (or 3 for the fidelity filter).
+ *
+ * We use this instead of MAX_DECOMPOSITIONS to save some memory.
+ */
+#define MAX_DWT_LEVELS 5
+
 /**
  * Parse code values:
  *
index ca44e7be1146ae7b422fa041718c1925e01acb2f..50a35e1543e24a6a69db5eafe8c32b81b68cb364 100644 (file)
 #include "mpegvideoencdsp.h"
 #include "dirac_dwt.h"
 #include "dirac.h"
+#include "diractab.h"
 #include "diracdsp.h"
 #include "videodsp.h"
 
-/**
- * The spec limits the number of wavelet decompositions to 4 for both
- * level 1 (VC-2) and 128 (long-gop default).
- * 5 decompositions is the maximum before >16-bit buffers are needed.
- * Schroedinger allows this for DD 9,7 and 13,7 wavelets only, limiting
- * the others to 4 decompositions (or 3 for the fidelity filter).
- *
- * We use this instead of MAX_DECOMPOSITIONS to save some memory.
- */
-#define MAX_DWT_LEVELS 5
-
 /**
  * The spec limits this to 3 for frame coding, but in practice can be as high as 6
  */