Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_fourcc.c160 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
161 …mat = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
162 …mat = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
163 …at = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
164 …at = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
165 …at = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
166 …at = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1 }, in __drm_format_info()
167 …T_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
168 …T_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
169 …T_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = 1, .has_alpha = t… in __drm_format_info()
[all …]
H A Ddrm_fb_cma_helper.c86 v_div = fb->format->vsub; in drm_fb_cma_get_gem_addr()
/OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun8i-rotate/
H A 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 …]
H A Dsun8i-formats.h18 int vsub; member
H A 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()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_fourcc.h129 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 height / info->vsub; in drm_format_info_plane_height()
/OK3568_Linux_fs/kernel/arch/arm/crypto/
H A Dcurve25519-core.S105 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 …]
/OK3568_Linux_fs/kernel/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()
986 src_h / format->vsub)); in sun8i_vi_scaler_setup()
992 vscale / format->vsub); in sun8i_vi_scaler_setup()
H A Dsun8i_vi_layer.c107 if (format->vsub > 1) { in sun8i_vi_layer_update_coord()
110 mask = format->vsub - 1; in sun8i_vi_layer_update_coord()
122 (state->src.y1 >> 16) & ~(format->vsub - 1)); in sun8i_vi_layer_update_coord()
135 subsampled = format->hsub > 1 || format->vsub > 1; in sun8i_vi_layer_update_coord()
298 src_y = (state->src.y1 >> 16) & ~(format->vsub - 1); in sun8i_vi_layer_update_buffer()
314 dy /= format->vsub; in sun8i_vi_layer_update_buffer()
/OK3568_Linux_fs/buildroot/package/weston/
H A D0020-pixman-renderer-Support-yuv-formats.patch29 .vsub = 2,
39 .vsub = 1,
49 .vsub = 2,
59 .vsub = 2,
H A D0003-Revert-gl-renderer-require-GL_EXT_unpack_subimage.patch49 + int vsub = pixel_format_vsub(buffer->pixel_format, j);
55 + buffer->height / vsub,
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_11.0.1/
H A D0020-pixman-renderer-Support-yuv-formats.patch29 .vsub = 2,
39 .vsub = 1,
49 .vsub = 2,
59 .vsub = 2,
H A D0003-Revert-gl-renderer-require-GL_EXT_unpack_subimage.patch49 + int vsub = pixel_format_vsub(buffer->pixel_format, j);
55 + buffer->height / vsub,
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-graphics/wayland/weston_10.0.2/
H A D0017-pixman-renderer-Support-yuv-formats.patch29 .vsub = 2,
39 .vsub = 1,
49 .vsub = 2,
59 .vsub = 2,
H A D0019-gl-renderer-Support-NV16-shmem-format.patch24 + (buffer->height / gs->vsub[0]);
26 + gs->vsub[1] = 1;
/OK3568_Linux_fs/kernel/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_v4l2.c31 .vsub = 2,
120 height = ALIGN(pix->height, _fmt->vsub); in _sun4i_csi_try_fmt()
124 pix->height = clamp(height, _fmt->vsub, CSI_MAX_HEIGHT); in _sun4i_csi_try_fmt()
128 unsigned int vsub = i > 0 ? _fmt->vsub : 1; in _sun4i_csi_try_fmt() local
133 pix->plane_fmt[i].sizeimage = bpl * pix->height / vsub; in _sun4i_csi_try_fmt()
H A Dsun4i_csi.h101 unsigned int vsub; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/omapdrm/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_debugfs.c76 u8 vsub = dump_info->format->vsub; in rockchip_drm_dump_plane_buffer() local
80 uv_size = (width * dump_info->height * bpp >> 3) * 2 / hsub / vsub; in rockchip_drm_dump_plane_buffer()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/arm/display/komeda/
H A 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/vsp1/
H A 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()
H A 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()
H A Dvsp1_pipe.h46 unsigned int vsub; member
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tidss/
H A Dtidss_plane.c74 if ((state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
77 __func__, (state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/camss/
H A Dcamss-video.c46 struct fract vsub[3]; member
268 f->vsub[i].numerator * f->vsub[i].denominator * in video_mbus_to_pix_mp()
699 fi->vsub[i].numerator * fi->vsub[i].denominator * bpl; in __video_try_fmt()

12