• Home
  • Raw
  • Download

Lines Matching refs:bToRead

371   UINT bToRead =  in FDK_Feed()  local
376 fMin(bToRead, in FDK_Feed()
381 bToRead = hBitBuf->bufSize - hBitBuf->ReadOffset; in FDK_Feed()
382 bToRead = fMin(bToRead, in FDK_Feed()
387 bToRead * sizeof(UCHAR)); in FDK_Feed()
390 hBitBuf->ValidBits = (UINT)((INT)hBitBuf->ValidBits + (INT)(bToRead << 3)); in FDK_Feed()
391 bTotal += bToRead; in FDK_Feed()
392 inputBuffer += bToRead; in FDK_Feed()
395 (hBitBuf->ReadOffset + bToRead) & (hBitBuf->bufSize - 1); in FDK_Feed()
396 noOfBytes -= bToRead; in FDK_Feed()
403 UINT bToRead) { in CopyAlignedBlock() argument
408 for (UINT i = 0; i < bToRead; i++) { in CopyAlignedBlock()
412 bToRead <<= 3; in CopyAlignedBlock()
415 (h_BitBufSrc->BitNdx + bToRead) & (h_BitBufSrc->bufBits - 1); in CopyAlignedBlock()
416 h_BitBufSrc->ValidBits -= bToRead; in CopyAlignedBlock()
425 UINT bToRead = h_BitBufSrc->ValidBits >> 3; in FDK_Copy() local
427 fMin(bToRead, in FDK_Copy()
429 bToRead = FDK_getFreeBits(h_BitBufDst); in FDK_Copy()
431 fMin(bToRead, noOfBytes); //(bToRead < noOfBytes) ? bToRead : noOfBytes; in FDK_Copy()
435 bToRead = h_BitBufDst->bufSize - h_BitBufDst->ReadOffset; in FDK_Copy()
436 bToRead = fMin(noOfBytes, in FDK_Copy()
437 bToRead); //(noOfBytes < bToRead) ? noOfBytes : bToRead ; in FDK_Copy()
442 h_BitBufDst->Buffer + h_BitBufDst->ReadOffset, bToRead); in FDK_Copy()
444 for (UINT i = 0; i < bToRead; i++) { in FDK_Copy()
451 h_BitBufDst->ValidBits += bToRead << 3; in FDK_Copy()
452 bTotal += bToRead; in FDK_Copy()
455 (h_BitBufDst->ReadOffset + bToRead) & (h_BitBufDst->bufSize - 1); in FDK_Copy()
456 noOfBytes -= bToRead; in FDK_Copy()