Ignore:
Timestamp:
24 Jan 2014, 02:36:31 (10 years ago)
Author:
mediatek-htm
Message:

Integration of DDD (JCT3V-G0063)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev1-MediaTek/source/Lib/TLibCommon/TComSlice.h

    r779 r795  
    20622062#endif
    20632063#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
    20642071public:
    20652072  TComSlice();
     
    24082415  TComPic* getPicFromRefPicSetInterLayer( Int setIdc, Int layerId );
    24092416#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
    24102426protected:
    24112427  TComPic*  xGetRefPic  (TComList<TComPic*>& rcListPic,
Note: See TracChangeset for help on using the changeset viewer.