Add txfm config test
This test makes sure two things:
1) txfm stage range is within desired limit
(lbd:16 bits hbd:32 bits)
2) txfm stage range + cos bits is within desired limit
(lbd:32 bits hbd:32 bits)
Change-Id: Ie2cc3c8265810e034c1461def4717fa9d4c29945
diff --git a/av1/common/av1_txfm.h b/av1/common/av1_txfm.h
index ce6a410..891d9ab 100644
--- a/av1/common/av1_txfm.h
+++ b/av1/common/av1_txfm.h
@@ -21,6 +21,10 @@
#include "aom/aom_integer.h"
#include "aom_dsp/aom_dsp_common.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MAX_TXFM_STAGE_NUM 12
static const int cos_bit_min = 10;
@@ -322,11 +326,9 @@
const TXFM_2D_FLIP_CFG *cfg, int8_t fwd_shift,
int bd);
-#ifdef __cplusplus
-extern "C" {
-#endif
TXFM_2D_FLIP_CFG av1_get_fwd_txfm_cfg(int tx_type, int tx_size);
TXFM_2D_FLIP_CFG av1_get_fwd_txfm_64x64_cfg(int tx_type);
+TXFM_2D_FLIP_CFG av1_get_inv_txfm_cfg(int tx_type, int tx_size);
#ifdef __cplusplus
}
#endif // __cplusplus