Further changes to new-quant tables
Refactor to streamline the number of profiles needed, in
preparation for the next steps.
NO change in performance.
Change-Id: I753b89299897857f3c250c316b4cdc4fedcb90e8
diff --git a/av1/common/entropy.h b/av1/common/entropy.h
index 5418d12..f0727c0 100644
--- a/av1/common/entropy.h
+++ b/av1/common/entropy.h
@@ -131,7 +131,9 @@
distinct bands). */
#define COEFF_CONTEXTS 6
-#define BAND_COEFF_CONTEXTS(band) ((band) == 0 ? 3 : COEFF_CONTEXTS)
+#define COEFF_CONTEXTS0 3 // for band 0
+#define BAND_COEFF_CONTEXTS(band) \
+ ((band) == 0 ? COEFF_CONTEXTS0 : COEFF_CONTEXTS)
// #define ENTROPY_STATS