Home
last modified time | relevance | path

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

123456

/aosp_15_r20/external/tinyalsa_new/src/
H A 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 …]
/aosp_15_r20/external/tinyalsa/
H A Dpcm.c254 struct pcm { struct
263 struct pcm_config config; argument
264 struct snd_pcm_mmap_status *mmap_status; argument
265 struct snd_pcm_mmap_control *mmap_control; argument
266 struct snd_pcm_sync_ptr *sync_ptr; argument
272 struct pcm_ops *ops; argument
277 unsigned int pcm_get_buffer_size(struct pcm *pcm) in pcm_get_buffer_size()
282 const char* pcm_get_error(struct pcm *pcm) in pcm_get_error()
287 unsigned int pcm_get_subdevice(struct pcm *pcm) in pcm_get_subdevice()
292 static int oops(struct pcm *pcm, int e, const char *fmt, ...) in oops()
[all …]
/aosp_15_r20/external/libopus/tests/
H A Dopus_encode_regressions.c68 static const short pcm[320] = in celt_ec_internal_error() local
124 static const short pcm[160] = in celt_ec_internal_error() local
162 static const short pcm[160] = in celt_ec_internal_error() local
200 static const short pcm[160] = in celt_ec_internal_error() local
238 static const short pcm[160] = in celt_ec_internal_error() local
274 static const short pcm[40] = in celt_ec_internal_error() local
331 static const short pcm[20*255] = in mscbr_encode_fail10() local
381 static const short pcm[20*192] = in mscbr_encode_fail() local
418 static const short pcm[960*3] = in surround_analysis_uninit() local
759 static const short pcm[1440*3] = in surround_analysis_uninit() local
[all …]
/aosp_15_r20/external/liblc3/include/
H A Dlc3_cpp.h95 int EncodeImpl(PcmFormat fmt, const T *pcm, int block_size, uint8_t *out) { in EncodeImpl()
159 int Encode(const int16_t *pcm, int block_size, uint8_t *out) { in Encode()
163 int Encode(const int32_t *pcm, int block_size, uint8_t *out) { in Encode()
167 int Encode(const float *pcm, int block_size, uint8_t *out) { in Encode()
171 int Encode(PcmFormat fmt, const void *pcm, int block_size, uint8_t *out) { in Encode()
203 int DecodeImpl(const uint8_t *in, int block_size, PcmFormat fmt, T *pcm) { in DecodeImpl()
268 int Decode(const uint8_t *in, int block_size, int16_t *pcm) { in Decode()
272 int Decode(const uint8_t *in, int block_size, int32_t *pcm) { in Decode()
276 int Decode(const uint8_t *in, int block_size, float *pcm) { in Decode()
280 int Decode(const uint8_t *in, int block_size, PcmFormat fmt, void *pcm) { in Decode()
/aosp_15_r20/external/libopus/dnn/
H A Dfwgan.c169 static void apply_gain(float *pcm, float c0, float *last_gain) { in apply_gain()
176 static void fwgan_lpc_syn(float *pcm, float *mem, const float *lpc, float last_lpc[LPC_ORDER]) { in fwgan_lpc_syn()
187 static void fwgan_preemphasis(float *pcm, float *preemph_mem) { in fwgan_preemphasis()
196 static void fwgan_deemphasis(float *pcm, float *deemph_mem) { in fwgan_deemphasis()
204 static void run_fwgan_subframe(FWGANState *st, float *pcm, const float *cond, double w0, const floa… in run_fwgan_subframe()
283 static void fwgan_synthesize_impl(FWGANState *st, float *pcm, const float *lpc, const float *featur… in fwgan_synthesize_impl()
304 void fwgan_synthesize(FWGANState *st, float *pcm, const float *features) in fwgan_synthesize()
316 void fwgan_synthesize_int(FWGANState *st, opus_int16 *pcm, const float *features) in fwgan_synthesize_int()
H A Dfargan.c61 static void fargan_deemphasis(float *pcm, float *deemph_mem) { in fargan_deemphasis()
69 static void run_fargan_subframe(FARGANState *st, float *pcm, const float *cond, int period) in run_fargan_subframe()
197 static void fargan_synthesize_impl(FARGANState *st, float *pcm, const float *features) in fargan_synthesize_impl()
214 void fargan_synthesize(FARGANState *st, float *pcm, const float *features) in fargan_synthesize()
219 void fargan_synthesize_int(FARGANState *st, opus_int16 *pcm, const float *features) in fargan_synthesize_int()
H A Dlpcnet_plc.c148 int lpcnet_plc_update(LPCNetPLCState *st, opus_int16 *pcm) { in lpcnet_plc_update()
161 int lpcnet_plc_conceal(LPCNetPLCState *st, opus_int16 *pcm) { in lpcnet_plc_conceal()
H A Dlpcnet_demo.c163 opus_int16 pcm[LPCNET_FRAME_SIZE]; in main() local
189 opus_int16 pcm[LPCNET_FRAME_SIZE]; in main() local
/aosp_15_r20/external/coreboot/src/soc/mediatek/mt8183/
H A Dspm.c148 static void spm_load_pcm_code(const struct dyna_load_pcm *pcm) in spm_load_pcm_code()
164 static void spm_check_pcm_code(const struct dyna_load_pcm *pcm) in spm_check_pcm_code()
177 static void spm_kick_im_to_fetch(const struct dyna_load_pcm *pcm) in spm_kick_im_to_fetch()
218 struct dyna_load_pcm *pcm) in spm_load_firmware()
313 struct dyna_load_pcm pcm; in spm_init() local
/aosp_15_r20/external/liblc3/src/
H A Dlc3.c193 const int16_t *pcm = _pcm; in load_s16() local
214 const int32_t *pcm = _pcm; in load_s24() local
237 const uint8_t *pcm = _pcm; in load_s24_3le() local
264 const float *pcm = _pcm; in load_float() local
431 enum lc3_pcm_format fmt, const void *pcm, int stride, int nbytes, void *out) in lc3_encode()
472 int16_t *pcm = _pcm; in store_s16() local
494 int32_t *pcm = _pcm; in store_s24() local
517 uint8_t *pcm = _pcm; in store_s24_3le() local
544 float *pcm = _pcm; in store_float() local
735 const void *in, int nbytes, enum lc3_pcm_format fmt, void *pcm, int stride) in lc3_decode()
/aosp_15_r20/external/coreboot/src/soc/mediatek/common/
H A Dspm.c21 static void spm_kick_im_to_fetch(const struct dyna_load_pcm *pcm) in spm_kick_im_to_fetch()
120 struct dyna_load_pcm *pcm = (struct dyna_load_pcm *)mcu->priv; in spm_parse_firmware() local
162 struct dyna_load_pcm *pcm = (struct dyna_load_pcm *)mcu->priv; in reset_spm() local
192 struct dyna_load_pcm pcm; in spm_init() local
/aosp_15_r20/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/
Dsynthesis-sbc.c274 PRIVATE void OI_SBC_SynthFrame_80(OI_CODEC_SBC_DECODER_CONTEXT* context, int16_t* pcm, in OI_SBC_SynthFrame_80()
309 PRIVATE void OI_SBC_SynthFrame_4SB(OI_CODEC_SBC_DECODER_CONTEXT* context, int16_t* pcm, in OI_SBC_SynthFrame_4SB()
346 PRIVATE void OI_SBC_SynthFrame_Enhanced(OI_CODEC_SBC_DECODER_CONTEXT* context, int16_t* pcm, in OI_SBC_SynthFrame_Enhanced()
400 PRIVATE void OI_SBC_SynthFrame(OI_CODEC_SBC_DECODER_CONTEXT* context, int16_t* pcm, in OI_SBC_SynthFrame()
417 void SynthWindow40_int32_int32_symmetry_with_sum(int16_t* pcm, SBC_BUFFER_T buffer[80], in SynthWindow40_int32_int32_symmetry_with_sum()
/aosp_15_r20/external/libopus/src/
H A Dopus_decoder.c238 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode_frame()
671 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec, in opus_decode_native()
816 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode()
825 opus_int32 len, float *pcm, int frame_size, int decode_fec) in opus_decode_float()
862 opus_int32 len, opus_int16 *pcm, int frame_size, int decode_fec) in opus_decode()
897 opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) in opus_decode_float()
1460 …ecode(OpusDecoder *st, const OpusDRED *dred, opus_int32 dred_offset, opus_int16 *pcm, opus_int32 f… in opus_decoder_dred_decode()
1494 …e_float(OpusDecoder *st, const OpusDRED *dred, opus_int32 dred_offset, float *pcm, opus_int32 fram… in opus_decoder_dred_decode_float()
H A 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()
H A Dopus_multistream_encoder.c224 void surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32… in surround_analysis()
806 const void *pcm, in opus_multistream_encode_native()
1065 const opus_val16 *pcm, in opus_multistream_encode()
1078 const float *pcm, in opus_multistream_encode_float()
1094 const opus_val16 *pcm, in opus_multistream_encode_float()
1106 const opus_int16 *pcm, in opus_multistream_encode()
H A Dopus_encoder.c729 opus_val16 compute_stereo_width(const opus_val16 *pcm, int frame_size, opus_int32 Fs, StereoWidthSt… in compute_stereo_width()
933 int is_digital_silence(const opus_val16* pcm, int frame_size, int channels, int lsb_depth) in is_digital_silence()
953 static opus_val32 compute_frame_energy(const opus_val16 *pcm, int frame_size, int channels, int arc… in compute_frame_energy()
980 static opus_val32 compute_frame_energy(const opus_val16 *pcm, int frame_size, int channels, int arc… in compute_frame_energy()
1057 opus_int32 opus_encode_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, in opus_encode_native()
1698 static opus_int32 opus_encode_frame_native(OpusEncoder *st, const opus_val16 *pcm, int frame_size, in opus_encode_frame_native()
2464 opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, in opus_encode_float()
2489 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, in opus_encode()
2499 opus_int32 opus_encode(OpusEncoder *st, const opus_int16 *pcm, int analysis_frame_size, in opus_encode()
2522 opus_int32 opus_encode_float(OpusEncoder *st, const float *pcm, int analysis_frame_size, in opus_encode_float()
H A 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()
H A Dopus_projection_encoder.c386 int opus_projection_encode(OpusProjectionEncoder *st, const opus_int16 *pcm, in opus_projection_encode()
397 int opus_projection_encode_float(OpusProjectionEncoder *st, const float *pcm, in opus_projection_encode_float()
406 int opus_projection_encode_float(OpusProjectionEncoder *st, const float *pcm, in opus_projection_encode_float()
/aosp_15_r20/external/flac/src/test_seeking/
H A 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
/aosp_15_r20/external/libopus/celt/
H A Dcelt_decoder.c249 static void deemphasis_stereo_simple(celt_sig *in[], opus_val16 *pcm, int N, const opus_val16 coef0, in deemphasis_stereo_simple()
279 void deemphasis(celt_sig *in[], opus_val16 *pcm, int N, int C, int downsample, const opus_val16 *co… in deemphasis()
971 int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum
1372 int len, opus_val16 * OPUS_RESTRICT pcm, int frame_size, ec_dec *dec, int accum)
1384 …oder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int f…
1390 …Decoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int fra…
1415 …Decoder * OPUS_RESTRICT st, const unsigned char *data, int len, float * OPUS_RESTRICT pcm, int fra…
1420 …oder * OPUS_RESTRICT st, const unsigned char *data, int len, opus_int16 * OPUS_RESTRICT pcm, int f…
/aosp_15_r20/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c125 struct pcm *pcm = NULL; in capture_thread() local
166 struct pcm *pcm = arg; in play_thread() local
191 struct pcm *pcm; in init_audio() local
/aosp_15_r20/device/generic/goldfish/audio/
Dtalsa.cpp170 PcmPtr pcm(pcmRaw); in pcmOpen() local
190 int pcmRead(pcm_t *pcm, void *data, const int szBytes, in pcmRead()
228 int pcmWrite(pcm_t *pcm, const void *data, const int szBytes, in pcmWrite()
/aosp_15_r20/external/liblc3/python/tools/
H A Ddecoder.py83 pcm = dec.decode(f_lc3.read(lc3_frame_size), bitdepth=bitdepth) variable
85 pcm = pcm[max(encoded_length - stream_length - i, 0) * pcm_size: variable
/aosp_15_r20/external/liblc3/test/
H A Dlc3_py.c54 int16_t *pcm; in encode_py() local
102 int16_t *pcm; in decode_py() local
/aosp_15_r20/packages/modules/Bluetooth/system/stack/mmc/test/mock/
Dmock_embdrv_lc3.cc77 void* pcm, int stride) { in lc3_decode()
89 int lc3_encode(struct lc3_encoder* encoder, enum lc3_pcm_format fmt, const void* pcm, int stride, in lc3_encode()

123456