ref: 4797ed2edbc4abed519ada7f65d1dcff9b4aa21e
parent: a62a64ba0cdb92edd8e5fb16d82a00c100dc2514
parent: 0a14a65f3f93e59501c477a9b0c95d6ba6f37c02
author: Paul Wilkins <paulwilkins@google.com>
date: Wed Sep 12 07:00:49 EDT 2018
Merge "Set GF frame layer depth to be 0"
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2407,13 +2407,14 @@
if (rc->source_alt_ref_active) {
gf_group->update_type[frame_index] = OVERLAY_UPDATE;
gf_group->rf_level[frame_index] = INTER_NORMAL;
+ gf_group->layer_depth[frame_index] = MAX_ARF_LAYERS - 1;
} else {
gf_group->update_type[frame_index] = GF_UPDATE;
gf_group->rf_level[frame_index] = GF_ARF_STD;
+ gf_group->layer_depth[frame_index] = 0;
}
gf_group->arf_update_idx[frame_index] = arf_buffer_indices[0];
gf_group->arf_ref_idx[frame_index] = arf_buffer_indices[0];
- gf_group->layer_depth[frame_index] = MAX_ARF_LAYERS - 1;
}
++frame_index;