Home
last modified time | relevance | path

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

12345678910>>...28

/linux/include/media/
H A 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/include/sound/sof/
H A 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/drivers/gpu/drm/qxl/
H A 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/Documentation/sound/designs/
H A 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/drivers/media/platform/ti/omap/
H A 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/Documentation/userspace-api/media/v4l/
H A 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/include/uapi/linux/
H A Dvirtio_snd.h1 /* SPDX-License-Identifier: BSD-3-Clause */
132 /* 0 ... virtio_snd_config::jacks - 1 */
172 /* 0 ... virtio_snd_config::streams - 1 */
279 /* 0 ... virtio_snd_config::streams - 1 */
297 /* 0 ... virtio_snd_config::chmaps - 1 */
306 VIRTIO_SND_CHMAP_FL, /* front left */
308 VIRTIO_SND_CHMAP_RL, /* rear left */
312 VIRTIO_SND_CHMAP_SL, /* side left */
315 VIRTIO_SND_CHMAP_FLC, /* front left center */
317 VIRTIO_SND_CHMAP_RLC, /* rear left center */
[all …]
/linux/drivers/media/platform/mediatek/mdp3/
H A 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 …]
H A 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/drivers/media/test-drivers/vivid/
H A 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/drivers/media/platform/renesas/vsp1/
H A 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 /* -----------------------------------------------------------------------------
56 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_stream()
57 const struct vsp1_format_info *fmtinfo = rpf->fmtinfo; in rpf_configure_stream()
58 const struct v4l2_pix_format_mplane *format = &rpf->format; in rpf_configure_stream()
[all …]
H A 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>
19 /* -----------------------------------------------------------------------------
33 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code()
34 return -EINVAL; in vsp1_rwpf_enum_mbus_code()
36 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code()
49 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
50 rwpf->max_height); in vsp1_rwpf_enum_frame_size()
[all …]
H A 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/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_scrn.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright (c) 2011-2024 Broadcom. All Rights Reserved. The term
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
47 * struct vmw_kms_sou_surface_dirty - Closure structure for
50 * @left: Left side of bounding box.
52 * @top: Top side of bounding box.
60 s32 left, right, top, bottom; member
102 vmw_du_cleanup(&sou->base); in vmw_sou_destroy()
133 BUG_ON(!sou->buffer); in vmw_sou_fifo_create()
138 return -ENOMEM; in vmw_sou_fifo_create()
[all …]
H A Dvmwgfx_stdu.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright (c) 2014-2024 Broadcom. All Rights Reserved. The term
21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
51 * modes to userspace so that this possible over-allocation will not exceed
64 * struct vmw_stdu_dirty - closure structure for the update functions
67 * @left: Left side of bounding box.
69 * @top: Top side of bounding box.
71 * @fb_left: Left side of the framebuffer/content bounding box
72 * @fb_top: Top of the framebuffer/content bounding box
74 * @buf: buffer object when DMA-ing between buffer and screen targets.
[all …]
/linux/drivers/gpu/ipu-v3/
H A 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/Documentation/userspace-api/media/drivers/
H A 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/Documentation/driver-api/media/drivers/
H A 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/arch/arm/boot/dts/allwinner/
H A 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/drivers/video/fbdev/
H A 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/Documentation/sphinx-static/
H A Dcustom.css1 /* SPDX-License-Identifier: GPL-2.0 */
7 div.body h1 { font-size: 180%; }
8 div.body h2 { font-size: 150%; }
9 div.body h3 { font-size: 130%; }
10 div.body h4 { font-size: 110%; }
13 div.toctree-wrapper p.caption[role=heading] { font-size: 150%; }
18 div.sphinxsidebar { font-size: inherit;
19 max-height: 100%;
20 overflow-y: auto; }
30 margin-bottom: 20px;
[all …]
/linux/drivers/media/platform/st/sti/bdisp/
H A 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/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_util.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
4 * Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
15 #define REG_MASK(n) ((BIT(n)) - 1)
41 * struct dpu_hw_blk - opaque hardware block object
59 * @ adjust_a: A-coefficients for mapping curve
60 * @ adjust_b: B-coefficients for mapping curve
61 * @ adjust_c: C-coefficients for mapping curve
160 * struct dpu_drm_pix_ext_v1 - version 1 of pixel ext structure
163 * @left_ftch: Number of extra pixels to overfetch from left
[all …]
/linux/drivers/accessibility/speakup/
H A 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/drivers/md/persistent-data/
H A Ddm-btree.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include "dm-btree-internal.h"
9 #include "dm-space-map.h"
10 #include "dm-transaction-manager.h"
13 #include <linux/device-mapper.h>
18 *--------------------------------------------------------------
20 *--------------------------------------------------------------
36 (nr_elts - index) * elt_size); in array_insert()
41 /*----------------------------------------------------------------*/
46 int lo = -1, hi = le32_to_cpu(n->header.nr_entries); in bsearch()
[all …]

12345678910>>...28