Lines Matching defs:buffer
246 int16_t *buffer ;
250 buffer = (int16_t *) malloc (sizeof (int16_t) * NMS_SAMPLES_PER_BLOCK) ;
257 nms_adpcm_block_unpack_32 (&(test_codes_32 [i * NMS_BLOCK_SHORTS_32]), buffer, NULL) ;
261 if (code != buffer [j])
263 i * NMS_SAMPLES_PER_BLOCK + j, i, j, buffer [j], code) ;
276 nms_adpcm_block_unpack_32 (&(test_codes_32 [i * NMS_BLOCK_SHORTS_32]), buffer, NULL) ;
278 { sl = nms_adpcm_decode_sample (&nms, buffer [j]) ;
289 free (buffer) ;
297 int16_t *buffer ;
301 buffer = (int16_t *) malloc (sizeof (int16_t) * NMS_SAMPLES_PER_BLOCK) ;
309 nms_adpcm_block_unpack_24 (&test_codes_24 [i * NMS_BLOCK_SHORTS_24], buffer, NULL) ;
313 if (code != buffer [j])
315 i * NMS_SAMPLES_PER_BLOCK + j, i, j, buffer [j], code) ;
329 nms_adpcm_block_unpack_24 (&test_codes_24 [i * NMS_BLOCK_SHORTS_24], buffer, NULL) ;
331 { sl = nms_adpcm_decode_sample (&nms, buffer [j]) ;
342 free (buffer) ;
348 int16_t *buffer ;
352 buffer = (int16_t *) malloc (sizeof (int16_t) * NMS_SAMPLES_PER_BLOCK) ;
359 nms_adpcm_block_unpack_16 (&test_codes_16 [i * NMS_BLOCK_SHORTS_16], buffer, NULL) ;
363 if (code != buffer [j])
365 i * NMS_SAMPLES_PER_BLOCK + j, i, j, buffer [j], code) ;
378 nms_adpcm_block_unpack_16 (&test_codes_16 [i * NMS_BLOCK_SHORTS_16], buffer, NULL) ;
380 { sl = nms_adpcm_decode_sample (&nms, buffer [j]) ;
391 free (buffer) ;