Lines Matching refs:FDKgetValidBits
395 …loasOffset = (hTp->parser.latm.m_audioMuxLengthBytes*8 + FDKgetValidBits(hBs)) - hTp->globalFrameP… in transportDec_AdjustEndOfAccessUnit()
416 … offset -= hTp->accessUnitAnchor[0] - FDKgetValidBits(hBs) + 16 + hTp->parser.adts.bs.num_pce_bits; in transportDec_AdjustEndOfAccessUnit()
430 …offset = (hTp->parser.adts.bs.frame_length*8 - ADTS_SYNCLENGTH + FDKgetValidBits(hBs)) - hTp->glob… in transportDec_AdjustEndOfAccessUnit()
529 startPos = FDKgetValidBits(hBs); in transportDec_readHeader()
537 hTp->globalFramePos = FDKgetValidBits(hBs); in transportDec_readHeader()
572 …syncLayerFrameBits = (hTp->parser.adts.bs.frame_length<<3) - (startPos - FDKgetValidBits(hBs)) - s… in transportDec_readHeader()
591 hTp->globalFramePos = FDKgetValidBits(hBs); in transportDec_readHeader()
609 syncLayerFrameBits -= startPos - FDKgetValidBits(hBs) - (13); in transportDec_readHeader()
637 *pHeaderBits += startPos - (INT)FDKgetValidBits(hBs); in transportDec_readHeader()
682 totalBits = (INT)FDKgetValidBits(hBs); in synchronization()
716 bitsAvail = (INT)FDKgetValidBits(hBs); in synchronization()
819 startPosFirstFrame = FDKgetValidBits(hBs); in synchronization()
854 FDKpushBiDirectional(hBs, FDKgetValidBits(hBs) - startPosFirstFrame); in synchronization()
866 …err = additionalHoldOffNeeded(hTp, transportDec_GetBufferFullness(hTp), FDKgetValidBits(hBs) - syn… in synchronization()
897 …if ( (TRANSPORTDEC_NOT_ENOUGH_BITS == err) && (FDKgetValidBits(hBs) >= ((TRANSPORTDEC_INBUF_SIZE*… in synchronization()
939 bitDistance = FDKgetValidBits(hBs); in transportDec_readStream()
941 bitDistance -= FDKgetValidBits(hBs); in transportDec_readStream()
1043 if ((INT)FDKgetValidBits(hBs) <= 0) { in transportDec_ReadAccessUnit()
1088 hTp->auLength[layer] = FDKgetValidBits(hBs); in transportDec_ReadAccessUnit()
1115 hTp->accessUnitAnchor[layer] = FDKgetValidBits(hBs); in transportDec_ReadAccessUnit()
1129 …bits = hTp->auLength[layer] - (hTp->accessUnitAnchor[layer] - FDKgetValidBits(&hTp->bitStream[laye… in transportDec_GetAuBitsRemaining()
1131 bits = FDKgetValidBits(&hTp->bitStream[layer]); in transportDec_GetAuBitsRemaining()