Merge "Remove decode asserts from better-hw-compatibility"
This commit is contained in:
commit
adbad6092f
@ -178,7 +178,7 @@ static void build_inter_predictors(MACROBLOCKD *xd, int plane, int block,
|
||||
// Co-ordinate of containing block to pixel precision.
|
||||
const int x_start = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x));
|
||||
const int y_start = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y));
|
||||
#if CONFIG_BETTER_HW_COMPATIBILITY
|
||||
#if 0 // CONFIG_BETTER_HW_COMPATIBILITY
|
||||
assert(xd->mi[0]->sb_type != BLOCK_4X8 &&
|
||||
xd->mi[0]->sb_type != BLOCK_8X4);
|
||||
assert(mv_q4.row == mv.row * (1 << (1 - pd->subsampling_y)) &&
|
||||
|
@ -589,7 +589,7 @@ static void dec_build_inter_predictors(VPxWorker *const worker, MACROBLOCKD *xd,
|
||||
// Co-ordinate of containing block to pixel precision.
|
||||
int x_start = (-xd->mb_to_left_edge >> (3 + pd->subsampling_x));
|
||||
int y_start = (-xd->mb_to_top_edge >> (3 + pd->subsampling_y));
|
||||
#if CONFIG_BETTER_HW_COMPATIBILITY
|
||||
#if 0 // CONFIG_BETTER_HW_COMPATIBILITY
|
||||
assert(xd->mi[0]->sb_type != BLOCK_4X8 &&
|
||||
xd->mi[0]->sb_type != BLOCK_8X4);
|
||||
assert(mv_q4.row == mv->row * (1 << (1 - pd->subsampling_y)) &&
|
||||
|
@ -902,10 +902,10 @@ void vp9_read_mode_info(VP9Decoder *const pbi, MACROBLOCKD *xd,
|
||||
frame_mvs += cm->mi_cols;
|
||||
}
|
||||
}
|
||||
#if CONFIG_BETTER_HW_COMPATIBILITY && CONFIG_VP9_HIGHBITDEPTH
|
||||
if ((xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) &&
|
||||
(xd->above_mi == NULL || xd->left_mi == NULL) &&
|
||||
!is_inter_block(mi) && need_top_left[mi->uv_mode])
|
||||
assert(0);
|
||||
#if 0 // CONFIG_BETTER_HW_COMPATIBILITY && CONFIG_VP9_HIGHBITDEPTH
|
||||
if ((xd->cur_buf->flags & YV12_FLAG_HIGHBITDEPTH) &&
|
||||
(xd->above_mi == NULL || xd->left_mi == NULL) &&
|
||||
!is_inter_block(mi) && need_top_left[mi->uv_mode])
|
||||
assert(0);
|
||||
#endif // CONFIG_BETTER_HW_COMPATIBILITY && CONFIG_VP9_HIGHBITDEPTH
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user