Searched refs:bToRead (Results 1 – 1 of 1) sorted by relevance
373 UINT bToRead = (hBitBuf->bufBits - hBitBuf->ValidBits) >> 3 ; in FDK_Feed() local374 UINT noOfBytes = fMin(bToRead, *bytesValid); //(bToRead < *bytesValid) ? bToRead : *bytesValid ; in FDK_Feed()379 bToRead = hBitBuf->bufSize - hBitBuf->ReadOffset ; in FDK_Feed()380 bToRead = fMin(bToRead, noOfBytes); //(bToRead < noOfBytes) ? bToRead : noOfBytes ; in FDK_Feed()383 FDKmemcpy(&hBitBuf->Buffer[hBitBuf->ReadOffset], inputBuffer, bToRead*sizeof(UCHAR)); in FDK_Feed()386 hBitBuf->ValidBits += bToRead << 3 ; in FDK_Feed()387 bTotal += bToRead ; in FDK_Feed()388 inputBuffer += bToRead ; in FDK_Feed()390 hBitBuf->ReadOffset = (hBitBuf->ReadOffset + bToRead) & (hBitBuf->bufSize - 1) ; in FDK_Feed()391 noOfBytes -= bToRead ; in FDK_Feed()[all …]