Lines Matching refs:h_BitBufSrc
397 void CopyAlignedBlock (HANDLE_FDK_BITBUF h_BitBufSrc, UCHAR *RESTRICT dstBuffer, UINT bToRead) in CopyAlignedBlock() argument
399 UINT byteOffset = h_BitBufSrc->BitNdx >> 3 ; in CopyAlignedBlock()
400 const UINT byteMask = h_BitBufSrc->bufSize - 1 ; in CopyAlignedBlock()
402 UCHAR *RESTRICT pBBB = h_BitBufSrc->Buffer; in CopyAlignedBlock()
410 h_BitBufSrc->BitNdx = (h_BitBufSrc->BitNdx + bToRead) & (h_BitBufSrc->bufBits - 1) ; in CopyAlignedBlock()
411 h_BitBufSrc->BitCnt += bToRead ; in CopyAlignedBlock()
412 h_BitBufSrc->ValidBits -= bToRead ; in CopyAlignedBlock()
415 void FDK_Copy (HANDLE_FDK_BITBUF h_BitBufDst, HANDLE_FDK_BITBUF h_BitBufSrc, UINT *bytesValid) in FDK_Copy() argument
420 UINT bToRead = h_BitBufSrc->ValidBits >> 3 ; in FDK_Copy()
432 if (!(h_BitBufSrc->BitNdx & 0x07)) { in FDK_Copy()
433 CopyAlignedBlock (h_BitBufSrc, h_BitBufDst->Buffer + h_BitBufDst->ReadOffset, bToRead) ; in FDK_Copy()
437 h_BitBufDst->Buffer [h_BitBufDst->ReadOffset + i] = (UCHAR)FDK_get(h_BitBufSrc,8); in FDK_Copy()