Index: source/libvpx/vp9/encoder/vp9_picklpf.c |
=================================================================== |
--- source/libvpx/vp9/encoder/vp9_picklpf.c (revision 290053) |
+++ source/libvpx/vp9/encoder/vp9_picklpf.c (working copy) |
@@ -24,7 +24,7 @@ |
#include "vp9/encoder/vp9_quantize.h" |
static int get_max_filter_level(const VP9_COMP *cpi) { |
- if (cpi->pass == 2) { |
+ if (cpi->oxcf.pass == 2) { |
return cpi->twopass.section_intra_rating > 8 ? MAX_LOOP_FILTER * 3 / 4 |
: MAX_LOOP_FILTER; |
} else { |
@@ -82,7 +82,7 @@ |
// Bias against raising loop filter in favor of lowering it. |
int bias = (best_err >> (15 - (filt_mid / 8))) * filter_step; |
- if ((cpi->pass == 2) && (cpi->twopass.section_intra_rating < 20)) |
+ if ((cpi->oxcf.pass == 2) && (cpi->twopass.section_intra_rating < 20)) |
bias = (bias * cpi->twopass.section_intra_rating) / 20; |
// yx, bias less for large block size |