Home
last modified time | relevance | path

Searched full:planar (Results 1 – 25 of 100) sorted by relevance

1234

/linux/Documentation/userspace-api/media/v4l/
H A Dplanar-apis.rst6 Single- and multi-planar APIs
15 Initially, V4L2 API did not support multi-planar buffers and a set of
17 constitute what is being referred to as the "multi-planar API".
20 depending on whether single- or multi-planar API is being used. An
22 corresponding buffer type to its ioctl calls. Multi-planar versions of
24 available multi-planar buffer types see enum
28 Multi-planar formats
31 Multi-planar API introduces new multi-planar formats. Those formats use
33 the multi-planar API and a multi-planar format. Multi-planar API calls
34 can handle all single-planar formats as well (as long as they are passed
[all …]
H A Dvidioc-querycap.rst148 - The device supports the single-planar API through the
152 - The device supports the :ref:`multi-planar API <planar-apis>`
156 - The device supports the single-planar API through the
160 - The device supports the :ref:`multi-planar API <planar-apis>`
164 - The device supports the single-planar API through the Video
168 - The device supports the :ref:`multi-planar API <planar-apis>`
H A Dvidioc-querybuf.rst47 using the :ref:`multi-planar API <planar-apis>`, the ``m.planes``
57 set to the current I/O method. For the single-planar API, the
59 device memory, the ``length`` field its size. For the multi-planar API,
H A Dpixfmt.rst12 single-planar API, while the latter is used with the multi-planar
13 version (see :ref:`planar-apis`). Image formats are negotiated with
H A Dvidioc-qbuf.rst58 :ref:`multi-planar API <planar-apis>`, the ``m.planes`` field must
73 multi-planar API is used, ``m.userptr`` and ``length`` members of the
87 file descriptor associated with a DMABUF buffer. When the multi-planar
132 buffer might be corrupted. When using the multi-planar API, the planes
139 and the value is only for the application convenience. When the multi-planar
H A Dfunc-mmap.rst39 single-planar API, and the same value as returned by the driver in
41 the multi-planar API.
94 the single-planar API, and the same value as returned by the driver
96 ``mem_offset`` field for the multi-planar API.
H A Dvidioc-expbuf.rst48 one. For the multi-planar API, applications set the ``plane`` field to
51 the single-planar API, applications must set ``plane`` to zero.
55 case of multi-planar API, every plane is exported separately using
137 - Index of the plane to be exported when using the multi-planar API.
H A Dpixfmt-intro.rst46 and are referred to as "multi-planar formats". For example, a
50 in the 2-planar version or with each component in its own buffer in the
51 3-planar case. Those sub-buffers are referred to as "*planes*".
H A Dmmap.rst41 :ref:`VIDIOC_QUERYBUF` ioctl. In the single-planar
45 multi-planar API, struct :c:type:`v4l2_buffer` contains an
48 multi-planar API, every plane of every buffer has to be mapped
56 Example: Mapping buffers in the single-planar API
126 Example: Mapping buffers in the multi-planar API
174 /* length in struct v4l2_buffer in multi-planar API stores the size
H A Dbuffer.rst11 the Streaming I/O methods. In the multi-planar API, the data is held in
18 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API,
253 - For the single-planar API and when ``memory`` is
261 - For the single-planar API and when ``memory`` is
267 - When using the multi-planar API, contains a userspace pointer to
281 single-planar API. This is set by the driver based on the calls to
284 multi-planar API the application sets this to the number of
396 - Buffer of a single-planar video capture stream, see
400 - Buffer of a multi-planar video capture stream, see
404 - Buffer of a single-planar video output stream, see
[all …]
H A Dpixfmt-v4l2-mplane.rst4 Multi-planar format structures
8 and layout for each of the planes in a multi-planar format. The
74 - The pixel format. Both single- and multi-planar four character
H A Dfunc-munmap.rst36 single-planar API and in the struct
38 multi-planar API.
H A Dpixfmt-reserved.rst181 YUV420 planar in blocks of 256 pixels.
203 - Two-planar format used by Samsung S5C73MX cameras. The first plane
236 - Compressed two-planar YVU420 format used by Mediatek MT8173, MT8192,
H A Dv4l2.rst71 - Designed and documented the multi-planar API.
222 latest changes. Added the :ref:`multi-planar API <planar-apis>`.
H A Dpixfmt-v4l2.rst4 Single-planar format structure
30 planar formats the ``width`` and ``height`` applies to the largest
80 When the image format is planar the ``bytesperline`` value applies
H A Dvidioc-create-bufs.rst53 ``type`` field the requested buffer size (for single-planar) or plane
54 sizes (for multi-planar formats) will be used for the allocated buffers.
H A Dvidioc-g-fmt.rst111 :ref:`multi-planar version of the API <planar-apis>`.
/linux/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn20/
H A Ddcn20_mmhubbub.c85 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
88 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
91 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub2_config_mcif_buf()
94 /* right eye offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
97 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
100 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
103 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub2_config_mcif_buf()
106 /* right eye offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
109 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
112 /* right eye sub-buffer address offset for packing mode or Luma in planar mode */ in mmhubbub2_config_mcif_buf()
[all …]
/linux/Documentation/fb/
H A Dpxafb.rst110 bpp = 24 -- for YUV444 planar
112 bpp = 16 -- for YUV422 planar (1 pixel = 1 Y + 1/2 Cb + 1/2 Cr)
114 bpp = 12 -- for YUV420 planar (1 pixel = 1 Y + 1/4 Cb + 1/4 Cr)
122 for YUV planar modes, it is a requirement for the component
151 3. for YUV planar formats, these are actually not supported within the
167 - 2 - YUV444 PLANAR
168 - 3 - YUV422 PLANAR
169 - 4 - YUR420 PLANAR
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_mmhubbub.c109 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf()
113 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
117 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf()
121 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
125 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf()
129 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
133 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub3_config_mcif_buf()
137 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub3_config_mcif_buf()
/linux/drivers/gpu/drm/amd/display/dc/mmhubbub/dcn32/
H A Ddcn32_mmhubbub.c109 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf()
113 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
117 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf()
121 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
125 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf()
129 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
133 /* buffer address for packing mode or Luma in planar mode */ in mmhubbub32_config_mcif_buf()
137 /* buffer address for Chroma in planar mode (unused in packing mode) */ in mmhubbub32_config_mcif_buf()
/linux/drivers/staging/media/imx/
H A Dimx-media-utils.c37 .planar = true,
42 .planar = true,
47 .planar = true,
52 .planar = true,
57 .planar = true,
551 if (cc->planar) in imx_media_mbus_fmt_to_pix_fmt()
565 pix->sizeimage = cc->planar ? ((stride * pix->height * cc->bpp) >> 3) : in imx_media_mbus_fmt_to_pix_fmt()
/linux/include/media/drv-intf/
H A Dsaa7146_vv.h199 #define RGB08_COMPOSED 0x0217 /* composed is used in the sense of "not-planar" */
200 /* this means: planar?=0, yuv2rgb-conversation-mode=2, dither=yes(=1), format-mode = 7 */
209 /* this means: planar?=1, yuv2rgb-conversion-mode=0, dither=no(=0), format-mode = b */
/linux/drivers/gpu/drm/kmb/
H A Dkmb_plane.c48 /* Video layer ( 0 & 1) formats, packed and planar formats are supported */
60 /*planar formats */
170 /* planar formats */ in get_pixel_format()
409 /* Program Cb/Cr for planar formats */ in kmb_plane_atomic_update()
463 /* Enable CSC if input is planar and output is RGB */ in kmb_plane_atomic_update()
/linux/drivers/media/platform/sunxi/sun6i-csi/
H A Dsun6i_csi_reg.h116 /* YUV Planar */
122 /* YUV Semi-planar */

1234