Ignore:
Timestamp:
11 Jul 2014, 03:49:39 (10 years ago)
Author:
mediatek-htm
Message:

Integration of Single Depth Mode proposed in JCT3V-I0095.
The MACRO is "MTK_SINGLE_DEPTH_MODE_I0095".

By Yi-Wen Chen (yiwen.chen@…)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-11.2-dev3-MediaTek/source/Lib/TLibCommon/TComDataCU.h

    r976 r983  
    110110  // -------------------------------------------------------------------------------------------------------------------
    111111  Bool*         m_skipFlag;           ///< array of skip flags
     112#if MTK_SINGLE_DEPTH_MODE_I0095
     113  Bool*         m_singleDepthFlag;           ///< array of single depth flags
     114  Pel*          m_apSingleDepthValue;
     115#endif
    112116  Char*         m_pePartSize;         ///< array of partition sizes
    113117  Char*         m_pePredMode;         ///< array of prediction modes
     
    347351  Void         setSkipFlag           ( UInt idx, Bool skip)     { m_skipFlag[idx] = skip;   }
    348352  Void         setSkipFlagSubParts   ( Bool skip, UInt absPartIdx, UInt depth );
    349 
     353#if MTK_SINGLE_DEPTH_MODE_I0095
     354  Bool*        getSingleDepthFlag            ()                        { return m_singleDepthFlag;          }
     355  Bool         getSingleDepthFlag            (UInt idx)                { return m_singleDepthFlag[idx];     }
     356  Void         setSingleDepthFlag           ( UInt idx, Bool singleDepth)     { m_singleDepthFlag[idx] = singleDepth;   }
     357  Void         setSingleDepthFlagSubParts   ( Bool singleDepth, UInt absPartIdx, UInt depth );
     358
     359  Pel*         getSingleDepthValue( ) { return m_apSingleDepthValue; }
     360  Pel          getSingleDepthValue            (UInt idx)                { return m_apSingleDepthValue[idx];     }
     361  Void         setSingleDepthValue           ( UInt idx, Pel pDepthValue)     { m_apSingleDepthValue[idx] = pDepthValue;   }
     362  Void         setSingleDepthValueSubParts   (Pel singleDepthValue, UInt uiAbsPartIdx, UInt uiPUIdx, UInt uiDepth );
     363#endif 
    350364  Char*         getPredictionMode     ()                        { return m_pePredMode;        }
    351365  PredMode      getPredictionMode     ( UInt uiIdx )            { return static_cast<PredMode>( m_pePredMode[uiIdx] ); }
     
    489503  Bool          getDispMvPredCan(UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDis, Int* iPdm );
    490504#endif
    491 
     505#if MTK_SINGLE_DEPTH_MODE_I0095
     506   Bool          getNeighDepth (UInt uiPartIdx, UInt uiPartAddr, Pel* pNeighDepth, Int index);
     507#endif
    492508#if H_3D_NBDV_REF
    493509  Pel           getMcpFromDM(TComPicYuv* pcBaseViewDepthPicYuv, TComMv* mv, Int iBlkX, Int iBlkY, Int iWidth, Int iHeight, Int* aiShiftLUT );
Note: See TracChangeset for help on using the changeset viewer.