Searched defs:pcm (Results 1 - 25 of 28) sorted by relevance

12

/external/libvorbis/examples/
H A Ddecoder_example.c227 float **pcm; local
234 **pcm is a multichannel float vector. In stereo, for
235 example, pcm[0] is left, and pcm[1] is right. samples is
239 while((samples=vorbis_synthesis_pcmout(&vd,&pcm))>0){
248 float *mono=pcm[i];
/external/libvorbis/test/
H A Dwrite_read.c255 float **pcm; local
260 while ((samples = vorbis_synthesis_pcmout (&vd,&pcm)) > 0 && read_total < count) {
264 memcpy (data + read_total, pcm[0], bout * sizeof (float)) ;
/external/tremolo/Tremolo/
H A Ddsp.c143 /* pcm==0 indicates we just want the pending samples, no more */
144 int vorbis_dsp_pcmout(vorbis_dsp_state *v,ogg_int16_t *pcm,int samples){ argument
149 if(pcm){
157 pcm+i,vi->channels,
H A Dmapping0.c196 //_analysis_output("coupled",seq+j,vb->pcm[j],-8,n/2,0,0);
227 //_analysis_output("residue",seq+j,vb->pcm[j],-8,n/2,0,0);
231 ogg_int32_t *pcm=vd->work[i]; local
241 floor1_inverse2(vd,ci->floor_param[floorno],floormemo[i],pcm);
244 floor0_inverse2(vd,ci->floor_param[floorno],floormemo[i],pcm);
249 //_analysis_output("mdct",seq+j,vb->pcm[j],-24,n/2,0,1);
257 //_analysis_output("imdct",seq+j,vb->pcm[j],-24,n,0,0);
/external/libopus/src/
H A Dopus_multistream_decoder.c188 void *pcm,
267 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
275 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
285 (*copy_channel_out)(pcm, st->layout.nb_channels, chan,
296 (*copy_channel_out)(pcm, st->layout.nb_channels, c,
369 opus_int16 *pcm,
375 pcm, opus_copy_channel_out_short, frame_size, decode_fec, 0);
380 opus_int32 len, float *pcm, int frame_size, int decode_fec)
383 pcm, opus_copy_channel_out_float, frame_size, decode_fec, 0);
390 opus_int32 len, opus_int16 *pcm, in
184 opus_multistream_decode_native( OpusMSDecoder *st, const unsigned char *data, opus_int32 len, void *pcm, opus_copy_channel_out_func copy_channel_out, int frame_size, int decode_fec, int soft_clip ) argument
365 opus_multistream_decode( OpusMSDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec ) argument
379 opus_multistream_decode_float(OpusMSDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) argument
389 opus_multistream_decode(OpusMSDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) argument
396 opus_multistream_decode_float( OpusMSDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec ) argument
[all...]
H A Dopus_decoder.c201 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec)
265 pcm[i] = 0;
275 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0);
281 pcm += ret*st->channels;
343 pcm_ptr = pcm;
491 len, pcm, celt_frame_size, &dec, celt_accum);
497 pcm[i] = 0;
504 celt_decode_with_ec(celt_dec, silence, 2, pcm, F2_5, NULL, celt_accum);
512 pcm[i] = SAT16(ADD32(pcm[
200 opus_decode_frame(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
598 opus_decode_native(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, int self_delimited, opus_int32 *packet_offset, int soft_clip) argument
713 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
722 opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) argument
758 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) argument
792 opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
[all...]
H A Dopus_multistream_encoder.c233 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, argument
272 (*copy_channel_in)(x, 1, pcm, channels, c, len);
821 const void *pcm,
869 frame_size = compute_frame_size(pcm, analysis_frame_size,
907 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in, st->arch);
982 pcm, st->layout.nb_channels, left, frame_size);
984 pcm, st->layout.nb_channels, right, frame_size);
1000 pcm, st->layout.nb_channels, chan, frame_size);
1022 pcm, analysis_frame_size, c1, c2, st->layout.nb_channels, downmix, float_api);
1095 const opus_val16 *pcm,
817 opus_multistream_encode_native( OpusMSEncoder *st, opus_copy_channel_in_func copy_channel_in, const void *pcm, int analysis_frame_size, unsigned char *data, opus_int32 max_data_bytes, int lsb_depth, downmix_func downmix, int float_api ) argument
1093 opus_multistream_encode( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
1106 opus_multistream_encode_float( OpusMSEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
1121 opus_multistream_encode_float( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
1134 opus_multistream_encode( OpusMSEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
[all...]
H A Dopus_encoder.c861 opus_val16 compute_stereo_width(const opus_val16 *pcm, int frame_size, opus_int32 Fs, StereoWidthState *mem) argument
882 x = pcm[2*i];
883 y = pcm[2*i+1];
887 x = pcm[2*i+2];
888 y = pcm[2*i+3];
892 x = pcm[2*i+4];
893 y = pcm[2*i+5];
897 x = pcm[2*i+6];
898 y = pcm[2*i+7];
937 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, in argument
1979 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, unsigned char *data, opus_int32 max_data_bytes) argument
2007 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, unsigned char *data, opus_int32 out_data_bytes) argument
2028 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, unsigned char *data, opus_int32 max_data_bytes) argument
2054 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, unsigned char *data, opus_int32 out_data_bytes) argument
[all...]
/external/libvorbis/include/vorbis/
H A Dcodec.h63 float **pcm; member in struct:vorbis_dsp_state
90 float **pcm; /* this is a pointer into local storage */ member in struct:vorbis_block
212 extern int vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm);
213 extern int vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
/external/libvorbis/lib/
H A Dblock.c44 /* pcm accumulator examples (not exhaustive):
251 v->pcm=_ogg_malloc(vi->channels*sizeof(*v->pcm));
256 v->pcm[i]=_ogg_calloc(v->pcm_storage,sizeof(*v->pcm[i]));
368 if(v->pcm){
371 if(v->pcm[i])_ogg_free(v->pcm[i]);
372 _ogg_free(v->pcm);
405 v->pcm[
774 float *pcm=v->pcm[j]+prevCenter; local
781 float *pcm=v->pcm[j]+prevCenter+n1/2-n0/2; local
790 float *pcm=v->pcm[j]+prevCenter; local
799 float *pcm=v->pcm[j]+prevCenter; local
808 float *pcm=v->pcm[j]+thisCenter; local
907 vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm) argument
933 vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm) argument
[all...]
H A Denvelope.c241 float *pcm=v->pcm[i]+ve->searchstep*(j); local
242 ret|=_ve_amp(ve,gi,pcm,ve->band,ve->filter+i*VE_BANDS);
289 _analysis_output_always("pcmL",seq,v->pcm[0],v->pcm_current,0,0,totalshift);
290 _analysis_output_always("pcmR",seq,v->pcm[1],v->pcm_current,0,0,totalshift);
292 _analysis_output_always("markL",seq,v->pcm[0],j,0,0,totalshift);
293 _analysis_output_always("markR",seq,v->pcm[1],j,0,0,totalshift);
H A Dmapping0.c266 float *pcm =vb->pcm[i]; local
267 float *logfft =pcm;
290 _analysis_output("pcmL",seq,pcm,n,0,0,total-n/2);
292 _analysis_output("pcmR",seq,pcm,n,0,0,total-n/2);
294 _analysis_output("pcm",seq,pcm,n,0,0,total-n/2);
299 _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW);
304 _analysis_output("windowedL",seq,pcm,n,0,0,total-n/2);
306 _analysis_output("windowedR",seq,pcm,
791 float *pcm=vb->pcm[i]; local
801 float *pcm=vb->pcm[i]; local
[all...]
H A Dpsytune.c242 float *pcm[2],*out[2],*window,*flr[2],*mask[2],*work[2]; local
276 pcm[0]=_ogg_malloc(framesize*sizeof(float));
277 pcm[1]=_ogg_malloc(framesize*sizeof(float));
314 pcm[0][i]=((buffer[i*4+1]<<8)|
316 pcm[1][i]=((buffer[i*4+3]<<8)|
330 float *mdct=pcm[i];
333 analysis("pre",frameno+i,pcm[i],framesize,0,0);
337 fft[j]=pcm[i][j]*=window[j];
351 mdct_forward(&m_look,pcm[i],mdct);
363 float *mdct=pcm[
[all...]
H A Dres0.c790 int *pcm=in[i]; local
793 work[k]=pcm[j];
H A Dvorbisfile.c448 /* pcm offset of last packet on the first audio page */
721 /* update the pcm offset. */
728 (above), we know the pcm position of the *last* sample
1285 /* We can't get a guaranteed correct pcm position out of the
1398 /* which bitstream section does this pcm offset occur in? */
1487 /* found our page. seek to it, update pcm offset. Easier case than
1569 /* seek to a sample offset relative to the decompressed pcm stream
1665 /* seek to a playback time relative to the decompressed pcm stream
1688 /* enough information to convert time offset to pcm offset */
1718 /* enough information to convert time offset to pcm offse
1846 ov_read_filter(OggVorbis_File *vf,char *buffer,int length, int bigendianp,int word,int sgned,int *bitstream, void (*filter)(float **pcm,long channels,long samples,void *filter_param),void *filter_param) argument
1852 float **pcm; local
2008 float **pcm; local
2033 _ov_splice(float **pcm,float **lappcm, int n1, int n2, int ch1, int ch2, float *w1, float *w2) argument
2105 float **pcm; local
2145 float **pcm; local
2199 float **pcm; local
2260 float **pcm; local
[all...]
/external/tinyalsa/
H A Dtinycap.c189 struct pcm *pcm; local
204 pcm = pcm_open(card, device, PCM_IN, &config);
205 if (!pcm || !pcm_is_ready(pcm)) {
207 pcm_get_error(pcm));
211 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm));
216 pcm_close(pcm);
223 while (capturing && !pcm_read(pcm, buffe
[all...]
H A Dtinyplay.c216 struct pcm *pcm; local
240 pcm = pcm_open(card, device, PCM_OUT, &config);
241 if (!pcm || !pcm_is_ready(pcm)) {
243 device, pcm_get_error(pcm));
247 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm));
252 pcm_close(pcm);
264 if (pcm_write(pcm, buffe
[all...]
H A Dpcm.c0 /* pcm.c
243 struct pcm { struct
262 unsigned int pcm_get_buffer_size(struct pcm *pcm) argument
264 return pcm->buffer_size;
267 const char* pcm_get_error(struct pcm *pcm) argument
269 return pcm->error;
272 unsigned int pcm_get_subdevice(struct pcm *pcm) argument
277 oops(struct pcm *pcm, int e, const char *fmt, ...) argument
324 pcm_bytes_to_frames(struct pcm *pcm, unsigned int bytes) argument
330 pcm_frames_to_bytes(struct pcm *pcm, unsigned int frames) argument
336 pcm_sync_ptr(struct pcm *pcm, int flags) argument
345 pcm_hw_mmap_status(struct pcm *pcm) argument
391 pcm_hw_munmap_status(struct pcm *pcm) argument
406 pcm_areas_copy(struct pcm *pcm, unsigned int pcm_offset, char *buf, unsigned int src_offset, unsigned int frames) argument
426 pcm_mmap_transfer_areas(struct pcm *pcm, char *buf, unsigned int offset, unsigned int size) argument
450 pcm_get_htimestamp(struct pcm *pcm, unsigned int *avail, struct timespec *tstamp) argument
488 pcm_mmap_get_hw_ptr(struct pcm* pcm, unsigned int *hw_ptr, struct timespec *tstamp) argument
516 pcm_write(struct pcm *pcm, const void *data, unsigned int count) argument
555 pcm_read(struct pcm *pcm, void *data, unsigned int count) argument
850 pcm_close(struct pcm *pcm) argument
875 struct pcm *pcm; local
1037 pcm_is_ready(struct pcm *pcm) argument
1042 pcm_prepare(struct pcm *pcm) argument
1054 pcm_start(struct pcm *pcm) argument
1070 pcm_stop(struct pcm *pcm) argument
1080 pcm_mmap_playback_avail(struct pcm *pcm) argument
1094 pcm_mmap_capture_avail(struct pcm *pcm) argument
1102 pcm_mmap_avail(struct pcm *pcm) argument
1111 pcm_mmap_appl_forward(struct pcm *pcm, int frames) argument
1122 pcm_mmap_begin(struct pcm *pcm, void **areas, unsigned int *offset, unsigned int *frames) argument
1149 pcm_mmap_commit(struct pcm *pcm, unsigned int offset __attribute__((unused)), unsigned int frames) argument
1158 pcm_avail_update(struct pcm *pcm) argument
1164 pcm_state(struct pcm *pcm) argument
1173 pcm_set_avail_min(struct pcm *pcm, int avail_min) argument
1182 pcm_wait(struct pcm *pcm, int timeout) argument
1223 pcm_get_poll_fd(struct pcm *pcm) argument
1228 pcm_mmap_transfer(struct pcm *pcm, const void *buffer, unsigned int bytes) argument
1316 pcm_mmap_write(struct pcm *pcm, const void *data, unsigned int count) argument
1324 pcm_mmap_read(struct pcm *pcm, void *data, unsigned int count) argument
1332 pcm_ioctl(struct pcm *pcm, int request, ...) argument
[all...]
/external/libldac/src/
H A DldacBT_internal.h48 /* The maximum pcm word length allowed. Unit:Byte */
115 /* The structure for the pcm information. */
152 /* pcm */
153 LDACBT_PCM_INFO pcm; member in struct:_st_ldacbt_handle
178 /* buffer for input pcm */
/external/webrtc/webrtc/modules/media_file/
H A Dmedia_file_utility.cc1134 int32_t ModuleFileUtility::InitPCMReading(InStream& pcm, argument
1140 "ModuleFileUtility::InitPCMReading(pcm= 0x%x, start=%d, "
1141 "stop=%d, freq=%d)", &pcm, start, stop, freq);
1188 read_len = pcm.Read(dummy, _readSizeBytes);
1200 int32_t ModuleFileUtility::ReadPCMData(InStream& pcm, argument
1205 "ModuleFileUtility::ReadPCMData(pcm= 0x%x, outData= 0x%x, "
1206 "bufSize= %" PRIuS ")", &pcm, outData, bufferSize);
1223 int bytesRead = pcm.Read(outData, bytesRequested);
1226 if(pcm.Rewind() == -1)
1232 if(InitPCMReading(pcm, _startPointInM
[all...]
/external/libopus/celt/
H A Dcelt_decoder.c184 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, argument
206 y = pcm+c;
713 int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum)
813 if (len<0 || len>1275 || pcm==NULL)
829 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, accum);
1067 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, accum);
1081 int opus_custom_decode(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int frame_size) argument
1083 return celt_decode_with_ec(st, data, len, pcm, frame_size, NULL, 0);
1087 int opus_custom_decode_float(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int frame_size) argument
1093 if (pcm
712 celt_decode_with_ec(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum) argument
1112 opus_custom_decode_float(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int frame_size) argument
1117 opus_custom_decode(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int frame_size) argument
[all...]
H A Dcelt_encoder.c1314 int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes, ec_enc *enc) argument
1390 if (nbCompressedBytes<2 || pcm==NULL)
1515 sample_max=MAX32(st->overlap_max, celt_maxabs16(pcm, C*(N-overlap)/st->upsample));
1516 st->overlap_max=celt_maxabs16(pcm+C*(N-overlap)/st->upsample, C*overlap/st->upsample);
1551 celt_preemphasis(pcm+c, in+c*(N+overlap)+overlap, N, CC, st->upsample,
2094 deemphasis(out_mem, (opus_val16*)pcm, N, CC, st->upsample, mode->preemph, st->preemph_memD);
2166 int opus_custom_encode(CELTEncoder * OPUS_RESTRICT st, const opus_int16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes) argument
2168 return celt_encode_with_ec(st, pcm, frame_size, compressed, nbCompressedBytes, NULL);
2172 int opus_custom_encode_float(CELTEncoder * OPUS_RESTRICT st, const float * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes) argument
2178 if (pcm
2199 opus_custom_encode(CELTEncoder * OPUS_RESTRICT st, const opus_int16 * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes) argument
2224 opus_custom_encode_float(CELTEncoder * OPUS_RESTRICT st, const float * pcm, int frame_size, unsigned char *compressed, int nbCompressedBytes) argument
[all...]
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...

Completed in 885 milliseconds

12