Home
last modified time | relevance | path

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

/external/aac/libFDK/src/
DFDK_crc.cpp442 int bits, rBits; in crcCalc() local
443 rBits = (rD->maxBits >= 0) ? rD->maxBits : -rD->maxBits; /* ramaining bits */ in crcCalc()
444 if ((rD->maxBits > 0) && ((rD->bitBufCntBits >> 3 << 3) < rBits)) { in crcCalc()
447 bits = rBits; in crcCalc()
454 rBits -= (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, &bsReader, words) << 3); in crcCalc()
456 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, in crcCalc()
462 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, in crcCalc()
466 if (rBits != 0) { in crcCalc()
468 if ((hCrcInfo->pCrcLookup) && (rBits > 8)) { in crcCalc()
469 rBits -= in crcCalc()
[all …]
/external/mesa3d/src/mesa/drivers/x11/
Dxm_api.c466 GLint rBits = _mesa_bitcount(rmask); in setup_truecolor() local
486 v->RtoPixel[i] = (r >> (8-rBits)) << v->rshift; in setup_truecolor()
498 maxBits = rBits; in setup_truecolor()