/Linux-v5.4/drivers/video/ |
D | hdmi.c | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 43 return 256 - csum; in hdmi_infoframe_checksum() 46 static void hdmi_infoframe_set_checksum(void *buffer, size_t size) in hdmi_infoframe_set_checksum() argument 48 u8 *ptr = buffer; in hdmi_infoframe_set_checksum() 50 ptr[3] = hdmi_infoframe_checksum(buffer, size); in hdmi_infoframe_set_checksum() 54 * hdmi_avi_infoframe_init() - initialize an HDMI AVI infoframe 55 * @frame: HDMI AVI infoframe 59 int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame) in hdmi_avi_infoframe_init() argument 61 memset(frame, 0, sizeof(*frame)); in hdmi_avi_infoframe_init() 63 frame->type = HDMI_INFOFRAME_TYPE_AVI; in hdmi_avi_infoframe_init() [all …]
|
/Linux-v5.4/Documentation/fb/ |
D | framebuffer.rst | 2 The Frame Buffer Device 9 --------------- 11 The frame buffer device provides an abstraction for the graphics hardware. It 12 represents the frame buffer of some video hardware and allows application 13 software to access the graphics hardware through a well-defined interface, so 14 the software doesn't need to know anything about the low-level (hardware 22 -------------------------- 24 From the user's point of view, the frame buffer device looks just like any 26 specifies the frame buffer number. 31 0 = /dev/fb0 First frame buffer [all …]
|
D | modedb.rst | 6 Currently all frame buffer device drivers have their own video mode databases, 9 - one routine to probe for video modes, which can be used by all frame buffer 11 - one generic video mode database with a fair amount of standard videomodes 13 - the possibility to supply your own mode database for graphics hardware that 14 needs non-standard modes, like amifb and Mac frame buffer drivers (which 17 When a frame buffer device receives a video= option it doesn't know, it should 18 consider that to be a video mode option. If no frame buffer device is specified 23 <xres>x<yres>[M][R][-<bpp>][@<refresh>][i][m][eDd] 24 <name>[-<bpp>][@<refresh>] 37 Sample usage: 1024x768M@60m - CVT timing with margins [all …]
|
D | internals.rst | 2 Frame Buffer device internals 5 This is a first start for some documentation about frame buffer device 10 - Geert Uytterhoeven <geert@linux-m68k.org>, 21 July 1998 11 - James Simmons <jsimmons@user.sf.net>, Nov 26 2002 13 -------------------------------------------------------------------------------- 15 Structures used by the frame buffer device API 18 The following structures play a role in the game of frame buffer devices. They 23 - struct fb_fix_screeninfo 25 Device independent unchangeable information about a frame buffer device and 29 - struct fb_var_screeninfo [all …]
|
D | api.rst | 2 The Frame Buffer Device API 9 --------------- 11 This document describes the frame buffer API used by applications to interact 12 with frame buffer devices. In-kernel APIs between device drivers and the frame 13 buffer core are not described. 15 Due to a lack of documentation in the original frame buffer API, drivers 22 --------------- 36 - FB_CAP_FOURCC 44 -------------------- 46 Pixels are stored in memory in hardware-dependent formats. Applications need [all …]
|
/Linux-v5.4/Documentation/media/uapi/v4l/ |
D | pixfmt-compressed.rst | 4 .. Foundation, with no Invariant Sections, no Front-Cover Texts 5 .. and no Back-Cover Texts. A copy of the license is included at 6 .. Documentation/media/uapi/fdl-appendix.rst. 8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 15 .. _compressed-formats: 19 .. flat-table:: Compressed Image Formats 20 :header-rows: 1 21 :stub-columns: 0 24 * - Identifier 25 - Code [all …]
|
D | buffer.rst | 4 .. Foundation, with no Invariant Sections, no Front-Cover Texts 5 .. and no Back-Cover Texts. A copy of the license is included at 6 .. Documentation/media/uapi/fdl-appendix.rst. 8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 16 A buffer contains data exchanged by application and driver using one of 17 the Streaming I/O methods. In the multi-planar API, the data is held in 18 planes, while the buffer structure acts as a container for the planes. 20 copied. These pointers, together with meta-information like timestamps 24 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API, 25 some plane-specific members of struct :c:type:`v4l2_buffer`, [all …]
|
D | func-read.rst | 4 .. Foundation, with no Invariant Sections, no Front-Cover Texts 5 .. and no Back-Cover Texts. A copy of the license is included at 6 .. Documentation/media/uapi/fdl-appendix.rst. 8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections 10 .. _func-read: 19 v4l2-read - Read from a V4L2 device 25 .. code-block:: c 31 :name: v4l2-read 37 File descriptor returned by :ref:`open() <func-open>`. 40 Buffer to be filled [all …]
|
/Linux-v5.4/include/linux/ |
D | hdmi.h | 17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 124 /* The following EC values are only defined in CEA-861-F. */ 137 /* non-uniform picture scaling */ 210 int hdmi_avi_infoframe_init(struct hdmi_avi_infoframe *frame); 211 ssize_t hdmi_avi_infoframe_pack(struct hdmi_avi_infoframe *frame, void *buffer, 213 ssize_t hdmi_avi_infoframe_pack_only(const struct hdmi_avi_infoframe *frame, 214 void *buffer, size_t size); 215 int hdmi_avi_infoframe_check(struct hdmi_avi_infoframe *frame); 216 int hdmi_drm_infoframe_init(struct hdmi_drm_infoframe *frame); 217 ssize_t hdmi_drm_infoframe_pack(struct hdmi_drm_infoframe *frame, void *buffer, [all …]
|
D | zstd.h | 2 * Copyright (c) 2016-present, Yann Collet, Facebook, Inc. 5 * This source code is licensed under the BSD-style license found in the 12 * Free Software Foundation. This program is dual-licensed; you may select 24 /*-***************************************************************************** 28 * targeting real-time compression scenarios at zlib-level and better 29 * compression ratios. The zstd compression library provides in-memory 34 * - a single step, reusing a context (described as Explicit memory management) 35 * - unbounded multiple steps (described as Streaming compression) 38 * - a single step (described as Simple dictionary API) 39 * - a single step, reusing a dictionary (described as Fast dictionary API) [all …]
|
/Linux-v5.4/drivers/video/fbdev/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 tristate "Support for frame buffer devices" 16 ---help--- 17 The frame buffer device provides an abstraction for the graphics 18 hardware. It represents the frame buffer of some video hardware and 20 a well-defined interface, so the software doesn't need to know 21 anything about the low-level (hardware register) stuff. 23 Frame buffer devices work identically across the different 26 server exists which uses the frame buffer device exclusively. 27 On several non-X86 architectures, the frame buffer device is the [all …]
|
/Linux-v5.4/drivers/media/platform/mtk-vcodec/ |
D | vdec_drv_if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * struct vdec_fb_status - decoder frame buffer status 19 * @FB_ST_DISPLAY : frmae buffer is ready to be displayed 20 * @FB_ST_FREE : frame buffer is not used by decoder any more 29 * the caller does not own the returned buffer. The buffer will not be 31 * GET_PARAM_DISP_FRAME_BUFFER : get next displayable frame buffer, 33 * GET_PARAM_FREE_FRAME_BUFFER : get non-referenced framebuffer, vdec_fb** 47 * struct vdec_fb_node - decoder frame buffer node 49 * @fb : point to frame buffer (vdec_fb), fb could point to frame buffer and 50 * working buffer this is for maintain buffers in different state [all …]
|
D | venc_drv_if.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * enum venc_yuv_fmt - The type of input yuv format 31 * enum venc_start_opt - encode frame option used in venc_if_encode() 33 * @VENC_START_OPT_ENCODE_FRAME: encode normal frame 41 * enum venc_set_param_type - The type of set parameter used in 45 * @VENC_SET_PARAM_FORCE_INTRA: force an intra frame 47 * @VENC_SET_PARAM_ADJUST_FRAMERATE: set frame rate 49 * @VENC_SET_PARAM_INTRA_PERIOD: set I frame interval 50 * @VENC_SET_PARAM_SKIP_FRAME: set H264 skip one frame 67 * struct venc_enc_prm - encoder settings for VENC_SET_PARAM_ENC used in [all …]
|
/Linux-v5.4/Documentation/driver-api/ |
D | frame-buffer.rst | 1 Frame Buffer Library 4 The frame buffer drivers depend heavily on four data structures. These 20 otherwise. A good example of this is the start of the frame buffer 21 memory. This "locks" the address of the frame buffer memory, so that it 31 Frame Buffer Memory 32 ------------------- 34 .. kernel-doc:: drivers/video/fbdev/core/fbmem.c 37 Frame Buffer Colormap 38 --------------------- 40 .. kernel-doc:: drivers/video/fbdev/core/fbcmap.c [all …]
|
/Linux-v5.4/drivers/scsi/isci/ |
D | unsolicited_frame_control.h | 7 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 20 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. 26 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved. 64 * struct scu_unsolicited_frame_header - 66 * This structure delineates the format of an unsolicited frame header. The 83 * This field indicates if the frame is an address frame (IAF or OAF) 84 * or if it is a information unit frame. 89 * This field simply indicates the connection rate at which the frame 106 * enum unsolicited_frame_state - 108 * This enumeration represents the current unsolicited frame state. The [all …]
|
/Linux-v5.4/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * usbvision-core.c - driver for NT100x USB video capture devices 5 * Copyright (c) 1999-2005 Joerg Heckenbach <joerg@heckenbach-aw.de> 27 #include <media/v4l2-common.h> 42 /* To help people with Black and White output with using s-video input. 46 MODULE_PARM_DESC(switch_svideo_input, " Set the S-Video input. Some cables and input device are wi… 48 static unsigned int adjust_x_offset = -1; 52 static unsigned int adjust_y_offset = -1; 79 * is too slow. Larger buffers are memory-consuming and take longer 83 #define DEFAULT_SCRATCH_BUF_SIZE (0x20000) /* 128kB memory scratch buffer */ [all …]
|
/Linux-v5.4/include/uapi/drm/ |
D | lima_drm.h | 1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */ 2 /* Copyright 2017-2018 Qiang Yu <yuq825@gmail.com> */ 36 * create a buffer for used by GPU 39 __u32 size; /* in, buffer size */ 41 __u32 handle; /* out, GEM buffer handle */ 46 * get information of a buffer 49 __u32 handle; /* in, GEM buffer handle */ 51 __u64 offset; /* out, used to mmap this buffer to CPU */ 57 /* buffer information used by one task */ 59 __u32 handle; /* in, GEM buffer handle */ [all …]
|
/Linux-v5.4/drivers/thunderbolt/ |
D | ctl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Thunderbolt driver - control channel and configuration commands 23 * struct tb_cfg - thunderbolt control channel 42 dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg) 45 dev_err(&(ctl)->nhi->pdev->dev, format, ## arg) 48 dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg) 51 dev_info(&(ctl)->nhi->pdev->dev, format, ## arg) 54 dev_dbg(&(ctl)->nhi->pdev->dev, format, ## arg) 61 * tb_cfg_request_alloc() - Allocates a new config request 74 kref_init(&req->kref); in tb_cfg_request_alloc() [all …]
|
/Linux-v5.4/drivers/media/platform/mtk-vcodec/vdec/ |
D | vdec_vp9_if.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Kai-Sean Yang <kai-sean.yang@mediatek.com> 29 * struct vp9_dram_buf - contains buffer info for vpu 32 * @sz : buffer size 43 * struct vp9_fb_info - contains frame buffer info 44 * @fb : frmae buffer 53 * struct vp9_ref_cnt_buf - contains reference buffer information 54 * @buf : referenced frame buffer 55 * @ref_cnt : referenced frame buffer's reference count. 64 * struct vp9_fb_info - contains current frame's reference buffer information [all …]
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | r600_hdmi.c | 87 dev_err(rdev->dev, "Unknown bits per sample 0x%x, using 16\n", in r600_audio_status() 118 struct drm_device *dev = rdev->ddev; in r600_audio_update_hdmi() 123 if (rdev->audio.pin[0].channels != audio_status.channels || in r600_audio_update_hdmi() 124 rdev->audio.pin[0].rate != audio_status.rate || in r600_audio_update_hdmi() 125 rdev->audio.pin[0].bits_per_sample != audio_status.bits_per_sample || in r600_audio_update_hdmi() 126 rdev->audio.pin[0].status_bits != audio_status.status_bits || in r600_audio_update_hdmi() 127 rdev->audio.pin[0].category_code != audio_status.category_code) { in r600_audio_update_hdmi() 128 rdev->audio.pin[0] = audio_status; in r600_audio_update_hdmi() 132 list_for_each_entry(encoder, &dev->mode_config.encoder_list, head) { in r600_audio_update_hdmi() 173 /* only one pin on 6xx-NI */ in r600_audio_get_pin() [all …]
|
/Linux-v5.4/drivers/media/platform/sti/hva/ |
D | hva-h264.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "hva-hw.h" 32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */ 41 /* factor for bitrate and cpb buffer size max values if profile >= high */ 44 /* factor for bitrate and cpb buffer size max values if profile < high */ 152 * @frame_width: width in pixels of the buffer containing the input frame 153 * @frame_height: height in pixels of the buffer containing the input frame 169 * @ir_param_option: defines the number of macroblocks per frame to be 200 * @brc_type: selects the bit-rate control algorithm 205 * @non_VCL_NALU_Size: size of non-VCL NALUs (SPS, PPS, filler), [all …]
|
/Linux-v5.4/drivers/tty/ |
D | n_hdlc.c | 1 // SPDX-License-Identifier: GPL-1.0+ 16 * tty device drivers that support bit-synchronous HDLC communications. 18 * All HDLC data is frame oriented which means: 20 * 1. tty write calls represent one complete transmit frame of data 21 * The device driver should accept the complete frame or none of 22 * the frame (busy) in the write method. Each write call should have 23 * a byte count in the range of 2-65535 bytes (2 is min HDLC frame 26 * CCITT CRC32, 4 crc bytes are required, so the maximum size frame 28 * CRC16, the maximum application frame size would be 65533. 32 * one received frame. The device driver should bypass [all …]
|
/Linux-v5.4/drivers/media/usb/uvc/ |
D | uvc_video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * uvc_video.c -- USB Video Class driver - Video handling 5 * Copyright (C) 2005-2010 20 #include <media/v4l2-common.h> 24 /* ------------------------------------------------------------------------ 35 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl() 36 : usb_sndctrlpipe(dev->udev, 0); in __uvc_query_ctrl() 39 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl() 83 if (ret != -EPIPE) in uvc_query_ctrl() 96 return ret < 0 ? ret : -EPIPE; in uvc_query_ctrl() [all …]
|
D | uvc_driver.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * uvc_driver.c -- USB Video Class driver 5 * Copyright (C) 2005-2010 21 #include <media/v4l2-common.h> 22 #include <media/v4l2-ioctl.h> 33 static unsigned int uvc_quirks_param = -1; 37 /* ------------------------------------------------------------------------ 83 .name = "Greyscale 8-bit (Y800)", 88 .name = "Greyscale 8-bit (Y8 )", 93 .name = "Greyscale 8-bit (D3DFMT_L8)", [all …]
|
/Linux-v5.4/include/soc/fsl/ |
D | dpaa2-fd.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * Copyright 2014-2016 Freescale Semiconductor Inc. 13 * DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2 15 * Frame Descriptors (FDs) are used to describe frame data in the DPAA2. 16 * Frames can be enqueued and dequeued to Frame Queues (FQs) which are consumed 19 * There are three types of frames: single, scatter gather, and frame lists. 22 * query Frame Descriptors. 26 * struct dpaa2_fd - Struct describing FDs 30 * @bpid: buffer pool ID 31 * @format_offset: format, offset, and short-length fields [all …]
|