Commit 8d486ae1 authored by Luc Trudeau's avatar Luc Trudeau
Browse files

Simplify Frame Context for cfl_read_intra

Change-Id: I9e0967662f2ed855813b968d5afd09f6d9fc1b62
parent a1f80e31
...@@ -1095,13 +1095,8 @@ static void read_intra_frame_mode_info(AV1_COMMON *const cm, ...@@ -1095,13 +1095,8 @@ static void read_intra_frame_mode_info(AV1_COMMON *const cm,
#if CONFIG_CFL #if CONFIG_CFL
// TODO(ltrudeau) support PALETTE // TODO(ltrudeau) support PALETTE
if (mbmi->uv_mode == DC_PRED) { if (mbmi->uv_mode == DC_PRED) {
mbmi->cfl_alpha_idx = read_cfl_alphas( mbmi->cfl_alpha_idx =
#if CONFIG_EC_ADAPT read_cfl_alphas(ec_ctx, r, mbmi->skip, mbmi->cfl_alpha_signs);
xd->tile_ctx,
#else
cm->fc,
#endif // CONFIG_EC_ADAPT
r, mbmi->skip, mbmi->cfl_alpha_signs);
} }
#endif // CONFIG_CFL #endif // CONFIG_CFL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment