• Home
  • Raw
  • Download

Lines Matching refs:numSamples

55 … * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
56 … * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
57 …ER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t numSamples) ;
58 … * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
222 …itstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) in EncodeStereo() argument
269 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeStereo()
290 …mix16 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, mixBits, mixRes) ; in EncodeStereo()
293 …mix20 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, mixBits, mixRes) ; in EncodeStereo()
297 mix24 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, in EncodeStereo()
302 mix32 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, in EncodeStereo()
310 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples / dilate, coefsU [numU - 1], numU, chanBits, … in EncodeStereo()
311 …pc_block (p->mMixBufferV, p->mPredictorV, numSamples / dilate, coefsV [numV - 1], numV, chanBits, … in EncodeStereo()
314 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples / dilate, numSamples / dilate… in EncodeStereo()
315 status = dyn_comp (&agParams, p->mPredictorU, &workBits, numSamples / dilate, chanBits, &bits1) ; in EncodeStereo()
318 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples / dilate, numSamples / dilate… in EncodeStereo()
319 status = dyn_comp (&agParams, p->mPredictorV, &workBits, numSamples / dilate, chanBits, &bits2) ; in EncodeStereo()
337 mix16 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, mixBits, mixRes) ; in EncodeStereo()
340 mix20 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, mixBits, mixRes) ; in EncodeStereo()
344 mix24 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, in EncodeStereo()
349 mix32 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, in EncodeStereo()
367 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples / dilate, coefsU [numUV-1], numUV, chanBits, … in EncodeStereo()
368 …pc_block (p->mMixBufferV, p->mPredictorV, numSamples / dilate, coefsV [numUV-1], numUV, chanBits, … in EncodeStereo()
373 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples / dilate, numSamples / dilate… in EncodeStereo()
374 status = dyn_comp (&agParams, p->mPredictorU, &workBits, numSamples / dilate, chanBits, &bits1) ; in EncodeStereo()
382 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples / dilate, numSamples / dilate… in EncodeStereo()
383 status = dyn_comp (&agParams, p->mPredictorV, &workBits, numSamples / dilate, chanBits, &bits2) ; in EncodeStereo()
395 minBits += (numSamples * (bytesShifted * 8) * 2) ; in EncodeStereo()
397 …escapeBits = (numSamples * p->mBitDepth * 2) + ((partialFrame == true) ? 32 : 0) + (2 * 8) ; /* 2 … in EncodeStereo()
407 BitBufferWrite (bitstream, numSamples, 32) ; in EncodeStereo()
432 for (indx = 0 ; indx < (numSamples * 2) ; indx += 2) in EncodeStereo()
446 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples, coefsU [numU - 1], numU, chanBits, DENSHIFT_… in EncodeStereo()
450 …pc_block (p->mMixBufferU, p->mPredictorV, numSamples, coefsU [numU - 1], numU, chanBits, DENSHIFT_… in EncodeStereo()
451 pc_block (p->mPredictorV, p->mPredictorU, numSamples, NULL, 31, chanBits, 0) ; in EncodeStereo()
454 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples, numSamples, MAX_RUN_DEFAULT)… in EncodeStereo()
455 status = dyn_comp (&agParams, p->mPredictorU, bitstream, numSamples, chanBits, &bits1) ; in EncodeStereo()
461 …pc_block (p->mMixBufferV, p->mPredictorV, numSamples, coefsV [numV - 1], numV, chanBits, DENSHIFT_… in EncodeStereo()
465 …pc_block (p->mMixBufferV, p->mPredictorU, numSamples, coefsV [numV - 1], numV, chanBits, DENSHIFT_… in EncodeStereo()
466 pc_block (p->mPredictorU, p->mPredictorV, numSamples, NULL, 31, chanBits, 0) ; in EncodeStereo()
469 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples, numSamples, MAX_RUN_DEFAULT)… in EncodeStereo()
470 status = dyn_comp (&agParams, p->mPredictorV, bitstream, numSamples, chanBits, &bits2) ; in EncodeStereo()
488 status = EncodeStereoEscape (p, bitstream, inputBuffer, stride, numSamples) ; in EncodeStereo()
504 …itstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) in EncodeStereoFast() argument
548 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeStereoFast()
563 mix16 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, mixBits, mixRes) ; in EncodeStereoFast()
566 mix20 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, mixBits, mixRes) ; in EncodeStereoFast()
570 mix24 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, in EncodeStereoFast()
575 mix32 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, in EncodeStereoFast()
586 BitBufferWrite (bitstream, numSamples, 32) ; in EncodeStereoFast()
611 for (indx = 0 ; indx < (numSamples * 2) ; indx += 2) in EncodeStereoFast()
622 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples, coefsU [numU - 1], numU, chanBits, DENSHIFT_… in EncodeStereoFast()
624 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples, numSamples, MAX_RUN_DEFAULT)… in EncodeStereoFast()
625 status = dyn_comp (&agParams, p->mPredictorU, bitstream, numSamples, chanBits, &bits1) ; in EncodeStereoFast()
629 …pc_block (p->mMixBufferV, p->mPredictorV, numSamples, coefsV [numV - 1], numV, chanBits, DENSHIFT_… in EncodeStereoFast()
631 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples, numSamples, MAX_RUN_DEFAULT)… in EncodeStereoFast()
632 status = dyn_comp (&agParams, p->mPredictorV, bitstream, numSamples, chanBits, &bits2) ; in EncodeStereoFast()
642 minBits += (numSamples * (bytesShifted * 8) * 2) ; in EncodeStereoFast()
644 …escapeBits = (numSamples * p->mBitDepth * 2) + ((partialFrame == true) ? 32 : 0) + (2 * 8) ; /* 2 … in EncodeStereoFast()
670 status = EncodeStereoEscape (p, bitstream, inputBuffer, stride, numSamples) ; in EncodeStereoFast()
673 DebugMsg ("escape!: %u vs %u\n", minBits, (numSamples * p->mBitDepth * 2)) ; in EncodeStereoFast()
686 …p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t numSamples) in EncodeStereoEscape() argument
692 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeStereoEscape()
698 BitBufferWrite (bitstream, numSamples, 32) ; in EncodeStereoEscape()
704 for (indx = 0 ; indx < (numSamples * stride) ; indx += stride) in EncodeStereoEscape()
711 for (indx = 0 ; indx < (numSamples * stride) ; indx += stride) in EncodeStereoEscape()
719 …mix24 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples, 0, 0, p->mShiftBufferUV, 0… in EncodeStereoEscape()
720 for (indx = 0 ; indx < numSamples ; indx++) in EncodeStereoEscape()
727 for (indx = 0 ; indx < (numSamples * stride) ; indx += stride) in EncodeStereoEscape()
743 …itstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) in EncodeMono() argument
785 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeMono()
792 for (indx = 0, indx2 = 0 ; indx < numSamples ; indx++, indx2 += stride) in EncodeMono()
798 for (indx = 0, indx2 = 0 ; indx < numSamples ; indx++, indx2 += stride) in EncodeMono()
803 for (indx = 0, indx2 = 0 ; indx < numSamples ; indx++, indx2 += stride) in EncodeMono()
813 for (indx = 0, indx2 = 0 ; indx < numSamples ; indx++, indx2 += stride) in EncodeMono()
839 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples / dilate, coefsU [numU - 1], numU, chanBits, … in EncodeMono()
842 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples / dilate, coefsU [numU - 1], numU, chanBits, … in EncodeMono()
844 …set_ag_params (&agParams, MB0, (pbFactor * PB0) / 4, KB0, numSamples / dilate, numSamples / dilate… in EncodeMono()
845 status = dyn_comp (&agParams, p->mPredictorU, &workBits, numSamples / dilate, chanBits, &bits1) ; in EncodeMono()
860 minBits += (numSamples * (bytesShifted * 8)) ; in EncodeMono()
862 …escapeBits = (numSamples * p->mBitDepth) + ((partialFrame == true) ? 32 : 0) + (2 * 8) ; /* 2 comm… in EncodeMono()
872 BitBufferWrite (bitstream, numSamples, 32) ; in EncodeMono()
885 for (indx = 0 ; indx < numSamples ; indx++) in EncodeMono()
890 …pc_block (p->mMixBufferU, p->mPredictorU, numSamples, coefsU [numU-1], numU, chanBits, DENSHIFT_DE… in EncodeMono()
893 set_standard_ag_params (&agParams, numSamples, numSamples) ; in EncodeMono()
894 status = dyn_comp (&agParams, p->mPredictorU, bitstream, numSamples, chanBits, &bits1) ; in EncodeMono()
916 BitBufferWrite (bitstream, numSamples, 32) ; in EncodeMono()
922 for (indx = 0 ; indx < (numSamples * stride) ; indx += stride) in EncodeMono()
927 for (indx = 0 ; indx < (numSamples * stride) ; indx += stride) in EncodeMono()
932 for (indx = 0, indx2 = 0 ; indx < numSamples ; indx++, indx2 += stride) in EncodeMono()
939 for (indx = 0 ; indx < (numSamples * stride) ; indx += stride) in EncodeMono()
944 DebugMsg ("escape!: %u vs %u\n", minBits, (numSamples * p->mBitDepth)) ; in EncodeMono()
961 alac_encode (ALAC_ENCODER *p, uint32_t numSamples, in alac_encode() argument
983 status = EncodeStereo (p, &bitstream, theReadBuffer, 2, 0, numSamples) ; in alac_encode()
985 status = EncodeStereoFast (p, &bitstream, theReadBuffer, 2, 0, numSamples) ; in alac_encode()
995 status = EncodeMono (p, &bitstream, theReadBuffer, 1, 0, numSamples) ; in alac_encode()
1024 status = EncodeMono (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ; in alac_encode()
1035 status = EncodeStereo (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ; in alac_encode()
1046 status = EncodeMono (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ; in alac_encode()