Home
last modified time | relevance | path

Searched +full:top +full:- +full:left (Results 1 – 25 of 833) sorted by relevance

12345678910>>...34

/Linux-v6.6/include/media/
Dv4l2-rect.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * v4l2-rect.h - v4l2_rect helper functions
14 * v4l2_rect_set_size_to() - copy the width/height values.
21 r->width = size->width; in v4l2_rect_set_size_to()
22 r->height = size->height; in v4l2_rect_set_size_to()
26 * v4l2_rect_set_min_size() - width and height of r should be >= min_size.
33 if (r->width < min_size->width) in v4l2_rect_set_min_size()
34 r->width = min_size->width; in v4l2_rect_set_min_size()
35 if (r->height < min_size->height) in v4l2_rect_set_min_size()
36 r->height = min_size->height; in v4l2_rect_set_min_size()
[all …]
/Linux-v6.6/include/sound/sof/
Dcontrol.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
19 /* channel positions - uses same values as ALSA */
24 SOF_CHMAP_FL, /**< front left */
26 SOF_CHMAP_RL, /**< rear left */
30 SOF_CHMAP_SL, /**< side left */
33 SOF_CHMAP_FLC, /**< front left centre */
35 SOF_CHMAP_RLC, /**< rear left centre */
37 SOF_CHMAP_FLW, /**< front left wide */
39 SOF_CHMAP_FLH, /**< front left high */
42 SOF_CHMAP_TC, /**< top centre */
[all …]
/Linux-v6.6/drivers/gpu/drm/qxl/
Dqxl_draw.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
23 #include <linux/iosys-map.h>
57 dev_clips->num_rects = num_clips; in drawable_set_clipping()
58 dev_clips->chunk.next_chunk = 0; in drawable_set_clipping()
59 dev_clips->chunk.prev_chunk = 0; in drawable_set_clipping()
60 dev_clips->chunk.data_size = sizeof(struct qxl_rect) * num_clips; in drawable_set_clipping()
61 return (struct qxl_rect *)dev_clips->chunk.data; in drawable_set_clipping()
88 return -ENOMEM; in make_drawable()
90 drawable->type = type; in make_drawable()
92 drawable->surface_id = surface; /* Only primary for now */ in make_drawable()
[all …]
/Linux-v6.6/Documentation/sound/designs/
Dchannel-mapping-api.rst2 ALSA PCM channel-mapping API
18 ``{ front left, front right, rear left, rear right }.``
38 the kernel/user-space ABI perspective. It uses only the existing
57 ---
61 ``type data-bytes ch0 ch1 ch2...``
71 type is where pair-wise channels are swappable. For example, when you
88 /* this follows the alsa-lib mixer channel value + 3 */
89 SNDRV_CHMAP_FL, /* front left */
91 SNDRV_CHMAP_RL, /* rear left */
95 SNDRV_CHMAP_SL, /* side left */
[all …]
/Linux-v6.6/drivers/media/platform/ti/omap/
Domap_voutlib.c4 * Copyright (C) 2005-2010 Texas Instruments.
11 * Video-for-Linux (Version 2) camera capture driver for
27 #include <linux/dma-mapping.h>
46 crop->width = (pix->width < fbuf->fmt.width) ? in omap_vout_default_crop()
47 pix->width : fbuf->fmt.width; in omap_vout_default_crop()
48 crop->height = (pix->height < fbuf->fmt.height) ? in omap_vout_default_crop()
49 pix->height : fbuf->fmt.height; in omap_vout_default_crop()
50 crop->width &= ~1; in omap_vout_default_crop()
51 crop->height &= ~1; in omap_vout_default_crop()
52 crop->left = ((pix->width - crop->width) >> 1) & ~1; in omap_vout_default_crop()
[all …]
/Linux-v6.6/include/uapi/linux/
Dvirtio_snd.h1 /* SPDX-License-Identifier: BSD-3-Clause */
110 /* 0 ... virtio_snd_config::jacks - 1 */
150 /* 0 ... virtio_snd_config::streams - 1 */
257 /* 0 ... virtio_snd_config::streams - 1 */
275 /* 0 ... virtio_snd_config::chmaps - 1 */
284 VIRTIO_SND_CHMAP_FL, /* front left */
286 VIRTIO_SND_CHMAP_RL, /* rear left */
290 VIRTIO_SND_CHMAP_SL, /* side left */
293 VIRTIO_SND_CHMAP_FLC, /* front left center */
295 VIRTIO_SND_CHMAP_RLC, /* rear left center */
[all …]
/Linux-v6.6/Documentation/userspace-api/media/v4l/
Dselection-api-configuration.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
20 :ref:`constraint flags <v4l2-selection-flags>`.
26 See figure :ref:`sel-targets-capture` for examples of the selection
30 The range of coordinates of the top left corner, width and height of
32 target. It is recommended for the driver developers to put the top/left
36 The top left corner, width and height of the source rectangle, that is
51 coordinates are expressed in pixels. The rectangle's top/left corner
63 :ref:`constraint flags <v4l2-selection-flags>`.
91 All coordinates are expressed in pixels. The top/left corner is always
95 The top left corner, width and height of the source rectangle, that is
[all …]
/Linux-v6.6/drivers/media/test-drivers/vivid/
Dvivid-kthread-cap.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * vivid-kthread-cap.h - video/vbi capture thread support functions.
20 #include <linux/v4l2-dv-timings.h>
23 #include <media/videobuf2-vmalloc.h>
24 #include <media/v4l2-dv-timings.h>
25 #include <media/v4l2-ioctl.h>
26 #include <media/v4l2-fh.h>
27 #include <media/v4l2-event.h>
28 #include <media/v4l2-rect.h>
30 #include "vivid-core.h"
[all …]
/Linux-v6.6/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
8 #include <media/v4l2-common.h>
9 #include <media/videobuf2-v4l2.h>
10 #include <media/videobuf2-dma-contig.h>
11 #include "mtk-mdp3-core.h"
12 #include "mtk-mdp3-regs.h"
13 #include "mtk-mdp3-m2m.h"
22 for (i = 0; i < mdp_data->format_len; ++i) { in mdp_find_fmt()
23 if (!(mdp_data->format[i].flags & flag)) in mdp_find_fmt()
[all …]
Dmtk-mdp3-type.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
18 s32 left; member
19 s32 top; member
29 s32 left; member
31 s32 top; member
36 s32 left; member
37 s32 top; member
/Linux-v6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_rpf.c1 // SPDX-License-Identifier: GPL-2.0+
3 * vsp1_rpf.c -- R-Car VSP1 Read Pixel Formatter
5 * Copyright (C) 2013-2014 Renesas Electronics Corporation
12 #include <media/v4l2-subdev.h>
35 /* -----------------------------------------------------------------------------
42 vsp1_dl_body_write(dlb, reg + rpf->entity.index * VI6_RPF_OFFSET, in vsp1_rpf_write()
46 /* -----------------------------------------------------------------------------
54 /* -----------------------------------------------------------------------------
63 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_stream()
64 const struct vsp1_format_info *fmtinfo = rpf->fmtinfo; in rpf_configure_stream()
[all …]
Dvsp1_rwpf.c1 // SPDX-License-Identifier: GPL-2.0+
3 * vsp1_rwpf.c -- R-Car VSP1 Read and Write Pixel Formatters
5 * Copyright (C) 2013-2014 Renesas Electronics Corporation
10 #include <media/v4l2-subdev.h>
22 return v4l2_subdev_get_try_crop(&rwpf->entity.subdev, sd_state, in vsp1_rwpf_get_crop()
26 /* -----------------------------------------------------------------------------
40 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code()
41 return -EINVAL; in vsp1_rwpf_enum_mbus_code()
43 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code()
56 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
[all …]
Dvsp1_uif.c1 // SPDX-License-Identifier: GPL-2.0+
3 * vsp1_uif.c -- R-Car VSP1 User Logic Interface
5 * Copyright (C) 2017-2018 Laurent Pinchart
14 #include <media/media-entity.h>
15 #include <media/v4l2-subdev.h>
25 /* -----------------------------------------------------------------------------
31 return vsp1_read(uif->entity.vsp1, in vsp1_uif_read()
32 uif->entity.index * VI6_UIF_OFFSET + reg); in vsp1_uif_read()
38 vsp1_dl_body_write(dlb, reg + uif->entity.index * VI6_UIF_OFFSET, data); in vsp1_uif_write()
46 /* -----------------------------------------------------------------------------
[all …]
/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2011-2023 VMware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
44 * struct vmw_kms_sou_surface_dirty - Closure structure for
47 * @left: Left side of bounding box.
49 * @top: Top side of bounding box.
57 s32 left, right, top, bottom; member
100 vmw_du_cleanup(&sou->base); in vmw_sou_destroy()
131 BUG_ON(!sou->buffer); in vmw_sou_fifo_create()
136 return -ENOMEM; in vmw_sou_fifo_create()
[all …]
/Linux-v6.6/drivers/gpu/ipu-v3/
Dipu-cpmem.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright 2005-2012 Freescale Semiconductor, Inc. All Rights Reserved.
11 #include "ipu-prv.h"
95 struct ipu_cpmem *cpmem = ch->ipu->cpmem_priv; in ipu_get_cpmem()
97 return cpmem->base + ch->num; in ipu_get_cpmem()
108 u32 mask = (1 << size) - 1; in ipu_ch_param_write_field()
113 val = readl(&base->word[word].data[i]); in ipu_ch_param_write_field()
116 writel(val, &base->word[word].data[i]); in ipu_ch_param_write_field()
118 if ((bit + size - 1) / 32 > i) { in ipu_ch_param_write_field()
119 val = readl(&base->word[word].data[i + 1]); in ipu_ch_param_write_field()
[all …]
/Linux-v6.6/Documentation/userspace-api/media/drivers/
Dcx2341x-uapi.rst1 .. SPDX-License-Identifier: GPL-2.0
6 Non-compressed file format
7 --------------------------
18 The Y plane is divided into blocks of 16x16 pixels from left to right
19 and from top to bottom. Each block is transmitted in turn, line-by-line.
21 So the first 16 bytes are the first line of the top-left block, the
22 second 16 bytes are the second line of the top-left block, etc. After
26 The UV plane is divided into blocks of 16x8 UV values going from left
27 to right, top to bottom. Each block is transmitted in turn, line-by-line.
29 So the first 16 bytes are the first line of the top-left block and
[all …]
/Linux-v6.6/Documentation/driver-api/media/drivers/
Dsh_mobile_ceu_camera.rst1 .. SPDX-License-Identifier: GPL-2.0
9 -----------
12 host scales: -"- host driver
17 ---------------------------------
19 .. code-block:: none
21 -1--
23 -2-- -\
24 | --\
25 | --\
26 +-5-- . -- -3-- -\
[all …]
/Linux-v6.6/arch/arm/boot/dts/allwinner/
Dsun4i-a10-inet9f-rev03.dts4 * This file is dual-licensed: you can use it either under the terms
43 /dts-v1/;
44 #include "sun4i-a10.dtsi"
45 #include "sunxi-common-regulators.dtsi"
46 #include <dt-bindings/gpio/gpio.h>
47 #include <dt-bindings/input/input.h>
48 #include <dt-bindings/interrupt-controller/irq.h>
51 model = "iNet-9F Rev 03";
52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10";
59 stdout-path = "serial0:115200n8";
[all …]
/Linux-v6.6/drivers/media/platform/renesas/rcar-vin/
Drcar-v4l2.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Driver for Renesas R-Car VIN
6 * Copyright (C) 2011-2013 Renesas Solutions Corp.
10 * Based on the soc-camera rcar_vin driver
15 #include <media/v4l2-event.h>
16 #include <media/v4l2-ioctl.h>
17 #include <media/v4l2-mc.h>
18 #include <media/v4l2-rect.h>
20 #include "rcar-vin.h"
28 /* -----------------------------------------------------------------------------
[all …]
/Linux-v6.6/drivers/media/platform/samsung/exynos4-is/
Dfimc-m2m.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2012 - 2013 Samsung Electronics Co., Ltd.
22 #include <media/v4l2-ioctl.h>
23 #include <media/videobuf2-v4l2.h>
24 #include <media/videobuf2-dma-contig.h>
27 #include "fimc-core.h"
28 #include "fimc-reg.h"
29 #include "media-dev.h"
43 if (!ctx || !ctx->fh.m2m_ctx) in fimc_m2m_job_finish()
46 src_vb = v4l2_m2m_src_buf_remove(ctx->fh.m2m_ctx); in fimc_m2m_job_finish()
[all …]
/Linux-v6.6/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_util.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
15 #define REG_MASK(n) ((BIT(n)) - 1)
35 * struct dpu_hw_blk - opaque hardware block object
53 * @ adjust_a: A-coefficients for mapping curve
54 * @ adjust_b: B-coefficients for mapping curve
55 * @ adjust_c: C-coefficients for mapping curve
154 * struct dpu_drm_pix_ext_v1 - version 1 of pixel ext structure
157 * @left_ftch: Number of extra pixels to overfetch from left
159 * @top_ftch: Number of extra lines to overfetch from top
[all …]
/Linux-v6.6/drivers/media/platform/st/sti/bdisp/
Dbdisp-v4l2.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <media/v4l2-event.h>
16 #include <media/v4l2-ioctl.h>
73 /* NV12. YUV420SP - 1 plane for Y + 1 plane for (CbCr) */
91 /* YU12. YUV420P - 1 plane for Y + 1 plane for Cb + 1 plane for Cr
124 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set()
125 ctx->state |= state; in bdisp_ctx_state_lock_set()
126 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set()
133 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear()
134 ctx->state &= ~state; in bdisp_ctx_state_lock_clear()
[all …]
/Linux-v6.6/drivers/accessibility/speakup/
DDefaultKeyAssignments8 InsKeyPad-period means hold down the insert key like a shift key and
11 KeyPad-8 Say current Line
12 InsKeyPad-8 say from top of screen to reading cursor.
13 KeyPad-7 Say Previous Line (UP one line)
14 KeyPad-9 Say Next Line (down one line)
15 KeyPad-5 Say Current Word
16 InsKeyPad-5 Spell Current Word
17 KeyPad-4 Say Previous Word (left one word)
18 InsKeyPad-4 say from left edge of line to reading cursor.
19 KeyPad-6 Say Next Word (right one word)
[all …]
/Linux-v6.6/drivers/video/fbdev/
Darcfb.c2 * linux/drivers/video/arcfb.c -- FB driver for Arc monochrome LCD board
17 * GPIO-less system, the board can be tested by connecting the respective sigs
24 * - testing with 4x4
25 * - testing with interrupt hw
28 * - User must set tuhold. It's in microseconds. According to the 108 spec,
30 * - User must set num_cols=x num_rows=y, eg: x=2 means 128
31 * - User must set arcfb_enable=1 to enable it
32 * - User must set dio_addr=0xIOADDR cio_addr=0xIOADDR
53 #define floorXres(a,xres) (a&(~(xres - 1)))
56 #define ceilXres(a,xres) (a|(xres - 1))
[all …]
/Linux-v6.6/drivers/media/i2c/
Dov5640.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2011-2013 Freescale Semiconductor, Inc. All Rights Reserved.
4 * Copyright (C) 2014-2017 Mentor Graphics Inc.
8 #include <linux/clk-provider.h>
22 #include <media/v4l2-async.h>
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-device.h>
25 #include <media/v4l2-event.h>
26 #include <media/v4l2-fwnode.h>
27 #include <media/v4l2-subdev.h>
[all …]

12345678910>>...34