/linux/drivers/gpu/drm/ |
A D | drm_fourcc.c | 228 .hsub = 2, .vsub = 2, .has_alpha = true, .is_yuv = true }, in __drm_format_info() 231 .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 234 .hsub = 2, .vsub = 2, .has_alpha = true, .is_yuv = true }, in __drm_format_info() 237 .hsub = 2, .vsub = 2, .is_yuv = true }, in __drm_format_info() 240 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 243 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 246 .hsub = 2, .vsub = 2, .is_yuv = true}, in __drm_format_info() 250 .vsub = 1, .is_yuv = true }, in __drm_format_info() 263 .vsub = 2, .is_yuv = true }, in __drm_format_info() 267 .vsub = 0, .is_yuv = true }, in __drm_format_info() [all …]
|
A D | drm_fb_cma_helper.c | 88 v_div = fb->format->vsub; in drm_fb_cma_get_gem_addr()
|
/linux/drivers/media/platform/sunxi/sun8i-rotate/ |
A D | sun8i_formats.c | 20 .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 …]
|
A D | sun8i-formats.h | 18 int vsub; member
|
A D | sun8i_rotate.c | 56 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()
|
/linux/include/drm/ |
A D | drm_fourcc.h | 134 u8 vsub; member 197 return info->is_yuv && info->hsub == 4 && info->vsub == 4; in drm_format_info_is_yuv_sampling_410() 212 return info->is_yuv && info->hsub == 4 && info->vsub == 1; in drm_format_info_is_yuv_sampling_411() 227 return info->is_yuv && info->hsub == 2 && info->vsub == 2; in drm_format_info_is_yuv_sampling_420() 242 return info->is_yuv && info->hsub == 2 && info->vsub == 1; in drm_format_info_is_yuv_sampling_422() 257 return info->is_yuv && info->hsub == 1 && info->vsub == 1; in drm_format_info_is_yuv_sampling_444() 301 return height / info->vsub; in drm_format_info_plane_height()
|
/linux/arch/arm/crypto/ |
A D | curve25519-core.S | 105 vsub.i64 q4, q4, q12 113 vsub.i64 q5, q5, q12 122 vsub.i64 q6, q6, q12 131 vsub.i64 q2, q2, q13 133 vsub.i64 q7, q7, q12 144 vsub.i64 q7, q8, q12 153 vsub.i64 q0, q9, q0 155 vsub.i64 q3, q3, q10 166 vsub.i64 q3, q6, q7 168 vsub.i64 q1, q4, q1 [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun8i_vi_scaler.c | 877 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()
|
A D | sun8i_vi_layer.c | 137 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()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_display.c | 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, 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, 572 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 575 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 578 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 585 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 588 .cpp = { 4, 0, 0 }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, [all …]
|
/linux/drivers/media/platform/sunxi/sun4i-csi/ |
A D | sun4i_v4l2.c | 31 .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()
|
A D | sun4i_csi.h | 101 unsigned int vsub; member
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_fb.c | 324 *vsub = 1; in intel_fb_plane_get_subsampling() 335 *vsub = fb->format->vsub; in intel_fb_plane_get_subsampling() 355 *vsub = 32; in intel_fb_plane_get_subsampling() 366 int hsub, vsub; in intel_fb_plane_dims() local 382 *h = DIV_ROUND_UP(main_height, main_vsub * vsub); in intel_fb_plane_dims() 608 int hsub, vsub; in intel_fb_check_ccs_xy() local 625 tile_height *= vsub; in intel_fb_check_ccs_xy() 628 ccs_y = (y * vsub) % tile_height; in intel_fb_check_ccs_xy() 1097 unsigned int vsub = i ? fb->format->vsub : 1; in intel_plane_remap_gtt() local 1104 y = src_y / vsub; in intel_plane_remap_gtt() [all …]
|
A D | intel_sprite.c | 57 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()
|
A D | skl_universal_plane.c | 1420 int vsub; in skl_check_main_ccs_coordinates() local 1422 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_main_ccs_coordinates() 1433 y = aux_y / vsub; in skl_check_main_ccs_coordinates() 1441 aux_y = y * vsub + aux_y % vsub; in skl_check_main_ccs_coordinates() 1656 int hsub, vsub; in skl_check_ccs_aux_surface() local 1665 intel_fb_plane_get_subsampling(&hsub, &vsub, fb, ccs_plane); in skl_check_ccs_aux_surface() 1668 vsub *= main_vsub; in skl_check_ccs_aux_surface() 1670 y = src_y / vsub; in skl_check_ccs_aux_surface() 1680 plane_state->view.color_plane[ccs_plane].y = (y * vsub + src_y % vsub) / main_vsub; in skl_check_ccs_aux_surface()
|
A D | intel_fb.h | 42 void intel_fb_plane_get_subsampling(int *hsub, int *vsub,
|
/linux/drivers/gpu/drm/omapdrm/ |
A D | omap_fb.c | 91 + (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()
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
A D | komeda_framebuffer.c | 222 (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()
|
/linux/drivers/media/platform/vsp1/ |
A D | vsp1_wpf.c | 466 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()
|
A D | vsp1_pipe.h | 46 unsigned int vsub; member
|
A D | vsp1_rpf.c | 279 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()
|
A D | vsp1_video.c | 134 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()
|
/linux/drivers/gpu/drm/tidss/ |
A D | tidss_plane.c | 79 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()
|
/linux/drivers/media/platform/qcom/camss/ |
A D | camss-video.c | 46 struct fract vsub[3]; member 317 f->vsub[i].numerator * f->vsub[i].denominator * in video_mbus_to_pix_mp() 729 fi->vsub[i].numerator * fi->vsub[i].denominator * bpl; in __video_try_fmt()
|
/linux/drivers/gpu/drm/exynos/ |
A D | exynos_drm_fb.c | 107 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
|