Removing unnecessary call to vp9_setup_interp_filters.
authorDmitry Kovalev <dkovalev@google.com>
Tue, 27 Aug 2013 00:25:49 +0000 (17:25 -0700)
committerDmitry Kovalev <dkovalev@google.com>
Tue, 27 Aug 2013 00:25:49 +0000 (17:25 -0700)
vp9_setup_interp_filters before each inter block decoding, it is not
necessary to call it just before the whole frame decoding.

Change-Id: Id1b0ee62f987474e27eafba0013a4896b492c400

vp9/decoder/vp9_decodframe.c

index fd88b6e..6363443 100644 (file)
@@ -976,9 +976,6 @@ int vp9_decode_frame(VP9D_COMP *pbi, const uint8_t **p_data_end) {
 
   init_dequantizer(pc, &pbi->mb);
 
-  if (!keyframe)
-    vp9_setup_interp_filters(xd, pc->mcomp_filter_type, pc);
-
   pc->fc = pc->frame_contexts[pc->frame_context_idx];
 
   vp9_zero(pc->counts);