Home
last modified time | relevance | path

Searched +full:frame +full:- +full:buffer (Results 1 – 25 of 1129) sorted by relevance

12345678910>>...46

/linux/Documentation/userspace-api/media/v4l/
H A Dpixfmt-compressed.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 .. _compressed-formats:
19 .. flat-table:: Compressed Image Formats
20 :header-rows: 1
21 :stub-columns: 0
24 * - Identifier
25 - Code
26 - Details
27 * .. _V4L2-PIX-FMT-JPEG:
29 - ``V4L2_PIX_FMT_JPEG``
[all …]
H A Ddev-stateless-decoder.rst1 .. SPDX-License-Identifier: GPL-2.0
7 Memory-to-memory Stateless Video Decoder Interface
11 between processed frames. This means that each frame is decoded independently
19 This section describes how user-space ("the client") is expected to communicate
25 Stateless decoders make use of the :ref:`media-request-api`. A stateless
31 frame may be the result of several decode requests (for instance, H.264 streams
32 with multiple slices per frame). Decoders that support such formats must also
46 codec-specific capability controls (such as H.264 profiles) to the set
56 formats may depend on the value of some codec-dependent controls.
111 frame buffer resolution for the decoded frames.
[all …]
H A Ddev-encoder.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
7 Memory-to-Memory Stateful Video Encoder Interface
13 further post-processing by the client.
35 5. Single-planar API (see :ref:`planar-apis`) and applicable structures may be
36 used interchangeably with multi-planar API, unless specified otherwise,
42 7. Given an ``OUTPUT`` buffer A, then A' represents a buffer on the ``CAPTURE``
43 queue containing data that resulted from processing buffer A.
48 Refer to :ref:`decoder-glossary`.
53 .. kernel-render:: DOT
66 qi -> Initialization [ label = "open()" ];
[all …]
H A Dbuffer.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 A buffer contains data exchanged by application and driver using one of
11 the Streaming I/O methods. In the multi-planar API, the data is held in
12 planes, while the buffer structure acts as a container for the planes.
14 copied. These pointers, together with meta-information like timestamps
18 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. In the multi-planar API,
19 some plane-specific members of struct :c:type:`v4l2_buffer`,
25 part of the frame and with which clock the timestamp is taken. Please
27 ``V4L2_BUF_FLAG_TSTAMP_SRC_MASK`` in :ref:`buffer-flags`. These flags
33 mem-to-mem devices is an exception to the rule: the timestamp source
[all …]
H A Dfunc-read.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _func-read:
13 v4l2-read - Read from a V4L2 device
18 .. code-block:: c
31 Buffer to be filled
40 descriptor ``fd`` into the buffer starting at ``buf``. The layout of the
41 data in the buffer is discussed in the respective device interface
45 :c:func:`read()` call will provide at most one frame (two fields)
61 :c:func:`read()` never returns a "snapshot" of a buffer being filled.
62 Using a single buffer the driver will stop capturing when the
[all …]
H A Ddev-overlay.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
12 Video overlay devices have the ability to genlock (TV-)video into the
13 (VGA-)video signal of a graphics card, or to store captured images
31 frame rate of the video standard is not guaranteed. Frames may be
63 :ref:`streaming parameter <streaming-par>` ioctls as needed. The
73 frame buffer parameters, namely the address and size of the frame buffer
80 superuser can change the frame buffer address and size. Users are not
86 card. In this case the frame buffer is not modified by the video device,
87 and the frame buffer address and pixel format are not needed by the
94 1. Chroma-keying displays the overlaid image only where pixels in the
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dssh_msgb.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
18 * struct msgbuf - Buffer struct to construct SSH messages.
19 * @begin: Pointer to the beginning of the allocated buffer space.
20 * @end: Pointer to the end (one past last element) of the allocated buffer
22 * @ptr: Pointer to the first free element in the buffer.
31 * msgb_init() - Initialize the given message buffer struct.
32 * @msgb: The buffer struct to initialize
33 * @ptr: Pointer to the underlying memory by which the buffer will be backed.
36 * Initialize the given message buffer struct using the provided memory as
[all …]
/linux/Documentation/fb/
H A Dframebuffer.rst2 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 …]
H A Dmodedb.rst6 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>]
31 - NSTC: 480i output, with the CCIR System-M TV mode and NTSC color encoding
[all …]
H A Dinternals.rst2 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 …]
H A Dapi.rst2 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/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_drv_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * enum vdec_fb_status - decoder frame buffer status
17 * @FB_ST_DISPLAY: frame buffer is ready to be displayed
18 * @FB_ST_FREE: frame buffer is not used by decoder any more
27 * the caller does not own the returned buffer. The buffer will not be
29 * GET_PARAM_DISP_FRAME_BUFFER : get next displayable frame buffer,
31 * GET_PARAM_FREE_FRAME_BUFFER : get non-referenced framebuffer, vdec_fb**
45 * struct vdec_fb_node - decoder frame buffer node
47 * @fb : point to frame buffer (vdec_fb), fb could point to frame buffer and
48 * working buffer this is for maintain buffers in different state
[all …]
/linux/Documentation/driver-api/
H A Dframe-buffer.rst1 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/drivers/scsi/isci/
H A Dunsolicited_frame_control.h7 * 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/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * enum venc_yuv_fmt - The type of input yuv format
30 * enum venc_start_opt - encode frame option used in venc_if_encode()
32 * @VENC_START_OPT_ENCODE_FRAME: encode normal frame
40 * enum venc_set_param_type - The type of set parameter used in
44 * @VENC_SET_PARAM_FORCE_INTRA: force an intra frame
46 * @VENC_SET_PARAM_ADJUST_FRAMERATE: set frame rate
48 * @VENC_SET_PARAM_INTRA_PERIOD: set I frame interval
49 * @VENC_SET_PARAM_SKIP_FRAME: set H264 skip one frame
66 * struct venc_enc_prm - encoder settings for VENC_SET_PARAM_ENC used in
[all …]
/linux/include/uapi/drm/
H A Dlima_drm.h1 /* SPDX-License-Identifier: (GPL-2.0 WITH Linux-syscall-note) OR MIT */
2 /* Copyright 2017-2018 Qiang Yu <yuq825@gmail.com> */
36 * heap buffer dynamically increase backup memory size when GP task fail
37 * due to lack of heap memory. size field of heap buffer is an up bound of
43 * create a buffer for used by GPU
46 __u32 size; /* in, buffer size */
47 __u32 flags; /* in, buffer flags */
48 __u32 handle; /* out, GEM buffer handle */
53 * get information of a buffer
56 __u32 handle; /* in, GEM buffer handle */
[all …]
/linux/drivers/tty/
H A Dn_hdlc.c1 // 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/include/linux/
H A Dzstd.h1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
6 * This source code is licensed under both the BSD-style license (found in the
10 * above-listed licenses.
17 * This is a kernel-style API that wraps the upstream zstd API, which cannot be
30 * zstd_compress_bound() - maximum compressed size in worst case scenario
38 * zstd_is_error() - tells if a size_t function result is an error code
41 * Return: Non-zero iff the code is an error.
46 * enum zstd_error_code - zstd error codes
51 * zstd_get_error_code() - translates an error function result to an error code
59 * zstd_get_error_name() - translates an error function result to a string
[all …]
/linux/drivers/thunderbolt/
H A Dctl.c1 // SPDX-License-Identifier: GPL-2.0
3 * Thunderbolt driver - control channel and configuration commands
25 * struct tb_ctl - Thunderbolt control channel
34 * @timeout_msec: Default timeout for non-raw control messages
59 dev_WARN(&(ctl)->nhi->pdev->dev, format, ## arg)
62 dev_err(&(ctl)->nhi->pdev->dev, format, ## arg)
65 dev_warn(&(ctl)->nhi->pdev->dev, format, ## arg)
68 dev_info(&(ctl)->nhi->pdev->dev, format, ## arg)
71 dev_dbg(&(ctl)->nhi->pdev->dev, format, ## arg)
74 dev_dbg_once(&(ctl)->nhi->pdev->dev, format, ## arg)
[all …]
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp9_if.c1 // SPDX-License-Identifier: GPL-2.0
5 * Kai-Sean Yang <kai-sean.yang@mediatek.com>
30 * struct vp9_dram_buf - contains buffer info for vpu
33 * @sz : buffer size
44 * struct vp9_fb_info - contains frame buffer info
45 * @fb : frame buffer
54 * struct vp9_ref_cnt_buf - contains reference buffer information
55 * @buf : referenced frame buffer
56 * @ref_cnt : referenced frame buffer's reference count.
65 * struct vp9_ref_buf - contains current frame's reference buffer information
[all …]
/linux/drivers/media/platform/st/sti/hva/
H A Dhva-h264.c1 // 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/drivers/staging/media/tegra-video/
H A Dvi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
16 #include <media/media-entity.h>
17 #include <media/v4l2-async.h>
18 #include <media/v4l2-ctrls.h>
19 #include <media/v4l2-device.h>
20 #include <media/v4l2-dev.h>
21 #include <media/v4l2-subdev.h>
22 #include <media/videobuf2-v4l2.h>
44 * struct tegra_vi_ops - Tegra VI operations
45 * @vi_enable: soc-specific operations needed to enable/disable the VI peripheral
[all …]
/linux/include/soc/fsl/
H A Ddpaa2-fd.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * Copyright 2014-2016 Freescale Semiconductor Inc.
14 * DOC: DPAA2 FD - Frame Descriptor APIs for DPAA2
16 * Frame Descriptors (FDs) are used to describe frame data in the DPAA2.
17 * Frames can be enqueued and dequeued to Frame Queues (FQs) which are consumed
20 * There are three types of frames: single, scatter gather, and frame lists.
23 * query Frame Descriptors.
27 * struct dpaa2_fd - Struct describing FDs
31 * @bpid: buffer pool ID
32 * @format_offset: format, offset, and short-length fields
[all …]
/linux/drivers/video/fbdev/omap/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "OMAP frame buffer support"
8 Frame buffer driver for OMAP based boards.
28 Say Y here, if your user-space applications are capable of
29 notifying the frame buffer driver when a change has occurred in
30 the frame buffer content and thus a reload of the image data to
31 the external frame buffer is required. If unsure, say N.
34 bool "MIPI DBI-C/DCS compatible LCD support"
38 the Mobile Industry Processor Interface DBI-C/DCS
/linux/include/net/libeth/
H A Dtx.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (C) 2024-2025 Intel Corporation */
11 /* Tx buffer completion */
14 * enum libeth_sqe_type - type of &libeth_sqe to act on Tx completion
15 * @LIBETH_SQE_EMPTY: unused/empty OR XDP_TX/XSk frame, no action required
17 * @LIBETH_SQE_SLAB: kmalloc-allocated buffer, unmap and kfree()
43 * struct libeth_sqe - represents a Send Queue Element / Tx buffer
44 * @type: type of the buffer, see the enum above
45 * @rs_idx: index of the last buffer from the batch this one was sent in
46 * @raw: slab buffer to free via kfree()
[all …]

12345678910>>...46