Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion av2/encoder/picklpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ void av2_pick_filter_level(const YV12_BUFFER_CONFIG *sd, AV2_COMP *cpi,
lf->delta_side_v = 0;
int last_frame_offsets[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };

int dir = 0;
double best_single_cost = DBL_MAX;
double best_dual_cost = DBL_MAX;
int best_single_offsets[4] = { 0, 0, 0, 0 };
Expand Down Expand Up @@ -367,6 +366,7 @@ void av2_pick_filter_level(const YV12_BUFFER_CONFIG *sd, AV2_COMP *cpi,
}

if (num_planes > 1) {
const int dir = 2;
double best_cost_u = DBL_MAX;
double best_cost_v = DBL_MAX;
// Cb
Expand Down
Loading