| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-rgb.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _pixfmt-rgb: 23 (including capture queues of mem-to-mem devices) fill the alpha component in 26 but can set the alpha bit to a user-configurable value, the 27 :ref:`V4L2_CID_ALPHA_COMPONENT <v4l2-alpha-component>` control is used to 32 :ref:`Output <output>` devices (including output queues of mem-to-mem devices 45 - In all the tables that follow, bit 7 is the most significant bit in a byte. 46 - 'r', 'g' and 'b' denote bits of the red, green and blue components 55 based on the order of the RGB components as seen in a 8-, 16- or 32-bit word, 58 for each component. For instance, the RGB565 format stores a pixel in a 16-bit [all …]
|
| H A D | pixfmt-yuv-planar.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. planar-yuv: 13 - Semi-planar formats use two planes. The first plane is the luma plane and 17 - Fully planar formats use three planes to store the Y, Cb and Cr components 27 and applications that support the multi-planar API, described in 28 :ref:`planar-apis`. Unless explicitly documented as supporting non-contiguous 32 Semi-Planar YUV Formats 47 For non-contiguous formats, no constraints are enforced by the format on the 58 .. flat-table:: Overview of Semi-Planar YUV Formats 59 :header-rows: 1 [all …]
|
| H A D | pixfmt-srggb10-ipu3.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _v4l2-pix-fmt-ipu3-sbggr10: 5 .. _v4l2-pix-fmt-ipu3-sgbrg10: 6 .. _v4l2-pix-fmt-ipu3-sgrbg10: 7 .. _v4l2-pix-fmt-ipu3-srggb10: 14 10-bit Bayer formats 25 In other respects this format is similar to :ref:`V4L2-PIX-FMT-SRGGB10`. 37 .. flat-table:: 39 * - start + 0: 40 - B\ :sub:`0000low` [all …]
|
| H A D | pixfmt-packed-yuv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _packed-yuv: 16 - In all the tables that follow, bit 7 is the most significant bit in a byte. 17 - 'Y', 'Cb' and 'Cr' denote bits of the luma, blue chroma (also known as 31 seen in a 16-bit word, which is then stored in memory in little endian byte 33 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0` 34 Cb\ :sub:`5-0` Cr\ :sub:`4-0`], and stored in memory in two bytes, 35 [Cb\ :sub:`2-0` Cr\ :sub:`4-0`] followed by [Y'\ :sub:`4-0` Cb\ :sub:`5-3`]. 45 .. flat-table:: Packed YUV 4:4:4 Image Formats (less than 8bpc) 46 :header-rows: 2 [all …]
|
| H A D | pixfmt-packed-hsv.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _packed-hsv: 14 depends on the hsv-encoding used, see :ref:`colorspaces`. 30 .. _packed-hsv-formats: 32 .. flat-table:: Packed HSV Image Formats 33 :header-rows: 2 34 :stub-columns: 0 36 * - Identifier 37 - Code 38 - [all …]
|
| H A D | pixfmt-y16i.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-Y16I: 10 Interleaved grey-scale image, e.g. from a stereo-pair 16 This is a grey-scale image with a depth of 16 bits per pixel, but with pixels 17 from 2 sources interleaved and unpacked. Each pixel is stored in a 16-bit word 18 in the little-endian order. The first pixel is from the left source. 21 Left/Right pixels 16-bit unpacked - 16-bit for each interleaved pixel. 23 .. flat-table:: 24 :header-rows: 0 25 :stub-columns: 0 [all …]
|
| H A D | pixfmt-yuv-luma.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _yuv-luma-only: 7 Luma-Only Formats 15 - In all the tables that follow, bit 7 is the most significant bit in a byte. 16 - Formats are described with the minimum number of pixels needed to create a 17 byte-aligned repeating pattern. `...` indicates repetition of the pattern. 18 - Y'\ :sub:`x`\ [9:2] denotes bits 9 to 2 of the Y' value for pixel at column 20 - `0` denotes padding bits set to 0. 29 .. flat-table:: Luma-Only Image Formats 30 :header-rows: 1 [all …]
|
| H A D | pixfmt-y8i.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-Y8I: 11 Interleaved grey-scale image, e.g. from a stereo-pair 17 This is a grey-scale image with a depth of 8 bits per pixel, but with 18 pixels from 2 sources interleaved. Each pixel is stored in a 16-bit 28 .. flat-table:: 29 :header-rows: 0 30 :stub-columns: 0 32 * - start + 0: 33 - Y'\ :sub:`00left` [all …]
|
| H A D | pixfmt-z16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-Z16: 11 16-bit depth data with distance values at each pixel 17 This is a 16-bit format, representing depth data. Each pixel is a 20 is stored in a 16-bit word in the little endian byte order. 28 .. flat-table:: 29 :header-rows: 0 30 :stub-columns: 0 32 * - start + 0: 33 - Z\ :sub:`00low` [all …]
|
| H A D | pixfmt-tch-tu16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-TCH-FMT-TU16: 12 16-bit unsigned little endian raw touch data 18 This format represents unsigned 16-bit data from a touch controller. 27 .. flat-table:: 28 :header-rows: 0 29 :stub-columns: 0 32 * - start + 0: 33 - R'\ :sub:`00low` 34 - R'\ :sub:`00high` [all …]
|
| H A D | pixfmt-tch-td16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-TCH-FMT-DELTA-TD16: 12 16-bit signed little endian Touch Delta 20 Delta values may range from -32768 to 32767. Typically the values will vary 28 .. flat-table:: 29 :header-rows: 0 30 :stub-columns: 0 33 * - start + 0: 34 - D'\ :sub:`00low` 35 - D'\ :sub:`00high` [all …]
|
| H A D | pixfmt-m420.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-M420: 11 YUV 4:2:0. Hybrid plane line-interleaved layout. 24 Cb\ :sub:`0`/Cr\ :sub:`0` belongs to Y'\ :sub:`00`, Y'\ :sub:`01`, 25 Y'\ :sub:`10`, Y'\ :sub:`11`. 34 .. flat-table:: 35 :header-rows: 0 36 :stub-columns: 0 38 * - start + 0: 39 - Y'\ :sub:`00` [all …]
|
| H A D | pixfmt-srggb10.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-SRGGB10: 5 .. _v4l2-pix-fmt-sbggr10: 6 .. _v4l2-pix-fmt-sgbrg10: 7 .. _v4l2-pix-fmt-sgrbg10: 17 10-bit Bayer formats expanded to 16 bits 24 sample. Each sample is stored in a 16-bit word, with 6 unused 25 high bits filled with zeros. Each n-pixel row contains n/2 green samples and 38 .. flat-table:: 39 :header-rows: 0 [all …]
|
| H A D | pixfmt-srggb12.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-SRGGB12: 5 .. _v4l2-pix-fmt-sbggr12: 6 .. _v4l2-pix-fmt-sgbrg12: 7 .. _v4l2-pix-fmt-sgrbg12: 18 12-bit Bayer formats expanded to 16 bits 25 colour. Each colour component is stored in a 16-bit word, with 4 unused 26 high bits filled with zeros. Each n-pixel row contains n/2 green samples 39 .. flat-table:: 40 :header-rows: 0 [all …]
|
| H A D | pixfmt-srggb16.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-SRGGB16: 5 .. _v4l2-pix-fmt-sbggr16: 6 .. _v4l2-pix-fmt-sgbrg16: 7 .. _v4l2-pix-fmt-sgrbg16: 16 16-bit Bayer formats 24 sample. Each sample is stored in a 16-bit word. Each n-pixel row contains 33 .. flat-table:: 34 :header-rows: 0 35 :stub-columns: 0 [all …]
|
| H A D | pixfmt-srggb14p.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-SRGGB14P: 5 .. _v4l2-pix-fmt-sbggr14p: 6 .. _v4l2-pix-fmt-sgbrg14p: 7 .. _v4l2-pix-fmt-sgrbg14p: 18 14-bit packed Bayer formats 30 Each n-pixel row contains n/2 green samples and n/2 blue or red samples, 31 with alternating green-red and green-blue rows. They are conventionally 46 .. flat-table:: 47 :header-rows: 0 [all …]
|
| H A D | pixfmt-srggb14.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-SRGGB14: 5 .. _v4l2-pix-fmt-sbggr14: 6 .. _v4l2-pix-fmt-sgbrg14: 7 .. _v4l2-pix-fmt-sgrbg14: 16 14-bit Bayer formats expanded to 16 bits 24 colour. Each sample is stored in a 16-bit word, with two unused high 25 bits filled with zeros. Each n-pixel row contains n/2 green samples 37 .. flat-table:: 38 :header-rows: 0 [all …]
|
| H A D | pixfmt-srggb12p.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 .. _V4L2-PIX-FMT-SRGGB12P: 5 .. _v4l2-pix-fmt-sbggr12p: 6 .. _v4l2-pix-fmt-sgbrg12p: 7 .. _v4l2-pix-fmt-sgrbg12p: 14 12-bit packed Bayer formats 15 --------------------------- 27 Each n-pixel row contains n/2 green samples and n/2 blue or red 28 samples, with alternating green-red and green-blue rows. They are 38 .. flat-table:: [all …]
|
| /linux/sound/soc/uniphier/ |
| H A D | aio-dma.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (c) 2016-2018 Socionext Inc. 7 #include <linux/dma-mapping.h> 28 static void aiodma_pcm_irq(struct uniphier_aio_sub *sub) in aiodma_pcm_irq() argument 30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() 31 int bytes = runtime->period_size * in aiodma_pcm_irq() 32 runtime->channels * samples_to_bytes(runtime, 1); in aiodma_pcm_irq() 35 spin_lock(&sub->lock); in aiodma_pcm_irq() 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 37 sub->threshold + bytes); in aiodma_pcm_irq() [all …]
|
| /linux/net/tipc/ |
| H A D | subscr.c | 4 * Copyright (c) 2000-2017, Ericsson AB 5 * Copyright (c) 2005-2007, 2010-2013, Wind River Systems 6 * Copyright (c) 2020-2021, Red Hat Inc 42 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument 46 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_send_event() 47 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() 49 if (sub->inactive) in tipc_sub_send_event() 53 tipc_evt_write(evt, found_lower, p->sr.lower); in tipc_sub_send_event() 54 tipc_evt_write(evt, found_upper, p->sr.upper); in tipc_sub_send_event() 55 tipc_evt_write(evt, port.ref, p->sk.ref); in tipc_sub_send_event() [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/tigerlake/ |
| H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/rocketlake/ |
| H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelakex/ |
| H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/icelake/ |
| H A D | floating-point.json | 12 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 16 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 21 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 25 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 30 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 34 …-bit packed double precision floating-point instructions retired; some instructions will count twi… 39 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 43 …-bit packed single precision floating-point instructions retired; some instructions will count twi… 48 …-bit packed single and 256-bit packed double precision FP instructions retired; some instructions … 52 …-bit packed single precision and 256-bit packed double precision floating-point instructions reti… [all …]
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 bttv-gpio.c -- gpio sub drivers 6 sysfs-based sub driver interface for bttv 10 Copyright (C) 1996,97,98 Ralph Metzler (rjkm@thp.uni-koeln.de) 11 & Marcus Metzler (mocm@thp.uni-koeln.de) 12 (c) 1999-2003 Gerd Knorr <kraxel@bytesex.org> 28 /* ----------------------------------------------------------------------- */ 33 const struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); in bttv_sub_bus_match() local 34 int len = strlen(sub->wanted); in bttv_sub_bus_match() 36 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match() [all …]
|