diff options
author | Scott LaVarnway <slavarnway@google.com> | 2011-01-31 19:41:09 -0500 |
---|---|---|
committer | Scott LaVarnway <slavarnway@google.com> | 2011-01-31 19:41:09 -0500 |
commit | 317f0da91e8240a153d509d42bac4d62cc03bb52 (patch) | |
tree | c36d42e5562039103a72ca3e75913eb5ec49a06d /vp8 | |
parent | 4a15e557936cc4cc4408f1b8db4d62f7eaaf4ea7 (diff) | |
download | libvpx-317f0da91e8240a153d509d42bac4d62cc03bb52.tar libvpx-317f0da91e8240a153d509d42bac4d62cc03bb52.tar.gz libvpx-317f0da91e8240a153d509d42bac4d62cc03bb52.tar.bz2 libvpx-317f0da91e8240a153d509d42bac4d62cc03bb52.zip |
Removed last_auto_filter_prediction_error
last_auto_filter_prediction_error is not really used.
Change-Id: Ic6e56c4076bbd250ef783ee1be46964c85f62864
Diffstat (limited to 'vp8')
-rw-r--r-- | vp8/encoder/onyx_int.h | 1 | ||||
-rw-r--r-- | vp8/encoder/picklpf.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/vp8/encoder/onyx_int.h b/vp8/encoder/onyx_int.h index 0d01c2fc5..7618a0a3d 100644 --- a/vp8/encoder/onyx_int.h +++ b/vp8/encoder/onyx_int.h @@ -343,7 +343,6 @@ typedef struct long long last_prediction_error; long long intra_error; long long last_intra_error; - long long last_auto_filter_prediction_error; #if 0 // Experimental RD code diff --git a/vp8/encoder/picklpf.c b/vp8/encoder/picklpf.c index 09e8b5412..78aa866dd 100644 --- a/vp8/encoder/picklpf.c +++ b/vp8/encoder/picklpf.c @@ -296,7 +296,6 @@ void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) int filt_err = 0; int min_filter_level; int max_filter_level; - int prediction_difference = (int)(100 * abs((int)(cpi->last_auto_filter_prediction_error - cpi->prediction_error)) / (1 + cpi->prediction_error)); int filter_step; int filt_high = 0; @@ -478,6 +477,5 @@ void vp8cx_pick_filter_level(YV12_BUFFER_CONFIG *sd, VP8_COMP *cpi) cpi->last_auto_filt_val = filt_best; cpi->last_auto_filt_q = cm->base_qindex; - cpi->last_auto_filter_prediction_error = cpi->prediction_error; cpi->frames_since_auto_filter = 0; } |