Commit c5d255df authored by Jingning Han's avatar Jingning Han

Change enum names of frame context index

Change-Id: Iae2366380a8c24e4cde79b6a699b4073b4b7d488
parent c0386e86
......@@ -261,14 +261,14 @@ static void setup_frame(AV1_COMP *cpi) {
av1_setup_past_independence(cm);
} else {
if (cpi->refresh_alt_ref_frame)
cm->frame_context_idx = ARF_REF_FRAME;
cm->frame_context_idx = ARF_FRAME;
else if (cpi->rc.is_src_frame_alt_ref)
cm->frame_context_idx = OVERLAY_FRAME;
else if (cpi->refresh_golden_frame)
cm->frame_context_idx = GLD_FRAME;
#if CONFIG_EXT_REFS
else if (cpi->refresh_bwd_ref_frame)
cm->frame_context_idx = BWR_FRAME;
cm->frame_context_idx = BRF_FRAME;
#endif
else
cm->frame_context_idx = REGULAR_FRAME;
......
......@@ -84,14 +84,14 @@ typedef enum {
// regular inter frame
REGULAR_FRAME = 0,
// alternate reference frame
ARF_REF_FRAME = 1,
ARF_FRAME = 1,
// overlay frame
OVERLAY_FRAME = 2,
// golden frame
GLD_FRAME = 3,
#if CONFIG_EXT_REFS
// backward reference frame
BWR_FRAME = 4,
BRF_FRAME = 4,
#endif
} FRAME_CONTEXT_INDEX;
......
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