Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 399) sorted by relevance

12345678910>>...16

/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-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/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/kernel/Documentation/sound/cards/
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 …]
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 …]
/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Deffects_i.c153 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()
233 *samples - samples_part : 0; in parsesamples()
249 next = lsx_parsesamples(10000, str, &samples, 't'); \
250 assert(samples == samp && next == str + len);
[all …]
H A Dlpc10.c28 unsigned samples; member
129 lpc->samples = LPC10_SAMPLES_PER_FRAME; in startread()
141 lpc->samples = 0; in startwrite()
154 if (lpc->samples == LPC10_SAMPLES_PER_FRAME) { in read_samples()
161 lpc->samples = 0; in read_samples()
164 while (nread < len && lpc->samples < LPC10_SAMPLES_PER_FRAME) in read_samples()
165 buf[nread++] = SOX_FLOAT_32BIT_TO_SAMPLE(lpc->speech[lpc->samples++], ft->clips); in read_samples()
177 while (len > 0 && lpc->samples < LPC10_SAMPLES_PER_FRAME) { in write_samples()
179 lpc->speech[lpc->samples++] = SOX_SAMPLE_TO_FLOAT_32BIT(buf[nwritten++], ft->clips); in write_samples()
183 if (lpc->samples == LPC10_SAMPLES_PER_FRAME) { in write_samples()
[all …]
H A Dfade.c50 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
128 &samples, 't') == NULL) in sox_fade_start()
131 fade->in_stop = samples; in sox_fade_start()
138 &samples, (uint64_t)0, in_length, '=') || in sox_fade_start()
[all …]
H A Dgsm.c46 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()
125 p->samplePtr = p->samples; in sox_gsmread()
137 gsp = p->samples + ch; in sox_gsmread()
165 gsp = p->samples + ch; in gsmflush()
178 p->samplePtr = p->samples; in gsmflush()
215 free(p->samples); in sox_gsmstopread()
225 if (p->samplePtr > p->samples) in sox_gsmstopwrite()
H A Decho.c60 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()
186 (echo->counter + echo->maxsamples - echo->samples[j]) % echo->maxsamples] in sox_echo_flow()
220 (echo->counter + echo->maxsamples - echo->samples[j]) % echo->maxsamples] in sox_echo_drain()
H A Dexample5.c47 sox_sample_t samples[MAX_SAMPLES]; /* Temporary store whilst copying. */ in main() local
66 while ((number_read = sox_read(in, samples, MAX_SAMPLES))) in main()
67 assert(sox_write(out, samples, number_read) == number_read); in main()
73 while ((number_read = sox_read(in, samples, MAX_SAMPLES))) in main()
74 assert(sox_write(out, samples, number_read) == number_read); in main()
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/solaris/
H A Dsun_bell.c48 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()
172 iov[iovcnt++].iov_len = sizeof(samples) - i; in xf86OSRingBell()
/OK3568_Linux_fs/kernel/drivers/media/pci/cx88/
H A Dcx88-dsp.c139 int samples = 5; in noise_magnitude() local
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
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()
267 dprintk(2, "RDS samples dump: %*ph\n", sample_count, samples); in read_rds_samples()
269 return samples; in read_rds_samples()
[all …]
/OK3568_Linux_fs/kernel/kernel/time/
H A Dposix-cpu-timers.c207 static inline void store_samples(u64 *samples, u64 stime, u64 utime, u64 rtime) in store_samples() argument
209 samples[CPUCLOCK_PROF] = stime + utime; in store_samples()
210 samples[CPUCLOCK_VIRT] = utime; in store_samples()
211 samples[CPUCLOCK_SCHED] = rtime; in store_samples()
214 static void task_sample_cputime(struct task_struct *p, u64 *samples) in task_sample_cputime() argument
219 store_samples(samples, stime, utime, p->se.sum_exec_runtime); in task_sample_cputime()
223 u64 *samples) in proc_sample_cputime_atomic() argument
230 store_samples(samples, stime, utime, rtime); in proc_sample_cputime_atomic()
267 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() argument
274 proc_sample_cputime_atomic(&cputimer->cputime_atomic, samples); in thread_group_sample_cputime()
[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/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/kernel/tools/testing/selftests/timers/
H A Dfreq-step.c111 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
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
180 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); in run_test()
184 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, in run_test()
/OK3568_Linux_fs/kernel/arch/powerpc/oprofile/cell/
H A Dspu_profiler.c20 static u32 *samples; variable
96 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
98 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
168 samples + (k * TRACE_ARRAY_SIZE), in profile_spus()
209 samples = kcalloc(SPUS_PER_NODE * TRACE_ARRAY_SIZE, sizeof(u32), in start_spu_profiling_cycles()
212 if (!samples) in start_spu_profiling_cycles()
241 kfree(samples); in stop_spu_profiling_cycles()
/OK3568_Linux_fs/buildroot/package/asterisk/
H A D0004-install-samples-need-the-data-files.patch4 Subject: [PATCH] install: samples need the data files
6 When installing samples, "sample voicemail" is generated from the
9 However, when doing the install and the samples at the same time in a
28 -samples: adsi
29 +samples: adsi datafiles
31 $(call INSTALL_CONFIGS,samples,.sample)
/OK3568_Linux_fs/kernel/arch/x86/kernel/cpu/
H A Daperfmperf.c27 static DEFINE_PER_CPU(struct aperfmperf_sample, samples);
43 struct aperfmperf_sample *s = this_cpu_ptr(&samples); in aperfmperf_snapshot_khz()
69 s64 time_delta = ktime_ms_delta(now, per_cpu(samples.time, cpu)); in aperfmperf_snapshot_cpu()
93 return per_cpu(samples.khz, cpu); in aperfmperf_get_khz()
131 return per_cpu(samples.khz, cpu); in arch_freq_get_on_cpu()
136 return per_cpu(samples.khz, cpu); in arch_freq_get_on_cpu()
/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/Documentation/devicetree/bindings/input/touchscreen/
H A Dbrcm,iproc-touchscreen.txt39 - average_data: Number of data samples which are averaged before a final
43 1 = 2 samples
44 2 = 4 samples
45 3 = 8 samples
46 4 = 16 samples
47 5 = 32 samples
48 6 = 64 samples
49 7 = 128 samples
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dkyber.h18 unsigned int denominator, unsigned int samples),
20 TP_ARGS(q, domain, type, percentile, numerator, denominator, samples),
29 __field( unsigned int, samples )
39 __entry->samples = samples;
45 __entry->denominator, __entry->samples)
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c137 uint32_t samples; in check_audio_bandwidth_hdmi() local
183 samples = h_blank * 10; in check_audio_bandwidth_hdmi()
187 samples /= 32; in check_audio_bandwidth_hdmi()
188 samples *= crtc_info->v_active; in check_audio_bandwidth_hdmi()
190 samples *= crtc_info->refresh_rate; in check_audio_bandwidth_hdmi()
192 samples /= 10; in check_audio_bandwidth_hdmi()
203 samples *= 4; in check_audio_bandwidth_hdmi()
206 samples *= 5; in check_audio_bandwidth_hdmi()
209 samples *= 6; in check_audio_bandwidth_hdmi()
212 samples *= 4; in check_audio_bandwidth_hdmi()
[all …]

12345678910>>...16