Home
last modified time | relevance | path

Searched refs:pcm (Results 1 – 25 of 84) sorted by relevance

1234

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/
DdiffiSAC.txt4 diff ../dataqa350/i30_1DTMF_16kHz_long.pcm ../dataqa351/i30_1DTMF_16kHz_long.pcm
5 diff ../dataqa350/i60_1DTMF_16kHz_long.pcm ../dataqa351/i60_1DTMF_16kHz_long.pcm
6 diff ../dataqa350/i30_2DTMF_16kHz_long.pcm ../dataqa351/i30_2DTMF_16kHz_long.pcm
7 diff ../dataqa350/i60_2DTMF_16kHz_long.pcm ../dataqa351/i60_2DTMF_16kHz_long.pcm
8 diff ../dataqa350/i30_3DTMF_16kHz_long.pcm ../dataqa351/i30_3DTMF_16kHz_long.pcm
9 diff ../dataqa350/i60_3DTMF_16kHz_long.pcm ../dataqa351/i60_3DTMF_16kHz_long.pcm
10 diff ../dataqa350/i30_4DTMF_16kHz_long.pcm ../dataqa351/i30_4DTMF_16kHz_long.pcm
11 diff ../dataqa350/i60_4DTMF_16kHz_long.pcm ../dataqa351/i60_4DTMF_16kHz_long.pcm
12 diff ../dataqa350/i30_5DTMF_16kHz_long.pcm ../dataqa351/i30_5DTMF_16kHz_long.pcm
13 diff ../dataqa350/i60_5DTMF_16kHz_long.pcm ../dataqa351/i60_5DTMF_16kHz_long.pcm
[all …]
DInputFiles.txt1 DTMF_16kHz_long.pcm
2 DTMF_16kHz_short.pcm
10 longtest.pcm
11 ltest_speech_clean.pcm
12 ltest_music.pcm
13 ltest_speech_noisy.pcm
14 misc2.pcm
15 purenb.pcm
16 sawsweep_380_60.pcm
17 sinesweep.pcm
[all …]
DruniSACRate.txt8 …exe 13000 -FIXED_FL -FL 30 -MAX 100 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_1.pcm > $LOGG
9 …xt -FIXED_FL -FL 30 -MAXRATE 32000 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_2.pcm >> $LOGG
10 …xe 13000 -FIXED_FL -FL 30 -MAX 100 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_3.pcm >> $LOGG
11 …xt -FIXED_FL -FL 30 -MAXRATE 32000 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_4.pcm >> $LOGG
12 …xe 13000 -FIXED_FL -FL 60 -MAX 100 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_5.pcm >> $LOGG
13 …xt -FIXED_FL -FL 60 -MAXRATE 32000 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_6.pcm >> $LOGG
14 …TE 32000 -FIXED_FL -FL 60 -MAX 100 ../data/orig/sawsweep_380_60.pcm $OUTDIR/out_napi_7.pcm >> $LOGG
16 …ny.exe 13000 -FIXED_FL -FL 30 -MAX 100 ../data/orig/longspeech.pcm $OUTDIR/out_napi_11.pcm >> $LOGG
17 …ks.txt -FIXED_FL -FL 30 -MAXRATE 32000 ../data/orig/longspeech.pcm $OUTDIR/out_napi_12.pcm >> $LOGG
18 …ny.exe 13000 -FIXED_FL -FL 30 -MAX 100 ../data/orig/longspeech.pcm $OUTDIR/out_napi_13.pcm >> $LOGG
[all …]
DdiffiSACPLC.txt10 diff $OUTDIR1/outplc1.pcm $OUTDIR2/outplc1.pcm
11 diff $OUTDIR1/outplc2.pcm $OUTDIR2/outplc2.pcm
12 diff $OUTDIR1/outplc3.pcm $OUTDIR2/outplc3.pcm
13 diff $OUTDIR1/outplc4.pcm $OUTDIR2/outplc4.pcm
14 diff $OUTDIR1/outplc5.pcm $OUTDIR2/outplc5.pcm
15 diff $OUTDIR1/outplc6.pcm $OUTDIR2/outplc6.pcm
DruniSACPLC.txt13 $ISAC 12000 -PL 15 $INDIR/speechmusic.pcm $OUTDIR/outplc1.pcm
14 $ISAC 20000 -PL 15 $INDIR/speechmusic.pcm $OUTDIR/outplc2.pcm
15 $ISAC 32000 -PL 15 $INDIR/speechmusic.pcm $OUTDIR/outplc3.pcm
16 $ISAC 12000 -PL 15 $INDIR/tone_cisco.pcm $OUTDIR/outplc4.pcm
17 $ISAC 20000 -PL 15 $INDIR/tone_cisco.pcm $OUTDIR/outplc5.pcm
18 $ISAC 32000 -PL 15 $INDIR/tone_cisco.pcm $OUTDIR/outplc6.pcm
DInputFilesFew.txt1 DTMF_16kHz_short.pcm
2 ltest_speech_noisy.pcm
3 misc2.pcm
4 sinesweep.pcm
5 speechmusic.pcm
6 tone_cisco.pcm
/external/tinyalsa/
Dpcm.c243 struct pcm { struct
261 unsigned int pcm_get_buffer_size(struct pcm *pcm) in pcm_get_buffer_size() argument
263 return pcm->buffer_size; in pcm_get_buffer_size()
266 const char* pcm_get_error(struct pcm *pcm) in pcm_get_error() argument
268 return pcm->error; in pcm_get_error()
271 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops() argument
277 vsnprintf(pcm->error, PCM_ERROR_MAX, fmt, ap); in oops()
279 sz = strlen(pcm->error); in oops()
282 snprintf(pcm->error + sz, PCM_ERROR_MAX - sz, in oops()
318 unsigned int pcm_bytes_to_frames(struct pcm *pcm, unsigned int bytes) in pcm_bytes_to_frames() argument
[all …]
Dtinycap.c189 struct pcm *pcm; in capture_sample() local
204 pcm = pcm_open(card, device, PCM_IN, &config); in capture_sample()
205 if (!pcm || !pcm_is_ready(pcm)) { in capture_sample()
207 pcm_get_error(pcm)); in capture_sample()
211 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in capture_sample()
216 pcm_close(pcm); in capture_sample()
223 while (capturing && !pcm_read(pcm, buffer, size)) { in capture_sample()
232 pcm_close(pcm); in capture_sample()
233 return pcm_bytes_to_frames(pcm, bytes_read); in capture_sample()
Dtinyplay.c216 struct pcm *pcm; in play_sample() local
238 pcm = pcm_open(card, device, PCM_OUT, &config); in play_sample()
239 if (!pcm || !pcm_is_ready(pcm)) { in play_sample()
241 device, pcm_get_error(pcm)); in play_sample()
245 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm)); in play_sample()
250 pcm_close(pcm); in play_sample()
262 if (pcm_write(pcm, buffer, num_read)) { in play_sample()
270 pcm_close(pcm); in play_sample()
/external/tinyalsa/include/tinyalsa/
Dasoundlib.h43 struct pcm;
154 struct pcm *pcm_open(unsigned int card, unsigned int device,
156 int pcm_close(struct pcm *pcm);
157 int pcm_is_ready(struct pcm *pcm);
191 int pcm_get_config(struct pcm *pcm, struct pcm_config *config);
192 int pcm_set_config(struct pcm *pcm, struct pcm_config *config);
195 const char *pcm_get_error(struct pcm *pcm);
205 unsigned int pcm_get_buffer_size(struct pcm *pcm);
206 unsigned int pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames);
207 unsigned int pcm_bytes_to_frames(struct pcm *pcm, unsigned int bytes);
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/QA/
DruniSACLongtest.txt152 $ISAC -B 10000 -FS 16 ../data/orig/speech_and_misc_WB.pcm \
153 ../FrameSizeLim"$PLATFORM"/APITest_"$idx".pcm >> $LOGFILE_API
160 $ISAC -B 10000 -FL 30 -FIXED_FL -FS 16 ../data/orig/speech_and_misc_WB.pcm \
161 ../FrameSizeLim"$PLATFORM"/APITest_"$idx".pcm >> $LOGFILE_API
167 $ISAC -B 32000 -FS 16 ../data/orig/speech_and_misc_WB.pcm \
168 ../FrameSizeLim"$PLATFORM"/APITest_"$idx".pcm >> $LOGFILE_API
175 $ISAC -B 32000 -FL 60 -FIXED_FL -FS 16 ../data/orig/speech_and_misc_WB.pcm \
176 ../FrameSizeLim"$PLATFORM"/APITest_"$idx".pcm >> $LOGFILE_API
192 $ISAC -I -B 32000 -FL 60 -FS 16 ../data/orig/speech_and_misc_WB.pcm \
193 ../PayloadLim"$PLATFORM"/APITest_"$idx".pcm >> $LOGFILE_API
[all …]
DruniSACfault.txt40 file_wb=../data/orig/16kHz.pcm
41 file_swb=../data/origswb/32kHz.pcm
59 $OUTDIR/ft"$testnr"_"${TARGETRATE[idx]}"_"${SAMPFREQ[idx]}".pcm >> LOGFILE
67 $OUTDIR/ft10_"${TARGETRATE[idx]}"_"${SAMPFREQ[idx]}".pcm >> LOGFILE
71 $OUTDIR/ft10plc_"${TARGETRATE[idx]}"_"${SAMPFREQ[idx]}".pcm >> LOGFILE
/external/clang/test/Modules/
Drebuild.m5 // RUN: touch -m -a -t 201101010000 %t/Module.pcm
6 // RUN: cp %t/Module.pcm %t/Module.pcm.saved
7 // RUN: wc -c %t/Module.pcm > %t/Module.size.saved
11 // RUN: diff %t/Module.pcm %t/Module.pcm.saved
12 // RUN: cp %t/DependsOnModule.pcm %t/DependsOnModule.pcm.saved
15 // RUN: rm %t/Module.pcm
17 // RUN: touch -m -a -t 201101010000 %t/Module.pcm
18 // RUN: wc -c %t/Module.pcm > %t/Module.size
20 // RUN: cp %t/Module.pcm %t/Module.pcm.saved.2
25 // RUN: diff %t/Module.pcm %t/Module.pcm.saved.2
[all …]
DWerror.m9 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
14 // RUN: diff %t/Module.pcm %t-saved/Module.pcm
20 // RUN: not diff %t/Module.pcm %t-saved/Module.pcm
21 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
27 // RUN: diff %t/Module.pcm %t-saved/Module.pcm
33 // RUN: not diff %t/Module.pcm %t-saved/Module.pcm
34 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
42 // RUN-DISABLED: diff %t/Module.pcm %t-saved/Module.pcm
48 // RUN: cp %t/Module.pcm %t-saved/Module.pcm
52 // RUN: not diff %t/Module.pcm %t-saved/Module.pcm
[all …]
Ddependency-gen.modulemap4 …-pch -fmodules-strict-decluse %s -dependency-file - -MT implicit.pcm -o %t/implicit.pcm -fmodules-…
6 …h -fmodules-strict-decluse Inputs/dependency-gen-base.modulemap -o %t/base.pcm -fmodule-map-file-h…
7 …fmodules-strict-decluse -fmodule-file=%t/base.pcm %s -dependency-file - -MT explicit.pcm -o %t/exp…
9 …include Inputs/dependency-gen.h -x c++ /dev/null -fmodule-file=%t/explicit.pcm -MT main.o -fsyntax…
18 // referenced by the .pcm are also dependencies of this build.
29 // dependencies of the explicitly-specified .pcm input).
31 // EXPLICIT: {{^}}explicit.pcm:
35 // EXPLICIT: base.pcm
41 // EXPLICIT-USE-NOT: base.pcm
42 // EXPLICIT-USE: explicit.pcm
[all …]
Dvalidate-system-headers.m9 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
13 // The pcm file in the cache should fail to validate.
16 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
21 // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
26 // RUN: cp %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
28 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
35 // RUN: diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
39 // RUN: not diff %t/ModuleCache/Foo.pcm %t/Foo.pcm.saved
Dadd-remove-private.m8 // RUN: cp %t.mcp/AddRemovePrivate.pcm %t/with.pcm
13 // RUN: not diff %t.mcp/AddRemovePrivate.pcm %t/with.pcm
14 // RUN: cp %t.mcp/AddRemovePrivate.pcm %t/without.pcm
21 // RUN: not diff %t.mcp/AddRemovePrivate.pcm %t/without.pcm
Dprune.m17 // RUN: ls -R %t | grep ^Module.*pcm
18 // RUN: ls -R %t | grep DependsOnModule.*pcm
25 // RUN: ls -R %t | grep ^Module.*pcm
26 // RUN: ls -R %t | grep DependsOnModule.*pcm
31 // RUN: find %t -name DependsOnModule*.pcm | xargs touch -a -t 201101010000
34 // RUN: ls -R %t | grep ^Module.*pcm
35 // RUN: ls -R %t | grep DependsOnModule.*pcm
37 // Set both timestamp and DependsOnModule.pcm back beyond the cutoff.
40 // RUN: find %t -name DependsOnModule*.pcm | xargs touch -a -t 201101010000
43 // RUN: ls -R %t | grep ^Module.*pcm
[all …]
DWerror-Wsystem-headers.m8 // RUN: cp %t/cstd.pcm %t-saved/cstd.pcm
13 // RUN: diff %t/cstd.pcm %t-saved/cstd.pcm
19 // RUN: not diff %t/cstd.pcm %t-saved/cstd.pcm
Dempty.modulemap5 // RUN: -emit-module -fmodule-name=empty -o %t/base.pcm \
10 // RUN: -emit-module -fmodule-name=empty -o %t/check.pcm \
14 // RUN: diff %t/base.pcm %t/check.pcm
18 // RUN: wc -c %t/base.pcm | FileCheck --check-prefix=CHECK-SIZE %s
/external/webrtc/webrtc/modules/
Dmodules_unittests.isolate27 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref.pcm',
28 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref_win_32.pcm',
29 '<(DEPTH)/resources/audio_coding/neteq4_universal_ref_win_64.pcm',
31 '<(DEPTH)/resources/audio_coding/speech_mono_16kHz.pcm',
32 '<(DEPTH)/resources/audio_coding/speech_mono_32_48kHz.pcm',
33 '<(DEPTH)/resources/audio_coding/testfile32kHz.pcm',
34 '<(DEPTH)/resources/audio_coding/teststereo32kHz.pcm',
35 '<(DEPTH)/resources/audio_device/audio_short16.pcm',
36 '<(DEPTH)/resources/audio_device/audio_short44.pcm',
37 '<(DEPTH)/resources/audio_device/audio_short48.pcm',
[all …]
/external/libvorbis/lib/
Dblock.c251 v->pcm=_ogg_malloc(vi->channels*sizeof(*v->pcm)); in _vds_shared_init()
256 v->pcm[i]=_ogg_calloc(v->pcm_storage,sizeof(*v->pcm[i])); in _vds_shared_init()
368 if(v->pcm){ in vorbis_dsp_clear()
371 if(v->pcm[i])_ogg_free(v->pcm[i]); in vorbis_dsp_clear()
372 _ogg_free(v->pcm); in vorbis_dsp_clear()
405 v->pcm[i]=_ogg_realloc(v->pcm[i],v->pcm_storage*sizeof(*v->pcm[i])); in vorbis_analysis_buffer()
410 v->pcmret[i]=v->pcm[i]+v->pcm_current; in vorbis_analysis_buffer()
427 work[j]=v->pcm[i][v->pcm_current-j-1]; in _preextrapolate_helper()
450 v->pcm[i][v->pcm_current-j-1]=work[j]; in _preextrapolate_helper()
490 vorbis_lpc_from_data(v->pcm[i]+v->eofflag-n,lpc,n,order); in vorbis_analysis_wrote()
[all …]
Dpsytune.c242 float *pcm[2],*out[2],*window,*flr[2],*mask[2],*work[2]; in main() local
276 pcm[0]=_ogg_malloc(framesize*sizeof(float)); in main()
277 pcm[1]=_ogg_malloc(framesize*sizeof(float)); in main()
314 pcm[0][i]=((buffer[i*4+1]<<8)| in main()
316 pcm[1][i]=((buffer[i*4+3]<<8)| in main()
330 float *mdct=pcm[i]; in main()
333 analysis("pre",frameno+i,pcm[i],framesize,0,0); in main()
337 fft[j]=pcm[i][j]*=window[j]; in main()
351 mdct_forward(&m_look,pcm[i],mdct); in main()
363 float *mdct=pcm[i]; in main()
[all …]
Dmapping0.c266 float *pcm =vb->pcm[i]; in mapping0_forward() local
267 float *logfft =pcm; in mapping0_forward()
290 _analysis_output("pcmL",seq,pcm,n,0,0,total-n/2); in mapping0_forward()
292 _analysis_output("pcmR",seq,pcm,n,0,0,total-n/2); in mapping0_forward()
294 _analysis_output("pcm",seq,pcm,n,0,0,total-n/2); in mapping0_forward()
299 _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW); in mapping0_forward()
304 _analysis_output("windowedL",seq,pcm,n,0,0,total-n/2); in mapping0_forward()
306 _analysis_output("windowedR",seq,pcm,n,0,0,total-n/2); in mapping0_forward()
308 _analysis_output("windowed",seq,pcm,n,0,0,total-n/2); in mapping0_forward()
314 mdct_forward(b->transform[vb->W][0],pcm,gmdct[i]); in mapping0_forward()
[all …]
/external/libopus/src/
Dopus_decoder.c205 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode_frame() argument
268 pcm[i] = 0; in opus_decode_frame()
278 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); in opus_decode_frame()
284 pcm += ret*st->channels; in opus_decode_frame()
480 len, pcm, celt_frame_size, &dec); in opus_decode_frame()
484 pcm[i] = 0; in opus_decode_frame()
490 celt_decode_with_ec(celt_dec, silence, 2, pcm, F2_5, NULL); in opus_decode_frame()
498 pcm[i] = SAT16(pcm[i] + pcm_silk[i]); in opus_decode_frame()
501 pcm[i] = pcm[i] + (opus_val16)((1.f/32768.f)*pcm_silk[i]); in opus_decode_frame()
519 smooth_fade(pcm+st->channels*(frame_size-F2_5), redundant_audio+st->channels*F2_5, in opus_decode_frame()
[all …]

1234