• Home
  • Raw
  • Download

Lines Matching refs:bToRead

371   UINT bToRead = (hBitBuf->bufBits - hBitBuf->ValidBits) >> 3;  in FDK_Feed()  local
373 fMin(bToRead, in FDK_Feed()
378 bToRead = hBitBuf->bufSize - hBitBuf->ReadOffset; in FDK_Feed()
379 bToRead = fMin(bToRead, in FDK_Feed()
384 bToRead * sizeof(UCHAR)); in FDK_Feed()
387 hBitBuf->ValidBits += bToRead << 3; in FDK_Feed()
388 bTotal += bToRead; in FDK_Feed()
389 inputBuffer += bToRead; in FDK_Feed()
392 (hBitBuf->ReadOffset + bToRead) & (hBitBuf->bufSize - 1); in FDK_Feed()
393 noOfBytes -= bToRead; in FDK_Feed()
400 UINT bToRead) { in CopyAlignedBlock() argument
405 for (UINT i = 0; i < bToRead; i++) { in CopyAlignedBlock()
409 bToRead <<= 3; in CopyAlignedBlock()
412 (h_BitBufSrc->BitNdx + bToRead) & (h_BitBufSrc->bufBits - 1); in CopyAlignedBlock()
413 h_BitBufSrc->ValidBits -= bToRead; in CopyAlignedBlock()
422 UINT bToRead = h_BitBufSrc->ValidBits >> 3; in FDK_Copy() local
424 fMin(bToRead, in FDK_Copy()
426 bToRead = FDK_getFreeBits(h_BitBufDst); in FDK_Copy()
428 fMin(bToRead, noOfBytes); //(bToRead < noOfBytes) ? bToRead : noOfBytes; in FDK_Copy()
432 bToRead = h_BitBufDst->bufSize - h_BitBufDst->ReadOffset; in FDK_Copy()
433 bToRead = fMin(noOfBytes, in FDK_Copy()
434 bToRead); //(noOfBytes < bToRead) ? noOfBytes : bToRead ; in FDK_Copy()
439 h_BitBufDst->Buffer + h_BitBufDst->ReadOffset, bToRead); in FDK_Copy()
441 for (UINT i = 0; i < bToRead; i++) { in FDK_Copy()
448 h_BitBufDst->ValidBits += bToRead << 3; in FDK_Copy()
449 bTotal += bToRead; in FDK_Copy()
452 (h_BitBufDst->ReadOffset + bToRead) & (h_BitBufDst->bufSize - 1); in FDK_Copy()
453 noOfBytes -= bToRead; in FDK_Copy()