As a way to speed-up rtc encoding at speed 7.
Change-Id: Ie36a010392cf7b741dc130df21a4e733622a75b7
lf->sharpness_level = cm->frame_type == KEY_FRAME ? 0
: cpi->oxcf.sharpness;
- if (method == LPF_PICK_FROM_Q) {
+ if (method == LPF_PICK_MINIMAL_LPF && lf->filter_level) {
+ lf->filter_level = 0;
+ } else if (method >= LPF_PICK_FROM_Q) {
const int min_filter_level = 0;
const int max_filter_level = get_max_filter_level(cpi);
const int q = vp9_ac_quant(cm->base_qindex, 0);
sf->reuse_inter_pred_sby = 1;
}
if (speed >= 7) {
- sf->disable_filter_search_var_thresh = 1000;
+ sf->lpf_pick = LPF_PICK_MINIMAL_LPF;
}
if (speed >= 8) {
int i;
LPF_PICK_FROM_SUBIMAGE,
// Estimate the level based on quantizer and frame type
LPF_PICK_FROM_Q,
+ // Pick 0 to disable LPF if LPF was enabled last frame
+ LPF_PICK_MINIMAL_LPF
} LPF_PICK_METHOD;
typedef enum {