Lines Matching refs:hsub

2608 	  .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
2610 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
2612 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
2614 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
2627 .hsub = 1, .vsub = 1, },
2630 .hsub = 1, .vsub = 1, },
2633 .hsub = 1, .vsub = 1, .has_alpha = true },
2636 .hsub = 1, .vsub = 1, .has_alpha = true },
2639 .hsub = 2, .vsub = 1, .is_yuv = true },
2642 .hsub = 2, .vsub = 1, .is_yuv = true },
2645 .hsub = 2, .vsub = 1, .is_yuv = true },
2648 .hsub = 2, .vsub = 1, .is_yuv = true },
2651 .hsub = 2, .vsub = 2, .is_yuv = true },
2654 .hsub = 2, .vsub = 2, .is_yuv = true },
2657 .hsub = 2, .vsub = 2, .is_yuv = true },
2660 .hsub = 2, .vsub = 2, .is_yuv = true },
2864 intel_fb_plane_get_subsampling(int *hsub, int *vsub,
2871 *hsub = 1;
2882 *hsub = fb->format->hsub;
2889 *hsub = drm_format_info_block_width(fb->format, color_plane) /
2894 * assumes that format->hsub applies to every plane except for the
2901 *hsub *= fb->format->hsub;
2910 int hsub, vsub;
2919 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane);
2921 tile_width *= hsub;
2924 ccs_x = (x * hsub) % tile_width;
2954 int hsub, vsub;
2957 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, color_plane);
2958 *w = fb->width / main_hsub / hsub;
3168 unsigned int hsub = i ? fb->format->hsub : 1;
3179 x = src_x / hsub;
3181 width = src_w / hsub;
3746 int hsub;
3749 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane);
3759 x = aux_x / hsub;
3767 aux_x = x * hsub + aux_x % hsub;
3956 int hsub, vsub;
3964 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane);
3966 hsub *= main_hsub;
3968 x = src_x / hsub;
3978 plane_state->color_plane[ccs_plane].x = (x * hsub +
3979 src_x % hsub) /