Home
last modified time | relevance | path

Searched +full:down +full:- +full:scaling (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dcrop.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
6 Image Cropping, Insertion and Scaling -- the CROP API
12 <selection-api>`. The new API should be preferred in most cases,
15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a
20 abilities cropping and scaling. Some video output devices can scale an
21 image up or down and insert it at an arbitrary scan line and horizontal
33 Scaling requires a source and a target. On a video capture or overlay
48 support scaling or the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and
62 .. _crop-scale:
64 .. kernel-figure:: crop.svg
[all …]
Dselection-api-configuration.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
11 Video hardware can have various cropping, composing and scaling
12 limitations. It may only scale up or down, support only discrete scaling
13 factors, or have different scaling abilities in the horizontal and
14 vertical directions. Also it may not support scaling at all. At the same
20 :ref:`constraint flags <v4l2-selection-flags>`.
26 See figure :ref:`sel-targets-capture` for examples of the selection
63 :ref:`constraint flags <v4l2-selection-flags>`.
123 However, such a padded area is driver-dependent feature not covered by
130 Scaling control
[all …]
Dselection-api-intro.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 part of an input image, scale it up or down and insert it at an
12 these abilities cropping, scaling and composing.
28 scaling then the cropping and composing rectangles have the same size.
/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dcrop.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
6 Image Cropping, Insertion and Scaling -- the CROP API
12 <selection-api>`. The new API should be preferred in most cases,
15 equivalent in the SELECTION API. See :ref:`selection-vs-crop` for a
20 abilities cropping and scaling. Some video output devices can scale an
21 image up or down and insert it at an arbitrary scan line and horizontal
33 Scaling requires a source and a target. On a video capture or overlay
48 support scaling or the :ref:`VIDIOC_G_CROP <VIDIOC_G_CROP>` and
62 .. _crop-scale:
64 .. kernel-figure:: crop.svg
[all …]
Dselection-api-configuration.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
11 Video hardware can have various cropping, composing and scaling
12 limitations. It may only scale up or down, support only discrete scaling
13 factors, or have different scaling abilities in the horizontal and
14 vertical directions. Also it may not support scaling at all. At the same
20 :ref:`constraint flags <v4l2-selection-flags>`.
26 See figure :ref:`sel-targets-capture` for examples of the selection
63 :ref:`constraint flags <v4l2-selection-flags>`.
123 However, such a padded area is driver-dependent feature not covered by
130 Scaling control
[all …]
Dselection-api-intro.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
10 part of an input image, scale it up or down and insert it at an
12 these abilities cropping, scaling and composing.
28 scaling then the cropping and composing rectangles have the same size.
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
Dvsp1_uds.c1 // SPDX-License-Identifier: GPL-2.0+
3 * vsp1_uds.c -- R-Car VSP1 Up and Down Scaler
5 * Copyright (C) 2013-2014 Renesas Electronics Corporation
13 #include <media/v4l2-subdev.h>
26 /* -----------------------------------------------------------------------------
33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write()
36 /* -----------------------------------------------------------------------------
37 * Scaling Computation
43 struct vsp1_uds *uds = to_uds(&entity->subdev); in vsp1_uds_set_alpha()
50 * uds_output_size - Return the output size for an input size and scaling ratio
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
Dvsp1_uds.c1 // SPDX-License-Identifier: GPL-2.0+
3 * vsp1_uds.c -- R-Car VSP1 Up and Down Scaler
5 * Copyright (C) 2013-2014 Renesas Electronics Corporation
13 #include <media/v4l2-subdev.h>
26 /* -----------------------------------------------------------------------------
33 vsp1_dl_body_write(dlb, reg + uds->entity.index * VI6_UDS_OFFSET, data); in vsp1_uds_write()
36 /* -----------------------------------------------------------------------------
37 * Scaling Computation
43 struct vsp1_uds *uds = to_uds(&entity->subdev); in vsp1_uds_set_alpha()
50 * uds_output_size - Return the output size for an input size and scaling ratio
[all …]
/kernel/linux/linux-6.6/Documentation/admin-guide/pm/
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
7 CPU Performance Scaling
15 The Concept of CPU Performance Scaling
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
44 to as CPU performance scaling or CPU frequency scaling (because it involves
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/pm/
Dcpufreq.rst1 .. SPDX-License-Identifier: GPL-2.0
7 CPU Performance Scaling
15 The Concept of CPU Performance Scaling
20 Operating Performance Points or P-states (in ACPI terminology). As a rule,
24 time (or the more power is drawn) by the CPU in the given P-state. Therefore
29 as possible and then there is no reason to use any P-states different from the
30 highest one (i.e. the highest-performance frequency/voltage configuration
38 put into different P-states.
41 capacity, so as to decide which P-states to put the CPUs into. Of course, since
44 to as CPU performance scaling or CPU frequency scaling (because it involves
[all …]
/kernel/linux/linux-5.10/block/
Dblk-rq-qos.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "blk-rq-qos.h"
29 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below()
35 if (rqos->ops->cleanup) in __rq_qos_cleanup()
36 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup()
37 rqos = rqos->next; in __rq_qos_cleanup()
44 if (rqos->ops->done) in __rq_qos_done()
45 rqos->ops->done(rqos, rq); in __rq_qos_done()
46 rqos = rqos->next; in __rq_qos_done()
53 if (rqos->ops->issue) in __rq_qos_issue()
[all …]
Dblk-wbt.c1 // SPDX-License-Identifier: GPL-2.0
6 * - Monitor latencies in a defined window of time.
7 * - If the minimum latency in the above window exceeds some target, increment
8 * scaling step and scale down queue depth by a factor of 2x. The monitoring
9 * window is then shrunk to 100 / sqrt(scaling step + 1).
10 * - For any window where we don't have solid data on what the latencies
12 * - If latencies look good, decrement scaling step.
13 * - If we're only doing writes, allow the scaling step to go negative. This
15 * scaling step of 0 if reads show up or the heavy writers finish. Unlike
16 * positive scaling steps where we shrink the monitoring window, a negative
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
28 Optional subnode-properties:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
28 Optional subnode-properties:
[all …]
/kernel/linux/linux-6.6/block/
Dblk-rq-qos.c1 // SPDX-License-Identifier: GPL-2.0
3 #include "blk-rq-qos.h"
23 return atomic_inc_below(&rq_wait->inflight, limit); in rq_wait_inc_below()
29 if (rqos->ops->cleanup) in __rq_qos_cleanup()
30 rqos->ops->cleanup(rqos, bio); in __rq_qos_cleanup()
31 rqos = rqos->next; in __rq_qos_cleanup()
38 if (rqos->ops->done) in __rq_qos_done()
39 rqos->ops->done(rqos, rq); in __rq_qos_done()
40 rqos = rqos->next; in __rq_qos_done()
47 if (rqos->ops->issue) in __rq_qos_issue()
[all …]
Dblk-wbt.c1 // SPDX-License-Identifier: GPL-2.0
6 * - Monitor latencies in a defined window of time.
7 * - If the minimum latency in the above window exceeds some target, increment
8 * scaling step and scale down queue depth by a factor of 2x. The monitoring
9 * window is then shrunk to 100 / sqrt(scaling step + 1).
10 * - For any window where we don't have solid data on what the latencies
12 * - If latencies look good, decrement scaling step.
13 * - If we're only doing writes, allow the scaling step to go negative. This
15 * scaling step of 0 if reads show up or the heavy writers finish. Unlike
16 * positive scaling steps where we shrink the monitoring window, a negative
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_rect.c2 * Copyright (C) 2011-2013 Intel Corporation
33 * drm_rect_intersect - intersect two rectangles
46 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect()
47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect()
49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect()
65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled()
78 * drm_rect_clip_scaled - perform a scaled clip operation
84 * the corresponding amounts, retaining the vertical and horizontal scaling
97 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/
Ddrm_rect.c2 * Copyright (C) 2011-2013 Intel Corporation
33 * drm_rect_intersect - intersect two rectangles
46 r1->x1 = max(r1->x1, r2->x1); in drm_rect_intersect()
47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
48 r1->x2 = min(r1->x2, r2->x2); in drm_rect_intersect()
49 r1->y2 = min(r1->y2, r2->y2); in drm_rect_intersect()
65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled()
78 * drm_rect_clip_scaled - perform a scaled clip operation
84 * the corresponding amounts, retaining the vertical and horizontal scaling
97 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
[all …]
/kernel/linux/linux-6.6/drivers/pmdomain/qcom/
Dcpr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
26 #include <linux/nvmem-consumer.h>
28 /* Register Offsets for RB-CPR and Bit Definitions */
124 #define FUSE_REVISION_UNKNOWN (-1)
128 DOWN, enumerator
253 return !drv->loop_disabled; in cpr_is_allowed()
258 writel_relaxed(value, drv->base + offset); in cpr_write()
263 return readl_relaxed(drv->base + offset); in cpr_read()
271 val = readl_relaxed(drv->base + offset); in cpr_masked_write()
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Domap-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * CPU frequency scaling for OMAP using OPP information
8 * Based on cpu-sa1110.c, Copyright (C) 2001 Russell King
10 * Copyright (C) 2007-2011 Texas Instruments, Inc.
11 * - OMAP3/4 support by Rajendra Nayak, Santosh Shilimkar
49 old_freq = policy->cur; in omap_target()
53 ret = clk_round_rate(policy->clk, freq); in omap_target()
67 return -EINVAL; in omap_target()
75 dev_dbg(mpu_dev, "cpufreq-omap: %u MHz, %ld mV --> %u MHz, %ld mV\n", in omap_target()
76 old_freq / 1000, volt_old ? volt_old / 1000 : -1, in omap_target()
[all …]
/kernel/linux/linux-6.6/drivers/cpufreq/
Domap-cpufreq.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * CPU frequency scaling for OMAP using OPP information
8 * Based on cpu-sa1110.c, Copyright (C) 2001 Russell King
10 * Copyright (C) 2007-2011 Texas Instruments, Inc.
11 * - OMAP3/4 support by Rajendra Nayak, Santosh Shilimkar
49 old_freq = policy->cur; in omap_target()
53 ret = clk_round_rate(policy->clk, freq); in omap_target()
67 return -EINVAL; in omap_target()
75 dev_dbg(mpu_dev, "cpufreq-omap: %u MHz, %ld mV --> %u MHz, %ld mV\n", in omap_target()
76 old_freq / 1000, volt_old ? volt_old / 1000 : -1, in omap_target()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/
Dsm6125-sony-xperia-seine-pdx201.dts1 // SPDX-License-Identifier: BSD-3-Clause
6 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/gpio-keys.h>
12 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
16 qcom,msm-id = <394 0x10000>; /* sm6125 v1 */
17 qcom,board-id = <34 0>;
21 chassis-type = "handset";
29 #address-cells = <2>;
30 #size-cells = <2>;
[all …]
/kernel/linux/linux-5.10/drivers/soc/qcom/
Dcpr.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
27 #include <linux/nvmem-consumer.h>
29 /* Register Offsets for RB-CPR and Bit Definitions */
125 #define FUSE_REVISION_UNKNOWN (-1)
129 DOWN, enumerator
254 return !drv->loop_disabled; in cpr_is_allowed()
259 writel_relaxed(value, drv->base + offset); in cpr_write()
264 return readl_relaxed(drv->base + offset); in cpr_read()
272 val = readl_relaxed(drv->base + offset); in cpr_masked_write()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/runtime/binary/src/
Dbinary.c1 // SPDX-License-Identifier: GPL-2.0
55 if (info->enable.dvs_envelope) { in ia_css_binary_dvs_env()
57 binary_dvs_env->width = max(dvs_env->width, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env()
58 binary_dvs_env->height = max(dvs_env->height, SH_CSS_MIN_DVS_ENVELOPE); in ia_css_binary_dvs_env()
72 bool binary_supports_yuv_ds = info->enable.ds & 2; in ia_css_binary_internal_res()
81 isp_tmp_internal_width = in_info->res.width in ia_css_binary_internal_res()
82 + info->pipeline.left_cropping + binary_dvs_env.width; in ia_css_binary_internal_res()
83 isp_tmp_internal_height = in_info->res.height in ia_css_binary_internal_res()
84 + info->pipeline.top_cropping + binary_dvs_env.height; in ia_css_binary_internal_res()
89 (bds_out_info->res.width >= out_info->res.width)) { in ia_css_binary_internal_res()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
Dia_css_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
152 * Before the shading correction is applied, NxN-filter and/or scaling
155 * - Bad pixels on left/top sides generated by NxN-filter
158 * - Down-scaling/Up-scaling factor
164 * - Origin coordinate of bayer (real sensor data)
167 * ------------------------ISP 2401-----------------------
180 * In some isp binaries, the bayer scaling is applied before the shading correction is applied.
181 * Then, this scaling factor should be considered in generating the shading table.
182 * The scaling factor is expressed by these parameters.
189 * This is the size BEFORE the bayer scaling is applied.
[all …]

12345678910>>...23