Lines Matching refs:ValidBits
128 hBitBuf->ValidBits = validBits; in FDK_InitBitBuffer()
137 FDK_ASSERT(hBitBuf->ValidBits <= hBitBuf->bufBits); in FDK_InitBitBuffer()
150 hBitBuf->ValidBits = 0; in FDK_ResetBitBuffer()
162 hBitBuf->ValidBits -= numberOfBits; in FDK_get()
184 hBitBuf->ValidBits = (UINT)((INT)hBitBuf->ValidBits - (INT)32); in FDK_get32()
222 hBitBuf->ValidBits += numberOfBits; in FDK_getBwd()
254 hBitBuf->ValidBits += numberOfBits; in FDK_put()
304 hBitBuf->ValidBits -= numberOfBits; in FDK_putBwd()
340 hBitBuf->ValidBits = in FDK_pushBack()
341 (config == 0) ? (UINT)((INT)hBitBuf->ValidBits + (INT)numberOfBits) in FDK_pushBack()
342 : ((UINT)((INT)hBitBuf->ValidBits - (INT)numberOfBits)); in FDK_pushBack()
350 hBitBuf->ValidBits = in FDK_pushForward()
351 (config == 0) ? ((UINT)((INT)hBitBuf->ValidBits - (INT)numberOfBits)) in FDK_pushForward()
352 : (UINT)((INT)hBitBuf->ValidBits + (INT)numberOfBits); in FDK_pushForward()
358 UINT FDK_getValidBits(HANDLE_FDK_BITBUF hBitBuf) { return hBitBuf->ValidBits; } in FDK_getValidBits()
362 return (hBitBuf->bufBits - hBitBuf->ValidBits); in FDK_getFreeBits()
373 (UINT)fMax(0, ((INT)hBitBuf->bufBits - (INT)hBitBuf->ValidBits))) >> in FDK_Feed()
390 hBitBuf->ValidBits = (UINT)((INT)hBitBuf->ValidBits + (INT)(bToRead << 3)); in FDK_Feed()
416 h_BitBufSrc->ValidBits -= bToRead; in CopyAlignedBlock()
425 UINT bToRead = h_BitBufSrc->ValidBits >> 3; in FDK_Copy()
451 h_BitBufDst->ValidBits += bToRead << 3; in FDK_Copy()
466 UINT bToWrite = (hBitBuf->ValidBits) >> 3; in FDK_Fetch()
482 hBitBuf->ValidBits -= bToWrite << 3; in FDK_Fetch()