| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 14 These are all packed-pixel formats, meaning all the data for a pixel lie 26 .. flat-table:: RGB Image Formats 27 :header-rows: 2 28 :stub-columns: 0 30 * - Identifier 31 - Code 32 - :cspan:`7` Byte 0 in memory 33 - :cspan:`7` Byte 1 [all …]
|
| D | subdev-formats.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-mbus-format: 12 .. flat-table:: struct v4l2_mbus_framefmt 13 :header-rows: 0 14 :stub-columns: 0 17 * - __u32 18 - ``width`` 19 - Image width in pixels. 20 * - __u32 21 - ``height`` [all …]
|
| D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-yuv: 22 .. _packed-yuv-formats: 26 .. flat-table:: Packed YUV Image Formats 27 :header-rows: 2 28 :stub-columns: 0 30 * - Identifier 31 - Code 33 - :cspan:`7` Byte 0 in memory 35 - :cspan:`7` Byte 1 [all …]
|
| D | pixfmt-srggb10-ipu3.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-pix-fmt-ipu3-sbggr10: 4 .. _v4l2-pix-fmt-ipu3-sgbrg10: 5 .. _v4l2-pix-fmt-ipu3-sgrbg10: 6 .. _v4l2-pix-fmt-ipu3-srggb10: 12 10-bit Bayer formats 22 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`. 30 .. flat-table:: 32 * - start + 0: 33 - B\ :sub:`0000low` [all …]
|
| D | pixfmt-nv24.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-NV24: 4 .. _V4L2-PIX-FMT-NV42: 19 These are two-plane versions of the YUV 4:4:4 format. The three 20 components are separated into two sub-images or planes. The Y plane is 36 .. flat-table:: 37 :header-rows: 0 38 :stub-columns: 0 40 * - start + 0: 41 - Y'\ :sub:`00` [all …]
|
| D | pixfmt-y41p.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y41P: 23 :ref:`V4L2_PIX_FMT_YUV411P <V4L2-PIX-FMT-YUV411P>`. Y41P is derived 33 .. flat-table:: 34 :header-rows: 0 35 :stub-columns: 0 37 * - start + 0: 38 - Cb\ :sub:`00` 39 - Y'\ :sub:`00` 40 - Cr\ :sub:`00` [all …]
|
| D | pixfmt-yuv444m.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-YUV444M: 4 .. _v4l2-pix-fmt-yvu444m: 19 This is a multi-planar format, as opposed to a packed format. The three 20 components are separated into three sub-images or planes. 34 used only in drivers and applications that support the multi-planar API, 35 described in :ref:`planar-apis`. 41 .. flat-table:: 42 :header-rows: 0 43 :stub-columns: 0 [all …]
|
| D | pixfmt-packed-hsv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-hsv: 13 depends on the hsv-encoding used, see :ref:`colorspaces`. 29 .. _packed-hsv-formats: 31 .. flat-table:: Packed HSV Image Formats 32 :header-rows: 2 33 :stub-columns: 0 35 * - Identifier 36 - Code 37 - [all …]
|
| D | pixfmt-y10.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y10: 10 Grey-scale image 16 This is a grey-scale image with a depth of 10 bits per pixel. Pixels are 17 stored in 16-bit words with unused high bits padded with 0. The least 18 significant byte is stored at lower memory addresses (little-endian). 26 .. flat-table:: 27 :header-rows: 0 28 :stub-columns: 0 30 * - start + 0: [all …]
|
| D | pixfmt-y12.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y12: 10 Grey-scale image 16 This is a grey-scale image with a depth of 12 bits per pixel. Pixels are 17 stored in 16-bit words with unused high bits padded with 0. The least 18 significant byte is stored at lower memory addresses (little-endian). 26 .. flat-table:: 27 :header-rows: 0 28 :stub-columns: 0 30 * - start + 0: [all …]
|
| D | pixfmt-y14.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y14: 10 Grey-scale image 16 This is a grey-scale image with a depth of 14 bits per pixel. Pixels are 17 stored in 16-bit words with unused high bits padded with 0. The least 18 significant byte is stored at lower memory addresses (little-endian). 26 .. flat-table:: 27 :header-rows: 0 28 :stub-columns: 0 30 * - start + 0: [all …]
|
| D | pixfmt-y8i.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y8I: 10 Interleaved grey-scale image, e.g. from a stereo-pair 16 This is a grey-scale image with a depth of 8 bits per pixel, but with 17 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 31 * - start + 0: 32 - Y'\ :sub:`00left` [all …]
|
| D | pixfmt-z16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Z16: 10 16-bit depth data with distance values at each pixel 16 This is a 16-bit format, representing depth data. Each pixel is a 19 is stored in a 16-bit word in the little endian byte order. 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 31 * - start + 0: 32 - Z\ :sub:`00low` [all …]
|
| D | pixfmt-y16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y16: 10 Grey-scale image 16 This is a grey-scale image with a depth of 16 bits per pixel. The least 17 significant byte is stored at lower memory addresses (little-endian). 30 .. flat-table:: 31 :header-rows: 0 32 :stub-columns: 0 34 * - start + 0: 35 - Y'\ :sub:`00low` [all …]
|
| /kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/ |
| D | subdev-formats.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-mbus-format: 14 .. flat-table:: struct v4l2_mbus_framefmt 15 :header-rows: 0 16 :stub-columns: 0 19 * - __u32 20 - ``width`` 21 - Image width in pixels. 22 * - __u32 23 - ``height`` [all …]
|
| D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _pixfmt-rgb: 22 (including capture queues of mem-to-mem devices) fill the alpha component in 25 but can set the alpha bit to a user-configurable value, the 26 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 31 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 44 - In all the tables that follow, bit 7 is the most significant bit in a byte. 45 - 'r', 'g' and 'b' denote bits of the red, green and blue components 54 based on the order of the RGB components as seen in a 8-, 16- or 32-bit word, 57 for each component. For instance, the RGB565 format stores a pixel in a 16-bit [all …]
|
| D | pixfmt-yuv-planar.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. planar-yuv: 12 - 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 26 and applications that support the multi-planar API, described in 27 :ref:`planar-apis`. Unless explicitly documented as supporting non-contiguous 31 Semi-Planar YUV Formats 46 For non-contiguous formats, no constraints are enforced by the format on the 57 .. flat-table:: Overview of Semi-Planar YUV Formats 58 :header-rows: 1 [all …]
|
| D | pixfmt-srggb10-ipu3.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _v4l2-pix-fmt-ipu3-sbggr10: 4 .. _v4l2-pix-fmt-ipu3-sgbrg10: 5 .. _v4l2-pix-fmt-ipu3-sgrbg10: 6 .. _v4l2-pix-fmt-ipu3-srggb10: 13 10-bit Bayer formats 24 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`. 36 .. flat-table:: 38 * - start + 0: 39 - B\ :sub:`0000low` [all …]
|
| D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-yuv: 15 - In all the tables that follow, bit 7 is the most significant bit in a byte. 16 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as 30 seen in a 16-bit word, which is then stored in memory in little endian byte 32 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0` 33 Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, 34 [Cb\ :sub:`2-0` Cr\ :sub:`4-0`] followed by [Y'\ :sub:`4-0` Cb\ :sub:`5-3`]. 44 .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc) 45 :header-rows: 2 [all …]
|
| D | pixfmt-packed-hsv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _packed-hsv: 13 depends on the hsv-encoding used, see :ref:`colorspaces`. 29 .. _packed-hsv-formats: 31 .. flat-table:: Packed HSV Image Formats 32 :header-rows: 2 33 :stub-columns: 0 35 * - Identifier 36 - Code 37 - [all …]
|
| D | pixfmt-y8i.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-Y8I: 10 Interleaved grey-scale image, e.g. from a stereo-pair 16 This is a grey-scale image with a depth of 8 bits per pixel, but with 17 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 31 * - start + 0: 32 - Y'\ :sub:`00left` [all …]
|
| /kernel/linux/linux-6.6/sound/soc/uniphier/ |
| D | aio-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 17 #include "aio-reg.h" 22 return wr - rd; in rb_cnt() 24 return len - (rd - wr); in rb_cnt() 30 return wr - rd; in rb_cnt_to_end() 32 return len - rd; in rb_cnt_to_end() 38 return len - (wr - rd) - 8; in rb_space() 40 return rd - wr - 8; in rb_space() 46 return rd - wr - 8; in rb_space_to_end() [all …]
|
| D | aio-compress.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2017-2018 Socionext Inc. 9 #include <linux/dma-mapping.h> 26 struct snd_compr *compr = rtd->compr; in uniphier_aio_comprdma_new() 27 struct device *dev = compr->card->dev; in uniphier_aio_comprdma_new() 29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() local 37 sub->compr_area = kzalloc(size, GFP_KERNEL); in uniphier_aio_comprdma_new() 38 if (!sub->compr_area) in uniphier_aio_comprdma_new() 39 return -ENOMEM; in uniphier_aio_comprdma_new() 41 if (sub->swm->dir == PORT_DIR_OUTPUT) in uniphier_aio_comprdma_new() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/uniphier/ |
| D | aio-core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 17 #include "aio-reg.h" 22 return wr - rd; in rb_cnt() 24 return len - (rd - wr); in rb_cnt() 30 return wr - rd; in rb_cnt_to_end() 32 return len - rd; in rb_cnt_to_end() 38 return len - (wr - rd) - 8; in rb_space() 40 return rd - wr - 8; in rb_space() 46 return rd - wr - 8; in rb_space_to_end() [all …]
|
| D | aio-compress.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2017-2018 Socionext Inc. 9 #include <linux/dma-mapping.h> 26 struct snd_compr *compr = rtd->compr; in uniphier_aio_comprdma_new() 27 struct device *dev = compr->card->dev; in uniphier_aio_comprdma_new() 29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() local 37 sub->compr_area = kzalloc(size, GFP_KERNEL); in uniphier_aio_comprdma_new() 38 if (!sub->compr_area) in uniphier_aio_comprdma_new() 39 return -ENOMEM; in uniphier_aio_comprdma_new() 41 if (sub->swm->dir == PORT_DIR_OUTPUT) in uniphier_aio_comprdma_new() [all …]
|