Lines Matching defs:channelIndex
55 static int32_t EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
56 static int32_t EncodeStereoFast (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
58 static int32_t EncodeMono (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ;
222 EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples)
253 coefsU = (SearchCoefs) p->mCoefsU [channelIndex] ;
254 coefsV = (SearchCoefs) p->mCoefsV [channelIndex] ;
282 bestRes = p->mLastMixRes [channelIndex] ;
330 p->mLastMixRes [channelIndex] = (int16_t) bestRes ;
333 mixRes = p->mLastMixRes [channelIndex] ;
504 EncodeStereoFast (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples)
532 coefsU = (SearchCoefs) p->mCoefsU [channelIndex] ;
533 coefsV = (SearchCoefs) p->mCoefsV [channelIndex] ;
743 EncodeMono (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples)
769 coefsU = (SearchCoefs) p->mCoefsU [channelIndex] ;
1002 uint32_t channelIndex ;
1013 for (channelIndex = 0 ; channelIndex < numChannels ;)
1015 tag = (sChannelMaps [numChannels - 1] & (0x7ul << (channelIndex * 3))) >> (channelIndex * 3) ;
1024 status = EncodeMono (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ;
1027 channelIndex++ ;
1035 status = EncodeStereo (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ;
1038 channelIndex += 2 ;
1046 status = EncodeMono (p, &bitstream, inputBuffer, numChannels, channelIndex, numSamples) ;
1049 channelIndex++ ;