Add cdfs and mask buffers for mrc-tx
These are not currently being used for anything so there is
no impact on performance.
Change-Id: Ida4e0afcc10bee665f8daa379314cd18b3a4ea28
diff --git a/av1/encoder/rd.c b/av1/encoder/rd.c
index 8a2a63c..c30506a 100644
--- a/av1/encoder/rd.c
+++ b/av1/encoder/rd.c
@@ -132,6 +132,16 @@
fc->palette_uv_color_index_cdf[i][j], NULL);
}
}
+#if CONFIG_MRC_TX
+ for (i = 0; i < PALETTE_SIZES; ++i) {
+ for (j = 0; j < PALETTE_COLOR_INDEX_CONTEXTS; ++j) {
+ av1_cost_tokens_from_cdf(x->mrc_mask_inter_cost[i][j],
+ fc->mrc_mask_inter_cdf[i][j], NULL);
+ av1_cost_tokens_from_cdf(x->mrc_mask_intra_cost[i][j],
+ fc->mrc_mask_intra_cdf[i][j], NULL);
+ }
+ }
+#endif // CONFIG_MRC_TX
#if CONFIG_CFL
int sign_cost[CFL_JOINT_SIGNS];