• Home
  • Raw
  • Download

Lines Matching refs:numSamples

137 alac_decode (ALAC_DECODER *p, struct BitBuffer * bits, int32_t * sampleBuffer, uint32_t numSamples,…  in alac_decode()  argument
175 *outNumSamples = numSamples ; in alac_decode()
217 numSamples = BitBufferRead (bits, 16) << 16 ; in alac_decode()
218 numSamples |= BitBufferRead (bits, 16) ; in alac_decode()
220 RequireAction (numSamples < kALACDefaultFramesPerPacket, return kALAC_NumSamplesTooBig ;) ; in alac_decode()
245 BitBufferAdvance (bits, (bytesShifted * 8) * numSamples) ; in alac_decode()
249 … (&agParams, p->mConfig.mb, (pb * pbFactorU) / 4, p->mConfig.kb, numSamples, numSamples, p->mConfi… in alac_decode()
250 status = dyn_decomp (&agParams, bits, p->u.mPredictor, numSamples, chanBits, &bits1) ; in alac_decode()
255 … unpc_block (p->u.mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode()
260 unpc_block (p->u.mPredictor, p->u.mPredictor, numSamples, NULL, 31, chanBits, 0) ; in alac_decode()
261 … unpc_block (p->u.mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode()
272 for (i = 0 ; i < numSamples ; i++) in alac_decode()
283 for (i = 0 ; i < numSamples ; i++) in alac_decode()
292 bits1 = chanBits * numSamples ; in alac_decode()
302 for (i = 0 ; i < numSamples ; i++) in alac_decode()
311 for (i = 0, j = 0 ; i < numSamples ; i++, j += numChannels) in alac_decode()
316 copyPredictorTo20 (p->mMixBufferU, out32, numChannels, numSamples) ; in alac_decode()
321 …copyPredictorTo24Shift (p->mMixBufferU, p->u.mShiftBuffer, out32, numChannels, numSamples, bytesSh… in alac_decode()
323 copyPredictorTo24 (p->mMixBufferU, out32, numChannels, numSamples) ; in alac_decode()
328 …copyPredictorTo32Shift (p->mMixBufferU, p->u.mShiftBuffer, out32, numChannels, numSamples, bytesSh… in alac_decode()
330 copyPredictorTo32 (p->mMixBufferU, out32, numChannels, numSamples) ; in alac_decode()
335 *outNumSamples = numSamples ; in alac_decode()
370 numSamples = BitBufferRead (bits, 16) << 16 ; in alac_decode()
371 numSamples |= BitBufferRead (bits, 16) ; in alac_decode()
373 RequireAction (numSamples < kALACDefaultFramesPerPacket, return kALAC_NumSamplesTooBig ;) ; in alac_decode()
406 BitBufferAdvance (bits, (bytesShifted * 8) * 2 * numSamples) ; in alac_decode()
410 … (&agParams, p->mConfig.mb, (pb * pbFactorU) / 4, p->mConfig.kb, numSamples, numSamples, p->mConfi… in alac_decode()
411 status = dyn_decomp (&agParams, bits, p->u.mPredictor, numSamples, chanBits, &bits1) ; in alac_decode()
416 … unpc_block (p->u.mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode()
421 unpc_block (p->u.mPredictor, p->u.mPredictor, numSamples, NULL, 31, chanBits, 0) ; in alac_decode()
422 … unpc_block (p->u.mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode()
426 … (&agParams, p->mConfig.mb, (pb * pbFactorV) / 4, p->mConfig.kb, numSamples, numSamples, p->mConfi… in alac_decode()
427 status = dyn_decomp (&agParams, bits, p->u.mPredictor, numSamples, chanBits, &bits2) ; in alac_decode()
432 … unpc_block (p->u.mPredictor, p->mMixBufferV, numSamples, &coefsV [0], numV, chanBits, denShiftV) ; in alac_decode()
437 unpc_block (p->u.mPredictor, p->u.mPredictor, numSamples, NULL, 31, chanBits, 0) ; in alac_decode()
438 … unpc_block (p->u.mPredictor, p->mMixBufferV, numSamples, &coefsV [0], numV, chanBits, denShiftV) ; in alac_decode()
450 for (i = 0 ; i < numSamples ; i++) in alac_decode()
465 for (i = 0 ; i < numSamples ; i++) in alac_decode()
477 bits1 = chanBits * numSamples ; in alac_decode()
478 bits2 = chanBits * numSamples ; in alac_decode()
489 for (i = 0 ; i < (numSamples * 2) ; i += 2) in alac_decode()
502 unmix16 (p->mMixBufferU, p->mMixBufferV, out32, numChannels, numSamples, mixBits, mixRes) ; in alac_decode()
506 unmix20 (p->mMixBufferU, p->mMixBufferV, out32, numChannels, numSamples, mixBits, mixRes) ; in alac_decode()
510 unmix24 (p->mMixBufferU, p->mMixBufferV, out32, numChannels, numSamples, in alac_decode()
515 unmix32 (p->mMixBufferU, p->mMixBufferV, out32, numChannels, numSamples, in alac_decode()
521 *outNumSamples = numSamples ; in alac_decode()
571 Zero32 (fill32, numSamples, numChannels) ; in alac_decode()