Home
last modified time | relevance | path

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

12345678910>>...44

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbtcx-risc.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 btcx-risc.c
8 (c) 2000-03 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
23 #include "btcx-risc.h"
36 /* ---------------------------------------------------------- */
44 if (NULL == risc->cpu) in btcx_riscmem_free()
47 memcnt--; in btcx_riscmem_free()
49 memcnt, (unsigned long)risc->dma); in btcx_riscmem_free()
51 pci_free_consistent(pci, risc->size, risc->cpu, risc->dma); in btcx_riscmem_free()
62 if (NULL != risc->cpu && risc->size < size) in btcx_riscmem_alloc()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_draw.c17 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
52 dev_clips->num_rects = num_clips; in drawable_set_clipping()
53 dev_clips->chunk.next_chunk = 0; in drawable_set_clipping()
54 dev_clips->chunk.prev_chunk = 0; in drawable_set_clipping()
55 dev_clips->chunk.data_size = sizeof(struct qxl_rect) * num_clips; in drawable_set_clipping()
56 return (struct qxl_rect *)dev_clips->chunk.data; in drawable_set_clipping()
83 return -ENOMEM; in make_drawable()
85 drawable->type = type; in make_drawable()
87 drawable->surface_id = surface; /* Only primary for now */ in make_drawable()
88 drawable->effect = QXL_EFFECT_OPAQUE; in make_drawable()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/platform/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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>
22 #include <media/videobuf2-vmalloc.h>
23 #include <media/v4l2-dv-timings.h>
24 #include <media/v4l2-ioctl.h>
25 #include <media/v4l2-fh.h>
26 #include <media/v4l2-event.h>
27 #include <media/v4l2-rect.h>
29 #include "vivid-core.h"
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-6.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
/kernel/linux/linux-5.10/drivers/media/platform/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, config, 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()
55 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size()
[all …]
/kernel/linux/linux-6.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 /* -----------------------------------------------------------------------------
55 struct vsp1_rwpf *rpf = to_rwpf(&entity->subdev); in rpf_configure_stream()
56 const struct vsp1_format_info *fmtinfo = rpf->fmtinfo; in rpf_configure_stream()
57 const struct v4l2_pix_format_mplane *format = &rpf->format; 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_scrn.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2011-2015 VMware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
45 * struct vmw_kms_sou_surface_dirty - Closure structure for
48 * @left: Left side of bounding box.
50 * @top: Top side of bounding box.
58 s32 left, right, top, bottom; member
101 vmw_du_cleanup(&sou->base); in vmw_sou_destroy()
132 BUG_ON(!sou->buffer); in vmw_sou_fifo_create()
137 return -ENOMEM; in vmw_sou_fifo_create()
[all …]
/kernel/linux/linux-6.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 …]
/kernel/linux/linux-5.10/drivers/media/platform/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 …]

12345678910>>...44