Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v6.1/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.
Ddev-subdev.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
6 Sub-device Interface
13 components as software blocks called sub-devices.
15 V4L2 sub-devices are usually kernel-only objects. If the V4L2 driver
17 media entities. Applications will be able to enumerate the sub-devices
21 In addition to make sub-devices discoverable, drivers can also choose to
23 sub-device driver and the V4L2 device driver support this, sub-devices
26 - query, read and write sub-devices controls
28 - subscribe and unsubscribe to events and retrieve them
30 - negotiate image formats on individual pads
[all …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/tools/testing/selftests/kvm/x86_64/
Dvmx_nested_tsc_scaling_test.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * This test case verifies that nested TSC scaling behaves as expected when
9 * L1 down and scale L2 up.
21 #define TSC_OFFSET_L2 ((uint64_t) -33125236320908)
42 thresh_low = expected - tolerance; in compare_tsc_freq()
69 tsc_freq = tsc_end - tsc_start; in check_tsc_freq()
96 /* enable TSC offsetting and TSC scaling for L2 */ in l1_guest_code()
136 print_skip("Kernel does not use TSC clocksource - assuming that host TSC is not stable"); in stable_tsc_check_supported()
165 printf("L1's scale down factor is: %"PRIu64"\n", l1_scale_factor); in main()
172 l0_tsc_freq = tsc_end - tsc_start; in main()
[all …]
/Linux-v6.1/arch/sh/kernel/cpu/sh4/
Dclock-sh4-202.c1 // SPDX-License-Identifier: GPL-2.0
3 * arch/sh/kernel/cpu/sh4/clock-sh4-202.c
5 * Additional SH4-202 support for the clock framework
25 return clk->parent->rate / frqcr3_divisors[idx]; in emi_clk_recalc()
30 int divisor = clk->parent->rate / rate; in frqcr3_lookup()
53 return clk->parent->rate / frqcr3_divisors[idx]; in femi_clk_recalc()
72 * range for instance). We deal with this by scaling it back down in shoc_clk_init()
75 * Start scaling from the high end down until we find something in shoc_clk_init()
81 if (clk->ops->set_rate(clk, clk->parent->rate / divisor) == 0) in shoc_clk_init()
91 return clk->parent->rate / frqcr3_divisors[idx]; in shoc_clk_recalc()
[all …]
/Linux-v6.1/Documentation/admin-guide/media/
Dipu3.rst1 .. SPDX-License-Identifier: GPL-2.0
24 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2*
36 Both of the drivers implement V4L2, Media Controller and V4L2 sub-device
38 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers.
44 interface to the user space. There is a video node for each CSI-2 receiver,
47 The CIO2 contains four independent capture channel, each with its own MIPI CSI-2
48 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed
49 to userspace as a V4L2 sub-device node and has two pads:
53 .. flat-table::
54 :header-rows: 1
[all …]
Dvivid.rst1 .. SPDX-License-Identifier: GPL-2.0
13 Each input can be a webcam, TV capture device, S-Video capture device or an HDMI
14 capture device. Each output can be an S-Video output device or an HDMI output
23 - Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O.
24 - A large list of test patterns and variations thereof
25 - Working brightness, contrast, saturation and hue controls
26 - Support for the alpha color component
27 - Full colorspace support, including limited/full RGB range
28 - All possible control types are present
29 - Support for various pixel aspect ratios and video aspect ratios
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/thermal/
Dqcom-spmi-adc-tm-hc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/thermal/qcom-spmi-adc-tm-hc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
9 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 const: qcom,spmi-adc-tm-hc
21 "#thermal-sensor-cells":
27 "#address-cells":
30 "#size-cells":
33 qcom,avg-samples:
[all …]
/Linux-v6.1/include/ufs/
Dufshcd.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2011-2013 Samsung India Software Operations
5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
16 #include <linux/blk-crypto-profile.h>
17 #include <linux/blk-mq.h>
61 * struct uic_command - UIC command structure
85 /* Host <-> Device UniPro Link state */
87 UIC_LINK_OFF_STATE = 0, /* Link powered down or disabled */
93 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
94 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/soc/ti/
Dwkup-m3-ipc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/ti/wkup-m3-ipc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dave Gerlach <d-gerlach@ti.com>
11 - Drew Fustini <dfustini@baylibre.com>
14 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor
17 C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver
29 On some boards like the AM335x EVM-SK and the AM437x GP EVM, a GPIO pin is
40 override the pin's existing bias (pull-up/pull-down) and value (high/low) when
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_plane.c1 // SPDX-License-Identifier: GPL-2.0-only
38 if (fb->modifier == DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) in mdp4_get_frame_format()
41 if (fb->format->format == DRM_FORMAT_NV12 && is_tile) in mdp4_get_frame_format()
58 struct msm_drm_private *priv = plane->dev->dev_private; in get_kms()
59 return to_mdp4_kms(to_mdp_kms(priv->kms)); in get_kms()
82 return -EINVAL; in mdp4_plane_set_property()
98 struct msm_drm_private *priv = plane->dev->dev_private; in mdp4_plane_prepare_fb()
99 struct msm_kms *kms = priv->kms; in mdp4_plane_prepare_fb()
101 if (!new_state->fb) in mdp4_plane_prepare_fb()
106 return msm_framebuffer_prepare(new_state->fb, kms->aspace, false); in mdp4_plane_prepare_fb()
[all …]
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/uds/uds_1.0/
Dia_css_uds_param.h1 /* SPDX-License-Identifier: GPL-2.0 */
21 /* uds (Up and Down scaling) */
/Linux-v6.1/Documentation/devicetree/bindings/iio/adc/
Dqcom,spmi-vadc.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/qcom,spmi-vadc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Andy Gross <agross@kernel.org>
11 - Bjorn Andersson <bjorn.andersson@linaro.org>
15 voltage. The VADC is a 15-bit sigma-delta ADC.
17 voltage. The VADC is a 16-bit sigma-delta ADC.
22 - items:
23 - const: qcom,pms405-adc
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/interconnect/
Dmediatek,cci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek Cache Coherent Interconnect (CCI) frequency and voltage scaling
10 - Jia-Wei Chang <jia-wei.chang@mediatek.com>
11 - Johnson Wang <johnson.wang@mediatek.com>
21 - mediatek,mt8183-cci
22 - mediatek,mt8186-cci
26 - description:
28 - description:
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dcs35l33.txt5 - compatible : "cirrus,cs35l33"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
15 - reset-gpios : gpio used to reset the amplifier
17 - interrupts : IRQ line info CS35L33.
18 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
21 - cirrus,boost-ctl : Booster voltage use to supply the amp. If the value is
26 - cirrus,ramp-rate : On power up, it affects the time from when the power
27 up sequence begins to the time the audio reaches a full-scale output.
28 On power down, it affects the time from when the power-down sequence
[all …]

12345678910>>...12