Deliver the eob threshold to inverse transform
Change-Id: Iaa8ab77eb4a982759939fb5fc475f699cb21a4e1
diff --git a/av1/common/blockd.h b/av1/common/blockd.h
index 3d9e4e1..5b0bae8 100644
--- a/av1/common/blockd.h
+++ b/av1/common/blockd.h
@@ -494,6 +494,7 @@
struct scale_factors sf;
} RefBuffer;
+typedef int16_t EobThresholdMD[TX_SIZES_ALL][TX_TYPES];
typedef struct macroblockd {
struct macroblockd_plane plane[MAX_MB_PLANE];
uint8_t bmode_blocks_wl;
@@ -579,6 +580,9 @@
int delta_qindex;
int current_qindex;
#endif
+#if CONFIG_ADAPT_SCAN
+ const EobThresholdMD *eob_threshold_md;
+#endif
} MACROBLOCKD;
static INLINE BLOCK_SIZE get_subsize(BLOCK_SIZE bsize,