Searched refs:pcm_silk (Results 1 – 2 of 2) sorted by relevance
/external/libopus/src/ |
D | opus_decoder.c | 229 VARDECL(opus_int16, pcm_silk); in opus_decode_frame() 357 ALLOC(pcm_silk, pcm_silk_size, opus_int16); in opus_decode_frame() 369 pcm_ptr = pcm_silk; in opus_decode_frame() 540 pcm[i] = SAT16(ADD32(pcm[i], pcm_silk[i])); in opus_decode_frame() 543 pcm[i] = pcm[i] + (opus_val16)((1.f/32768.f)*pcm_silk[i]); in opus_decode_frame()
|
D | opus_encoder.c | 1673 const opus_int16 *pcm_silk; in opus_encode_native() local 1675 VARDECL(opus_int16, pcm_silk); in opus_encode_native() 1676 ALLOC(pcm_silk, st->channels*frame_size, opus_int16); in opus_encode_native() 1829 pcm_silk = st->delay_buffer; in opus_encode_native() 1832 pcm_silk[i] = FLOAT2INT16(st->delay_buffer[i]); in opus_encode_native() 1834 …silk_Encode( silk_enc, &st->silk_mode, pcm_silk, st->encoder_buffer, NULL, &zero, prefill, activit… in opus_encode_native() 1840 pcm_silk = pcm_buf+total_buffer*st->channels; in opus_encode_native() 1843 pcm_silk[i] = FLOAT2INT16(pcm_buf[total_buffer*st->channels + i]); in opus_encode_native() 1845 … ret = silk_Encode( silk_enc, &st->silk_mode, pcm_silk, frame_size, &enc, &nBytes, 0, activity ); in opus_encode_native()
|