Lines Matching refs:pHcr
108 static void InitNonPCWSideInformationForCurrentSet(H_HCR_INFO pHcr);
121 void DecodeNonPCWs(HANDLE_FDK_BITSTREAM bs, H_HCR_INFO pHcr) in DecodeNonPCWs() argument
150 pNumSegment = &(pHcr->segmentInfo.numSegment); in DecodeNonPCWs()
151 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in DecodeNonPCWs()
152 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in DecodeNonPCWs()
153 pNumWordForBitfield = &(pHcr->segmentInfo.numWordForBitfield); in DecodeNonPCWs()
154 pNumBitValidInLastWord = &(pHcr->segmentInfo.pNumBitValidInLastWord); in DecodeNonPCWs()
155 pSta = pHcr->nonPcwSideinfo.pSta; in DecodeNonPCWs()
164 numCodeword = pHcr->sectionInfo.numCodeword; in DecodeNonPCWs()
168 pHcr->segmentInfo.readDirection = FROM_RIGHT_TO_LEFT; in DecodeNonPCWs()
187 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in DecodeNonPCWs()
204 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in DecodeNonPCWs()
208 InitNonPCWSideInformationForCurrentSet(pHcr); in DecodeNonPCWs()
219 pHcr->segmentInfo.segmentOffset = segmentOffset; /* store in structure for states */ in DecodeNonPCWs()
221 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; /* store in structure for states */ in DecodeNonPCWs()
239 pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; in DecodeNonPCWs()
241 while(pHcr->nonPcwSideinfo.pState) { in DecodeNonPCWs()
242 ret = ((STATEFUNC) pHcr->nonPcwSideinfo.pState)(bs, pHcr); in DecodeNonPCWs()
253 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
256 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; in DecodeNonPCWs()
261 pHcr->segmentInfo.segmentOffset = segmentOffset; in DecodeNonPCWs()
264 pHcr->nonPcwSideinfo.codewordOffset = codewordOffset; in DecodeNonPCWs()
302 pHcr->segmentInfo.readDirection = ToggleReadDirection(pHcr->segmentInfo.readDirection); in DecodeNonPCWs()
384 static void InitNonPCWSideInformationForCurrentSet(H_HCR_INFO pHcr) in InitNonPCWSideInformationForCurrentSet() argument
390 UCHAR *pCodebook = pHcr->nonPcwSideinfo.pCodebook; in InitNonPCWSideInformationForCurrentSet()
391 UINT *iNode = pHcr->nonPcwSideinfo.iNode; in InitNonPCWSideInformationForCurrentSet()
392 UCHAR *pCntSign = pHcr->nonPcwSideinfo.pCntSign; in InitNonPCWSideInformationForCurrentSet()
393 USHORT *iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in InitNonPCWSideInformationForCurrentSet()
394 UINT *pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in InitNonPCWSideInformationForCurrentSet()
395 SCHAR *pSta = pHcr->nonPcwSideinfo.pSta; in InitNonPCWSideInformationForCurrentSet()
396 …USHORT *pNumExtendedSortedCodewordInSection = pHcr->sectionInfo.pNumExtendedSortedCodewordInS… in InitNonPCWSideInformationForCurrentSet()
397 …int numExtendedSortedCodewordInSectionIdx = pHcr->sectionInfo.numExtendedSortedCodewordIn… in InitNonPCWSideInformationForCurrentSet()
398 UCHAR *pExtendedSortedCodebook = pHcr->sectionInfo.pExtendedSortedCodebook; in InitNonPCWSideInformationForCurrentSet()
399 int extendedSortedCodebookIdx = pHcr->sectionInfo.extendedSortedCodebookIdx; in InitNonPCWSideInformationForCurrentSet()
400 …USHORT *pNumExtendedSortedSectionsInSets = pHcr->sectionInfo.pNumExtendedSortedSectionsInS… in InitNonPCWSideInformationForCurrentSet()
401 …int numExtendedSortedSectionsInSetsIdx = pHcr->sectionInfo.numExtendedSortedSectionsInSe… in InitNonPCWSideInformationForCurrentSet()
402 …FIXP_DBL *pQuantizedSpectralCoefficients = SPEC_LONG(pHcr->decInOut.pQuantizedSpectralCoef… in InitNonPCWSideInformationForCurrentSet()
403 …int quantizedSpectralCoefficientsIdx = pHcr->decInOut.quantizedSpectralCoefficientsIdx; in InitNonPCWSideInformationForCurrentSet()
404 const UCHAR *pCbDimension = pHcr->tableInfo.pCbDimension; in InitNonPCWSideInformationForCurrentSet()
441 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx = numExtendedSortedCodewordInSectionIdx; in InitNonPCWSideInformationForCurrentSet()
442 pHcr->sectionInfo.extendedSortedCodebookIdx = extendedSortedCodebookIdx; in InitNonPCWSideInformationForCurrentSet()
443 pHcr->sectionInfo.numExtendedSortedSectionsInSetsIdx = numExtendedSortedSectionsInSetsIdx; in InitNonPCWSideInformationForCurrentSet()
444 pHcr->sectionInfo.numExtendedSortedCodewordInSectionIdx = numExtendedSortedCodewordInSectionIdx; in InitNonPCWSideInformationForCurrentSet()
445 pHcr->decInOut.quantizedSpectralCoefficientsIdx = quantizedSpectralCoefficientsIdx; in InitNonPCWSideInformationForCurrentSet()
513 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_ONLY() local
537 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_ONLY()
538 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_ONLY()
539 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_ONLY()
540 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_ONLY()
541 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_ONLY()
542 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_ONLY()
543 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_ONLY()
545 pCodebook = pHcr->nonPcwSideinfo.pCodebook; in Hcr_State_BODY_ONLY()
546 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_ONLY()
547 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_ONLY()
548 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_ONLY()
549 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_ONLY()
551 pCbDimension = pHcr->tableInfo.pCbDimension; in Hcr_State_BODY_ONLY()
580 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_ONLY()
593 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_ONLY()
599 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_ONLY; in Hcr_State_BODY_ONLY()
627 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN__BODY() local
656 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN__BODY()
657 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN__BODY()
658 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN__BODY()
659 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN__BODY()
660 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN__BODY()
661 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN__BODY()
662 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__BODY()
664 pCodebook = pHcr->nonPcwSideinfo.pCodebook; in Hcr_State_BODY_SIGN__BODY()
665 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN__BODY()
666 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN__BODY()
667 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN__BODY()
668 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN__BODY()
669 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN__BODY()
670 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN__BODY()
672 pCbDimension = pHcr->tableInfo.pCbDimension; in Hcr_State_BODY_SIGN__BODY()
709 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__BODY()
716 …pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; /* get state f… in Hcr_State_BODY_SIGN__BODY()
728 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__BODY()
734 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN__BODY; in Hcr_State_BODY_SIGN__BODY()
755 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN__SIGN() local
772 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN__SIGN()
773 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN__SIGN()
774 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN__SIGN()
775 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN__SIGN()
776 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN__SIGN()
777 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN__SIGN()
778 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN__SIGN()
780 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN__SIGN()
781 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN__SIGN()
782 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN__SIGN()
783 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN__SIGN()
814 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__SIGN()
825 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN__SIGN()
831 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN__SIGN; in Hcr_State_BODY_SIGN__SIGN()
857 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__BODY() local
884 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
885 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
886 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__BODY()
887 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__BODY()
888 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__BODY()
889 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__BODY()
890 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
892 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN_ESC__BODY()
893 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN_ESC__BODY()
894 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__BODY()
895 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__BODY()
896 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__BODY()
897 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__BODY()
942 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__BODY()
951 …pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; /* get state f… in Hcr_State_BODY_SIGN_ESC__BODY()
964 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__BODY()
970 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__BODY; in Hcr_State_BODY_SIGN_ESC__BODY()
1008 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__SIGN() local
1032 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1033 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1034 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__SIGN()
1035 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__SIGN()
1036 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__SIGN()
1037 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__SIGN()
1038 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1040 iNode = pHcr->nonPcwSideinfo.iNode; in Hcr_State_BODY_SIGN_ESC__SIGN()
1041 pCntSign = pHcr->nonPcwSideinfo.pCntSign; in Hcr_State_BODY_SIGN_ESC__SIGN()
1042 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__SIGN()
1043 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__SIGN()
1044 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__SIGN()
1045 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__SIGN()
1046 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__SIGN()
1105 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__SIGN()
1120 …pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; /* get state f… in Hcr_State_BODY_SIGN_ESC__SIGN()
1139 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__SIGN()
1145 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__SIGN; in Hcr_State_BODY_SIGN_ESC__SIGN()
1170 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX() local
1183 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1184 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1185 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1186 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1187 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1188 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1189 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1190 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1191 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1231 …pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; /* get state f… in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1237 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1243 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_PREFIX; in Hcr_State_BODY_SIGN_ESC__ESC_PREFIX()
1268 H_HCR_INFO pHcr = (H_HCR_INFO)ptr; in Hcr_State_BODY_SIGN_ESC__ESC_WORD() local
1292 pRemainingBitsInSegment = pHcr->segmentInfo.pRemainingBitsInSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1293 pLeftStartOfSegment = pHcr->segmentInfo.pLeftStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1294 pRightStartOfSegment = pHcr->segmentInfo.pRightStartOfSegment; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1295 readDirection = pHcr->segmentInfo.readDirection; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1296 pSegmentBitfield = pHcr->segmentInfo.pSegmentBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1297 pCodewordBitfield = pHcr->segmentInfo.pCodewordBitfield; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1298 segmentOffset = pHcr->segmentInfo.segmentOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1300 pResultBase = pHcr->nonPcwSideinfo.pResultBase; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1301 iResultPointer = pHcr->nonPcwSideinfo.iResultPointer; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1302 pEscapeSequenceInfo = pHcr->nonPcwSideinfo.pEscapeSequenceInfo; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1303 codewordOffset = pHcr->nonPcwSideinfo.codewordOffset; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1304 pSta = pHcr->nonPcwSideinfo.pSta; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1371 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1382 …pHcr->nonPcwSideinfo.pState = aStateConstant2State[pSta[codewordOffset]]; /* get state from separa… in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1386 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1395 ClearBitFromBitfield(&(pHcr->nonPcwSideinfo.pState), in Hcr_State_BODY_SIGN_ESC__ESC_WORD()
1401 pHcr->decInOut.errorLog |= STATE_ERROR_BODY_SIGN_ESC__ESC_WORD; in Hcr_State_BODY_SIGN_ESC__ESC_WORD()