ref: 55fbdd58ac4c5101d2e09377e9e879ad415bbf4a
parent: c4aeff94b16a6f71d6bea91c442d8b94056d9a75
author: Attila Nagy <attilanagy@google.com>
date: Thu Dec 8 05:54:39 EST 2011
Force realtime version 1 streams to only use simple loopfilter ...regardless of the speed settings. Change-Id: I4b91ac7a7208efd690dfc69e175f8eb769b6ce03
--- 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)
{