• Home
  • Raw
  • Download

Lines Matching refs:pHcr

118 static void InitNonPCWSideInformationForCurrentSet(H_HCR_INFO pHcr);
130 void DecodeNonPCWs(HANDLE_FDK_BITSTREAM bs, H_HCR_INFO pHcr) { in DecodeNonPCWs() argument
158 pNumSegment = &(pHcr->segmentInfo.numSegment); in DecodeNonPCWs()
159 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in DecodeNonPCWs()
160 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in DecodeNonPCWs()
161 pNumWordForBitfield = &(pHcr->segmentInfo.numWordForBitfield); in DecodeNonPCWs()
162 pNumBitValidInLastWord = &(pHcr->segmentInfo.pNumBitValidInLastWord); in DecodeNonPCWs()
163 pSta = pHcr->nonPcwSideinfo.pSta; in DecodeNonPCWs()
170 numCodeword = pHcr->sectionInfo.numCodeword; in DecodeNonPCWs()
173 pHcr->segmentInfo.readDirection = FROM_RIGHT_TO_LEFT; in DecodeNonPCWs()
193 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in DecodeNonPCWs()
220 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in DecodeNonPCWs()
224 InitNonPCWSideInformationForCurrentSet(pHcr); in DecodeNonPCWs()
234 pHcr->segmentInfo.segmentOffset = in DecodeNonPCWs()
237 pHcr->nonPcwSideinfo.codewordOffset = in DecodeNonPCWs()
255 pHcr->nonPcwSideinfo.pState = in DecodeNonPCWs()
258 while (pHcr->nonPcwSideinfo.pState) { in DecodeNonPCWs()
259 ret = ((STATEFUNC)pHcr->nonPcwSideinfo.pState)(bs, pHcr); in DecodeNonPCWs()
268 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
274 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; in DecodeNonPCWs()
279 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
286 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; in DecodeNonPCWs()
340 pHcr->segmentInfo.readDirection = in DecodeNonPCWs()
341 ToggleReadDirection(pHcr->segmentInfo.readDirection); in DecodeNonPCWs()
431 static void InitNonPCWSideInformationForCurrentSet(H_HCR_INFO pHcr) { in InitNonPCWSideInformationForCurrentSet() argument
436 UCHAR *pCodebook = pHcr->nonPcwSideinfo.pCodebook; in InitNonPCWSideInformationForCurrentSet()
437 UINT *iNode = pHcr->nonPcwSideinfo.iNode; in InitNonPCWSideInformationForCurrentSet()
438 UCHAR *pCntSign = pHcr->nonPcwSideinfo.pCntSign; in InitNonPCWSideInformationForCurrentSet()
439 USHORT *iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in InitNonPCWSideInformationForCurrentSet()
440 UINT *pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in InitNonPCWSideInformationForCurrentSet()
441 SCHAR *pSta = pHcr->nonPcwSideinfo.pSta; in InitNonPCWSideInformationForCurrentSet()
443 pHcr->sectionInfo.pNumExtendedSortedCodewordInSection; in InitNonPCWSideInformationForCurrentSet()
445 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx; in InitNonPCWSideInformationForCurrentSet()
446 UCHAR *pExtendedSortedCodebook = pHcr->sectionInfo.pExtendedSortedCodebook; in InitNonPCWSideInformationForCurrentSet()
447 int extendedSortedCodebookIdx = pHcr->sectionInfo.extendedSortedCodebookIdx; in InitNonPCWSideInformationForCurrentSet()
449 pHcr->sectionInfo.pNumExtendedSortedSectionsInSets; in InitNonPCWSideInformationForCurrentSet()
451 pHcr->sectionInfo.numExtendedSortedSectionsInSetsIdx; in InitNonPCWSideInformationForCurrentSet()
453 pHcr->decInOut.quantizedSpectralCoefficientsIdx; in InitNonPCWSideInformationForCurrentSet()
502 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx = in InitNonPCWSideInformationForCurrentSet()
504 pHcr->sectionInfo.extendedSortedCodebookIdx = extendedSortedCodebookIdx; in InitNonPCWSideInformationForCurrentSet()
505 pHcr->sectionInfo.numExtendedSortedSectionsInSetsIdx = in InitNonPCWSideInformationForCurrentSet()
507 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx = in InitNonPCWSideInformationForCurrentSet()
509 pHcr->decInOut.quantizedSpectralCoefficientsIdx = in InitNonPCWSideInformationForCurrentSet()
578 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_ONLY() local
602 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_ONLY()
603 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_ONLY()
604 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_ONLY()
605 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_ONLY()
606 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_ONLY()
607 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_ONLY()
608 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_ONLY()
610 pCodebook = pHcr->nonPcwSideinfo.pCodebook; in Hcr_State_BODY_ONLY()
611 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_ONLY()
612 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_ONLY()
613 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_ONLY()
614 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_ONLY()
624 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_ONLY()
656 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_ONLY()
675 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_ONLY()
680 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_ONLY; in Hcr_State_BODY_ONLY()
705 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN__BODY() local
734 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN__BODY()
735 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN__BODY()
736 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN__BODY()
737 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN__BODY()
738 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN__BODY()
739 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN__BODY()
740 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__BODY()
742 pCodebook = pHcr->nonPcwSideinfo.pCodebook; in Hcr_State_BODY_SIGN__BODY()
743 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN__BODY()
744 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN__BODY()
745 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN__BODY()
746 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN__BODY()
747 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN__BODY()
748 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN__BODY()
758 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN__BODY()
800 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__BODY()
808 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN__BODY()
829 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__BODY()
834 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN__BODY; in Hcr_State_BODY_SIGN__BODY()
854 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN__SIGN() local
872 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN__SIGN()
873 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN__SIGN()
874 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN__SIGN()
875 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN__SIGN()
876 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN__SIGN()
877 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN__SIGN()
878 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__SIGN()
881 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN__SIGN()
882 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN__SIGN()
883 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN__SIGN()
884 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN__SIGN()
893 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN__SIGN()
915 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__SIGN()
928 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__SIGN()
933 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN__SIGN; in Hcr_State_BODY_SIGN__SIGN()
958 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__BODY() local
985 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
986 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
987 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
988 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__BODY()
989 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__BODY()
990 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__BODY()
991 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
993 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN_ESC__BODY()
994 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN_ESC__BODY()
995 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__BODY()
996 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__BODY()
997 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
998 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__BODY()
1006 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__BODY()
1051 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__BODY()
1059 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__BODY()
1078 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__BODY()
1083 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__BODY; in Hcr_State_BODY_SIGN_ESC__BODY()
1121 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__SIGN() local
1145 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1146 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1147 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1148 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__SIGN()
1149 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__SIGN()
1150 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__SIGN()
1151 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1153 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN_ESC__SIGN()
1154 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN_ESC__SIGN()
1155 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__SIGN()
1156 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__SIGN()
1157 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__SIGN()
1158 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1159 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__SIGN()
1168 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__SIGN()
1226 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__SIGN()
1239 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__SIGN()
1263 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__SIGN()
1268 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__SIGN; in Hcr_State_BODY_SIGN_ESC__SIGN()
1292 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX() local
1305 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1306 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1307 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1308 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1309 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1310 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1311 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1312 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1313 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1323 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1330 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_PREFIX; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1366 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1374 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1379 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_PREFIX; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1401 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__ESC_WORD() local
1425 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1426 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1427 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1428 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1429 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1430 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1431 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1433 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1434 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1435 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1436 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1437 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1448 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1519 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1530 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1537 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1546 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1551 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_WORD; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()