Merge "Decoupling set_ref_ptrs() and vp9_setup_interp_filters()."

This commit is contained in:
Dmitry Kovalev
2014-01-28 10:37:58 -08:00
committed by Gerrit Code Review
6 changed files with 14 additions and 20 deletions

View File

@@ -824,6 +824,12 @@ static int get_token_alloc(int mb_rows, int mb_cols) {
return mb_rows * mb_cols * (48 * 16 + 4);
}
static void set_ref_ptrs(VP9_COMMON *cm, MACROBLOCKD *xd,
MV_REFERENCE_FRAME ref0, MV_REFERENCE_FRAME ref1) {
xd->block_refs[0] = &cm->frame_refs[ref0 - LAST_FRAME];
xd->block_refs[1] = &cm->frame_refs[ref1 - LAST_FRAME];
}
#ifdef __cplusplus
} // extern "C"
#endif