Enhance option to handle chroma tx-size for vartx
Adds an option to split chroma tx size by one level if the luma
transform size is split at least one level. Otherwise use the
largest transform size for chroma.
This option is enabled with DISABLE_VARTX_FOR_CHROMA set as 2,
but is currently turned off until we finish testing.
Change-Id: Ie048c4e33193e0cc7e1bbee37e4ccc085834433c
diff --git a/av1/common/blockd.h b/av1/common/blockd.h
index 861ff49..c9b37f8 100644
--- a/av1/common/blockd.h
+++ b/av1/common/blockd.h
@@ -40,6 +40,11 @@
#define MAX_SEG_MASK_BITS 1
// Disables vartx transform split for chroma
+// There are two possible options:
+// 1: Always choose chroma tx_size to be the largest allowed for the PU
+// 2: If the luma tranform size is split at least one level, split the
+// chroma by one level, otherwise use the largest allowed transform size for
+// chroma.
#define DISABLE_VARTX_FOR_CHROMA 1
// SEG_MASK_TYPES should not surpass 1 << MAX_SEG_MASK_BITS