Home
last modified time | relevance | path

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

/third_party/libsnd/src/ALAC/
Dalac_encoder.c239 uint8_t partialFrame ; in EncodeStereo() local
269 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeStereo()
393 …minBits = minBits1 + minBits2 + (8 /* mixRes/maxRes/etc. */ * 8) + ((partialFrame == true) ? 32 : … in EncodeStereo()
397 …escapeBits = (numSamples * p->mBitDepth * 2) + ((partialFrame == true) ? 32 : 0) + (2 * 8) ; /* 2 … in EncodeStereo()
405 BitBufferWrite (bitstream, (partialFrame << 3) | (bytesShifted << 1), 4) ; in EncodeStereo()
406 if (partialFrame) in EncodeStereo()
519 uint8_t partialFrame ; in EncodeStereoFast() local
548 partialFrame = (numSamples == p->mFrameSize) ? 0 : 1 ; in EncodeStereoFast()
584 BitBufferWrite (bitstream, (partialFrame << 3) | (bytesShifted << 1), 4) ; in EncodeStereoFast()
585 if (partialFrame) in EncodeStereoFast()
[all …]
Dalac_decoder.c161 uint8_t partialFrame ; in alac_decode() local
203 partialFrame = headerByte >> 3 ; in alac_decode()
215 if (partialFrame != 0) in alac_decode()
356 partialFrame = headerByte >> 3 ; in alac_decode()
368 if (partialFrame != 0) in alac_decode()