Commit 3c4556ce authored by Jingning Han's avatar Jingning Han
Browse files

Fix compiler errors when tempal signaling is on

Change-Id: I6d3cdcc3ee39e82edb201833da20b7412cc29038
parent 90edf660
...@@ -203,7 +203,7 @@ static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs, ...@@ -203,7 +203,7 @@ static INLINE void decrease_ref_count(int idx, RefCntBuffer *const frame_bufs,
} }
} }
#if CONFIG_EXT_REFS #if CONFIG_EXT_REFS || CONFIG_TEMPMV_SIGNALING
static INLINE int dec_is_ref_frame_buf(AV1Decoder *const pbi, static INLINE int dec_is_ref_frame_buf(AV1Decoder *const pbi,
RefCntBuffer *frame_buf) { RefCntBuffer *frame_buf) {
AV1_COMMON *const cm = &pbi->common; AV1_COMMON *const cm = &pbi->common;
......
...@@ -768,7 +768,7 @@ static INLINE const YV12_BUFFER_CONFIG *get_upsampled_ref( ...@@ -768,7 +768,7 @@ static INLINE const YV12_BUFFER_CONFIG *get_upsampled_ref(
return &cpi->upsampled_ref_bufs[buf_idx].buf; return &cpi->upsampled_ref_bufs[buf_idx].buf;
} }
#if CONFIG_EXT_REFS #if CONFIG_EXT_REFS || CONFIG_TEMPMV_SIGNALING
static INLINE int enc_is_ref_frame_buf(AV1_COMP *cpi, RefCntBuffer *frame_buf) { static INLINE int enc_is_ref_frame_buf(AV1_COMP *cpi, RefCntBuffer *frame_buf) {
MV_REFERENCE_FRAME ref_frame; MV_REFERENCE_FRAME ref_frame;
AV1_COMMON *const cm = &cpi->common; AV1_COMMON *const cm = &cpi->common;
......
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