| /linux/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 179 ….char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_in… in __drm_format_info() 181 ….char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_in… in __drm_format_info() 183 ….char_per_block = { 1, }, .block_w = { 2, }, .block_h = { 1, }, .hsub = 1, .vsub = 1, .is_color_in… in __drm_format_info() 184 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 186 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 188 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 190 .char_per_block = { 1, }, .block_w = { 2, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 191 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 193 .char_per_block = { 1, }, .block_w = { 8, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() 195 .char_per_block = { 1, }, .block_w = { 4, }, .block_h = { 1, }, .hsub = 1, .vsub = 1 }, in __drm_format_info() [all …]
|
| /linux/drivers/media/platform/sunxi/sun8i-rotate/ |
| H 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 …]
|
| H A D | sun8i-formats.h | 18 int vsub; member
|
| H 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/ |
| H A D | drm_fourcc.h | 134 u8 vsub; 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() 304 return DIV_ROUND_UP(height, info->vsub); in drm_format_info_plane_height()
|
| /linux/lib/crypto/arm/ |
| H A D | curve25519-core.S | 105 vsub.i64 q4, q4, q12 107 vsub.i64 q10, q10, q13 113 vsub.i64 q5, q5, q12 120 vsub.i64 q11, q11, q13 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 [all …]
|
| /linux/drivers/media/platform/qcom/camss/ |
| H A D | camss-format.h | 18 .vsub[(plane)].numerator = (v_fract_num), \ 19 .vsub[(plane)].denominator = (v_fract_den), \ 48 struct fract vsub[3]; member
|
| /linux/drivers/media/platform/sunxi/sun4i-csi/ |
| H A D | sun4i_v4l2.c | 31 .vsub = 2, 114 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt() 118 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt() 122 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local 127 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
|
| H A D | sun4i_csi.h | 102 unsigned int vsub; member
|
| /linux/drivers/gpu/drm/omapdrm/ |
| H A D | omap_fb.c | 95 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr() 424 unsigned int vsub = i == 0 ? 1 : info->vsub; in omap_framebuffer_init() local 427 size = pitch * mode_cmd->height / vsub; in omap_framebuffer_init()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_plane.c | 1096 u32 src_x, src_y, src_w, src_h, hsub, vsub; in intel_plane_check_src_coordinates() local 1125 vsub = 2; in intel_plane_check_src_coordinates() 1133 vsub = 1; in intel_plane_check_src_coordinates() 1143 vsub = 2; in intel_plane_check_src_coordinates() 1146 vsub = fb->format->vsub; in intel_plane_check_src_coordinates() 1150 hsub = vsub = max(hsub, vsub); in intel_plane_check_src_coordinates() 1160 if (src_y % vsub || src_h % vsub) { in intel_plane_check_src_coordinates() 1164 src_y, src_h, vsub, str_yes_no(rotated)); in intel_plane_check_src_coordinates()
|
| /linux/drivers/gpu/drm/tidss/ |
| H A D | tidss_plane.c | 87 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check() 90 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_video.c | 153 height = round_down(height, info->vsub); in __vsp1_video_try_format() 157 pix->height = clamp(height, info->vsub, VSP1_VIDEO_MAX_HEIGHT); in __vsp1_video_try_format() 166 unsigned int vsub = i > 0 ? info->vsub : 1; in __vsp1_video_try_format() local 176 * pix->height / vsub; in __vsp1_video_try_format()
|
| /linux/drivers/gpu/drm/exynos/ |
| H A D | exynos_drm_fb.c | 109 DIV_ROUND_UP(mode_cmd->height, info->vsub); in exynos_user_fb_create()
|
| H A D | exynos_drm_ipp.c | 357 DIV_ROUND_UP(buf->buf.height, buf->format->vsub); in exynos_drm_ipp_task_setup_buffer()
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | fb.c | 148 unsigned int height = cmd->height / (i ? info->vsub : 1); in tegra_fb_create()
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_drv.c | 43 .vsub = 1, 53 .vsub = 1,
|
| /linux/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_plane.c | 611 phasey_steps[COMP_1_2] = phasey_step / info->vsub; in calc_scaley_steps() 629 sub = horz ? info->hsub : info->vsub; in get_scale_config() 684 roi_h /= info->vsub; in mdp5_write_pixel_ext()
|
| /linux/drivers/media/platform/renesas/ |
| H A D | rcar_fdp1.c | 288 u8 vsub; member 1426 unsigned int vsub = i > 0 ? fmt->vsub : 1; in fdp1_compute_stride() local 1437 * pix->height / vsub; in fdp1_compute_stride() 1496 height = round_down(pix->height, fmt->vsub); in fdp1_try_fmt_output()
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_plane.c | 59 y /= format->vsub; in armada_drm_plane_calc()
|
| /linux/drivers/gpu/drm/arm/ |
| H A D | malidp_planes.c | 227 if ((info->hsub != 1) || (info->vsub != 1)) { in malidp_format_mod_supported() 237 if ((info->hsub == 1) || (info->vsub == 1)) { in malidp_format_mod_supported()
|
| /linux/drivers/gpu/drm/vc4/ |
| H A D | vc4_plane.c | 498 u32 v_subsample = fb->format->vsub; in vc4_plane_setup_clipping_and_scaling() 1217 u32 v_subsample = fb->format->vsub; in vc4_plane_mode_set() 1747 u32 v_subsample = fb->format->vsub; in vc6_plane_mode_set()
|
| /linux/drivers/gpu/drm/xlnx/ |
| H A D | zynqmp_disp.c | 1120 unsigned int height = state->crtc_h / (i ? info->vsub : 1); in zynqmp_disp_layer_update()
|
| /linux/drivers/gpu/drm/rockchip/ |
| H A D | rockchip_drm_vop.c | 391 uint16_t cbcr_src_h = src_h / info->vsub; in scl_vop_cal_scl_fac() 1014 offset += (src->y1 >> 16) * fb->pitches[1] / fb->format->vsub; in vop_plane_atomic_update()
|
| /linux/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_plane.c | 762 int ydiv = i ? fb->format->vsub : 1; in atmel_hlcdc_plane_atomic_check()
|