Lines Matching refs:bufSize
116 UINT bufSize)
118 FDK_InitBitBuffer (*hBitBuf, pBuffer, bufSize, 0);
120 FDKmemclear((*hBitBuf)->Buffer, bufSize*sizeof(UCHAR));
126 UINT bufSize, UINT validBits)
135 hBitBuf->bufSize = bufSize ;
136 hBitBuf->bufBits = (bufSize << 3) ;
138 /*assure bufsize (2^n) */
139 if (bufSize!=0) {
140 UINT x = 0, n=bufSize;
142 if ( bufSize != (1<<(x-1)) ) {
143 FDKprintfErr("Error: bufSizein FDK_InitBitBuffer() != (2^n), %d\n", bufSize);
167 UINT byteMask = hBitBuf->bufSize - 1 ;
218 UINT byteMask = hBitBuf->bufSize - 1 ;
259 UINT byteMask = hBitBuf->bufSize - 1 ;
280 UINT byteMask = hBitBuf->bufSize - 1 ;
379 bToRead = hBitBuf->bufSize - hBitBuf->ReadOffset ;
390 hBitBuf->ReadOffset = (hBitBuf->ReadOffset + bToRead) & (hBitBuf->bufSize - 1) ;
400 const UINT byteMask = h_BitBufSrc->bufSize - 1 ;
428 bToRead = h_BitBufDst->bufSize - h_BitBufDst->ReadOffset ;
445 bufSize-1);
463 bToWrite = hBitBuf->bufSize - hBitBuf->WriteOffset ;
474 hBitBuf->WriteOffset = (hBitBuf->WriteOffset + bToWrite) & (hBitBuf->bufSize - 1) ;