Home
last modified time | relevance | path

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

/external/chromium_org/third_party/opus/src/src/
Dopus_decoder.c211 VARDECL(opus_int16, pcm_silk); in opus_decode_frame()
309 ALLOC(pcm_silk, pcm_silk_size, opus_int16); in opus_decode_frame()
315 opus_int16 *pcm_ptr = pcm_silk; in opus_decode_frame()
478 pcm[i] = SAT16(pcm[i] + pcm_silk[i]); in opus_decode_frame()
481 pcm[i] = pcm[i] + (opus_val16)((1.f/32768.f)*pcm_silk[i]); in opus_decode_frame()
Dopus_encoder.c1482 const opus_int16 *pcm_silk; in opus_encode_native() local
1484 VARDECL(opus_int16, pcm_silk); in opus_encode_native()
1485 ALLOC(pcm_silk, st->channels*frame_size, opus_int16); in opus_encode_native()
1624 pcm_silk = st->delay_buffer; in opus_encode_native()
1627 pcm_silk[i] = FLOAT2INT16(st->delay_buffer[i]); in opus_encode_native()
1629 silk_Encode( silk_enc, &st->silk_mode, pcm_silk, st->encoder_buffer, NULL, &zero, 1 ); in opus_encode_native()
1633 pcm_silk = pcm_buf+total_buffer*st->channels; in opus_encode_native()
1636 pcm_silk[i] = FLOAT2INT16(pcm_buf[total_buffer*st->channels + i]); in opus_encode_native()
1638 ret = silk_Encode( silk_enc, &st->silk_mode, pcm_silk, frame_size, &enc, &nBytes, 0 ); in opus_encode_native()