Changeset 213 in 3DVCSoftware for branches/HTM-4.0.1-VSP-dev0/source/Lib/TLibCommon/TComDataCU.h
- Timestamp:
- 31 Dec 2012, 18:33:14 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.0.1-VSP-dev0/source/Lib/TLibCommon/TComDataCU.h
r193 r213 159 159 Int* m_pcArlCoeffCb; ///< ARL coefficient buffer (Cb) 160 160 Int* m_pcArlCoeffCr; ///< ARL coefficient buffer (Cr) 161 #if FIX_MEM_LEAKS162 161 Bool m_ArlCoeffIsAliasedAllocation; ///< ARL coefficient buffer is an alias of the global buffer and must not be free()'d 163 #endif164 162 165 163 static Int* m_pcGlbArlCoeffY; ///< ARL coefficient buffer (Y) 166 164 static Int* m_pcGlbArlCoeffCb; ///< ARL coefficient buffer (Cb) 167 165 static Int* m_pcGlbArlCoeffCr; ///< ARL coefficient buffer (Cr) 166 168 167 #endif 169 168 … … 194 193 195 194 Bool* m_pbMergeFlag; ///< array of merge flags 195 #if LGE_ILLUCOMP_B0045 196 Bool* m_pbICFlag; ///< array of IC flags 197 #endif 196 198 UChar* m_puhMergeIndex; ///< array of merge candidate indices 197 199 #if AMP_MRG … … 217 219 #endif 218 220 219 #if LGE_EDGE_INTRA 221 #if LGE_EDGE_INTRA_A0070 220 222 UChar* m_pucEdgeCode; ///< array of edge code 221 223 UChar* m_pucEdgeNumber; ///< total number of edge … … 235 237 Bool m_bDecSubCu; ///< indicates decoder-mode 236 238 Double m_dTotalCost; ///< sum of partition RD costs 239 #if FIX_RDO_NEGDIST 240 Dist m_uiTotalDistortion; ///< sum of partition distortion 241 #else 237 242 UInt m_uiTotalDistortion; ///< sum of partition distortion 243 #endif 238 244 UInt m_uiTotalBits; ///< sum of partition bits 239 245 UInt m_uiTotalBins; ///< sum of partition bins 240 246 UInt* m_uiSliceStartCU; ///< Start CU address of current slice 241 247 UInt* m_uiEntropySliceStartCU; ///< Start CU address of current slice 242 243 #if OL_DEPTHLIMIT_A0044244 //add a variable to store the partition information245 //a 2D array in uidepth, part_symbol format246 UInt m_uiPartInfo[OL_PART_BUF_SIZE][2];247 UInt m_uiPartNum;248 Bool m_dumpPartInfo;249 #endif250 248 251 249 // ------------------------------------------------------------------------------------------------------------------- … … 269 267 Int* m_piContourPredTexDeltaDC1; 270 268 Int* m_piContourPredTexDeltaDC2; 269 #endif 270 271 #if RWTH_SDC_DLT_B0036 272 Bool* m_pbSDCFlag; 273 Pel* m_apSegmentDCOffset[2]; 271 274 #endif 272 275 … … 283 286 Void deriveRightBottomIdx ( PartSize eCUMode, UInt uiPartIdx, UInt& ruiPartIdxRB ); 284 287 Bool xGetColMVP( RefPicList eRefPicList, Int uiCUAddr, Int uiPartUnitIdx, TComMv& rcMv, Int& riRefIdx ); 285 #if QC_MULTI_DIS_CAN 288 #if QC_MULTI_DIS_CAN_A0097 286 289 Bool xGetColDisMV( RefPicList eRefPicList, Int refidx, Int uiCUAddr, Int uiPartUnitIdx, TComMv& rcMv, Int & iTargetViewIdx, Int & iStartViewIdx ); 287 290 #endif … … 475 478 Void setSubPart ( T bParameter, T* pbBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx ); 476 479 480 #if LGE_ILLUCOMP_B0045 481 Bool* getICFlag () { return m_pbICFlag; } 482 Bool getICFlag ( UInt uiIdx ) { return m_pbICFlag[uiIdx]; } 483 Void setICFlag ( UInt uiIdx, Bool uh ) { m_pbICFlag[uiIdx] = uh; } 484 Void setICFlagSubParts ( Bool bICFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth ); 485 Bool isICFlagRequired (UInt uiAbsPartIdx); 486 #endif 487 477 488 #if AMP_MRG 478 489 Void setMergeAMP( Bool b ) { m_bIsMergeAMP = b; } … … 533 544 534 545 #if HHI_INTER_VIEW_MOTION_PRED 535 #if !QC_MULTI_DIS_CAN 546 #if !QC_MULTI_DIS_CAN_A0097 536 547 Int getPdmMergeCandidate( UInt uiPartIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv ); 537 548 Bool getPdmMvPred( UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, TComMv& rcMv, Bool bMerge = false ); 538 549 #else 539 550 Bool getPdmMvPredDisCan( UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, TComMv& rcMv, DisInfo* pDInfo, Bool bMerge = false ); 540 Int getPdmMergeCandidateDisCan( UInt uiPartIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDInfo ); 551 Int getPdmMergeCandidateDisCan( UInt uiPartIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDInfo 552 #if QC_MRG_CANS_B0048 553 , Int* iPdm 554 #endif 555 ); 541 556 Void getDisMvpCand ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDInfo ); 542 #if LGE_DVMCP 543 Void getDisMvpCand2( UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDInfo, Bool bMerge=false, RefPicList eRefPicList=REF_PIC_LIST_X, Int iRefIdx=-1 ); 557 #if LGE_DVMCP_A0126 558 #if QC_SIMPLE_NBDV_B0047 559 Void getDisMvpCand2( UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDInfo 560 #if LGE_IVMP_PARALLEL_MERGE_B0136 561 , Bool bParMerg = false 562 #endif 563 ); 564 #else 565 Void getDisMvpCand2( UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDInfo, Bool bMerge=false, RefPicList eRefPicList=REF_PIC_LIST_X, Int iRefIdx=-1 566 #if LGE_IVMP_PARALLEL_MERGE_B0136 567 , Bool bParMerg = false 568 #endif 569 ); 570 #endif 544 571 #endif 545 572 … … 589 616 590 617 AMVP_MODE getAMVPMode ( UInt uiIdx ); 618 #if SHARP_INTERVIEW_DECOUPLE_B0111 619 Void fillMvpCandBase ( UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, AMVPInfo* pInfo ); 620 Void fillMvpCand ( UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, AMVPInfo* pInfo , Int iMVPIdx=-1); 621 #else 591 622 Void fillMvpCand ( UInt uiPartIdx, UInt uiPartAddr, RefPicList eRefPicList, Int iRefIdx, AMVPInfo* pInfo ); 623 #endif 592 624 #if PARALLEL_MERGE 593 625 Bool isDiffMER ( Int xN, Int yN, Int xP, Int yP); … … 611 643 612 644 Void compressMV (); 613 614 #if OL_DEPTHLIMIT_A0044615 Void resetPartInfo () {m_uiPartNum = 0;};616 Void incrementPartInfo () {m_uiPartNum ++;};617 Void updatePartInfo(UInt uiSymbol, UInt uiDepth) { m_uiPartInfo[m_uiPartNum][0] = uiSymbol; m_uiPartInfo[m_uiPartNum][1] = uiDepth;};618 UInt* readPartInfo() { return (UInt*)m_uiPartInfo;};619 Void setPartDumpFlag(Bool flag) { m_dumpPartInfo = flag; };620 Bool getPartDumpFlag() { return m_dumpPartInfo; };621 #endif622 645 623 646 // ------------------------------------------------------------------------------------------------------------------- … … 706 729 707 730 UInt getCtxSkipFlag ( UInt uiAbsPartIdx ); 731 #if LGE_ILLUCOMP_B0045 732 UInt getCtxICFlag ( UInt uiAbsPartIdx ); 733 #endif 708 734 UInt getCtxInterDir ( UInt uiAbsPartIdx ); 709 735 … … 716 742 UInt& getTotalBins () { return m_uiTotalBins; } 717 743 718 #if LGE_EDGE_INTRA 744 #if LGE_EDGE_INTRA_A0070 719 745 UInt getCtxEdgeIntra ( UInt uiAbsPartIdx ); 720 746 #endif … … 725 751 726 752 Double& getTotalCost() { return m_dTotalCost; } 753 #if FIX_RDO_NEGDIST 754 Dist& getTotalDistortion() { return m_uiTotalDistortion; } 755 #else 727 756 UInt& getTotalDistortion() { return m_uiTotalDistortion; } 757 #endif 728 758 UInt& getTotalBits() { return m_uiTotalBits; } 729 759 UInt& getTotalNumPart() { return m_uiNumPartition; } … … 796 826 #endif 797 827 798 #if LGE_EDGE_INTRA 828 #if LGE_EDGE_INTRA_A0070 799 829 UChar* getEdgeCode( UInt uiIdx ) { return &m_pucEdgeCode[uiIdx * LGE_EDGE_INTRA_MAX_EDGE_NUM_PER_4x4]; } 800 830 UChar* getEdgeNumber( ) { return m_pucEdgeNumber; } … … 818 848 Void setEdgeDeltaDC1( UInt uiIdx, Int val ) { m_piEdgeDeltaDC1[uiIdx] = val; } 819 849 #endif 850 #endif 851 852 #if RWTH_SDC_DLT_B0036 853 Bool* getSDCFlag () { return m_pbSDCFlag; } 854 Bool getSDCFlag ( UInt uiIdx ) { return m_pbSDCFlag[uiIdx]; } 855 Void setSDCFlagSubParts ( Bool bSDCFlag, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth ); 856 857 UInt getCtxSDCFlag ( UInt uiAbsPartIdx ); 858 859 Bool getSDCAvailable ( UInt uiAbsPartIdx ); 860 861 Pel* getSDCSegmentDCOffset( UInt uiSeg ) { return m_apSegmentDCOffset[uiSeg]; } 862 Pel getSDCSegmentDCOffset( UInt uiSeg, UInt uiPartIdx ) { return m_apSegmentDCOffset[uiSeg][uiPartIdx]; } 863 Void setSDCSegmentDCOffset( Pel pOffset, UInt uiSeg, UInt uiPartIdx) { m_apSegmentDCOffset[uiSeg][uiPartIdx] = pOffset; } 820 864 #endif 821 865 };
Note: See TracChangeset for help on using the changeset viewer.