Home
last modified time | relevance | path

Searched defs:pcm (Results 1 – 25 of 36) sorted by relevance

12

/external/tinyalsa_new/src/
Dpcm.c298 struct pcm { struct
312 struct pcm_config config; argument
313 struct snd_pcm_mmap_status *mmap_status; argument
314 struct snd_pcm_mmap_control *mmap_control; argument
315 struct snd_pcm_sync_ptr *sync_ptr; argument
319 long pcm_delay; argument
322 /** Pointer to the pcm ops, either hw or plugin */ argument
323 const struct pcm_ops *ops; argument
326 /** Pointer to the pcm node from snd card definition */ argument
330 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops()
[all …]
/external/tinyalsa/
Dpcm.c253 struct pcm { struct
262 struct pcm_config config; argument
263 struct snd_pcm_mmap_status *mmap_status; argument
264 struct snd_pcm_mmap_control *mmap_control; argument
265 struct snd_pcm_sync_ptr *sync_ptr; argument
271 struct pcm_ops *ops; argument
276 unsigned int pcm_get_buffer_size(struct pcm *pcm) in pcm_get_buffer_size()
281 const char* pcm_get_error(struct pcm *pcm) in pcm_get_error()
286 unsigned int pcm_get_subdevice(struct pcm *pcm) in pcm_get_subdevice()
291 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops()
[all …]
Dtinycap.c199 struct pcm *pcm; in capture_sample() local
/external/libopus/tests/
Dopus_encode_regressions.c69 static const short pcm[320] = in celt_ec_internal_error() local
125 static const short pcm[160] = in celt_ec_internal_error() local
163 static const short pcm[160] = in celt_ec_internal_error() local
201 static const short pcm[160] = in celt_ec_internal_error() local
239 static const short pcm[160] = in celt_ec_internal_error() local
275 static const short pcm[40] = in celt_ec_internal_error() local
332 static const short pcm[20*255] = in mscbr_encode_fail10() local
382 static const short pcm[20*192] = in mscbr_encode_fail() local
419 static const short pcm[960*3] = in surround_analysis_uninit() local
760 static const short pcm[1440*3] = in surround_analysis_uninit() local
[all …]
Dopus_decode_fuzzer.c66 opus_int16 *pcm; in LLVMFuzzerTestOneInput() local
/external/adhd/cras/src/tests/
Dalsa_helpers_unittest.cc226 int snd_pcm_sw_params_current(snd_pcm_t* pcm, snd_pcm_sw_params_t* params) { in snd_pcm_sw_params_current()
235 int snd_pcm_sw_params_set_stop_threshold(snd_pcm_t* pcm, in snd_pcm_sw_params_set_stop_threshold()
241 int snd_pcm_sw_params_set_start_threshold(snd_pcm_t* pcm, in snd_pcm_sw_params_set_start_threshold()
247 int snd_pcm_sw_params_set_period_event(snd_pcm_t* pcm, in snd_pcm_sw_params_set_period_event()
253 int snd_pcm_sw_params_set_tstamp_mode(snd_pcm_t* pcm, in snd_pcm_sw_params_set_tstamp_mode()
260 int snd_pcm_sw_params_set_tstamp_type(snd_pcm_t* pcm, in snd_pcm_sw_params_set_tstamp_type()
267 int snd_pcm_sw_params(snd_pcm_t* pcm, snd_pcm_sw_params_t* params) { in snd_pcm_sw_params()
277 snd_pcm_sframes_t snd_pcm_avail(snd_pcm_t* pcm) { in snd_pcm_avail()
281 int snd_pcm_htimestamp(snd_pcm_t* pcm, in snd_pcm_htimestamp()
/external/flac/src/test_seeking/
Dmain.c40 FLAC__int32 **pcm; member
105 static FLAC__bool read_pcm_(FLAC__int32 *pcm[], const char *rawfilename, const char *flacfilename) in read_pcm_()
269 …__off_t filesize, uint32_t count, FLAC__int64 total_samples, uint32_t read_mode, FLAC__int32 **pcm) in seek_barrage()
402 FLAC__int32 *pcm[2] = { 0, 0 }; in main() local
/external/libopus/src/
Dopus_multistream_decoder.c182 void *pcm, in opus_multistream_decode_native()
378 opus_int16 *pcm, in opus_multistream_decode()
389 opus_int32 len, float *pcm, int frame_size, int decode_fec) in opus_multistream_decode_float()
399 opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) in opus_multistream_decode()
409 opus_val16 *pcm, in opus_multistream_decode_float()
Dopus_projection_decoder.c214 opus_int32 len, opus_int16 *pcm, int frame_size, in opus_projection_decode()
223 opus_int32 len, opus_int16 *pcm, int frame_size, in opus_projection_decode()
234 opus_int32 len, float *pcm, int frame_size, int decode_fec) in opus_projection_decode_float()
Dopus_decoder.c221 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode_frame()
627 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, in opus_decode_native()
743 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode()
752 opus_int32 len, float *pcm, int frame_size, int decode_fec) in opus_decode_float()
789 opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) in opus_decode()
824 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode_float()
Dopus_projection_encoder.c344 int opus_projection_encode(OpusProjectionEncoder *st, const opus_int16 *pcm, in opus_projection_encode()
355 int opus_projection_encode_float(OpusProjectionEncoder *st, const float *pcm, in opus_projection_encode_float()
364 int opus_projection_encode_float(OpusProjectionEncoder *st, const float *pcm, in opus_projection_encode_float()
Dopus_multistream_encoder.c224 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32… in surround_analysis()
805 const void *pcm, in opus_multistream_encode_native()
1064 const opus_val16 *pcm, in opus_multistream_encode()
1077 const float *pcm, in opus_multistream_encode_float()
1093 const opus_val16 *pcm, in opus_multistream_encode_float()
1105 const opus_int16 *pcm, in opus_multistream_encode()
Dopus_encoder.c636 opus_val16 compute_stereo_width(const opus_val16 *pcm, int frame_size, opus_int32 Fs, StereoWidthSt… in compute_stereo_width()
840 int is_digital_silence(const opus_val16* pcm, int frame_size, int channels, int lsb_depth) in is_digital_silence()
860 static opus_val32 compute_frame_energy(const opus_val16 *pcm, int frame_size, int channels, int arc… in compute_frame_energy()
887 static opus_val32 compute_frame_energy(const opus_val16 *pcm, int frame_size, int channels, int arc… in compute_frame_energy()
921 const opus_val16 *pcm, in encode_multiframe_packet()
1047 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, in opus_encode_native()
2187 opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, in opus_encode_float()
2212 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, in opus_encode()
2222 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, in opus_encode()
2245 opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, in opus_encode_float()
/external/libopus/celt/
Dcelt_decoder.c236 static void deemphasis_stereo_simple(celt_sig *in[], opus_val16 *pcm, int N, const opus_val16 coef0, in deemphasis_stereo_simple()
266 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *co… in deemphasis()
821 int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum)
1191 …oder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int f…
1197 …Decoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int fra…
1222 …Decoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int fra…
1227 …oder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int f…
/external/oss-fuzz/projects/opusfile/
Dopusfile_fuzzer.c42 opus_int16 pcm[pcm_size]; in LLVMFuzzerTestOneInput() local
/external/tinyalsa_new/examples/
Dpcm-readi.c23 struct pcm *pcm = pcm_open(card, device, flags, &config); in read_frames() local
Dpcm-writei.c64 struct pcm * pcm = pcm_open(card, device, flags, &config); in write_frames() local
/external/sonivox/test/
DSonivoxTest.cpp208 EAS_PCM *pcm = mAudioBuffer; in renderAudio() local
251 EAS_PCM *pcm = mPCMBuffer; in TEST_P() local
/external/oss-fuzz/projects/tremor/
Ddecode_fuzzer.cc72 char pcm[4096]; in LLVMFuzzerTestOneInput() local
/external/oss-fuzz/projects/opus/
Dopus_multi_fuzzer.c84 opus_int16 *pcm = (opus_int16*) malloc(sizeof(opus_int16)*frame_size*streams); in LLVMFuzzerTestOneInput() local
/external/flac/examples/c/encode/file/
Dmain.c45 static FLAC__int32 pcm[READSIZE/*samples*/ * 2/*channels*/]; variable
/external/flac/examples/cpp/encode/file/
Dmain.cpp53 static FLAC__int32 pcm[READSIZE/*samples*/ * 2/*channels*/]; variable
/external/tremolo/Tremolo/
Dmapping0.c231 ogg_int32_t *pcm=vd->work[i]; in mapping_inverse() local
Ddsp.c144 int vorbis_dsp_pcmout(vorbis_dsp_state *v,ogg_int16_t *pcm,int samples){ in vorbis_dsp_pcmout()
/external/libwebsockets/minimal-examples/raw/minimal-raw-audio/
Daudio.c37 set_hw_params(struct lws_vhost *vh, snd_pcm_t **pcm, int type) in set_hw_params()

12