Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_fourcc.c266 .hsub = 2, .vsub = 2, .has_alpha = true, .is_yuv = true }, in __drm_format_info()
269 .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info()
272 .hsub = 2, .vsub = 2, .has_alpha = true, .is_yuv = true }, in __drm_format_info()
275 .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info()
278 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info()
281 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info()
284 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info()
287 .block_w = { 1, 1, 0 }, .block_h = { 1, 1, 0 }, .hsub = 2, in __drm_format_info()
290 .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 1, .vsub = 1, in __drm_format_info()
293 .num_planes = 1, .cpp = { 0, 0, 0 }, .hsub = 2, .vsub = 2, in __drm_format_info()
[all …]
A Ddrm_fb_dma_helper.c92 h_div = fb->format->hsub; in drm_fb_dma_get_gem_addr()
/linux-6.3-rc2/drivers/media/platform/sunxi/sun8i-rotate/
A Dsun8i_formats.c19 .hsub = 1,
27 .hsub = 1,
35 .hsub = 1,
43 .hsub = 1,
51 .hsub = 1,
59 .hsub = 1,
67 .hsub = 1,
75 .hsub = 1,
83 .hsub = 1,
91 .hsub = 1,
[all …]
A Dsun8i-formats.h17 int hsub; member
A Dsun8i_rotate.c53 pitch[i] /= fmt->hsub / fmt->bpp[i]; in rotate_calc_addr_pitch()
186 width = ALIGN(pix_fmt->width, fmt->hsub); in rotate_prepare_format()
192 alignment *= fmt->hsub / fmt->bpp[1]; in rotate_prepare_format()
200 size /= fmt->hsub; in rotate_prepare_format()
252 fsize->stepwise.step_width = fmt->hsub; in rotate_enum_framesizes()
/linux-6.3-rc2/drivers/gpu/drm/rcar-du/
A Drcar_du_kms.c45 .hsub = 1,
53 .hsub = 1,
68 .hsub = 1,
76 .hsub = 1,
84 .hsub = 2,
92 .hsub = 2,
100 .hsub = 2,
108 .hsub = 2,
116 .hsub = 2,
129 .hsub = 1,
[all …]
A Drcar_du_kms.h28 unsigned int hsub; member
/linux-6.3-rc2/include/drm/
A Ddrm_fourcc.h132 u8 hsub; member
200 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410()
215 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411()
230 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420()
245 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422()
260 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444()
282 return width / info->hsub; in drm_format_info_plane_width()
/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_fb.c53 .hsub = 1, .vsub = 1, },
56 .hsub = 1, .vsub = 1, },
817 *hsub = 1; in intel_fb_plane_get_subsampling()
828 *hsub = fb->format->hsub; in intel_fb_plane_get_subsampling()
847 *hsub *= fb->format->hsub; in intel_fb_plane_get_subsampling()
859 int hsub, vsub; in intel_fb_plane_dims() local
1104 int hsub, vsub; in intel_fb_check_ccs_xy() local
1120 tile_width *= hsub; in intel_fb_check_ccs_xy()
1657 unsigned int hsub = i ? fb->format->hsub : 1; in intel_plane_remap_gtt() local
1664 x = src_x / hsub; in intel_plane_remap_gtt()
[all …]
A Dintel_sprite.c62 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local
90 hsub = 2; in intel_plane_check_src_coordinates()
93 hsub = fb->format->hsub; in intel_plane_check_src_coordinates()
98 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates()
100 if (src_x % hsub || src_w % hsub) { in intel_plane_check_src_coordinates()
102 src_x, src_w, hsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()
A Dskl_universal_plane.c1525 int hsub; in skl_check_main_ccs_coordinates() local
1528 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_main_ccs_coordinates()
1538 x = aux_x / hsub; in skl_check_main_ccs_coordinates()
1546 aux_x = x * hsub + aux_x % hsub; in skl_check_main_ccs_coordinates()
1764 int hsub, vsub; in skl_check_ccs_aux_surface() local
1772 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_ccs_aux_surface()
1774 hsub *= main_hsub; in skl_check_ccs_aux_surface()
1776 x = src_x / hsub; in skl_check_ccs_aux_surface()
1786 plane_state->view.color_plane[ccs_plane].x = (x * hsub + src_x % hsub) / main_hsub; in skl_check_ccs_aux_surface()
A Dintel_fb.h67 void intel_fb_plane_get_subsampling(int *hsub, int *vsub,
/linux-6.3-rc2/drivers/gpu/drm/sun4i/
A Dsun8i_vi_scaler.c877 if (format->hsub == 1 && format->vsub == 1) { in sun8i_vi_scaler_set_coeff()
950 if (format->hsub == 2 && format->vsub == 2) { in sun8i_vi_scaler_setup()
962 if (format->hsub == 1 && format->vsub == 1) in sun8i_vi_scaler_setup()
985 SUN8I_VI_SCALER_SIZE(src_w / format->hsub, in sun8i_vi_scaler_setup()
989 hscale / format->hsub); in sun8i_vi_scaler_setup()
A Dsun8i_vi_layer.c129 if (format->hsub > 1) { in sun8i_vi_layer_update_coord()
132 mask = format->hsub - 1; in sun8i_vi_layer_update_coord()
152 (state->src.x1 >> 16) & ~(format->hsub - 1), in sun8i_vi_layer_update_coord()
166 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord()
320 src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); in sun8i_vi_layer_update_buffer()
336 dx /= format->hsub; in sun8i_vi_layer_update_buffer()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_display.c567 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
570 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
573 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
580 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
583 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
595 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
598 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
601 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
608 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
611 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
[all …]
/linux-6.3-rc2/drivers/media/platform/sunxi/sun4i-csi/
A Dsun4i_v4l2.c30 .hsub = 2,
113 width = ALIGN(pix->width, _fmt->hsub); in _sun4i_csi_try_fmt()
117 pix->width = clamp(width, _fmt->hsub, CSI_MAX_WIDTH); in _sun4i_csi_try_fmt()
121 unsigned int hsub = i > 0 ? _fmt->hsub : 1; in _sun4i_csi_try_fmt() local
125 bpl = pix->width / hsub * _fmt->bpp[i] / 8; in _sun4i_csi_try_fmt()
A Dsun4i_csi.h100 unsigned int hsub; member
/linux-6.3-rc2/drivers/gpu/drm/tidss/
A Dtidss_plane.c72 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
75 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
86 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
90 finfo->hsub); in tidss_plane_atomic_check()
/linux-6.3-rc2/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_smp.c123 int i, hsub, nplanes, nlines; in mdp5_smp_calculate() local
127 hsub = info->hsub; in mdp5_smp_calculate()
142 if (hdecim && (hsub > 1)) in mdp5_smp_calculate()
143 hsub = 1; in mdp5_smp_calculate()
150 fetch_stride = width * cpp / (i ? hsub : 1); in mdp5_smp_calculate()
/linux-6.3-rc2/drivers/media/platform/renesas/vsp1/
A Dvsp1_wpf.c465 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local
472 mem.addr[i] += offset / hsub in wpf_configure_partition()
507 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local
509 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
A Dvsp1_pipe.h45 unsigned int hsub; member
A Dvsp1_video.c133 width = round_down(width, info->hsub); in __vsp1_video_try_format()
137 pix->width = clamp(width, info->hsub, VSP1_VIDEO_MAX_WIDTH); in __vsp1_video_try_format()
146 unsigned int hsub = i > 0 ? info->hsub : 1; in __vsp1_video_try_format() local
152 pix->width / hsub * info->bpp[i] / 8, in __vsp1_video_try_format()
/linux-6.3-rc2/drivers/gpu/drm/arm/display/komeda/
A Dkomeda_framebuffer.c221 if ((src_x % info->hsub) || (src_w % info->hsub) || in komeda_fb_check_src_coords()
256 plane_x = x / (plane ? fb->format->hsub : 1); in komeda_fb_get_pixel_addr()
/linux-6.3-rc2/drivers/media/platform/qcom/camss/
A Dcamss-video.c45 struct fract hsub[3]; member
314 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp()
315 f->hsub[i].denominator * f->bpp[i] / 8; in video_mbus_to_pix_mp()
723 bpl = pix_mp->width / fi->hsub[i].numerator * in __video_try_fmt()
724 fi->hsub[i].denominator * fi->bpp[i] / 8; in __video_try_fmt()
/linux-6.3-rc2/drivers/gpu/drm/imx/ipuv3/
A Dipuv3-plane.c151 x /= fb->format->hsub; in drm_plane_state_to_ubo()
170 x /= fb->format->hsub; in drm_plane_state_to_vbo()
504 if (((new_state->src.x1 >> 16) & (fb->format->hsub - 1)) || in ipu_plane_atomic_check()

Completed in 41 milliseconds

12