Home
last modified time | relevance | path

Searched +full:bits +full:- +full:per +full:- +full:pixel (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux/Documentation/fb/
H A Dapi.rst9 ---------------
12 with frame buffer devices. In-kernel APIs between device drivers and the frame
22 ---------------
36 - FB_CAP_FOURCC
44 --------------------
46 Pixels are stored in memory in hardware-dependent formats. Applications need
47 to be aware of the pixel storage format in order to write image data to the
58 - FB_TYPE_PACKED_PIXELS
60 Macropixels are stored contiguously in a single plane. If the number of bits
61 per macropixel is not a multiple of 8, whether macropixels are padded to the
[all …]
H A Dsa1100fb.rst2 sa1100fb - SA-1100 LCD graphic framebuffer driver
5 This is a driver for a graphic framebuffer for the SA-1100 LCD
16 controller. The bits per pixel (bpp) value should be 4, 8, 12, or
17 16. LCCR values are display-specific and should be computed as
18 documented in the SA-1100 Developer's Manual, Section 11.7. Dual-panel
31 bpp:<value> Configure for <value> bits per pixel
/linux/Documentation/userspace-api/media/v4l/
H A Dfourcc.rst1 .. SPDX-License-Identifier: GPL-2.0
3 Guidelines for Video4Linux pixel format 4CCs
8 the pixel format, compression and colour space. The interpretation of the
14 ---------
18 - B: raw bayer, uncompressed
19 - b: raw bayer, DPCM compressed
20 - a: A-law compressed
21 - u: u-law compressed
23 2nd character: pixel order
25 - B: BGGR
[all …]
H A Dpixfmt-cnf4.rst1 .. -*- coding: utf-8; mode: rst -*-
3 .. _V4L2-PIX-FMT-CNF4:
9 Depth sensor confidence information as a 4 bits per pixel packed array
15 confidence information in range 0-15 with 0 indicating that the sensor was
20 Bits 0-3 of byte n refer to confidence value of depth pixel 2*n,
21 bits 4-7 to confidence value of depth pixel 2*n+1.
23 **Bit-packed representation.**
25 .. flat-table::
26 :header-rows: 0
27 :stub-columns: 0
[all …]
H A Dpixfmt-packed-yuv.rst1 .. 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
18 denotes bits of the alpha component (if supported by the format), and 'X'
19 denotes padding bits.
28 The next table lists the packed YUV 4:4:4 formats with less than 8 bits per
30 seen in a 16-bit word, which is then stored in memory in little endian byte
31 order, and on the number of bits for each component. For instance the YUV565
32 format stores a pixel in a 16-bit word [15:0] laid out at as [Y'\ :sub:`4-0`
[all …]
H A Dpixfmt-rgb.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _pixfmt-rgb:
9 These formats encode each pixel as a triplet of RGB values. They are packed
10 formats, meaning that the RGB values for one pixel are stored consecutively in
11 memory and each pixel consumes an integer number of bytes. When the number of
12 bits required to store a pixel is not aligned to a byte boundary, the data is
13 padded with additional bits to fill the remaining byte.
15 The formats differ by the number of bits per RGB component (typically but not
17 presence of an alpha component or additional padding bits.
19 The usage and value of the alpha bits in formats that support them (named ARGB
[all …]
H A Dpixfmt-srggb10p.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-SRGGB10P:
4 .. _v4l2-pix-fmt-sbggr10p:
5 .. _v4l2-pix-fmt-sgbrg10p:
6 .. _v4l2-pix-fmt-sgrbg10p:
16 10-bit packed Bayer formats
22 These four pixel formats are packed raw sRGB / Bayer formats with 10
23 bits per sample. Every four consecutive samples are packed into 5
24 bytes. Each of the first 4 bytes contain the 8 high order bits
26 bits of each pixel, in the same order.
[all …]
H A Dpixfmt-y8i.rst1 .. 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
18 word. E.g. the R200 RealSense camera stores pixel from the left sensor
19 in lower and from the right sensor in the higher 8 bits.
27 .. flat-table::
28 :header-rows: 0
29 :stub-columns: 0
[all …]
H A Dpixfmt-y12i.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _V4L2-PIX-FMT-Y12I:
9 Interleaved grey-scale image, e.g. from a stereo-pair
15 This is a grey-scale image with a depth of 12 bits per pixel, but with
16 pixels from 2 sources interleaved and bit-packed. Each pixel is stored
17 in a 24-bit word in the little-endian order. On a little-endian machine
20 .. code-block:: c
26 **Bit-packed representation.**
28 interleaved pixel.
30 .. flat-table::
[all …]
/linux/Documentation/devicetree/bindings/display/
H A Datmel,lcdc-display.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/atmel,lcdc-display.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nicolas Ferre <nicolas.ferre@microchip.com>
11 - Dharma Balasubiramani <dharma.b@microchip.com>
16 input buffer per layer that fetches pixels through the single bus host
17 interface and a look-up table to allow palletized display configurations. The
18 LCDC is programmable on a per layer basis, and supports different LCD
19 resolutions, window sizes, image formats and pixel depths.
[all …]
H A Dcirrus,clps711x-fb.txt4 - compatible: Shall contain "cirrus,ep7209-fb".
5 - reg : Physical base address and length of the controller's registers +
7 - clocks : phandle + clock specifier pair of the FB reference clock.
8 - display : phandle to a display node as described in
9 Documentation/devicetree/bindings/display/panel/display-timing.txt.
11 - bits-per-pixel: Bits per pixel.
12 - ac-prescale : LCD AC bias frequency. This frequency is the required
14 - cmap-invert : Invert the color levels (Optional).
17 - lcd-supply: Regulator for LCD supply voltage.
21 compatible = "cirrus,ep7312-fb", "cirrus,ep7209-fb";
[all …]
H A Dwm,wm8505-fb.txt2 -----------------------------------------------------
5 - compatible : "wm,wm8505-fb"
6 - reg : Should contain 1 register ranges(address and length)
7 - bits-per-pixel : bit depth of framebuffer (16 or 32)
10 - display-timings: see display-timing.txt for information
15 compatible = "wm,wm8505-fb";
17 bits-per-pixel = <16>;
19 display-timings {
20 native-mode = <&timing0>;
22 clock-frequency = <0>; /* unused but required */
[all …]
H A Dvia,vt8500-fb.txt2 -----------------------------------------------------
5 - compatible : "via,vt8500-fb"
6 - reg : Should contain 1 register ranges(address and length)
7 - interrupts : framebuffer controller interrupt
8 - bits-per-pixel : bit depth of framebuffer (16 or 32)
11 - display-timings: see display-timing.txt for information
16 compatible = "via,vt8500-fb";
19 bits-per-pixel = <16>;
21 display-timings {
22 native-mode = <&timing0>;
[all …]
/linux/include/drm/display/
H A Ddrm_dsc.h1 /* SPDX-License-Identifier: MIT
45 * struct drm_dsc_rc_range_parameters - DSC Rate Control range parameters
61 * Bits/group offset to apply to target for this group
67 * struct drm_dsc_config - Parameters required to configure DSC
75 * Bits per component for previous reconstructed line buffer
79 * @bits_per_component: Bits per component to code (8/10/12)
84 * Flag to indicate if RGB - YCoCg conversion is needed
89 * @slice_count: Number fo slices per line used by the DSC encoder
114 * Offset to bits/group used by RC to determine QP adjustment
119 * Offset to bits/group used by RC to determine QP adjustment
[all …]
/linux/drivers/media/platform/qcom/camss/
H A Dcamss-format.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * camss-format.h
5 * Qualcomm MSM Camera Subsystem - Format helpers
23 * struct fract - Represents a fraction
33 * struct camss_format_info - ISP media bus format information
35 * @mbus_bpp: Media bus bits per pixel
36 * @pixelformat: V4L2 pixel format FCC identifier
40 * @bpp: Bits per pixel when stored in memory (for each plane)
H A Dcamss-format.c1 // SPDX-License-Identifier: GPL-2.0
3 * camss-format.c
5 * Qualcomm MSM Camera Subsystem - Format helpers
13 #include "camss-format.h"
16 * camss_format_get_bpp - Map media bus format to bits per pixel
21 * Return number of bits per pixel
37 * camss_format_find_code - Find a format code in an array
66 * camss_format_find_format - Find a format in an array
68 * @pixelformat: V4L2 pixel format FCC identifier
90 return -EINVAL; in camss_format_find_format()
/linux/Documentation/userspace-api/
H A Ddma-buf-alloc-exchange.rst1 .. SPDX-License-Identifier: GPL-2.0
2 .. Copyright 2021-2023 Collabora Ltd.
5 Exchanging pixel buffers
9 support for sharing pixel-buffer allocations between processes, devices, and
12 approach this sharing for two-dimensional image data.
25 Conceptually a two-dimensional array of pixels. The pixels may be stored
26 in one or more memory buffers. Has width and height in pixels, pixel
30 A span along a single y-axis value, e.g. from co-ordinates (0,100) to
37 A span along a single x-axis value, e.g. from co-ordinates (100,0) to
41 A piece of memory for storing (parts of) pixel data. Has stride and size
[all …]
/linux/include/uapi/drm/
H A Ddrm_fourcc.h36 * In the DRM subsystem, framebuffer pixel formats are described using the
39 * further describe the buffer's format - for example tiling or compression.
42 * --------
[all...]
/linux/Documentation/devicetree/bindings/display/bridge/
H A Dfsl,imx8qxp-pixel-link.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/bridge/fsl,imx8qxp-pixel-link.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale i.MX8qm/qxp Display Pixel Link
10 - Liu Ying <victor.liu@nxp.com>
13 The Freescale i.MX8qm/qxp Display Pixel Link(DPL) forms a standard
14 asynchronous linkage between pixel sources(display controller or
15 camera module) and pixel consumers(imaging or displays).
16 It consists of two distinct functions, a pixel transfer function and a
[all …]
/linux/drivers/video/fbdev/
H A Dpxa3xx-regs.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * LCD Controller Registers and Bits Definitions
72 #define LCCR0_DPD (1 << 9) /* Double Pixel Data (monochrome) */
73 #define LCCR0_4PixMono (LCCR0_DPD*0) /* 4-Pixel/clock Monochrome display */
74 #define LCCR0_8PixMono (LCCR0_DPD*1) /* 8-Pixel/clock Monochrome display */
90 #define LCCR1_PPL Fld (10, 0) /* Pixels Per Line - 1 */
91 #define LCCR1_DisWdth(Pixel) (((Pixel) - 1) << FShft (LCCR1_PPL)) argument
94 #define LCCR1_HorSnchWdth(Tpix) (((Tpix) - 1) << FShft (LCCR1_HSW))
96 #define LCCR1_ELW Fld (8, 16) /* End-of-Line pixel clock Wait - 1 */
97 #define LCCR1_EndLnDel(Tpix) (((Tpix) - 1) << FShft (LCCR1_ELW))
[all …]
/linux/drivers/gpu/drm/tilcdc/
H A Dtilcdc_drv.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 /* Defaulting to pixel clock defined on AM335x */
54 * Pixel Clock will be restricted to some value as
59 * Max allowable width is limited on a per device basis
64 /* Supported pixel formats */
90 /* Sub-module for display. Since we don't know at compile time what panels
126 /* AC Bias Pin Transitions per Interrupt */
132 /* Bits per pixel */
141 /* Invert pixel clock */
150 /* Raster Data Order Select: 1=Most-to-least 0=Least-to-most */
/linux/include/drm/
H A Ddrm_fourcc.h30 * DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have
59 * struct drm_format_info - information about a DRM format
68 * Color depth (number of bits per pixel excluding padding bits),
81 * Number of bytes per pixel (per plane), this is aliased with
84 * describing the pixel format.
91 * Number of bytes per block (per plane), where blocks are
96 * formats for which the memory needed for a single pixel is not
104 * block and non-block formats in the same way.
106 * For formats that are intended to be used only with non-linear
142 /** @is_color_indexed: Is it a color-indexed format? */
[all …]
/linux/drivers/media/platform/ti/am437x/
H A Dam437x-vpfe.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2013 - 2014 Texas Instruments, Inc.
12 #include <linux/am437x-vpfe.h>
20 #include <media/v4l2-dev.h>
21 #include <media/v4l2-device.h>
22 #include <media/v4l2-ioctl.h>
23 #include <media/videobuf2-v4l2.h>
24 #include <media/videobuf2-dma-contig.h>
26 #include "am437x-vpfe_regs.h"
36 /* BT656 - 8 bit */
[all …]
/linux/drivers/video/fbdev/core/
H A Dfb_fillrect.h1 /* SPDX-License-Identifier: GPL-2.0-only
3 * Generic bit area filler and twister engine for packed pixel framebuffers
9 * Copyright (C) 2000 James Simmons (jsimmons@linux-fbdev.org)
20 * reverse pixel order in a byte (<8 BPP), word length of 32/64 bits,
21 * bits per pixel from 1 to the word length. Handles line lengths at byte
24 * Optimized path for power of two bits per pixel modes.
28 /* inverts bits at a given offset */
44 return pattern->pixels; in fb_pattern_get()
50 return swab_long(pattern->pixels); in fb_pattern_get_reverse()
62 pattern->pixels = fb_left(pattern->pixels, pattern->left) in fb_pattern_rotate()
[all …]
/linux/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2015-2016 MediaTek Inc.
12 #include <media/v4l2-ctrls.h>
13 #include <media/v4l2-device.h>
14 #include <media/v4l2-mem2mem.h>
15 #include <media/videobuf2-core.h>
16 #include <media/videobuf2-dma-contig.h>
22 #define MTK_MDP_MODULE_NAME "mtk-mdp"
34 * struct mtk_mdp_pix_align - alignment of image
48 * struct mtk_mdp_fmt - the driver's internal color format data
[all …]

12345678910