ref: d7e09b6adad349b6efab2b707fb2c7670b887fc8
parent: 72f459c77f4998d9e044b1b7adbc7c332cc886b2
parent: 55fbdd58ac4c5101d2e09377e9e879ad415bbf4a
author: Yunqing Wang <yunqingwang@google.com>
date: Thu Dec 15 00:38:57 EST 2011
Merge "Force realtime version 1 streams to only use simple loopfilter"
--- a/vp8/encoder/onyx_if.c
+++ b/vp8/encoder/onyx_if.c
@@ -1196,10 +1196,17 @@
cpi->mode_check_freq[THR_NEW1 ] = 1 << (Tmp - 1);
}
- cm->filter_type = NORMAL_LOOPFILTER;
+ if(cm->version == 0)
+ {
+ cm->filter_type = NORMAL_LOOPFILTER;
- if (Speed >= 14)
+ if (Speed >= 14)
+ cm->filter_type = SIMPLE_LOOPFILTER;
+ }
+ else
+ {
cm->filter_type = SIMPLE_LOOPFILTER;
+ }
if (Speed >= 15)
{