From a66da313805f41076fd05358a65c1084f646f348 Mon Sep 17 00:00:00 2001 From: Jerome Jiang Date: Mon, 6 Aug 2018 11:37:43 -0700 Subject: vp9-svc: Update to SET/GET_SVC_REF_FRAME_CONFIG api Add update_buffer_slot to SVC API to allow for refreshing any of the 8 reference buffers. Remove frame_flags from the struct. Remove svc tests from vp8 build. BUG=b/112292577 Change-Id: I0551c349d2b311227245a8ed1639cdbbaf5bc5db --- vp9/encoder/vp9_bitstream.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'vp9/encoder/vp9_bitstream.c') diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c index 4e7d99f50..8830bfc11 100644 --- a/vp9/encoder/vp9_bitstream.c +++ b/vp9/encoder/vp9_bitstream.c @@ -913,6 +913,9 @@ int vp9_get_refresh_mask(VP9_COMP *cpi) { const GF_GROUP *const gf_group = &cpi->twopass.gf_group; arf_idx = gf_group->arf_update_idx[gf_group->index]; } + if (cpi->use_svc && + cpi->svc.temporal_layering_mode == VP9E_TEMPORAL_LAYERING_MODE_BYPASS) + return cpi->svc.update_buffer_slot[cpi->svc.spatial_layer_id]; return (cpi->refresh_last_frame << cpi->lst_fb_idx) | (cpi->refresh_golden_frame << cpi->gld_fb_idx) | (cpi->refresh_alt_ref_frame << arf_idx); -- cgit v1.2.3