Home
last modified time | relevance | path

Searched refs:pcm_silk (Results 1 – 2 of 2) sorted by relevance

/external/libopus/src/
Dopus_decoder.c209 VARDECL(opus_int16, pcm_silk); in opus_decode_frame()
334 ALLOC(pcm_silk, pcm_silk_size, opus_int16); in opus_decode_frame()
346 pcm_ptr = pcm_silk; in opus_decode_frame()
512 pcm[i] = SAT16(ADD32(pcm[i], pcm_silk[i])); in opus_decode_frame()
515 pcm[i] = pcm[i] + (opus_val16)((1.f/32768.f)*pcm_silk[i]); in opus_decode_frame()
Dopus_encoder.c1496 const opus_int16 *pcm_silk; in opus_encode_native() local
1498 VARDECL(opus_int16, pcm_silk); in opus_encode_native()
1499 ALLOC(pcm_silk, st->channels*frame_size, opus_int16); in opus_encode_native()
1644 pcm_silk = st->delay_buffer; in opus_encode_native()
1647 pcm_silk[i] = FLOAT2INT16(st->delay_buffer[i]); in opus_encode_native()
1649 silk_Encode( silk_enc, &st->silk_mode, pcm_silk, st->encoder_buffer, NULL, &zero, 1 ); in opus_encode_native()
1653 pcm_silk = pcm_buf+total_buffer*st->channels; in opus_encode_native()
1656 pcm_silk[i] = FLOAT2INT16(pcm_buf[total_buffer*st->channels + i]); in opus_encode_native()
1658 ret = silk_Encode( silk_enc, &st->silk_mode, pcm_silk, frame_size, &enc, &nBytes, 0 ); in opus_encode_native()