/drivers/gpu/drm/msm/mdp/mdp5/ |
D | mdp5_smp.c | 218 int i, hsub, nplanes, nlines, nblks, ret; in mdp5_smp_request() local 222 hsub = drm_format_horz_chroma_subsampling(fmt); in mdp5_smp_request() 238 if (hdecim && (hsub > 1)) in mdp5_smp_request() 239 hsub = 1; in mdp5_smp_request() 246 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_request()
|
D | mdp5_plane.c | 508 unsigned int hsub; in calc_scalex_steps() local 517 hsub = drm_format_horz_chroma_subsampling(pixel_format); in calc_scalex_steps() 521 phasex_steps[COMP_1_2] = phasex_step / hsub; in calc_scalex_steps()
|
/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 110 unsigned int hsub; in rockchip_user_fb_create() local 116 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in rockchip_user_fb_create() 122 unsigned int width = mode_cmd->width / (i ? hsub : 1); in rockchip_user_fb_create()
|
D | rockchip_drm_vop.c | 525 int hsub = drm_format_horz_chroma_subsampling(pixel_format); in scl_vop_cal_scl_fac() local 528 uint16_t cbcr_src_w = src_w / hsub; in scl_vop_cal_scl_fac() 893 int hsub = drm_format_horz_chroma_subsampling(fb->pixel_format); in vop_update_plane_event() local 905 offset = (src.x1 >> 16) * bpp / hsub; in vop_update_plane_event()
|
/drivers/gpu/drm/msm/ |
D | msm_fb.c | 179 unsigned int hsub, vsub; in msm_framebuffer_init() local 186 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init() 213 unsigned int width = mode_cmd->width / (i ? hsub : 1); in msm_framebuffer_init()
|
/drivers/gpu/drm/ |
D | drm_fb_cma_helper.c | 115 unsigned int hsub; in drm_fb_cma_create() local 120 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in drm_fb_cma_create() 124 unsigned int width = mode_cmd->width / (i ? hsub : 1); in drm_fb_cma_create()
|
D | drm_crtc.c | 3136 int ret, hsub, vsub, num_planes, i; in framebuffer_check() local 3145 hsub = drm_format_horz_chroma_subsampling(r->pixel_format); in framebuffer_check() 3149 if (r->width == 0 || r->width % hsub) { in framebuffer_check() 3160 unsigned int width = r->width / (i != 0 ? hsub : 1); in framebuffer_check()
|
/drivers/gpu/drm/tegra/ |
D | fb.c | 136 unsigned int hsub, vsub, i; in tegra_fb_create() local 142 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create() 146 unsigned int width = cmd->width / (i ? hsub : 1); in tegra_fb_create()
|
/drivers/gpu/drm/armada/ |
D | armada_overlay.c | 173 int i, num_planes, hsub; in armada_ovl_plane_update() local 188 hsub = drm_format_horz_chroma_subsampling(pixel_format); in armada_ovl_plane_update() 196 if (src_x & (hsub - 1) && num_planes == 1) in armada_ovl_plane_update()
|
/drivers/media/platform/vsp1/ |
D | vsp1_video.h | 47 unsigned int hsub; member
|
D | vsp1_video.c | 236 width = round_down(width, info->hsub); in __vsp1_video_try_format() 249 unsigned int hsub = i > 0 ? info->hsub : 1; in __vsp1_video_try_format() local 255 pix->width / hsub * info->bpp[i] / 8, in __vsp1_video_try_format()
|
/drivers/video/adf/ |
D | adf_client.c | 251 u8 hsub, vsub, num_planes, cpp[ADF_MAX_PLANES], i; in adf_buffer_validate() local 263 hsub = adf_format_horz_chroma_subsampling(buf->format); in adf_buffer_validate() 269 return adf_format_validate_yuv(parent, buf, num_planes, hsub, vsub, in adf_buffer_validate()
|
D | adf.c | 1055 u8 num_planes, u8 hsub, u8 vsub, u8 cpp[]) in adf_format_validate_yuv() argument 1067 if (buf->w == 0 || buf->w % hsub) { in adf_format_validate_yuv() 1078 u32 width = buf->w / (i != 0 ? hsub : 1); in adf_format_validate_yuv()
|
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_plane.c | 556 int hsub = 1; in atmel_hlcdc_plane_atomic_check() local 626 hsub = drm_format_horz_chroma_subsampling(fb->pixel_format); in atmel_hlcdc_plane_atomic_check() 631 int xdiv = i ? hsub : 1; in atmel_hlcdc_plane_atomic_check()
|