Use the avg_frame_low_motion to reduce/turnoff this
early exit for higher motion content. Get some quality
back for higher motion clips and keep the same exit
thresh for low motion clips.
Change-Id: I95daf754dc0048b3e935d1a753f7f1101e6ffb77
(svc->use_gf_temporal_ref_current_layer &&
!svc->layer_context[svc->temporal_layer_id].is_key_frame)) {
gf_temporal_ref = 1;
- thresh_svc_skip_golden = 500;
+ if (cpi->rc.avg_frame_low_motion > 70)
+ thresh_svc_skip_golden = 500;
+ else
+ thresh_svc_skip_golden = 0;
}
init_ref_frame_cost(cm, xd, ref_frame_cost);