Home
last modified time | relevance | path

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

/external/aac/libFDK/src/
DFDK_crc.cpp422 int bits, rBits; in crcCalc() local
423 rBits = (rD->maxBits>=0) ? rD->maxBits : -rD->maxBits; /* ramaining bits */ in crcCalc()
424 if ((rD->maxBits>0) && (((INT)rD->bitBufCntBits>>3<<3)<rBits) ) { in crcCalc()
428 bits = rBits; in crcCalc()
435 rBits -= (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, &bsReader, words)<<3); in crcCalc()
438 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, words<<3 ); in crcCalc()
443 rBits -= calcCrc_Bits(&crc, hCrcInfo->crcMask, hCrcInfo->crcPoly, &bsReader, mBits ); in crcCalc()
446 if (rBits!=0) { in crcCalc()
448 if ( (hCrcInfo->pCrcLookup) && (rBits>8) ) { in crcCalc()
449 rBits -= (calcCrc_Bytes(&crc, hCrcInfo->pCrcLookup, NULL, rBits>>3)<<3); 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()