diff options
Diffstat (limited to 'vp9/common/vp9_onyxc_int.h')
-rw-r--r-- | vp9/common/vp9_onyxc_int.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/vp9/common/vp9_onyxc_int.h b/vp9/common/vp9_onyxc_int.h index ed4c044fe..b5ed959e1 100644 --- a/vp9/common/vp9_onyxc_int.h +++ b/vp9/common/vp9_onyxc_int.h @@ -121,8 +121,8 @@ typedef struct VP9Common { // roll new_fb_idx into it. // Each frame can reference REFS_PER_FRAME buffers - int active_ref_idx[REFS_PER_FRAME]; - struct scale_factors active_ref_scale[REFS_PER_FRAME]; + RefBuffer frame_refs[REFS_PER_FRAME]; + int new_fb_idx; YV12_BUFFER_CONFIG post_proc_buffer; @@ -224,13 +224,6 @@ typedef struct VP9Common { uint32_t fb_idx_ref_lru_count; } VP9_COMMON; -// ref == 0 => LAST_FRAME -// ref == 1 => GOLDEN_FRAME -// ref == 2 => ALTREF_FRAME -static YV12_BUFFER_CONFIG *get_frame_ref_buffer(VP9_COMMON *cm, int ref) { - return &cm->yv12_fb[cm->active_ref_idx[ref]]; -} - static YV12_BUFFER_CONFIG *get_frame_new_buffer(VP9_COMMON *cm) { return &cm->yv12_fb[cm->new_fb_idx]; } |