• 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()
191 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in DecodeNonPCWs()
218 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in DecodeNonPCWs()
222 InitNonPCWSideInformationForCurrentSet(pHcr); in DecodeNonPCWs()
232 pHcr->segmentInfo.segmentOffset = in DecodeNonPCWs()
235 pHcr->nonPcwSideinfo.codewordOffset = in DecodeNonPCWs()
253 pHcr->nonPcwSideinfo.pState = in DecodeNonPCWs()
256 while (pHcr->nonPcwSideinfo.pState) { in DecodeNonPCWs()
257 ret = ((STATEFUNC)pHcr->nonPcwSideinfo.pState)(bs, pHcr); in DecodeNonPCWs()
266 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
272 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; in DecodeNonPCWs()
277 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
284 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; in DecodeNonPCWs()
338 pHcr->segmentInfo.readDirection = in DecodeNonPCWs()
339 ToggleReadDirection(pHcr->segmentInfo.readDirection); in DecodeNonPCWs()
429 static void InitNonPCWSideInformationForCurrentSet(H_HCR_INFO pHcr) { in InitNonPCWSideInformationForCurrentSet() argument
434 UCHAR *pCodebook = pHcr->nonPcwSideinfo.pCodebook; in InitNonPCWSideInformationForCurrentSet()
435 UINT *iNode = pHcr->nonPcwSideinfo.iNode; in InitNonPCWSideInformationForCurrentSet()
436 UCHAR *pCntSign = pHcr->nonPcwSideinfo.pCntSign; in InitNonPCWSideInformationForCurrentSet()
437 USHORT *iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in InitNonPCWSideInformationForCurrentSet()
438 UINT *pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in InitNonPCWSideInformationForCurrentSet()
439 SCHAR *pSta = pHcr->nonPcwSideinfo.pSta; in InitNonPCWSideInformationForCurrentSet()
441 pHcr->sectionInfo.pNumExtendedSortedCodewordInSection; in InitNonPCWSideInformationForCurrentSet()
443 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx; in InitNonPCWSideInformationForCurrentSet()
444 UCHAR *pExtendedSortedCodebook = pHcr->sectionInfo.pExtendedSortedCodebook; in InitNonPCWSideInformationForCurrentSet()
445 int extendedSortedCodebookIdx = pHcr->sectionInfo.extendedSortedCodebookIdx; in InitNonPCWSideInformationForCurrentSet()
447 pHcr->sectionInfo.pNumExtendedSortedSectionsInSets; in InitNonPCWSideInformationForCurrentSet()
449 pHcr->sectionInfo.numExtendedSortedSectionsInSetsIdx; in InitNonPCWSideInformationForCurrentSet()
451 pHcr->decInOut.quantizedSpectralCoefficientsIdx; in InitNonPCWSideInformationForCurrentSet()
500 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx = in InitNonPCWSideInformationForCurrentSet()
502 pHcr->sectionInfo.extendedSortedCodebookIdx = extendedSortedCodebookIdx; in InitNonPCWSideInformationForCurrentSet()
503 pHcr->sectionInfo.numExtendedSortedSectionsInSetsIdx = in InitNonPCWSideInformationForCurrentSet()
505 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx = in InitNonPCWSideInformationForCurrentSet()
507 pHcr->decInOut.quantizedSpectralCoefficientsIdx = in InitNonPCWSideInformationForCurrentSet()
576 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_ONLY() local
600 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_ONLY()
601 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_ONLY()
602 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_ONLY()
603 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_ONLY()
604 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_ONLY()
605 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_ONLY()
606 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_ONLY()
608 pCodebook = pHcr->nonPcwSideinfo.pCodebook; in Hcr_State_BODY_ONLY()
609 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_ONLY()
610 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_ONLY()
611 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_ONLY()
612 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_ONLY()
622 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_ONLY()
654 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_ONLY()
673 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_ONLY()
678 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_ONLY; in Hcr_State_BODY_ONLY()
703 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN__BODY() local
732 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN__BODY()
733 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN__BODY()
734 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN__BODY()
735 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN__BODY()
736 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN__BODY()
737 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN__BODY()
738 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__BODY()
740 pCodebook = pHcr->nonPcwSideinfo.pCodebook; in Hcr_State_BODY_SIGN__BODY()
741 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN__BODY()
742 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN__BODY()
743 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN__BODY()
744 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN__BODY()
745 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN__BODY()
746 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN__BODY()
756 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN__BODY()
798 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__BODY()
806 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN__BODY()
827 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__BODY()
832 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN__BODY; in Hcr_State_BODY_SIGN__BODY()
852 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN__SIGN() local
870 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN__SIGN()
871 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN__SIGN()
872 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN__SIGN()
873 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN__SIGN()
874 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN__SIGN()
875 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN__SIGN()
876 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__SIGN()
879 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN__SIGN()
880 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN__SIGN()
881 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN__SIGN()
882 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN__SIGN()
891 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN__SIGN()
913 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__SIGN()
926 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN__SIGN()
931 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN__SIGN; in Hcr_State_BODY_SIGN__SIGN()
956 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__BODY() local
983 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
984 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
985 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
986 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__BODY()
987 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__BODY()
988 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__BODY()
989 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
991 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN_ESC__BODY()
992 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN_ESC__BODY()
993 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__BODY()
994 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__BODY()
995 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
996 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__BODY()
1004 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__BODY()
1049 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__BODY()
1057 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__BODY()
1076 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__BODY()
1081 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__BODY; in Hcr_State_BODY_SIGN_ESC__BODY()
1119 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__SIGN() local
1143 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1144 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1145 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1146 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__SIGN()
1147 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__SIGN()
1148 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__SIGN()
1149 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1151 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN_ESC__SIGN()
1152 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN_ESC__SIGN()
1153 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__SIGN()
1154 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__SIGN()
1155 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__SIGN()
1156 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1157 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__SIGN()
1166 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__SIGN()
1224 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__SIGN()
1237 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__SIGN()
1261 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__SIGN()
1266 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__SIGN; in Hcr_State_BODY_SIGN_ESC__SIGN()
1290 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX() local
1303 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1304 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1305 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1306 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1307 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1308 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1309 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1310 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1311 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1321 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1328 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_PREFIX; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1364 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1372 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1377 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_PREFIX; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1399 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__ESC_WORD() local
1423 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1424 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1425 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1426 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1427 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1428 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1429 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1431 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1432 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1433 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1434 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1435 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1446 bs, pHcr->decInOut.bitstreamAnchor, &pLeftStartOfSegment[segmentOffset], in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1517 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1528 pHcr->nonPcwSideinfo.pState = in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1535 &(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1544 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), segmentOffset, in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1549 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_WORD; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()