Home
last modified time | relevance | path

Searched refs:mixRes (Results 1 – 2 of 2) sorted by relevance

/third_party/libsnd/src/ALAC/
Dalac_encoder.c229 int32_t mixBits, mixRes, maxRes ; in EncodeStereo() local
284 for (mixRes = 0 ; mixRes <= maxRes ; mixRes++) 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()
298 mixBits, mixRes, p->mShiftBufferUV, bytesShifted) ; in EncodeStereo()
303 mixBits, mixRes, p->mShiftBufferUV, bytesShifted) ; in EncodeStereo()
326 bestRes = mixRes ; in EncodeStereo()
333 mixRes = p->mLastMixRes [channelIndex] ; 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()
[all …]
Dalac_decoder.c149 int8_t mixRes ; in alac_decode() local
227 mixRes = (int8_t) BitBufferRead (bits, 8) ; in alac_decode()
291 mixBits = mixRes = 0 ; in alac_decode()
380 mixRes = (int8_t) BitBufferRead (bits, 8) ; in alac_decode()
479 mixBits = mixRes = 0 ; 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()
511 mixBits, mixRes, p->u.mShiftBuffer, bytesShifted) ; in alac_decode()
516 mixBits, mixRes, p->u.mShiftBuffer, bytesShifted) ; in alac_decode()