/linux-6.12.1/Documentation/userspace-api/ |
D | dma-buf-alloc-exchange.rst | 1 .. 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 27 format and modifier (implicit or explicit). 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 [all …]
|
/linux-6.12.1/Documentation/fb/ |
D | api.rst | 9 --------------- 12 with frame buffer devices. In-kernel APIs between device drivers and the frame 22 --------------- 36 - FB_CAP_FOURCC 38 The driver supports the four character code (FOURCC) based format setting API. 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 48 frame buffer memory in the format expected by the hardware. 58 - FB_TYPE_PACKED_PIXELS [all …]
|
/linux-6.12.1/Documentation/gpu/amdgpu/display/ |
D | dcn-overview.rst | 10 .. kernel-figure:: dc_pipeline_overview.svg 19 * **Display Pipe and Plane (DPP)**: This block provides pre-blend pixel 20 processing such as color space conversion, linearization of pixel data, tone 24 multiple planes, using global or per-pixel alpha. 26 * **Output Pixel Processing (OPP)**: Process and format pixels to be sent to 38 * **Multi-Media HUB (MMHUBBUB)**: Memory controller interface for DMCUB and DWB 43 the Display Micro-Controller Unit - version B (DMCUB), which is handled via 66 1. Pixel data interface (red): Represents the pixel data flow; 79 that HUBP accesses a surface using a specific format read from memory, and our 84 ---------------------- [all …]
|
/linux-6.12.1/drivers/media/i2c/ccs/ |
D | ccs-data.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * CCS static data in-memory data structure definitions 5 * Copyright 2019--2020 Intel Corporation 16 * struct ccs_data_block_version - CCS static data version 32 * struct ccs_reg - CCS register value 33 * @addr: The 16-bit address of the register 44 * struct ccs_if_rule - CCS static data if rule 56 * struct ccs_frame_format_desc - CCS frame format descriptor 66 * struct ccs_frame_format_descs - A series of CCS frame format descriptors 80 * struct ccs_pdaf_readout - CCS PDAF data readout descriptor [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/include/linux/ |
D | atomisp_platform.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 #include <media/v4l2-subdev.h> 62 ATOMISP_INPUT_FORMAT_RAW_6, /* RAW data, 6 bits per pixel */ 63 ATOMISP_INPUT_FORMAT_RAW_7, /* RAW data, 7 bits per pixel */ 64 ATOMISP_INPUT_FORMAT_RAW_8, /* RAW data, 8 bits per pixel */ 65 ATOMISP_INPUT_FORMAT_RAW_10, /* RAW data, 10 bits per pixel */ 66 ATOMISP_INPUT_FORMAT_RAW_12, /* RAW data, 12 bits per pixel */ 67 ATOMISP_INPUT_FORMAT_RAW_14, /* RAW data, 14 bits per pixel */ 68 ATOMISP_INPUT_FORMAT_RAW_16, /* RAW data, 16 bits per pixel */ 71 /* CSI2-MIPI specific format: Generic short packet data. It is used to [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-enum-framesizes.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizes 30 that contains an index and pixel format and receives a frame width 37 and height in pixels) that the device supports for the given pixel 38 format. 40 The supported pixel formats can be obtained by using the 47 - **Discrete:** The function returns success if the given index value 48 (zero-based) is valid. The application should increase the index by 54 - **Step-wise:** The function returns success if the given index value 60 - **Continuous:** This is a special case of the step-wise type above. [all …]
|
D | pixfmt-intro.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 V4L2 drivers are not limited to these formats, however. Driver-specific 16 data can still be stored and retrieved in the proprietary format. For 17 example, a device may support a proprietary compressed format. 19 format, saving much disk space, and later use a codec to convert the 20 images to the X Windows screen format when the video is to be displayed. 23 specification would not be complete without well-defined standard 29 leftmost pixel of the topmost row. Following that is the pixel 31 pixels. Following the rightmost pixel of the row there may be zero or 32 more bytes of padding to guarantee that each row of pixel data has a [all …]
|
D | vidioc-g-fbuf.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters 46 The V4L2 API distinguishes destructive and non-destructive overlays. A 48 of a graphics card. A non-destructive overlay blends video images into a 50 always non-destructive. 81 .. flat-table:: struct v4l2_framebuffer 82 :header-rows: 0 83 :stub-columns: 0 86 * - __u32 87 - ``capability`` [all …]
|
D | pixfmt-compressed.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 8 .. _compressed-formats: 18 .. flat-table:: Compressed Image Formats 19 :header-rows: 1 20 :stub-columns: 0 23 * - Identifier 24 - Code 25 - Details 26 * .. _V4L2-PIX-FMT-JPEG: 28 - ``V4L2_PIX_FMT_JPEG`` [all …]
|
D | dev-stateless-decoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 Memory-to-memory Stateless Video Decoder Interface 18 This section describes how user-space ("the client") is expected to communicate 24 Stateless decoders make use of the :ref:`media-request-api`. A stateless 42 irrespective of the format currently set on the ``CAPTURE`` queue. 45 codec-specific capability controls (such as H.264 profiles) to the set 51 * The driver must return only the formats supported for the format currently 54 * Depending on the currently set ``OUTPUT`` format, the set of supported raw 55 formats may depend on the value of some codec-dependent controls. 62 resolutions for a given format, passing desired pixel format in [all …]
|
D | dev-encoder.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 6 Memory-to-Memory Stateful Video Encoder Interface 12 further post-processing by the client. 34 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be 35 used interchangeably with multi-planar API, unless specified otherwise, 47 Refer to :ref:`decoder-glossary`. 52 .. kernel-render:: DOT 65 qi -> Initialization [ label = "open()" ]; 67 Initialization -> Encoding [ label = "Both queues streaming" ]; 69 Encoding -> Drain [ label = "V4L2_ENC_CMD_STOP" ]; [all …]
|
D | fourcc.rst | 1 .. 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 …]
|
D | pixfmt-v4l2.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 4 Single-planar format structure 13 .. flat-table:: struct v4l2_pix_format 14 :header-rows: 0 15 :stub-columns: 0 18 * - __u32 19 - ``width`` 20 - Image width in pixels. 21 * - __u32 22 - ``height`` [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_fourcc.c | 4 * DRM core format related functions 34 * drm_mode_legacy_fb_format - compute drm fourcc code from legacy description 36 * @depth: bit depth per pixel 38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 109 * drm_driver_legacy_fb_format - compute drm fourcc code from legacy description 112 * @depth: bit depth per pixel 114 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 124 if (dev->mode_config.quirk_addfb_prefer_host_byte_order) { in drm_driver_legacy_fb_format() 135 if (dev->mode_config.quirk_addfb_prefer_xbgr_30bpp && in drm_driver_legacy_fb_format() 144 * Internal function to query information for a given format. See [all …]
|
/linux-6.12.1/include/drm/ |
D | drm_fourcc.h | 30 * DRM_FORMAT_MAX_PLANES - maximum number of planes a DRM format can have 39 * case the format can't be specified otherwise, so we don't end up 40 * with two values describing the same format. 60 * struct drm_format_info - information about a DRM format 63 /** @format: 4CC format identifier (DRM_FORMAT_*) */ 64 u32 format; member 69 * Color depth (number of bits per pixel excluding padding bits), 82 * Number of bytes per pixel (per plane), this is aliased with 85 * describing the pixel format. 97 * formats for which the memory needed for a single pixel is not [all …]
|
/linux-6.12.1/drivers/media/test-drivers/vimc/ |
D | vimc-debayer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * vimc-debayer.c Virtual Media Controller Driver 5 * Copyright (C) 2015-2017 Helen Koike <helen.fornazier@gmail.com> 11 #include <linux/v4l2-mediabus.h> 12 #include <media/v4l2-ctrls.h> 13 #include <media/v4l2-event.h> 14 #include <media/v4l2-subdev.h> 16 #include "vimc-common.h" 173 mf->code = VIMC_DEBAYER_SOURCE_MBUS_FMT; in vimc_debayer_init_state() 182 if (VIMC_IS_SRC(code->pad)) { in vimc_debayer_enum_mbus_code() [all …]
|
D | vimc-common.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * vimc-common.h Virtual Media Controller Driver 5 * Copyright (C) 2015-2017 Helen Koike <helen.fornazier@gmail.com> 13 #include <media/media-device.h> 14 #include <media/v4l2-device.h> 18 /* VIMC-specific controls */ 46 * vimc_colorimetry_clamp - Adjust colorimetry parameters 56 if ((fmt)->colorspace == V4L2_COLORSPACE_DEFAULT \ 57 || (fmt)->colorspace > V4L2_COLORSPACE_DCI_P3) { \ 58 (fmt)->colorspace = V4L2_COLORSPACE_DEFAULT; \ [all …]
|
/linux-6.12.1/drivers/media/platform/ti/omap3isp/ |
D | ispvideo.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * TI OMAP3 ISP - Generic video node 7 * Copyright (C) 2009-2010 Nokia Corporation 16 #include <linux/v4l2-mediabus.h> 17 #include <media/media-entity.h> 18 #include <media/v4l2-dev.h> 19 #include <media/v4l2-fh.h> 20 #include <media/videobuf2-v4l2.h> 31 * struct isp_format_info - ISP media bus format information 32 * @code: V4L2 media bus format code [all …]
|
/linux-6.12.1/drivers/media/platform/ti/am437x/ |
D | am437x-vpfe.h | 1 /* 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-6.12.1/drivers/media/platform/qcom/camss/ |
D | camss-format.c | 1 // 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 19 * @code: media bus format code 21 * Return number of bits per pixel 31 WARN(1, "Unknown format\n"); in camss_format_get_bpp() 37 * camss_format_find_code - Find a format code in an array 38 * @code: a pointer to media bus format codes array [all …]
|
D | camss-format.h | 1 /* 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 34 * @code: V4L2 media bus format code 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)
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/frame/src/ |
D | frame.c | 1 // SPDX-License-Identifier: GPL-2.0 72 enum ia_css_frame_format format, 78 enum ia_css_frame_format format, 97 return -EINVAL; in ia_css_frame_allocate_from_info() 101 ia_css_frame_allocate(frame, info->res.width, info->res.height, in ia_css_frame_allocate_from_info() 102 info->format, info->padded_width, in ia_css_frame_allocate_from_info() 103 info->raw_bit_depth); in ia_css_frame_allocate_from_info() 112 enum ia_css_frame_format format, in ia_css_frame_allocate() argument 119 return -EINVAL; in ia_css_frame_allocate() 122 …"ia_css_frame_allocate() enter: width=%d, height=%d, format=%d, padded_width=%d, raw_bit_depth=%d\… in ia_css_frame_allocate() [all …]
|
/linux-6.12.1/drivers/media/platform/samsung/s3c-camif/ |
D | camif-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 #include <media/media-entity.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-dev.h> 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-mediabus.h> 25 #include <media/videobuf2-v4l2.h> 26 #include <media/drv-intf/s3c_camif.h> 28 #define S3C_CAMIF_DRIVER_NAME "s3c-camif" 39 #define S3C2450_CAMIF_IP_REV 0x30 /* 3.0 - not implemented, not tested */ [all …]
|
/linux-6.12.1/drivers/gpu/drm/meson/ |
D | meson_osd_afbcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 30 * - basic AFBC buffer for RGB32 only, thus YTR feature is mandatory 31 * - SPARSE layout and SPLIT layout 32 * - only 16x16 superblock 35 * decoded pixel stream to the OSD1 Plane pixel composer. 43 * - basic AFBC buffer for multiple RGB and YUV pixel formats 44 * - SPARSE layout and SPLIT layout 45 * - 16x16 and 32x8 "wideblk" superblocks 46 * - Tiled header 48 * The ARM AFBC Decoder independent from the VPU Pixel Pipeline, so [all …]
|
/linux-6.12.1/drivers/staging/media/omap4iss/ |
D | iss_video.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * TI OMAP4 ISS V4L2 Driver - Generic video node 13 #include <linux/v4l2-mediabus.h> 14 #include <media/media-entity.h> 15 #include <media/v4l2-dev.h> 16 #include <media/v4l2-fh.h> 17 #include <media/videobuf2-v4l2.h> 18 #include <media/videobuf2-dma-contig.h> 28 * struct iss_format_info - ISS media bus format information 29 * @code: V4L2 media bus format code [all …]
|