summaryrefslogtreecommitdiff
path: root/vp8/decoder/decodframe.c
diff options
context:
space:
mode:
authorJohann <johannkoenig@google.com>2011-07-20 15:53:42 -0400
committerJohann <johannkoenig@google.com>2011-07-22 12:33:57 -0400
commita04ed0e8f3c2005aacfad83939ac8af70a9221ef (patch)
tree0e0d0636131d2ad339d1e8257d0a66c45909a0f1 /vp8/decoder/decodframe.c
parent0afcc7697120e5197a03b8129dc9a4ed0de56a8e (diff)
downloadlibvpx-a04ed0e8f3c2005aacfad83939ac8af70a9221ef.tar
libvpx-a04ed0e8f3c2005aacfad83939ac8af70a9221ef.tar.gz
libvpx-a04ed0e8f3c2005aacfad83939ac8af70a9221ef.tar.bz2
libvpx-a04ed0e8f3c2005aacfad83939ac8af70a9221ef.zip
fix sharpness bug and clean up
sharpness was not recalculated in vp8cx_pick_filter_level_fast remove last_filter_type. all values are calculated, don't need to update the lfi data when it changes. always use cm->sharpness_level. the extra indirection was annoying. don't track last frame_type or sharpness_level manually. frame type only matters for motion search and sharpness_level is taken care of in frame_init move function declarations to their proper header Change-Id: I7ef037bd4bf8cf5e37d2d36bd03b5e22a2ad91db
Diffstat (limited to 'vp8/decoder/decodframe.c')
-rw-r--r--vp8/decoder/decodframe.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/vp8/decoder/decodframe.c b/vp8/decoder/decodframe.c
index a300bb5fd..9b35ffd66 100644
--- a/vp8/decoder/decodframe.c
+++ b/vp8/decoder/decodframe.c
@@ -1030,14 +1030,6 @@ int vp8_decode_frame(VP8D_COMP *pbi)
if (pbi->b_multithreaded_rd && pc->multi_token_partition != ONE_PARTITION)
{
vp8mt_decode_mb_rows(pbi, xd);
- if(pbi->common.filter_level)
- {
- /*vp8_mt_loop_filter_frame(pbi);*/ /*cm, &pbi->mb, cm->filter_level);*/
-
- pc->last_frame_type = pc->frame_type;
- pc->last_filter_type = pc->filter_type;
- pc->last_sharpness_level = pc->sharpness_level;
- }
vp8_yv12_extend_frame_borders_ptr(&pc->yv12_fb[pc->new_fb_idx]); /*cm->frame_to_show);*/
}
else