ref: 09858c239bd75a76a078027f3921315509340956
parent: 8adc20ce35f273030cbaa989430874361329ed7f
author: Dmitry Kovalev <[email protected]>
date: Thu Aug 22 10:39:05 EDT 2013
Removing useless calls to setup_{pre, dst}_planes. Comment is wrong, we don't initialize any xd pointers. We only initialize xd->planes[i]->dst and xd->planes[i]->pre[], which are actually initialized for every block during the decoding. Change-Id: If152ea872ebef1f83ca70712fa6f8df1b6855f56
--- a/vp9/decoder/vp9_decodframe.c
+++ b/vp9/decoder/vp9_decodframe.c
@@ -969,10 +969,6 @@
vp9_zero(pc->counts);
- // Initialize xd pointers. Any reference should do for xd->pre, so use 0.
- setup_pre_planes(xd, 0, &pc->yv12_fb[pc->active_ref_idx[0]], 0, 0, NULL);
- setup_dst_planes(xd, new_fb, 0, 0);
-
new_fb->corrupted |= read_compressed_header(pbi, data, first_partition_size);
setup_block_dptrs(xd, pc->subsampling_x, pc->subsampling_y);