summaryrefslogtreecommitdiff
path: root/vp8/encoder
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/encoder')
-rw-r--r--vp8/encoder/onyx_if.c11
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)
{