Home
last modified time | relevance | path

Searched +full:diff +full:- +full:channels (Results 1 – 25 of 247) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7124.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Stefan Popa <stefan.popa@analog.com>
16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf
21 - adi,ad7124-4
22 - adi,ad7124-8
32 clock-names:
34 - const: mclk
40 '#address-cells':
[all …]
H A Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 STM32 ADC is a successive approximation analog-to-digital converter.
11 It has several multiplexed input channels. Conversions can be performed
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@st.com>
27 - st,stm32f4-adc-core
[all …]
H A Dadc.txt4 - bipolar : Boolean, if set the channel is used in bipolar mode.
5 - diff-channels : Differential channels muxed for this ADC. The first value
15 diff-channels = <0 1>;
20 diff-channels = <2 3>;
H A Dadi,ad7292.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Analog Devices AD7292 10-Bit Monitor and Control System
10 - Marcelo Schmitt <marcelo.schmitt1@gmail.com>
13 Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs,
17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf
22 - adi,ad7292
27 vref-supply:
31 spi-cpha: true
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dtempo.c17 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 size_t channels; member
47 /* Waveform Similarity by least squares; works across multi-channels */
50 float diff = 0; in difference() local
53 #define _ diff += sqr(a[i] - b[i]), ++i; /* Loop optimisation */ in difference()
56 return diff; in difference()
62 float * f = t->overlap_buf; in tempo_best_overlap_position()
63 size_t j, best_pos, prev_best_pos = (t->search + 1) >> 1, step = 64; in tempo_best_overlap_position()
64 size_t i = best_pos = t->quick_search? prev_best_pos : 0; in tempo_best_overlap_position()
65 float diff, least_diff = difference(new_win + t->channels * i, f, t->channels * t->overlap); in tempo_best_overlap_position() local
[all …]
H A Dsplice.c1 /* libSoX effect: splice audio Copyright (c) 2008-9 robs@users.sourceforge.net
15 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23 double diff = 0; in difference() local
26 #define _ diff += sqr((double)a[i] - b[i]), ++i; /* Loop optimisation */ in difference()
29 return diff; in difference()
34 sox_sample_t const * f2, uint64_t overlap, uint64_t search, size_t channels) in best_overlap_position() argument
37 double diff, least_diff = difference(f2, f1, (size_t) (channels * overlap)); in best_overlap_position() local
40 diff = difference(f2 + channels * i, f1, (size_t) (channels * overlap)); in best_overlap_position()
41 if (diff < least_diff) in best_overlap_position()
42 least_diff = diff, best_pos = i; in best_overlap_position()
[all …]
/OK3568_Linux_fs/kernel/include/linux/iio/
H A Devents.h1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* The industrial I/O - event passing to userspace
4 * Copyright (c) 2008-2011 Jonathan Cameron
13 * IIO_EVENT_CODE() - create event identifier
15 * @diff: Whether the event is for an differential channel or not.
19 * @chan: Channel number for non-differential channels.
20 * @chan1: First channel number for differential channels.
21 * @chan2: Second channel number for differential channels.
24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument
26 (((u64)type << 56) | ((u64)diff << 55) | \
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/alsa-equal/alsa-equal/
H A D0002-Fix-Eq-CAPS-plugin-name.patch3 Date: Wed, 5 Oct 2016 10:57:29 -0300
10 Upstream-Status: Pending
12 Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
13 ---
14 README | 8 ++++----
15 ctl_equal.c | 2 +-
16 pcm_equal.c | 2 +-
17 3 files changed, 6 insertions(+), 6 deletions(-)
19 diff --git a/README b/README
21 --- a/README
[all …]
/OK3568_Linux_fs/buildroot/package/freerdp/
H A D0004-tsmf-gstreamer-X11-Fix-wrong-render-x-y.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
6 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
7 ---
8 channels/tsmf/client/gstreamer/tsmf_X11.c | 18 ++++++++++++++----
10 channels/tsmf/client/gstreamer/tsmf_platform.h | 1 +
11 3 files changed, 26 insertions(+), 4 deletions(-)
13 diff --git a/channels/tsmf/client/gstreamer/tsmf_X11.c b/channels/tsmf/client/gstreamer/tsmf_X11.c
15 --- a/channels/tsmf/client/gstreamer/tsmf_X11.c
16 +++ b/channels/tsmf/client/gstreamer/tsmf_X11.c
17 @@ -97,6 +97,8 @@ static GstBusSyncReply tsmf_platform_bus_sync_handler(GstBus* bus, GstMessage* m
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/adc/
H A Dstm32-adc.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved
11 #include <linux/dma-mapping.h>
15 #include <linux/iio/timer/stm32-lptim-trigger.h>
16 #include <linux/iio/timer/stm32-timer-trigger.h>
29 #include "stm32-adc-core.h"
37 #define STM32_ADC_CH_MAX 20 /* max number of channels */
55 /* extsel - trigger mux selection value */
81 * struct stm32_adc_trig_info - ADC trigger info
91 * struct stm32_adc_calib - optional adc calibration data
[all …]
H A Dstx104.c1 // SPDX-License-Identifier: GPL-2.0-only
27 #define STX104_IN_CHAN(chan, diff) { \ argument
35 .differential = diff \
48 * struct stx104_iio - IIO device private data structure
49 * @chan_out_states: channels' output states
58 * struct stx104_gpio - GPIO device private data structure
82 adc_config = inb(priv->base + 11); in stx104_read_raw()
88 if (chan->output) { in stx104_read_raw()
89 *val = priv->chan_out_states[chan->channel]; in stx104_read_raw()
94 outb(chan->channel | (chan->channel << 4), priv->base + 2); in stx104_read_raw()
[all …]
/OK3568_Linux_fs/kernel/sound/core/
H A Dpcm_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Abramo Bagnara <abramo@alsa-project.org>
39 * runtime->silence_start: starting pointer to silence area
40 * runtime->silence_filled: size filled with silence
41 * runtime->silence_threshold: threshold from application
42 * runtime->silence_size: maximal size from application
44 * when runtime->silence_size >= runtime->boundary - fill processed area with silence immediately
48 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence()
52 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
54 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma/
H A Ddmatest.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/dma-mapping.h>
41 "Maximum number of channels to use (default: all)");
51 "dmatest 0-memcpy 1-memset (default: 0)");
66 "Pass -1 for infinite timeout");
80 static int alignment = -1;
82 …M_DESC(alignment, "Custom data address alignment taken as 2^(alignment) (default: not used (-1))");
93 * struct dmatest_params - test parameters.
98 * @max_channels: maximum number of channels to use
102 * @timeout: transfer timeout in msec, -1 for infinite timeout
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Dsstate-sysroot-cruft.sh3 # SPDX-License-Identifier: GPL-2.0-only
16 -h, --help
19 --tmpdir=<tmpdir>
21 Something like /OE/oe-core/tmp-eglibc (no / at the end).
23 --whitelist=<whitelist-file>
24 Text file, each line is regular expression for paths we want to ignore in resulting diff.
25 You can use diff file from the script output, if it contains only expected exceptions.
40 while [ -n "$1" ]; do
42 --tmpdir=*)
43 tmpdir=`echo $1 | sed -e 's#^--tmpdir=##' | xargs readlink -e`
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7572.patch4 # Mon Jun 10 08:57:11 2019 -0700
5 # Branch SDL-1.2
8 CVE-2019-7572: Fix a buffer overwrite in IMA_ADPCM_decode
16 CVE-2019-7572
19 Signed-off-by: Petr Písař <ppisar@redhat.com>
24 # Sat Jun 08 17:57:43 2019 -0700
25 # Branch SDL-1.2
28 CVE-2019-7572: Fix a buffer overread in IMA_ADPCM_nibble
37 CVE-2019-7572
40 Signed-off-by: Petr Písař <ppisar@redhat.com>
[all …]
H A DCVE-2019-7574.patch4 # Mon Jun 10 08:50:59 2019 -0700
5 # Branch SDL-1.2
8 CVE-2019-7574: Fix a buffer overread in IMA_ADPCM_decode
13 CVE-2019-7574
16 Signed-off-by: Petr Písař <ppisar@redhat.com>
18 CVE: CVE-2019-7574
19 Upstream-Status: Backport
20 Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
22 diff -r 388987dff7bf -r a6e3d2f5183e src/audio/SDL_wave.c
23 --- a/src/audio/SDL_wave.c Sat Jun 08 18:02:09 2019 -0700
[all …]
/OK3568_Linux_fs/buildroot/package/libsndfile/
H A D0001-ms_adpcm-Fix-and-extend-size-checks.patch11 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26803
12 Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
13 ---
14 src/ms_adpcm.c | 10 ++++++++--
15 1 file changed, 8 insertions(+), 2 deletions(-)
17 diff --git a/src/ms_adpcm.c b/src/ms_adpcm.c
19 --- a/src/ms_adpcm.c
21 @@ -128,8 +128,14 @@ wavlike_msadpcm_init (SF_PRIVATE *psf, int blockalign, int samplesperblock)
22 if (psf->file.mode == SFM_WRITE)
23 samplesperblock = 2 + 2 * (blockalign - 7 * psf->sf.channels) / psf->sf.channels ;
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.22/
H A D0014-riff-Fix-bps-caculation-error-for-ADPCM.patch2 From: Jiajian Wu <jair.wu@rock-chips.com>
7 ADPCM: rate * blockalign / ((blockalign - ch * 7) / ch * 2)
8 DVI ADPCM: rate * blockalign / ((blockalign - ch * 4) / ch * 2)
12 Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
13 ---
14 gst-libs/gst/riff/riff-media.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
19 --- a/gst-libs/gst/riff/riff-media.c
20 +++ b/gst-libs/gst/riff/riff-media.c
[all …]
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-base/
H A D0014-riff-Fix-bps-caculation-error-for-ADPCM.patch2 From: Jiajian Wu <jair.wu@rock-chips.com>
7 ADPCM: rate * blockalign / ((blockalign - ch * 7) / ch * 2)
8 DVI ADPCM: rate * blockalign / ((blockalign - ch * 4) / ch * 2)
12 Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
13 ---
14 gst-libs/gst/riff/riff-media.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
19 --- a/gst-libs/gst/riff/riff-media.c
20 +++ b/gst-libs/gst/riff/riff-media.c
[all …]
/OK3568_Linux_fs/buildroot/package/alsa-lib/
H A D0003-add-gain-for-audio-input.patch2 From: Nyx Zheng <zyh@rock-chips.com>
6 Signed-off-by: Nyx Zheng <zyh@rock-chips.com>
7 ---
11 diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c
13 --- a/src/pcm/pcm.c
15 @@ -854,6 +854,24 @@ void DCBDoing(void* pIn, int length, int channels)
19 +void add_gain(void* pIn, int length, int channels)
28 + int curChannel = i % channels;
29 + if(curChannel < channels - 2 ) {//audio loopback no need to add gain
40 @@ -1813,6 +1831,7 @@ snd_pcm_sframes_t snd_pcm_readi(snd_pcm_t *pcm, void *buffer, snd_pcm_uframes…
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20/
H A D0014-riff-Fix-bps-caculation-error-for-ADPCM.patch2 From: Jiajian Wu <jair.wu@rock-chips.com>
7 ADPCM: rate * blockalign / ((blockalign - ch * 7) * 2)
8 DVI ADPCM: rate * blockalign / ((blockalign - ch * 4) * 2)
12 Signed-off-by: Jiajian Wu <jair.wu@rock-chips.com>
13 ---
14 gst-libs/gst/riff/riff-media.c | 4 ++--
15 1 file changed, 2 insertions(+), 2 deletions(-)
17 diff --git a/gst-libs/gst/riff/riff-media.c b/gst-libs/gst/riff/riff-media.c
19 --- a/gst-libs/gst/riff/riff-media.c
20 +++ b/gst-libs/gst/riff/riff-media.c
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dpcm186x.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com
30 "avdd", /* Analog power supply. Connect to 3.3-V supply. */
31 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */
32 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */
45 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0);
49 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0,
55 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0,
58 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0,
85 "{VIN1P, VIN1M}[DIFF]",
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mux/
H A Dadi,adg792a.txt4 - compatible : "adi,adg792a" or "adi,adg792g"
5 - #mux-control-cells : <0> if parallel (the three muxes are bound together
8 * Standard mux-controller bindings as described in mux-controller.txt
11 - gpio-controller : if present, #gpio-cells below is required.
12 - #gpio-cells : should be <2>
13 - First cell is the GPO line number, i.e. 0 or 1
14 - Second cell is used to specify active high (0)
18 - idle-state : if present, array of states that the mux controllers will have
32 mux: mux-controller@50 {
35 #mux-control-cells = <1>;
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/speex/speex/
H A DCVE-2020-23903.patch1 Backport patch to fix CVE-2020-23903.
3 CVE: CVE-2020-23903
4 Upstream-Status: Backport [https://github.com/xiph/speex/commit/870ff84]
6 Signed-off-by: Kai Kang <kai.kang@windriver.com>
10 Date: Mon, 13 Jul 2020 23:25:03 -0400
14 ---
15 src/wav_io.c | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
18 diff --git a/src/wav_io.c b/src/wav_io.c
20 --- a/src/wav_io.c
[all …]
/OK3568_Linux_fs/buildroot/package/opentyrian/
H A D0001-Move-definitions-that-don-t-need-to-be-exposed-from-opl-h-to-opl-c.patch3 Date: Sun, 14 Jun 2020 14:11:00 -0600
9 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
10 ---
11 src/opl.c | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++-
12 src/opl.h | 157 ++----------------------------------------------------
13 2 files changed, 154 insertions(+), 156 deletions(-)
15 diff --git a/src/opl.c b/src/opl.c
17 --- a/src/opl.c
19 @@ -23,12 +23,161 @@
20 * Copyright (C) 1998-2001 Ken Silverman
[all …]

12345678910