Merge "Force realtime version 1 streams to only use simple loopfilter"

This commit is contained in:
Yunqing Wang 2011-12-15 05:38:57 -08:00 committed by Gerrit Code Review
commit d7e09b6ada

View File

@ -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)
{