Home
last modified time | relevance | path

Searched refs:planes (Results 1 – 25 of 165) sorted by relevance

1234567

/linux/drivers/media/test-drivers/vivid/
A Dvivid-vid-common.c40 .planes = 1,
49 .planes = 1,
57 .planes = 1,
65 .planes = 1,
73 .planes = 3,
81 .planes = 3,
89 .planes = 3,
97 .planes = 2,
105 .planes = 2,
113 .planes = 2,
[all …]
/linux/drivers/media/platform/sunxi/sun8i-rotate/
A Dsun8i_formats.c17 .planes = 1,
25 .planes = 1,
33 .planes = 1,
41 .planes = 1,
49 .planes = 1,
57 .planes = 1,
65 .planes = 1,
73 .planes = 1,
81 .planes = 1,
89 .planes = 1,
[all …]
/linux/drivers/gpu/drm/rcar-du/
A Drcar_du_kms.c44 .planes = 1,
52 .planes = 1,
60 .planes = 1,
67 .planes = 1,
75 .planes = 1,
83 .planes = 1,
91 .planes = 1,
99 .planes = 2,
107 .planes = 2,
115 .planes = 2,
[all …]
A Drcar_du_plane.c59 old_state->format->planes != new_state->format->planes) in rcar_du_plane_needs_realloc()
77 if (state->format->planes == 2) in rcar_du_plane_hwmask()
164 index = plane - plane->group->planes; in rcar_du_atomic_check_planes()
180 index = plane - plane->group->planes; in rcar_du_atomic_check_planes()
227 plane - plane->group->planes); in rcar_du_atomic_check_planes()
237 plane - plane->group->planes, in rcar_du_atomic_check_planes()
239 new_plane_state->format->planes : 0, in rcar_du_atomic_check_planes()
346 if (state->format->planes == 2) in rcar_du_plane_setup_scanout()
388 if (state->format->planes == 2) { in rcar_du_plane_setup_scanout()
480 if (state->format->planes == 2) { in rcar_du_plane_setup_format_gen2()
[all …]
A Drcar_du_vsp.c175 for (i = 0; i < state->format->planes; ++i) in rcar_du_vsp_plane_setup()
383 struct rcar_du_vsp_plane *plane = &vsp->planes[i]; in rcar_du_vsp_cleanup()
388 kfree(vsp->planes); in rcar_du_vsp_cleanup()
424 vsp->planes = kcalloc(num_planes, sizeof(*vsp->planes), GFP_KERNEL); in rcar_du_vsp_init()
425 if (!vsp->planes) in rcar_du_vsp_init()
432 struct rcar_du_vsp_plane *plane = &vsp->planes[i]; in rcar_du_vsp_init()
A Drcar_du_crtc.c336 struct rcar_du_plane *planes[RCAR_DU_NUM_HW_PLANES]; in rcar_du_crtc_update_planes() local
346 struct rcar_du_plane *plane = &rcrtc->group->planes[i]; in rcar_du_crtc_update_planes()
355 if (plane_zpos(planes[j-1]) <= plane_zpos(plane)) in rcar_du_crtc_update_planes()
357 planes[j] = planes[j-1]; in rcar_du_crtc_update_planes()
360 planes[j] = plane; in rcar_du_crtc_update_planes()
361 prio += plane_format(plane)->planes * 4; in rcar_du_crtc_update_planes()
365 struct rcar_du_plane *plane = planes[i]; in rcar_du_crtc_update_planes()
373 if (plane_format(plane)->planes == 2) { in rcar_du_crtc_update_planes()
1028 if (index == rcrtc->vsp->planes[i].plane.base.id) in rcar_du_crtc_parse_crc_source()
1252 primary = &rcrtc->vsp->planes[rcrtc->vsp_pipe].plane; in rcar_du_crtc_create()
[all …]
/linux/drivers/media/common/videobuf2/
A Dvideobuf2-v4l2.c70 if (b->m.planes == NULL) { in __verify_planes_array()
180 struct vb2_plane *planes = vbuf->planes; in vb2_fill_vb2_v4l2_buffer() local
212 planes[plane].length = in vb2_fill_vb2_v4l2_buffer()
218 planes[plane].m.fd = in vb2_fill_vb2_v4l2_buffer()
220 planes[plane].length = in vb2_fill_vb2_v4l2_buffer()
292 planes[0].m.offset = vb->planes[0].m.offset; in vb2_fill_vb2_v4l2_buffer()
293 planes[0].length = vb->planes[0].length; in vb2_fill_vb2_v4l2_buffer()
611 planes[plane].m = vbuf->planes[plane].m; in __fill_vb2_buffer()
612 planes[plane].length = vbuf->planes[plane].length; in __fill_vb2_buffer()
614 planes[plane].bytesused = vbuf->planes[plane].bytesused; in __fill_vb2_buffer()
[all …]
A Dvideobuf2-core.c1115 memset(planes, 0, sizeof(planes[0]) * vb->num_planes); in __prepare_userptr()
1125 vb->planes[plane].m.userptr == planes[plane].m.userptr in __prepare_userptr()
1126 && vb->planes[plane].length == planes[plane].length) in __prepare_userptr()
1178 vb->planes[plane].bytesused = planes[plane].bytesused; in __prepare_userptr()
1179 vb->planes[plane].length = planes[plane].length; in __prepare_userptr()
1180 vb->planes[plane].m.userptr = planes[plane].m.userptr; in __prepare_userptr()
1231 memset(planes, 0, sizeof(planes[0]) * vb->num_planes); in __prepare_dmabuf()
1263 vb->planes[plane].length == planes[plane].length) { in __prepare_dmabuf()
1323 vb->planes[plane].bytesused = planes[plane].bytesused; in __prepare_dmabuf()
1324 vb->planes[plane].length = planes[plane].length; in __prepare_dmabuf()
[all …]
/linux/include/drm/
A Ddrm_atomic.h382 struct __drm_planes_state *planes; member
870 for_each_if ((__state)->planes[__i].ptr && \
871 ((plane) = (__state)->planes[__i].ptr, \
893 for_each_if ((__state)->planes[__i].ptr && \
894 ((plane) = (__state)->planes[__i].ptr, \
910 for_each_if ((__state)->planes[__i].ptr && \
911 ((plane) = (__state)->planes[__i].ptr, \
929 for_each_if ((__state)->planes[__i].ptr && \
930 ((plane) = (__state)->planes[__i].ptr, \
947 for_each_if ((__state)->planes[__i].ptr && \
[all …]
/linux/drivers/staging/media/atomisp/pci/runtime/frame/src/
A Dframe.c348 frame_init_mipi_plane(frame, &frame->planes.raw, in ia_css_frame_init_planes()
444 frame->planes.binary.size = 0; in ia_css_frame_init_planes()
720 frame_init_plane(&frame->planes.nv.uv, uv_width, in frame_init_nv_planes()
768 frame_init_plane(&frame->planes.planar_rgb.g, in frame_init_rgb_planes()
770 frame_init_plane(&frame->planes.planar_rgb.b, in frame_init_rgb_planes()
784 frame_init_plane(&frame->planes.plane6.r, in frame_init_qplane6_planes()
786 frame_init_plane(&frame->planes.plane6.r_at_b, in frame_init_qplane6_planes()
788 frame_init_plane(&frame->planes.plane6.gr, in frame_init_qplane6_planes()
790 frame_init_plane(&frame->planes.plane6.gb, in frame_init_qplane6_planes()
792 frame_init_plane(&frame->planes.plane6.b, in frame_init_qplane6_planes()
[all …]
/linux/drivers/staging/media/atomisp/pci/
A Dsh_css_sp.c463 sp_frame_out->planes.raw.offset = frame_in->planes.raw.offset; in sh_css_copy_frame_to_spframe()
467 sp_frame_out->planes.rgb.offset = frame_in->planes.rgb.offset; in sh_css_copy_frame_to_spframe()
482 sp_frame_out->planes.yuyv.offset = frame_in->planes.yuyv.offset; in sh_css_copy_frame_to_spframe()
491 sp_frame_out->planes.nv.y.offset = in sh_css_copy_frame_to_spframe()
492 frame_in->planes.nv.y.offset; in sh_css_copy_frame_to_spframe()
493 sp_frame_out->planes.nv.uv.offset = in sh_css_copy_frame_to_spframe()
494 frame_in->planes.nv.uv.offset; in sh_css_copy_frame_to_spframe()
504 frame_in->planes.yuv.y.offset; in sh_css_copy_frame_to_spframe()
506 frame_in->planes.yuv.u.offset; in sh_css_copy_frame_to_spframe()
508 frame_in->planes.yuv.v.offset; in sh_css_copy_frame_to_spframe()
[all …]
/linux/Documentation/userspace-api/media/v4l/
A Dpixfmt-yuv-planar.rst12 - Semi-planar formats use two planes. The first plane is the luma plane and
16 - Fully planar formats use three planes to store the Y, Cb and Cr components
21 the chroma planes may be constrained by the line stride of the luma plane.
28 planes, formats require the planes to follow each other immediately in memory.
160 .. [2] Indicates if planes have to be contiguous in memory or can be
273 The layouts of the luma and chroma planes are identical.
282 planes are identical.
499 formats. The two chroma planes always use the same subsampling.
606 .. [4] Order of luma and chroma planes
607 .. [5] Indicates if planes have to be contiguous in memory or can be
[all …]
A Ddmabuf.rst31 DRM). Buffers (planes) are allocated by a driver on behalf of an
98 struct v4l2_plane planes[VIDEO_MAX_PLANES];
105 buf.m.planes = planes;
108 memset(&planes, 0, sizeof planes);
111 buf.m.planes[i].m.fd = dmafd[i];
A Dmmap.rst50 be equal to number of buffers times number of planes in each buffer. The
132 /* Our current format uses 3 planes per buffer */
168 struct v4l2_plane planes[FMT_NUM_PLANES];
175 * of planes array. */
177 buffer.m.planes = planes;
186 buffers[i].length[j] = buffer.m.planes[j].length; /* remember for munmap() */
188 buffers[i].start[j] = mmap(NULL, buffer.m.planes[j].length,
191 fd, buffer.m.planes[j].m.offset);
195 the buffers and planes mapped so far. */
A Dpixfmt-v4l2-mplane.rst8 and layout for each of the planes in a multi-planar format. The
10 information common to all planes (such as image width and height) and an
12 describing all planes of that format.
91 - Number of planes (i.e. separate memory buffers) for this format
/linux/drivers/gpu/drm/sun4i/
A Dsun4i_crtc.c196 struct drm_plane **planes; in sun4i_crtc_init() local
207 planes = sunxi_engine_layers_init(drm, engine); in sun4i_crtc_init()
208 if (IS_ERR(planes)) { in sun4i_crtc_init()
214 for (i = 0; planes[i]; i++) { in sun4i_crtc_init()
215 struct drm_plane *plane = planes[i]; in sun4i_crtc_init()
246 for (i = 0; planes[i]; i++) { in sun4i_crtc_init()
248 struct drm_plane *plane = planes[i]; in sun4i_crtc_init()
A Dsun4i_layer.c238 struct drm_plane **planes; in sun4i_layers_init() local
243 planes = devm_kcalloc(drm->dev, SUN4I_BACKEND_NUM_LAYERS + 1, in sun4i_layers_init()
244 sizeof(*planes), GFP_KERNEL); in sun4i_layers_init()
245 if (!planes) in sun4i_layers_init()
260 planes[i] = &layer->plane; in sun4i_layers_init()
263 return planes; in sun4i_layers_init()
A Dsun8i_mixer.c262 struct drm_plane **planes; in sun8i_layers_init() local
266 planes = devm_kcalloc(drm->dev, in sun8i_layers_init()
268 sizeof(*planes), GFP_KERNEL); in sun8i_layers_init()
269 if (!planes) in sun8i_layers_init()
282 planes[i] = &layer->plane; in sun8i_layers_init()
295 planes[mixer->cfg->vi_num + i] = &layer->plane; in sun8i_layers_init()
298 return planes; in sun8i_layers_init()
/linux/Documentation/ABI/testing/
A Dsysfs-devices-platform-sh_mobile_lcdc_fb6 to overlay planes.
17 to overlay planes.
30 to overlay planes.
40 to overlay planes.
/linux/drivers/gpu/drm/mediatek/
A Dmtk_drm_crtc.c47 struct drm_plane *planes; member
209 unsigned int local_index = plane - mtk_crtc->planes; in mtk_drm_ddp_comp_for_plane()
303 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_hw_init()
386 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config()
408 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_crtc_ddp_config()
446 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_drm_crtc_update_config()
580 struct drm_plane *plane = &mtk_crtc->planes[i]; in mtk_drm_crtc_atomic_disable()
663 primary = &mtk_crtc->planes[i]; in mtk_drm_crtc_init()
665 cursor = &mtk_crtc->planes[i]; in mtk_drm_crtc_init()
723 &mtk_crtc->planes[mtk_crtc->layer_nr], in mtk_drm_crtc_init_comp_planes()
[all …]
/linux/drivers/gpu/drm/hisilicon/kirin/
A Dkirin_drm_drv.c36 struct kirin_plane planes[KIRIN_MAX_PLANE]; member
137 ret = kirin_drm_plane_init(dev, &kirin_priv->planes[ch].base, in kirin_drm_private_init()
141 kirin_priv->planes[ch].ch = ch; in kirin_drm_private_init()
142 kirin_priv->planes[ch].hw_ctx = ctx; in kirin_drm_private_init()
146 prim_plane = &kirin_priv->planes[driver_data->prim_plane].base; in kirin_drm_private_init()
/linux/drivers/gpu/drm/tegra/
A Dfb.c112 struct tegra_bo **planes, in tegra_fb_alloc() argument
126 fb->obj[i] = &planes[i]->gem; in tegra_fb_alloc()
144 struct tegra_bo *planes[4]; in tegra_fb_create() local
171 planes[i] = to_tegra_bo(gem); in tegra_fb_create()
174 fb = tegra_fb_alloc(drm, cmd, planes, i); in tegra_fb_create()
184 drm_gem_object_put(&planes[i]->gem); in tegra_fb_create()
/linux/drivers/gpu/drm/omapdrm/
A Domap_fb.c53 struct plane planes[2]; member
86 struct plane *plane = &omap_fb->planes[n]; in get_linear_addr()
238 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin()
253 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_pin()
279 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_unpin()
391 struct plane *plane = &omap_fb->planes[i]; in omap_framebuffer_init()
/linux/include/media/
A Dvideobuf2-core.h287 struct vb2_plane planes[VB2_MAX_PLANES]; member
464 int (*fill_vb2_buffer)(struct vb2_buffer *vb, struct vb2_plane *planes);
1159 vb->planes[plane_no].bytesused = size; in vb2_set_plane_payload()
1172 return vb->planes[plane_no].bytesused; in vb2_get_plane_payload()
1186 return vb->planes[plane_no].length; in vb2_plane_size()
/linux/drivers/gpu/drm/
A Ddrm_atomic.c108 kfree(state->planes); in drm_atomic_state_default_release()
137 sizeof(*state->planes), GFP_KERNEL); in drm_atomic_state_init()
138 if (!state->planes) in drm_atomic_state_init()
238 state->planes[i].state); in drm_atomic_state_default_clear()
239 state->planes[i].ptr = NULL; in drm_atomic_state_default_clear()
240 state->planes[i].state = NULL; in drm_atomic_state_default_clear()
241 state->planes[i].old_state = NULL; in drm_atomic_state_default_clear()
242 state->planes[i].new_state = NULL; in drm_atomic_state_default_clear()
534 state->planes[index].state = plane_state; in drm_atomic_get_plane_state()
535 state->planes[index].ptr = plane; in drm_atomic_get_plane_state()
[all …]

Completed in 61 milliseconds

1234567