Changeset 115 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComDataCU.h


Ignore:
Timestamp:
30 Aug 2012, 14:52:41 (13 years ago)
Author:
tech
Message:

Integrated revision 114. with:

  • A0119: VSO Depth Fidelity
  • A0044: Depth Quadtree Prediction
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibCommon/TComDataCU.h

    r100 r115  
    237237  UInt*         m_uiSliceStartCU;    ///< Start CU address of current slice
    238238  UInt*         m_uiEntropySliceStartCU; ///< Start CU address of current slice
     239
     240#if OL_DEPTHLIMIT
     241  //add a variable to store the partition information
     242  //a 2D array in uidepth,part_symbol format
     243  UInt          m_uiPartInfo[OL_PART_BUF_SIZE][2];
     244  UInt          m_uiPartNum;
     245  Bool          b_dumpPartInfo;
     246#endif
    239247 
    240248  // -------------------------------------------------------------------------------------------------------------------
     
    596604 
    597605  Void          compressMV            ();
     606
     607#if OL_DEPTHLIMIT
     608        Void        resetPartInfo  () {m_uiPartNum = 0;};
     609        Void        incrementPartInfo () {m_uiPartNum ++;};
     610        Void        updatePartInfo(UInt uiSymbol, UInt uiDepth) {m_uiPartInfo[m_uiPartNum][0] = uiSymbol; m_uiPartInfo
     611[m_uiPartNum][1] = uiDepth;};
     612        UInt*       readPartInfo() {return (UInt*)m_uiPartInfo;};
     613//      UInt            getPartNumIdx() {return m_uiPartNum;}; //added this to get the index
     614//flag to signal to start dumping
     615        Void            setPartDumpFlag(bool flag)      {b_dumpPartInfo = flag;};
     616        Bool            getPartDumpFlag()       {return b_dumpPartInfo;};
     617#endif
    598618 
    599619  // -------------------------------------------------------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.