Home
last modified time | relevance | path

Searched refs:chanBits (Results 1 – 4 of 4) sorted by relevance

/third_party/libsnd/src/ALAC/
Dalac_decoder.c152 uint32_t chanBits ; in alac_decode() local
212 chanBits = p->mConfig.bitDepth - (bytesShifted * 8) ; in alac_decode()
250 status = dyn_decomp (&agParams, bits, p->mPredictor, numSamples, chanBits, &bits1) ; in alac_decode()
255 … unpc_block (p->mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode()
260 unpc_block (p->mPredictor, p->mPredictor, numSamples, NULL, 31, chanBits, 0) ; in alac_decode()
261 … unpc_block (p->mPredictor, p->mMixBufferU, numSamples, &coefsU [0], numU, chanBits, denShiftU) ; in alac_decode()
269 shift = 32 - chanBits ; in alac_decode()
270 if (chanBits <= 16) in alac_decode()
274 val = (int32_t) BitBufferRead (bits, (uint8_t) chanBits) ; in alac_decode()
282 extraBits = chanBits - 16 ; in alac_decode()
[all …]
Dalac_encoder.c234 uint32_t chanBits ; in EncodeStereo() local
266 chanBits = p->mBitDepth - (bytesShifted * 8) + 1 ; 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()
315 status = dyn_comp (&agParams, p->mPredictorU, &workBits, numSamples / dilate, chanBits, &bits1) ; in EncodeStereo()
319 status = dyn_comp (&agParams, p->mPredictorV, &workBits, numSamples / dilate, chanBits, &bits2) ; 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()
374 status = dyn_comp (&agParams, p->mPredictorU, &workBits, numSamples / dilate, chanBits, &bits1) ; in EncodeStereo()
383 status = dyn_comp (&agParams, p->mPredictorV, &workBits, numSamples / dilate, chanBits, &bits2) ; in EncodeStereo()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktSampleVerifierUtil.cpp844 int chanBits = 0; in convertNormalizedFormat() local
849 chanBits = bitSizes[chan]; in convertNormalizedFormat()
872 chanBits = 8 * chanSize; in convertNormalizedFormat()
879 chanVal = signExtend(chanUVal, chanBits); in convertNormalizedFormat()
886 …convertNormalizedInt(chanVal, chanBits, isSigned, internalFormat[compNdx], resultMin[compNdx], res… in convertNormalizedFormat()
901 if (chanBits == 1) in convertNormalizedFormat()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktSampleVerifierUtil.cpp844 int chanBits = 0; in convertNormalizedFormat() local
849 chanBits = bitSizes[chan]; in convertNormalizedFormat()
872 chanBits = 8 * chanSize; in convertNormalizedFormat()
879 chanVal = signExtend(chanUVal, chanBits); in convertNormalizedFormat()
886 …convertNormalizedInt(chanVal, chanBits, isSigned, internalFormat[compNdx], resultMin[compNdx], res… in convertNormalizedFormat()
901 if (chanBits == 1) in convertNormalizedFormat()