Home
last modified time | relevance | path

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

12

/linux/drivers/media/platform/sunxi/sun8i-rotate/
H 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 …]
H A Dsun8i-formats.h17 int hsub; member
/linux/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_kms.c47 .hsub = 1,
55 .hsub = 1,
70 .hsub = 1,
78 .hsub = 1,
86 .hsub = 2,
94 .hsub = 2,
102 .hsub = 2,
110 .hsub = 2,
118 .hsub = 2,
131 .hsub = 1,
[all …]
H A Drcar_du_kms.h28 unsigned int hsub; member
/linux/drivers/gpu/drm/i915/display/
H A Dintel_fb.c41 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
43 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
45 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
47 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
49 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
51 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, },
53 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
55 .cpp = { 4, 1, }, .hsub = 8, .vsub = 16, .has_alpha = true, },
68 .hsub = 1, .vsub = 1, },
71 .hsub = 1, .vsub = 1, },
[all …]
H A Dskl_universal_plane.c1814 int hsub; in skl_check_main_ccs_coordinates() local
1817 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_main_ccs_coordinates()
1827 x = aux_x / hsub; in skl_check_main_ccs_coordinates()
1834 aux_x = x * hsub + aux_x % hsub; in skl_check_main_ccs_coordinates()
2052 int hsub, vsub; in skl_check_ccs_aux_surface() local
2060 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_ccs_aux_surface()
2062 hsub *= main_hsub; in skl_check_ccs_aux_surface()
2064 x = src_x / hsub; in skl_check_ccs_aux_surface()
2074 plane_state->view.color_plane[ccs_plane].x = (x * hsub + src_x % hsub) / main_hsub; in skl_check_ccs_aux_surface()
H A Dintel_fb.h68 void intel_fb_plane_get_subsampling(int *hsub, int *vsub,
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-format.h16 .hsub[(plane)].numerator = (h_fract_num), \
17 .hsub[(plane)].denominator = (h_fract_den), \
47 struct fract hsub[3]; member
H A Dcamss-video.c55 bytesperline = pix->width / f->hsub[i].numerator * in video_mbus_to_pix_mp()
56 f->hsub[i].denominator * f->bpp[i] / 8; in video_mbus_to_pix_mp()
470 bpl = pix_mp->width / fi->hsub[i].numerator * in __video_try_fmt()
471 fi->hsub[i].denominator * fi->bpp[i] / 8; in __video_try_fmt()
/linux/drivers/gpu/drm/sun4i/
H 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()
H A Dsun8i_vi_layer.c80 if (format->hsub > 1) { in sun8i_vi_layer_update_coord()
83 mask = format->hsub - 1; in sun8i_vi_layer_update_coord()
103 (state->src.x1 >> 16) & ~(format->hsub - 1), in sun8i_vi_layer_update_coord()
117 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord()
271 src_x = (state->src.x1 >> 16) & ~(format->hsub - 1); in sun8i_vi_layer_update_buffer()
287 dx /= format->hsub; in sun8i_vi_layer_update_buffer()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_display.c584 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
586 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
588 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
591 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
594 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
597 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
599 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
601 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
604 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
607 .cpp = { 2, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
[all …]
/linux/drivers/media/platform/sunxi/sun4i-csi/
H 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()
H A Dsun4i_csi.h101 unsigned int hsub; member
/linux/drivers/gpu/drm/msm/disp/mdp5/
H 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/drivers/gpu/drm/tidss/
H A Dtidss_plane.c74 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
77 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
88 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
92 finfo->hsub); in tidss_plane_atomic_check()
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_wpf.c429 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local
436 mem.addr[i] += offset / hsub in wpf_configure_partition()
471 unsigned int hsub = i > 0 ? fmtinfo->hsub : 1; in wpf_configure_partition() local
473 mem.addr[i] += hoffset / hsub in wpf_configure_partition()
H A Dvsp1_pipe.h46 unsigned int hsub; member
H A Dvsp1_video.c140 width = round_down(width, info->hsub); in __vsp1_video_try_format()
144 pix->width = clamp(width, info->hsub, VSP1_VIDEO_MAX_WIDTH); in __vsp1_video_try_format()
153 unsigned int hsub = i > 0 ? info->hsub : 1; in __vsp1_video_try_format() local
159 pix->width / hsub * info->bpp[i] / 8, in __vsp1_video_try_format()
/linux/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_kms.c43 .hsub = 1,
49 .hsub = 1,
55 .hsub = 1,
H A Drzg2l_du_kms.h28 unsigned int hsub; member
/linux/drivers/gpu/drm/arm/display/komeda/
H 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/drivers/gpu/drm/
H A Ddrm_fb_dma_helper.c93 h_div = fb->format->hsub; in drm_fb_dma_get_gem_addr()
/linux/drivers/gpu/drm/tegra/
H A Dfb.c145 unsigned int width = cmd->width / (i ? info->hsub : 1); in tegra_fb_create()
/linux/drivers/gpu/drm/imx/ipuv3/
H 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()

12