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

12

/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/
H A Dsynthesis-8-generated.c42 PRIVATE void SynthWindow80_generated(OI_INT16 *pcm, SBC_BUFFER_T const * RESTRICT buffer, OI_UINT strideShift) argument
55 /* 1 - stage 0 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[0<<strideShift] = (OI_INT16)pcm_b;
78 /* 1 - stage 1 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[1<<strideShift] = (OI_INT16)pcm_a;
79 /* 1 - stage 1 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[7<<strideShift] = (OI_INT16)pcm_b;
102 /* 1 - stage 2 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[2<<strideShift] = (OI_INT16)pcm_a;
103 /* 1 - stage 2 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[6<<strideShift] = (OI_INT16)pcm_b;
126 /* 1 - stage 3 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[3<<strideShift] = (OI_INT16)pcm_a;
127 /* 1 - stage 3 */ pcm_b /= 32768; CLIP_INT16(pcm_b); pcm[5<<strideShift] = (OI_INT16)pcm_b;
134 /* 1 - stage 4 */ pcm_a /= 32768; CLIP_INT16(pcm_a); pcm[4<<strideShift] = (OI_INT16)pcm_a;
H A Dsynthesis-sbc.c236 PRIVATE void SynthWindow80_generated(OI_INT16 *pcm, SBC_BUFFER_T const * RESTRICT buffer, OI_UINT strideShift);
237 PRIVATE void SynthWindow112_generated(OI_INT16 *pcm, SBC_BUFFER_T const * RESTRICT buffer, OI_UINT strideShift);
240 typedef void (*SYNTH_FRAME)(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blkstart, OI_UINT blkcount);
258 PRIVATE void OI_SBC_SynthFrame_80(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blkstart, OI_UINT blkcount) argument
281 SYNTH80(pcm + ch, context->common.filterBuffer[ch] + offset, pcmStrideShift);
284 pcm += (8 << pcmStrideShift);
289 PRIVATE void OI_SBC_SynthFrame_4SB(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT blkstart, OI_UINT blkcount) argument
311 SynthWindow40_int32_int32_symmetry_with_sum(pcm + ch,
316 pcm += (4 << pcmStrideShift);
323 PRIVATE void OI_SBC_SynthFrame_Enhanced(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UIN argument
374 OI_SBC_SynthFrame(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_INT16 *pcm, OI_UINT start_block, OI_UINT nrof_blocks) argument
392 SynthWindow40_int32_int32_symmetry_with_sum(OI_INT16 *pcm, SBC_BUFFER_T buffer[80], OI_UINT strideShift) argument
[all...]
/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/chromium_org/third_party/opus/src/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.c205 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec)
268 pcm[i] = 0;
278 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0);
284 pcm += ret*st->channels;
480 len, pcm, celt_frame_size, &dec);
484 pcm[i] = 0;
490 celt_decode_with_ec(celt_dec, silence, 2, pcm, F2_5, NULL);
498 pcm[i] = SAT16(pcm[i] + pcm_silk[i]);
501 pcm[
204 opus_decode_frame(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
584 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
699 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
708 opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) argument
735 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) argument
760 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.c220 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, argument
258 (*copy_channel_in)(x, 1, pcm, channels, c, len);
672 const void *pcm,
717 frame_size = compute_frame_size(pcm, analysis_frame_size,
747 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in);
814 pcm, st->layout.nb_channels, left, frame_size);
816 pcm, st->layout.nb_channels, right, frame_size);
832 pcm, st->layout.nb_channels, chan, frame_size);
852 pcm, analysis_frame_size, c1, c2, st->layout.nb_channels, downmix);
918 const opus_val16 *pcm,
668 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 ) argument
916 opus_multistream_encode( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
929 opus_multistream_encode_float( OpusMSEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
944 opus_multistream_encode_float( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
957 opus_multistream_encode( OpusMSEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
[all...]
/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.c205 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec)
268 pcm[i] = 0;
278 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0);
284 pcm += ret*st->channels;
480 len, pcm, celt_frame_size, &dec);
484 pcm[i] = 0;
490 celt_decode_with_ec(celt_dec, silence, 2, pcm, F2_5, NULL);
498 pcm[i] = SAT16(pcm[i] + pcm_silk[i]);
501 pcm[
204 opus_decode_frame(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
584 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
699 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) argument
708 opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, float *pcm, int frame_size, int decode_fec) argument
735 opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) argument
760 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.c220 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, argument
258 (*copy_channel_in)(x, 1, pcm, channels, c, len);
672 const void *pcm,
717 frame_size = compute_frame_size(pcm, analysis_frame_size,
747 surround_analysis(celt_mode, pcm, bandSMR, mem, preemph_mem, frame_size, 120, st->layout.nb_channels, Fs, copy_channel_in);
814 pcm, st->layout.nb_channels, left, frame_size);
816 pcm, st->layout.nb_channels, right, frame_size);
832 pcm, st->layout.nb_channels, chan, frame_size);
852 pcm, analysis_frame_size, c1, c2, st->layout.nb_channels, downmix);
918 const opus_val16 *pcm,
668 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 ) argument
916 opus_multistream_encode( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
929 opus_multistream_encode_float( OpusMSEncoder *st, const float *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
944 opus_multistream_encode_float( OpusMSEncoder *st, const opus_val16 *pcm, int frame_size, unsigned char *data, opus_int32 max_data_bytes ) argument
957 opus_multistream_encode( OpusMSEncoder *st, const opus_int16 *pcm, int frame_size, unsigned char *data, opus_int32 max_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];
/external/tinyalsa/
H A Dtinycap.c189 struct pcm *pcm; local
203 pcm = pcm_open(card, device, PCM_IN, &config);
204 if (!pcm || !pcm_is_ready(pcm)) {
206 pcm_get_error(pcm));
210 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm));
215 pcm_close(pcm);
222 while (capturing && !pcm_read(pcm, buffe
[all...]
H A Dtinyplay.c216 struct pcm *pcm; local
237 pcm = pcm_open(card, device, PCM_OUT, &config);
238 if (!pcm || !pcm_is_ready(pcm)) {
240 device, pcm_get_error(pcm));
244 size = pcm_frames_to_bytes(pcm, pcm_get_buffer_size(pcm));
249 pcm_close(pcm);
261 if (pcm_write(pcm, buffe
[all...]
/external/qemu/audio/
H A Dossaudio.c398 void *pcm = advance (oss->pcm_buf, oss->wpos << hw->info.shift); local
400 bytes_written = write (oss->fd, pcm, bytes_to_write);
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_av_api.h196 tBTIF_AV_MEDIA_FEED_CFG_PCM pcm; /* Raw PCM feeding format */ member in union:__anon997
/external/chromium_org/third_party/opus/src/celt/
H A Dcelt_decoder.c193 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch) argument
208 y = pcm+c;
333 static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_RESTRICT pcm, int N, int LM) argument
647 deemphasis(out_syn, pcm, N, C, downsample,
655 int 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) argument
751 if (len<0 || len>1275 || pcm==NULL)
762 celt_decode_lost(st, pcm, N, LM);
1015 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, freq);
1029 int opus_custom_decode(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int frame_size) argument
1031 return celt_decode_with_ec(st, data, len, pcm, frame_siz
1035 opus_custom_decode_float(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int frame_size) argument
1060 opus_custom_decode_float(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int frame_size) argument
1065 opus_custom_decode(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int frame_size) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/media_file/source/
H A Dmedia_file_utility.cc1797 int32_t ModuleFileUtility::InitPCMReading(InStream& pcm, argument
1806 "ModuleFileUtility::InitPCMReading(pcm= 0x%x, start=%d, stop=%d,\
1808 &pcm,
1858 read_len = pcm.Read(dummy, _readSizeBytes);
1873 int32_t ModuleFileUtility::ReadPCMData(InStream& pcm, argument
1881 "ModuleFileUtility::ReadPCMData(pcm= 0x%x, outData= 0x%x, bufSize= %d)",
1882 &pcm,
1901 uint32_t bytesRead = pcm.Read(outData, bytesRequested);
1904 if(pcm.Rewind() == -1)
1910 if(InitPCMReading(pcm, _startPointInM
[all...]
/external/libopus/celt/
H A Dcelt_decoder.c193 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *coef, celt_sig *mem, celt_sig * OPUS_RESTRICT scratch) argument
208 y = pcm+c;
333 static void celt_decode_lost(CELTDecoder * OPUS_RESTRICT st, opus_val16 * OPUS_RESTRICT pcm, int N, int LM) argument
647 deemphasis(out_syn, pcm, N, C, downsample,
655 int 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) argument
751 if (len<0 || len>1275 || pcm==NULL)
762 celt_decode_lost(st, pcm, N, LM);
1015 deemphasis(out_syn, pcm, N, CC, st->downsample, mode->preemph, st->preemph_memD, freq);
1029 int opus_custom_decode(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int frame_size) argument
1031 return celt_decode_with_ec(st, data, len, pcm, frame_siz
1035 opus_custom_decode_float(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int frame_size) argument
1060 opus_custom_decode_float(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int frame_size) argument
1065 opus_custom_decode(CELTDecoder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int frame_size) argument
[all...]

Completed in 994 milliseconds

12