Home
last modified time | relevance | path

Searched refs:hsub (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/msm/
Dmsm_fb.c141 unsigned int hsub, vsub; in msm_framebuffer_init() local
148 hsub = drm_format_horz_chroma_subsampling(mode_cmd->pixel_format); in msm_framebuffer_init()
170 unsigned int width = mode_cmd->width / (i ? hsub : 1); in msm_framebuffer_init()
/drivers/gpu/drm/
Ddrm_fb_cma_helper.c115 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()
Ddrm_crtc.c3060 int ret, hsub, vsub, num_planes, i; in framebuffer_check() local
3069 hsub = drm_format_horz_chroma_subsampling(r->pixel_format); in framebuffer_check()
3073 if (r->width == 0 || r->width % hsub) { in framebuffer_check()
3084 unsigned int width = r->width / (i != 0 ? hsub : 1); in framebuffer_check()
/drivers/gpu/drm/tegra/
Dfb.c132 unsigned int hsub, vsub, i; in tegra_fb_create() local
138 hsub = drm_format_horz_chroma_subsampling(cmd->pixel_format); in tegra_fb_create()
142 unsigned int width = cmd->width / (i ? hsub : 1); in tegra_fb_create()
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_plane.c164 int i, hsub, nlines, nblks, ret; in request_smp_blocks() local
166 hsub = drm_format_horz_chroma_subsampling(format); in request_smp_blocks()
175 fetch_stride = width * cpp / (i ? hsub : 1); in request_smp_blocks()
/drivers/media/platform/vsp1/
Dvsp1_video.h47 unsigned int hsub; member
Dvsp1_video.c236 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/
Dadf_client.c251 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()
Dadf.c1055 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()