Lines Matching refs:xd
40 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane, in vp9_foreach_transformed_block_in_plane() argument
42 const struct macroblockd_plane *const pd = &xd->plane[plane]; in vp9_foreach_transformed_block_in_plane()
43 const MB_MODE_INFO* mbmi = &xd->mi[0]->mbmi; in vp9_foreach_transformed_block_in_plane()
58 const int max_blocks_wide = num_4x4_w + (xd->mb_to_right_edge >= 0 ? 0 : in vp9_foreach_transformed_block_in_plane()
59 xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_foreach_transformed_block_in_plane()
60 const int max_blocks_high = num_4x4_h + (xd->mb_to_bottom_edge >= 0 ? 0 : in vp9_foreach_transformed_block_in_plane()
61 xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_foreach_transformed_block_in_plane()
76 void vp9_foreach_transformed_block(const MACROBLOCKD* const xd, in vp9_foreach_transformed_block() argument
83 vp9_foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg); in vp9_foreach_transformed_block()
86 void vp9_set_contexts(const MACROBLOCKD *xd, struct macroblockd_plane *pd, in vp9_set_contexts() argument
94 if (has_eob && xd->mb_to_right_edge < 0) { in vp9_set_contexts()
97 (xd->mb_to_right_edge >> (5 + pd->subsampling_x)); in vp9_set_contexts()
111 if (has_eob && xd->mb_to_bottom_edge < 0) { in vp9_set_contexts()
114 (xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); in vp9_set_contexts()
128 void vp9_setup_block_planes(MACROBLOCKD *xd, int ss_x, int ss_y) { in vp9_setup_block_planes() argument
132 xd->plane[i].plane_type = i ? PLANE_TYPE_UV : PLANE_TYPE_Y; in vp9_setup_block_planes()
133 xd->plane[i].subsampling_x = i ? ss_x : 0; in vp9_setup_block_planes()
134 xd->plane[i].subsampling_y = i ? ss_y : 0; in vp9_setup_block_planes()