Changeset 795 in 3DVCSoftware for branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 24 Jan 2014, 02:36:31 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibCommon/TComSlice.h
r779 r795 2062 2062 #endif 2063 2063 #endif 2064 2065 #if MTK_DDD_G0063 2066 Int m_aiDDDInvScale [MAX_NUM_LAYERS]; 2067 Int m_aiDDDInvOffset[MAX_NUM_LAYERS]; 2068 UInt m_aiDDDShift [MAX_NUM_LAYERS]; 2069 #endif 2070 2064 2071 public: 2065 2072 TComSlice(); … … 2408 2415 TComPic* getPicFromRefPicSetInterLayer( Int setIdc, Int layerId ); 2409 2416 #endif 2417 2418 #if MTK_DDD_G0063 2419 Void InitializeDDDPara( UInt uiCamParsCodedPrecision, Int iCodedScale,Int iCodedOffset, Int iBaseViewIdx ); 2420 Int getDepthFromDV( Int iDV, Int iBaseViewIdx ) 2421 { 2422 return ClipY(( iDV * m_aiDDDInvScale[ iBaseViewIdx ] + m_aiDDDInvOffset[ iBaseViewIdx ] ) >> m_aiDDDShift[ iBaseViewIdx ]); 2423 } 2424 #endif 2425 2410 2426 protected: 2411 2427 TComPic* xGetRefPic (TComList<TComPic*>& rcListPic,
Note: See TracChangeset for help on using the changeset viewer.