diff options
author | Attila Nagy <attilanagy@google.com> | 2011-12-08 10:54:39 +0200 |
---|---|---|
committer | Attila Nagy <attilanagy@google.com> | 2011-12-14 12:57:49 +0200 |
commit | 55fbdd58ac4c5101d2e09377e9e879ad415bbf4a (patch) | |
tree | e84ad308ea693668526f24fc212f6692b0d016a7 /vp8/encoder | |
parent | c4aeff94b16a6f71d6bea91c442d8b94056d9a75 (diff) | |
download | libvpx-55fbdd58ac4c5101d2e09377e9e879ad415bbf4a.tar libvpx-55fbdd58ac4c5101d2e09377e9e879ad415bbf4a.tar.gz libvpx-55fbdd58ac4c5101d2e09377e9e879ad415bbf4a.tar.bz2 libvpx-55fbdd58ac4c5101d2e09377e9e879ad415bbf4a.zip |
Force realtime version 1 streams to only use simple loopfilter
...regardless of the speed settings.
Change-Id: I4b91ac7a7208efd690dfc69e175f8eb769b6ce03
Diffstat (limited to 'vp8/encoder')
-rw-r--r-- | vp8/encoder/onyx_if.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/vp8/encoder/onyx_if.c b/vp8/encoder/onyx_if.c index 5484e55ee..893062a6d 100644 --- a/vp8/encoder/onyx_if.c +++ b/vp8/encoder/onyx_if.c @@ -1196,10 +1196,17 @@ void vp8_set_speed_features(VP8_COMP *cpi) 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) { |