Home
last modified time | relevance | path

Searched full:samples (Results 1 – 25 of 1310) sorted by relevance

12345678910>>...53

/OK3568_Linux_fs/buildroot/dl/opencv4/
HDopencv4-4.5.4.tar.gzpax_global_header opencv-4.5.4/ opencv-4.5.4/.editorconfig opencv-4.5. ...
/OK3568_Linux_fs/kernel/Documentation/sound/cards/
H A Daudigy-mixer.rst49 This control is used to attenuate samples for left and right front PCM FX-bus
51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM
56 This control is used to attenuate samples for left and right surround PCM FX-bus
58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM
63 This control is used to attenuate samples for center PCM FX-bus accumulator.
75 This control is used to attenuate samples for left and right PCM FX-bus
76 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for
77 stereo playback. The result samples are forwarded to the front DAC PCM slots
82 This control is used to attenuate samples for left and right PCM FX-bus
89 This control is used to attenuate samples for left and right MIDI FX-bus
[all …]
H A Dsb-live-mixer.rst64 This control is used to attenuate samples for left and right PCM FX-bus
65 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
66 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
70 This control is used to attenuate samples for left and right PCM FX-bus
71 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
72 The result samples are forwarded to the rear I2S DACs. These DACs operates
77 This control is used to attenuate samples for left and right PCM FX-bus
78 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
84 This control is used to attenuate samples for left and right PCM FX-bus
91 These controls are used to attenuate samples for left and right PCM FX-bus
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0001-immom_python-convert-to-python3.patch13 samples/immsv/immom_python/immom.py | 2 +-
14 samples/immsv/immom_python/immomexamples.py | 2 +-
15 samples/immsv/immom_python/immomtest.py | 2 +-
18 diff --git a/samples/immsv/immom_python/immom.py b/samples/immsv/immom_python/immom.py
20 --- a/samples/immsv/immom_python/immom.py
21 +++ b/samples/immsv/immom_python/immom.py
28 diff --git a/samples/immsv/immom_python/immomexamples.py b/samples/immsv/immom_python/immomexamples…
30 --- a/samples/immsv/immom_python/immomexamples.py
31 +++ b/samples/immsv/immom_python/immomexamples.py
38 diff --git a/samples/immsv/immom_python/immomtest.py b/samples/immsv/immom_python/immomtest.py
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c23 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
31 for (i = 0; i < samples; i++) { in timing()
52 unsigned long long i, samples, step = 9973; in calibrate() local
58 samples = 0; in calibrate()
68 samples += step; in calibrate()
74 return samples * seconds; in calibrate()
142 unsigned long long samples, calc; in main() local
151 samples = strtoull(argv[1], NULL, 0); in main()
153 samples = calibrate(); in main()
155 printf("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing/
H A D0006-common_audio-implement-endianness-conversion-in-wav-.patch24 size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) {
26 -#error "Need to convert samples to big-endian when reading from WAV file"
31 @@ -76,6 +73,13 @@ size_t WavReader::ReadSamples(size_t num_samples, int16_t* samples) {
37 + // Convert the read samples from little-endian to big-endian.
39 + samples[i] = ((uint16_t) samples[i] >> 8) | ((uint16_t) samples[i] << 8);
48 void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) {
50 -#error "Need to convert samples to little-endian when writing to WAV file"
53 + // Convert the samples from big-endian samples to little-endian.
54 + int16_t* converted_samples = static_cast<int16_t*>(malloc(num_samples * sizeof(*samples)));
58 + ((uint16_t) samples[i] >> 8) | ((uint16_t) samples[i] << 8);
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/autofs/autofs/
H A Dno-bash.patch6 samples/auto.net | 2 +-
7 samples/auto.smb | 2 +-
10 diff --git a/samples/auto.net b/samples/auto.net
12 --- a/samples/auto.net
13 +++ b/samples/auto.net
20 diff --git a/samples/auto.smb b/samples/auto.smb
22 --- a/samples/auto.smb
23 +++ b/samples/auto.smb
/OK3568_Linux_fs/buildroot/dl/sox/git/
H A Dlibsox.3107 The function \fBsox_read\fR reads \fIlen\fR samples in to \fIbuf\fR
109 converted to 32-bit signed samples before being placed in to
110 \fIbuf\fR. The value of \fIlen\fR is specified in total samples. If
114 The function \fBsox_write\fR writes \fIlen\fR samples from \fIbuf\fR
116 be 32-bit signed samples and will be converted during the write
117 process. The value of \fIlen\fR is specified in total samples. If its
174 \fBsox_read\fR and \fBsox_write\fR return the number of samples
193 buffers of these samples, and buffer sizes which refer to the number
194 of samples processed, not the number of bytes. File readers translate
195 the input samples to signed 32-bit integers and return the number of
[all …]
/OK3568_Linux_fs/kernel/drivers/media/pci/cx88/
H A Dcx88-dsp.c139 int samples = 5; in noise_magnitude() local
142 /* The last 192 samples are enough for noise detection */ in noise_magnitude()
147 freq_step = (freq_end - freq_start) / (samples - 1); in noise_magnitude()
149 for (i = 0; i < samples; i++) { in noise_magnitude()
154 return (u32)int_sqrt(sum / samples); in noise_magnitude()
240 s16 *samples; in read_rds_samples() local
251 "read RDS samples: current_address=%08x (offset=%08x), sample_count=%d, aud_intstat=%08x\n", in read_rds_samples()
255 samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); in read_rds_samples()
256 if (!samples) in read_rds_samples()
263 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/timers/
H A Dfreq-step.c20 #define SAMPLES 100 macro
111 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
120 x = samples[i].time; in regress()
121 y = samples[i].offset; in regress()
135 x = samples[i].time; in regress()
136 y = samples[i].offset; in regress()
148 struct sample samples[SAMPLES]; in run_test() local
167 for (i = 0; i < SAMPLES; i++) { in run_test()
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Dfade.c26 typedef struct { /* These are measured as samples */
50 uint64_t samples; in sox_fade_getopts() local
78 n = lsx_parsesamples(0., fade->in_stop_str, &samples, 't'); in sox_fade_getopts()
82 fade->in_stop = samples; in sox_fade_getopts()
96 fade->out_stop = samples; in sox_fade_getopts()
103 n = lsx_parsesamples(0., fade->out_start_str, &samples, 't'); in sox_fade_getopts()
106 fade->out_start = samples; in sox_fade_getopts()
121 uint64_t samples; in sox_fade_start() local
125 /* converting time values to samples */ in sox_fade_start()
128 &samples, 't') == NULL) in sox_fade_start()
[all …]
H A Dexample1.c31 /* The function that will be called to input samples into the effects chain.
32 * In this example, we get samples to process from a SoX-openned audio file.
43 /* Read up to *osamp samples into obuf; store the actual number read in input_drain()
48 * 0 samples is returned does it indicate that end-of-file has been reached in input_drain()
55 /* The function that will be called to output samples from the effects chain.
56 * In this example, we store the samples in a SoX-opened audio file.
62 /* Write out *isamp samples */ in output_flow()
65 /* len is the number of samples that were actually written out; if this is in output_flow()
74 * 0 samples on to the next effect (as there isn't one!) */ in output_flow()
79 return SOX_SUCCESS; /* All samples output successfully */ in output_flow()
[all …]
H A Dima_rw.h32 /* lsx_ima_block_expand_i() outputs interleaved samples into one output buffer */
36 SAMPL *obuff, /* output samples, n*chans */
37 int n /* samples to decode PER channel, REQUIRE n % 8 == 1 */
40 /* lsx_ima_block_expand_m() outputs non-interleaved samples into chan separate output buffers */
44 SAMPL **obuffs, /* chan output sample buffers, each takes n samples */
45 int n /* samples to decode PER channel, REQUIRE n % 8 == 1 */
51 const SAMPL *ip, /* ip[] is interleaved input samples */
52 int n, /* samples to encode PER channel, REQUIRE n % 8 == 1 */
58 /* Some helper functions for computing samples/block and blockalign */
62 * returns the number of samples/channel which would go
H A Deffects_i.c140 * Parse a string for # of samples. The input consists of one or more
144 * user-calculated # of samples.
148 * calculate # of samples.
153 static char const * parsesamples(sox_rate_t rate, const char *str0, uint64_t *samples, int def, int…
155 char const * lsx_parsesamples(sox_rate_t rate, const char *str0, uint64_t *samples, int def) in lsx_parsesamples() argument
157 *samples = 0; in lsx_parsesamples()
158 return parsesamples(rate, str0, samples, def, '+'); in lsx_parsesamples()
161 static char const * parsesamples(sox_rate_t rate, const char *str0, uint64_t *samples, int def, int… in parsesamples() argument
231 case '+': *samples += samples_part; break; in parsesamples()
232 case '-': *samples = samples_part <= *samples ? in parsesamples()
[all …]
H A Dgsm.c40 /* samples per gsm_frame */
46 gsm_signal *samples; member
81 p->samples = lsx_malloc(BLOCKSIZE * (p->channels+1) * sizeof(gsm_signal)); in gsmstart_rw()
82 p->sampleTop = p->samples + BLOCKSIZE*p->channels; in gsmstart_rw()
83 p->samplePtr = (w)? p->samples : p->sampleTop; in gsmstart_rw()
98 * Read up to len samples from file.
101 * Return number of samples read.
125 p->samplePtr = p->samples; in sox_gsmread()
137 gsp = p->samples + ch; in sox_gsmread()
156 /* zero-fill samples as needed */ in gsmflush()
[all …]
H A Decho.c38 * when decay is close to 1.0, the samples can begin clipping and the output
60 ptrdiff_t samples[MAX_ECHOS], maxsamples; member
123 echo->samples[i] = echo->delay[i] * effp->in_signal.rate / 1000.0; in sox_echo_start()
124 if ( echo->samples[i] < 1 ) in sox_echo_start()
129 if ( echo->samples[i] > (ptrdiff_t)DELAY_BUFSIZ ) in sox_echo_start()
145 if ( echo->samples[i] > echo->maxsamples ) in sox_echo_start()
146 echo->maxsamples = echo->samples[i]; in sox_echo_start()
166 * Processed signed long samples from ibuf to obuf.
167 * Return number of samples processed.
186 (echo->counter + echo->maxsamples - echo->samples[j]) % echo->maxsamples] in sox_echo_flow()
[all …]
H A Dwav.c86 /* samples/channel reading: starts at total count and decremented */
87 /* writing: starts at 0 and counts samples written */
105 short *samples; /* interleaved samples buffer */ member
107 short *sampleTop; /* End of samples-buffer */
108 unsigned short blockSamplesRemaining;/* Samples remaining per channel */
163 wav->samples = in wav_ima_adpcm_fmt()
171 * ImaAdpcmReadBlock - Grab and decode complete block of samples
196 wav->samplePtr = wav->samples; in ImaAdpcmReadBlock()
200 lsx_ima_block_expand_i(ft->signal.channels, wav->packet, wav->samples, samplesThisBlock); in ImaAdpcmReadBlock()
250 wav->samples = in wav_ms_adpcm_fmt()
[all …]
/OK3568_Linux_fs/kernel/samples/bpf/
H A DREADME.rst20 It can be needed to clean tools, samples or kernel before trying new arch or
24 make -C samples/bpf clean
46 For building the BPF samples, issue the below command from the kernel
49 make M=samples/bpf
78 make M=samples/bpf LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang
80 Cross compiling samples
85 build samples for the cross target::
97 Build samples::
99 make M=samples/bpf
101 Or build samples with SYSROOT if some header or library is absent in toolchain,
[all …]
/OK3568_Linux_fs/buildroot/dl/ncurses/
HDncurses-6.1.tar.gzncurses-6.1/ ncurses-6.1/panel/ ncurses-6.1/mk-0th. ...
/OK3568_Linux_fs/buildroot/dl/sox/git/test/
H A DREADME21 rate conversion from 8000 ->22050 samples per second,
48 -l means use 32-bit signed samples, otherwise 16-bit signed is used.
60 400 samples samples of silence,
61 4000 samples with smooth envelope rising to volume -v0.5
62 16000 samples at -v0.5
63 4000 samples with smooth envelope falling to 0,
78 the squared samples is found. This is the time offset which should
81 step 2: let N = 16000*(rate1/rate0) be the number of samples at output rate
83 We focus on the samples between
88 to this segment of 0.6*N samples, and print out the component
/OK3568_Linux_fs/kernel/tools/perf/Documentation/
H A Dperf-diff.txt23 If no parameters are passed the samples will be sorted by dso and symbol.
128 Analyze samples within given time window. It supports time
150 It also supports analyzing samples within a given time window
174 --cpu:: Only diff samples for the list of CPUs provided. Multiple CPUs can
176 CPUs are specified with -: 0-2. Default is to report samples on all
180 Only diff samples for given process ID (comma separated list).
183 Only diff samples for given thread ID (comma separated list).
187 aggregated by the branch records from samples.
192 file is iterated for samples. All other perf.data files specified on
196 All samples from non-baseline perf.data files, that do not match any
[all …]
/OK3568_Linux_fs/kernel/tools/perf/scripts/python/
H A Dexport-to-sqlite.py69 # difference is the 'transaction' column of the 'samples' table which is
206 do_query(query, 'CREATE TABLE samples ('
228 do_query(query, 'CREATE TABLE samples ('
446 ' FROM samples')
456 ' INNER JOIN samples ON samples.id = ptwrite.id')
467 ' INNER JOIN samples ON samples.id = cbr.id')
477 ' INNER JOIN samples ON samples.id = mwait.id')
488 ' INNER JOIN samples ON samples.id = pwre.id')
497 ' INNER JOIN samples ON samples.id = exstop.id')
513 ' INNER JOIN samples ON samples.id = pwrx.id')
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/
H A Dsun_bell.c37 #define BELL_RATE 48000 /* Samples per second */
48 static short samples[BELL_SAMPLES]; in xf86OSRingBell() local
93 samples[i] = (short) (ampl * sin(2.0 * M_PI * phase)); in xf86OSRingBell()
137 iov[iovcnt].iov_base = (char *) samples; in xf86OSRingBell()
138 iov[iovcnt++].iov_len = sizeof(samples); in xf86OSRingBell()
143 if ((written < ((int) (sizeof(samples) * iovcnt)))) { in xf86OSRingBell()
159 i = ((sizeof(samples) * iovcnt) - written) in xf86OSRingBell()
160 / sizeof(samples); in xf86OSRingBell()
168 i = ((sizeof(samples) * iovcnt) - written) % sizeof(samples); in xf86OSRingBell()
171 iov[iovcnt].iov_base = ((char *) samples) + i; in xf86OSRingBell()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/tests/
H A Dparser_test.py43 samples = state.ps_stats
44 processes = samples.process_map
53 print(process.pid / 1000, process.cmd, process.ppid, len(process.samples))
59 self.assertEqual(tokens[3], str(len(process.samples)))
66samples = parsing.parse_file(writer, state_with_headers, self.mk_fname('proc_diskstats.log')).disk…
67 self.assertEqual(141, len(samples))
72 sample = samples[index]
86 samples = parsing.parse_file(writer, trace, self.mk_fname('proc_stat.log')).cpu_stats
87 self.assertEqual(141, len(samples))
92 sample = samples[index]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dfsl-imx25-tcq.c156 * We measure X/Y with 'sample_count' number of samples and execute a in imx25_setup_queue_4wire()
238 unsigned int samples) in mx25_tcq_create_event_for_4wire() argument
246 for (i = 0; i < samples; i++) { in mx25_tcq_create_event_for_4wire()
264 dev_dbg(priv->dev, "Dropped samples because of invalid index %d\n", in mx25_tcq_create_event_for_4wire()
270 if (samples != 0) { in mx25_tcq_create_event_for_4wire()
277 /* valid samples, generate a report */ in mx25_tcq_create_event_for_4wire()
290 * if both samples are invalid, in mx25_tcq_create_event_for_4wire()
300 * happens. Take additional samples in this in mx25_tcq_create_event_for_4wire()
312 unsigned int samples; in mx25_tcq_irq_thread() local
317 * Check how many samples are available. We always have to read exactly in mx25_tcq_irq_thread()
[all …]

12345678910>>...53