ref: a8bb1ffd890577e60a25b5793c33a82dfd6a8d16
parent: f3728f20eaab7fa844364b51d11b7899f27c11b1
parent: 9855b6e510b6f5b0f603340442bcad752967a412
author: Dmitry Kovalev <dkovalev@google.com>
date: Tue Jan 14 09:40:48 EST 2014
Merge "Reusing get_frame_new_buffer() function."
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -550,7 +550,6 @@
VP9_COMMON *const cm = &cpi->common;
MACROBLOCKD *const xd = &x->e_mbd;
MB_MODE_INFO *mbmi;
- const int dst_fb_idx = cm->new_fb_idx;
const int idx_str = xd->mode_info_stride * mi_row + mi_col;
const int mi_width = num_8x8_blocks_wide_lookup[bsize];
const int mi_height = num_8x8_blocks_high_lookup[bsize];
@@ -577,7 +576,7 @@
mbmi = &xd->mi_8x8[0]->mbmi;
// Set up destination pointers
- setup_dst_planes(xd, &cm->yv12_fb[dst_fb_idx], mi_row, mi_col);
+ setup_dst_planes(xd, get_frame_new_buffer(cm), mi_row, mi_col);
// Set up limit values for MV components
// mv beyond the range do not produce new/different prediction block
--
⑨