Home
last modified time | relevance | path

Searched full:decimation (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/media/usb/stk1160/
H A Dstk1160-reg.h35 * Decimation Control Register:
36 * Byte 104: Horizontal Decimation Line Unit Count
37 * Byte 105: Vertical Decimation Line Unit Count
38 * Byte 106: Decimation Control
39 * Bit 0 - Horizontal Decimation Control
40 * 0 Horizontal decimation is disabled.
41 * 1 Horizontal decimation is enabled.
47 * Bit 2 - Vertical Decimation Control
48 * 0 Vertical decimation is disabled.
49 * 1 Vertical decimation is enabled.
[all …]
H A Dstk1160-v4l.c56 * This is required to guarantee valid decimation unit counts.
153 /* Decimation control */ in stk1160_set_fmt()
386 /* Let's set default no decimation values */ in stk1160_try_fmt()
537 /* Calling with NULL disables frame decimation */ in vidioc_s_std()
/linux/arch/arm64/boot/dts/qcom/
H A Dpm660.dtsi112 qcom,decimation = <1024>;
119 qcom,decimation = <1024>;
126 qcom,decimation = <1024>;
134 qcom,decimation = <1024>;
143 qcom,decimation = <1024>;
152 qcom,decimation = <1024>;
161 qcom,decimation = <1024>;
170 qcom,decimation = <1024>;
179 qcom,decimation = <1024>;
187 qcom,decimation = <1024>;
[all …]
/linux/Documentation/devicetree/bindings/thermal/
H A Dqcom-spmi-adc-tm5.yaml47 qcom,decimation:
50 Quicker measurements can be made by reducing decimation ratio.
112 qcom,decimation:
115 Quicker measurements can be made by reducing decimation ratio.
141 qcom,decimation: false
153 qcom,decimation: false
249 qcom,decimation = <340>;
H A Dqcom-spmi-adc-tm-hc.yaml43 qcom,decimation:
46 Quicker measurements can be made by reducing decimation ratio.
/linux/Documentation/devicetree/bindings/iio/adc/
H A Dqcom,spmi-vadc.yaml82 qcom,decimation:
105 qcom,decimation:
128 qcom,decimation:
151 qcom,decimation:
183 qcom,decimation = <512>;
H A Dqcom,spmi-vadc-common.yaml28 qcom,decimation:
32 Quicker measurements can be made by reducing decimation ratio.
H A Dqcom,pm8018-adc.yaml81 qcom,decimation:
85 Quicker measurements can be made by reducing the decimation ratio.
H A Dqcom,spmi-adc5-gen3.yaml61 qcom,decimation:
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mjpeg-fw.h74 /* identifies the horizontal decimation factor */
84 /* identifies the vertical decimation factor */
163 * @horizontal_decimation_factor:horizontal decimation factor
164 * @vertical_decimation_factor: vertical decimation factor
/linux/drivers/media/platform/ti/vpe/
H A Dsc.c59 * input widths, after accounting for up to two levels of decimation
74 dst_w <<= 1; /* first level decimation */ in sc_set_hs_coeffs()
76 dst_w <<= 1; /* second level decimation */ in sc_set_hs_coeffs()
189 /* enable 2X or 4X decimation */ in sc_config_scaler()
206 dev_dbg(dev, "hs config: src_w = %d, dst_w = %d, decimation = %s, lin_acc_inc = %08x\n", in sc_config_scaler()
/linux/include/linux/iio/adc/
H A Dqcom-vadc-common.h35 /* Default decimation - 1024 for rev2, 840 for pmic5 */
132 unsigned int *decimation; member
164 int qcom_adc5_decimation_from_dt(u32 value, const unsigned int *decimation);
H A Dqcom-adc5-gen3-common.h148 * @decimation: sampling rate supported for the channel.
162 unsigned int decimation; member
/linux/drivers/video/fbdev/kyro/
H A DSTG4000OverlayDevice.c45 /* Decimation and Scaling */
105 /* Set Overlay Vt Decimation */ in ResetOverlayRegisters()
361 /************* Vertical decimation/scaling ******************/ in SetOverlayViewPort()
405 …ulVertDecFactor = (63 - ulBits) / (32 - ulBits); /* vertical decimation factor scaled up to neares… in SetOverlayViewPort()
412 tmp = STG_READ_REG(DACOverlayVtDec); /* Decimation */ in SetOverlayViewPort()
417 /***************** Horizontal decimation/scaling ***************************/ in SetOverlayViewPort()
515 * decimation and scaling in SetOverlayViewPort()
/linux/drivers/media/platform/st/stm32/stm32-dcmipp/
H A Ddcmipp-byteproc.c155 /* Adjust height - we can only perform 1/2 decimation */ in dcmipp_byteproc_adjust_compose()
308 * In the HW, the decimation block is located prior to the crop hence: in dcmipp_byteproc_get_selection()
362 * In the HW, the decimation block is located prior to the crop hence: in dcmipp_byteproc_set_selection()
431 /* clear decimation/crop */ in dcmipp_byteproc_configure_scale_crop()
437 /* Ignore decimation/crop with JPEG */ in dcmipp_byteproc_configure_scale_crop()
441 /* decimation */ in dcmipp_byteproc_configure_scale_crop()
/linux/drivers/iio/adc/
H A Dqcom-spmi-adc5-gen3.c119 /* Update calibration select and decimation ratio select */ in adc5_gen3_update_dig_param()
122 *data |= FIELD_PREP(ADC5_GEN3_DIG_PARAM_DEC_RATIO_SEL_MASK, prop->decimation); in adc5_gen3_update_dig_param()
500 value = data->decimation[ADC5_DECIMATION_DEFAULT]; in adc5_gen3_get_fw_channel_data()
501 fwnode_property_read_u32(fwnode, "qcom,decimation", &value); in adc5_gen3_get_fw_channel_data()
502 ret = qcom_adc5_decimation_from_dt(value, data->decimation); in adc5_gen3_get_fw_channel_data()
504 return dev_err_probe(dev, ret, "%#x invalid decimation %d\n", in adc5_gen3_get_fw_channel_data()
506 prop->common_props.decimation = ret; in adc5_gen3_get_fw_channel_data()
558 .decimation = (unsigned int [ADC5_DECIMATION_SAMPLES_MAX])
H A Dad7405.c220 * Set 256 decimation rate. The default value in the AXI_ADC register in ad7405_probe()
221 * is 0, so we set the register with a decimation rate value that is in ad7405_probe()
H A Dad7768-1.c232 /* Decimation rate range for sinc3 filter */
241 * such as decimation rates and 60Hz rejection. This utility array separates
500 * When the decimation rate is set to x8, the ADC data precision is in ad7768_scan_direct()
603 * Calculate the equivalent value to sinc3 decimation ratio in ad7768_set_sinc3_dec_rate()
676 * The decimation for SINC3 filters are configured in different in ad7768_configure_dig_fil()
1298 * SINC5 filter with x32 Decimation rate in ad7768_setup()
/linux/drivers/media/pci/zoran/
H A Dzr36016.c222 cap->decimation); in zr36016_set_video()
248 ptr->xdec = ((cap->decimation & 0xff) == 1) ? 0 : 1; in zr36016_set_video()
249 ptr->ydec = (((cap->decimation >> 8) & 0xff) == 1) ? 0 : 1; in zr36016_set_video()
H A Dzr36060.c242 /* horizontal 422 decimation setup (maybe we support 411 or so later, too) */
492 cap->x, cap->y, cap->width, cap->height, cap->decimation); in zr36060_set_video()
498 ptr->width = cap->width / (cap->decimation & 0xff); in zr36060_set_video()
499 ptr->height = cap->height / (cap->decimation >> 8); in zr36060_set_video()
519 switch (cap->decimation & 0xff) { in zr36060_set_video()
533 switch (cap->decimation >> 8) { in zr36060_set_video()
618 * buz can't handle more at decimation=1... Use low_bitrate if in zr36060_set_video()
/linux/drivers/media/usb/gspca/
H A Dstk1135.h18 #define STK1135_REG_DCTRL 0x104 /* Decimation control register */
/linux/drivers/staging/media/atomisp/pci/runtime/binary/src/
H A Dbinary.c518 /* @brief Compute decimation factor for 3A statistics and shading correction.
522 * @return Log2 of decimation factor (= grid cell size) in bayer quads.
527 /* 3A/Shading decimation factor specification (at August 2008) in binary_grid_deci_factor_log2()
529 * [Image Width (BQ)] [Decimation Factor (BQ)] [Resulting grid cells] in binary_grid_deci_factor_log2()
535 /* Maximum and minimum decimation factor by the specification */ in binary_grid_deci_factor_log2()
538 …/* the smallest frame width in bayer quads when decimation factor (log2) is 5 or 4, by the specifi… in binary_grid_deci_factor_log2()
/linux/drivers/staging/media/atomisp/pci/isp/kernels/iterator/iterator_1.0/
H A Dia_css_iterator.host.c60 /* TODO: Remove this after preview output decimation is fixed in ia_css_iterator_configure()
/linux/sound/soc/codecs/
H A Dtlv320adcx140.c222 SOC_DAPM_ENUM("Decimation Filter", decimation_filter_enum),
509 SND_SOC_DAPM_MUX("Decimation Filter", SND_SOC_NOPM, 0, 0,
539 {"Decimation Filter", "Linear Phase", "DRE_ENABLE"},
540 {"Decimation Filter", "Low Latency", "DRE_ENABLE"},
541 {"Decimation Filter", "Ultra-low Latency", "DRE_ENABLE"},
/linux/sound/soc/atmel/
H A DKconfig170 decimation filter and outputs 24-bit audio words.

123