Lines Matching defs:plane
189 struct macroblockd_plane plane[MAX_MB_PLANE];
266 xd->plane[i].plane_type = i ? PLANE_TYPE_UV : PLANE_TYPE_Y_WITH_DC;
267 xd->plane[i].subsampling_x = i ? ss_x : 0;
268 xd->plane[i].subsampling_y = i ? ss_y : 0;
272 xd->plane[3].subsampling_x = 0;
273 xd->plane[3].subsampling_y = 0;
290 const struct macroblockd_plane* plane) {
291 return 4 << (b_width_log2(bsize) - plane->subsampling_x);
295 const struct macroblockd_plane* plane) {
296 return 4 << (b_height_log2(bsize) - plane->subsampling_y);
299 typedef void (*foreach_transformed_block_visitor)(int plane, int block,
305 const MACROBLOCKD *const xd, BLOCK_SIZE bsize, int plane,
307 const struct macroblockd_plane *const pd = &xd->plane[plane];
311 // transform size varies per plane, look it up in a common way.
312 const TX_SIZE tx_size = plane ? get_uv_tx_size(mbmi)
344 visit(plane, i, plane_bsize, tx_size, arg);
350 visit(plane, i, plane_bsize, tx_size, arg);
357 int plane;
359 for (plane = 0; plane < MAX_MB_PLANE; plane++)
360 foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg);
366 int plane;
368 for (plane = 1; plane < MAX_MB_PLANE; plane++)
369 foreach_transformed_block_in_plane(xd, bsize, plane, visit, arg);
413 int plane, int block, TX_SIZE tx_size) {
414 struct macroblockd_plane *const pd = &xd->plane[plane];