Lines Matching refs:segmentOffset
132 INT segmentOffset; in DecodeNonPCWs() local
233 segmentOffset = 0; /* start at zero in every segment */ in DecodeNonPCWs()
234 pHcr->segmentInfo.segmentOffset = in DecodeNonPCWs()
235 segmentOffset; /* store in structure for states */ in DecodeNonPCWs()
267 segmentOffset += 1; /* add NUMBER_OF_BIT_IN_WORD times one */ in DecodeNonPCWs()
268 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
277 segmentOffset += in DecodeNonPCWs()
279 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
581 UINT segmentOffset; in Hcr_State_BODY_ONLY() local
608 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_ONLY()
621 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_ONLY()
622 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_ONLY()
624 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_ONLY()
625 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_ONLY()
656 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_ONLY()
659 pRemainingBitsInSegment[segmentOffset] -= 1; /* last reinitialzation of in Hcr_State_BODY_ONLY()
674 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_ONLY()
675 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_ONLY()
679 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_ONLY()
712 UINT segmentOffset; in Hcr_State_BODY_SIGN__BODY() local
740 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__BODY()
755 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_SIGN__BODY()
756 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_SIGN__BODY()
758 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN__BODY()
759 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_SIGN__BODY()
800 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__BODY()
813 pRemainingBitsInSegment[segmentOffset] -= 1; /* last reinitialzation of in Hcr_State_BODY_SIGN__BODY()
828 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_SIGN__BODY()
829 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__BODY()
833 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_SIGN__BODY()
861 UINT segmentOffset; in Hcr_State_BODY_SIGN__SIGN() local
878 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__SIGN()
890 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_SIGN__SIGN()
891 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_SIGN__SIGN()
893 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN__SIGN()
894 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_SIGN__SIGN()
915 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__SIGN()
918 pRemainingBitsInSegment[segmentOffset] -= 1; /* last reinitialzation of in Hcr_State_BODY_SIGN__SIGN()
927 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_SIGN__SIGN()
928 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__SIGN()
932 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_SIGN__SIGN()
965 UINT segmentOffset; in Hcr_State_BODY_SIGN_ESC__BODY() local
991 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
1003 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_SIGN_ESC__BODY()
1004 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_SIGN_ESC__BODY()
1006 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__BODY()
1007 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_SIGN_ESC__BODY()
1051 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__BODY()
1064 pRemainingBitsInSegment[segmentOffset] -= 1; /* the last reinitialzation in Hcr_State_BODY_SIGN_ESC__BODY()
1077 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_SIGN_ESC__BODY()
1078 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__BODY()
1082 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_SIGN_ESC__BODY()
1128 UINT segmentOffset; in Hcr_State_BODY_SIGN_ESC__SIGN() local
1151 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1165 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_SIGN_ESC__SIGN()
1166 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_SIGN_ESC__SIGN()
1168 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__SIGN()
1169 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_SIGN_ESC__SIGN()
1195 pRemainingBitsInSegment[segmentOffset] -= 1; /* last reinitialzation of in Hcr_State_BODY_SIGN_ESC__SIGN()
1226 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__SIGN()
1262 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_SIGN_ESC__SIGN()
1263 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__SIGN()
1267 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_SIGN_ESC__SIGN()
1298 UINT segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX() local
1310 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1320 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1321 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1323 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1324 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1342 pRemainingBitsInSegment[segmentOffset] -= 1; /* last reinitialzation of in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1373 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1374 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1378 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1408 UINT segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD() local
1431 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1445 for (; pRemainingBitsInSegment[segmentOffset] > 0; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1446 pRemainingBitsInSegment[segmentOffset] -= 1) { in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1448 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1449 &pRightStartOfSegment[segmentOffset], readDirection); in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1475 pRemainingBitsInSegment[segmentOffset] -= 1; /* last reinitialzation of in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1519 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1537 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1545 if (pRemainingBitsInSegment[segmentOffset] <= 0) { in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1546 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1550 if (pRemainingBitsInSegment[segmentOffset] < 0) { in Hcr_State_BODY_SIGN_ESC__ESC_WORD()