Home
last modified time | relevance | path

Searched refs:vsub (Results 1 – 25 of 42) sorted by relevance

12

/drivers/gpu/drm/
Ddrm_fourcc.c135 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
136 …mat = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
137 …mat = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
138 …at = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
139 …at = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
140 …at = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
141 …at = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
142 …T_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
143 …T_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
144 …T_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
[all …]
Ddrm_fb_cma_helper.c88 v_div = fb->format->vsub; in drm_fb_cma_get_gem_addr()
/drivers/media/platform/sunxi/sun8i-rotate/
Dsun8i_formats.c20 .vsub = 1,
28 .vsub = 1,
36 .vsub = 1,
44 .vsub = 1,
52 .vsub = 1,
60 .vsub = 1,
68 .vsub = 1,
76 .vsub = 1,
84 .vsub = 1,
92 .vsub = 1,
[all …]
Dsun8i-formats.h18 int vsub; member
Dsun8i_rotate.c56 size /= fmt->vsub; in rotate_calc_addr_pitch()
187 height = ALIGN(pix_fmt->height, fmt->vsub); in rotate_prepare_format()
201 size /= fmt->vsub; in rotate_prepare_format()
253 fsize->stepwise.step_height = fmt->vsub; in rotate_enum_framesizes()
/drivers/gpu/drm/sun4i/
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()
986 src_h / format->vsub)); in sun8i_vi_scaler_setup()
992 vscale / format->vsub); in sun8i_vi_scaler_setup()
Dsun8i_vi_layer.c137 if (format->vsub > 1) { in sun8i_vi_layer_update_coord()
140 mask = format->vsub - 1; in sun8i_vi_layer_update_coord()
152 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord()
165 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord()
320 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer()
336 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
/drivers/gpu/drm/i915/display/
Dintel_fb.c124 void intel_fb_plane_get_subsampling(int *hsub, int *vsub, in intel_fb_plane_get_subsampling() argument
132 *vsub = 1; in intel_fb_plane_get_subsampling()
143 *vsub = fb->format->vsub; in intel_fb_plane_get_subsampling()
163 *vsub = 32; in intel_fb_plane_get_subsampling()
171 int hsub, vsub; in intel_fb_plane_dims() local
174 intel_fb_plane_get_subsampling(&hsub, &vsub, &fb->base, color_plane); in intel_fb_plane_dims()
177 *h = DIV_ROUND_UP(fb->base.height, main_vsub * vsub); in intel_fb_plane_dims()
412 int hsub, vsub; in intel_fb_check_ccs_xy() local
421 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in intel_fb_check_ccs_xy()
424 tile_height *= vsub; in intel_fb_check_ccs_xy()
[all …]
Dskl_universal_plane.c1372 int vsub; in skl_check_main_ccs_coordinates() local
1374 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_main_ccs_coordinates()
1385 y = aux_y / vsub; in skl_check_main_ccs_coordinates()
1393 aux_y = y * vsub + aux_y % vsub; in skl_check_main_ccs_coordinates()
1608 int hsub, vsub; in skl_check_ccs_aux_surface() local
1617 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_ccs_aux_surface()
1620 vsub *= main_vsub; in skl_check_ccs_aux_surface()
1622 y = src_y / vsub; in skl_check_ccs_aux_surface()
1632 plane_state->view.color_plane[ccs_plane].y = (y * vsub + src_y % vsub) / main_vsub; in skl_check_ccs_aux_surface()
Dintel_sprite.c57 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local
86 vsub = 2; in intel_plane_check_src_coordinates()
89 vsub = fb->format->vsub; in intel_plane_check_src_coordinates()
93 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates()
101 if (src_y % vsub || src_h % vsub) { in intel_plane_check_src_coordinates()
103 src_y, src_h, vsub, yesno(rotated)); in intel_plane_check_src_coordinates()
Dintel_fb.h36 void intel_fb_plane_get_subsampling(int *hsub, int *vsub,
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_display.c540 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
542 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
544 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
547 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
550 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
553 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
555 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
557 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
560 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1,
563 .cpp = { 2, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, },
[all …]
/drivers/media/platform/sunxi/sun4i-csi/
Dsun4i_v4l2.c31 .vsub = 2,
118 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt()
122 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt()
126 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local
131 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
Dsun4i_csi.h101 unsigned int vsub; member
/drivers/gpu/drm/omapdrm/
Domap_fb.c91 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
392 unsigned int vsub = i == 0 ? 1 : format->vsub; in omap_framebuffer_init() local
395 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
/drivers/gpu/drm/arm/display/komeda/
Dkomeda_framebuffer.c222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords()
257 plane_y = y / (plane ? fb->format->vsub : 1); in komeda_fb_get_pixel_addr()
/drivers/media/platform/vsp1/
Dvsp1_rpf.c279 crop.height = round_down(crop.height / 2, fmtinfo->vsub); in rpf_configure_partition()
280 crop.top = round_down(crop.top / 2, fmtinfo->vsub); in rpf_configure_partition()
297 offset = crop.top / fmtinfo->vsub * bpl in rpf_configure_partition()
Dvsp1_wpf.c466 unsigned int vsub = i > 0 ? fmtinfo->vsub : 1; in wpf_configure_partition() local
469 mem.addr[i] += offset / vsub in wpf_configure_partition()
492 offset = (height / fmtinfo->vsub - 1) in wpf_configure_partition()
Dvsp1_pipe.h46 unsigned int vsub; member
Dvsp1_video.c134 height = round_down(height, info->vsub); in __vsp1_video_try_format()
138 pix->height = clamp(height, info->vsub, VSP1_VIDEO_MAX_HEIGHT); in __vsp1_video_try_format()
147 unsigned int vsub = i > 0 ? info->vsub : 1; in __vsp1_video_try_format() local
157 * pix->height / vsub; in __vsp1_video_try_format()
/drivers/gpu/drm/tidss/
Dtidss_plane.c79 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
82 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
/drivers/media/platform/qcom/camss/
Dcamss-video.c46 struct fract vsub[3]; member
317 f->vsub[i].numerator * f->vsub[i].denominator * in video_mbus_to_pix_mp()
730 fi->vsub[i].numerator * fi->vsub[i].denominator * bpl; in __video_try_fmt()
/drivers/gpu/drm/exynos/
Dexynos_drm_fb.c107 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
/drivers/gpu/drm/imx/
Dipuv3-plane.c151 y /= fb->format->vsub; in drm_plane_state_to_ubo()
170 y /= fb->format->vsub; in drm_plane_state_to_vbo()
510 ((new_state->src.y1 >> 16) & (fb->format->vsub - 1))) in ipu_plane_atomic_check()
/drivers/gpu/drm/gud/
Dgud_drv.c41 .vsub = 1,
51 .vsub = 1,

12