Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSlice.h


Ignore:
Timestamp:
26 May 2013, 15:41:34 (12 years ago)
Author:
tech
Message:
  • Reintegrated branch 6.2-dev0 rev. 442.
  • Changed version number.
  • Added coding results.
File:
1 edited

Legend:

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

    r332 r443  
    5454class TComDepthMapGenerator;
    5555#endif
    56 #if H3D_IVRP
     56#if H3D_IVRP & !QC_ARP_D0177
    5757class TComResidualGenerator;
    5858#endif
     
    180180  Bool          m_bIVScalingFlag;
    181181#endif
     182
     183#if MTK_D0156
     184#if MERL_VSP_COMPENSATION_C0152
     185  Bool      m_abUseVSPCompensation[ MAX_TLAYER ];
     186#endif
     187  Bool      m_abUseDVPRefine[ MAX_TLAYER ];
     188#endif
     189
    182190public:
    183191  TComVPS();
     
    245253 
    246254#endif
     255
     256#if MTK_D0156
     257#if MERL_VSP_COMPENSATION_C0152
     258  Bool    getUseVSPCompensation( UInt tLayer ){  return m_abUseVSPCompensation[ tLayer ];}
     259  Void    setUseVSPCompensation( Bool bValue, UInt tLayer ){ m_abUseVSPCompensation[ tLayer ] = bValue;}
     260#endif
     261  Bool    getUseDVPRefine( UInt tLayer ){  return m_abUseDVPRefine[ tLayer ];}
     262  Void    setUseDVPRefine( Bool bValue, UInt tLayer ){ m_abUseDVPRefine[ tLayer ] = bValue;}
     263#endif
    247264};
    248265
     
    390407#endif
    391408#if H3D_IVRP
     409#if QC_ARP_D0177
     410  UInt         m_nUseAdvResPred;
     411  UInt         m_nARPStepNum;
     412#else
    392413  UInt  m_uiMultiviewResPredMode;
     414#endif
    393415#endif
    394416
     
    396418  TComDepthMapGenerator* m_pcDepthMapGenerator;
    397419#endif
    398 #if H3D_IVRP
     420#if H3D_IVRP & !QC_ARP_D0177
    399421  TComResidualGenerator* m_pcResidualGenerator;
     422#endif
     423
     424#if MTK_D0156
     425#if MERL_VSP_COMPENSATION_C0152
     426  Bool      m_bUseVSPCompensation;
     427#endif
     428  Bool      m_bUseDVPRefine;
    400429#endif
    401430
     
    643672  Void setPredDepthMapGeneration( UInt uiViewId, Bool bIsDepth, UInt uiPdmGenMode = 0, UInt uiPdmMvPredMode = 0, UInt uiPdmPrec = 0, Int** aaiPdmScaleNomDelta = 0, Int** aaiPdmOffset = 0 );
    644673#endif
    645 #if H3D_IVRP
     674#if H3D_IVRP & !QC_ARP_D0177
    646675  Void  setMultiviewResPredMode  ( UInt uiResPrdMode ) { m_uiMultiviewResPredMode = uiResPrdMode; }
    647676#endif
     
    658687#endif
    659688#if H3D_IVRP
     689#if QC_ARP_D0177
     690  UInt  getUseAdvRP()              { return m_nUseAdvResPred;   }
     691  Void  setUseAdvRP(UInt n)        { m_nUseAdvResPred = n;      }
     692  UInt  getARPStepNum()            { return m_nARPStepNum;      }
     693  Void  setARPStepNum(UInt n)      { m_nARPStepNum = n;         }
     694#else
    660695  UInt  getMultiviewResPredMode  ()          { return m_uiMultiviewResPredMode;   }
     696#endif
    661697#endif
    662698
     
    665701  TComDepthMapGenerator*  getDepthMapGenerator()                                              { return m_pcDepthMapGenerator; }
    666702#endif
    667 #if H3D_IVRP
     703#if H3D_IVRP & !QC_ARP_D0177
    668704  Void                    setResidualGenerator( TComResidualGenerator* pcResidualGenerator )  { m_pcResidualGenerator = pcResidualGenerator; }
    669705  TComResidualGenerator*  getResidualGenerator()                                              { return m_pcResidualGenerator; }
     706#endif
     707
     708#if MTK_D0156
     709
     710#if MERL_VSP_COMPENSATION_C0152
     711  Bool    getUseVSPCompensation( ){  return m_bUseVSPCompensation;}
     712  Void    setUseVSPCompensation( Bool bValue ){ m_bUseVSPCompensation = bValue;}
     713#endif
     714
     715  Bool    getUseDVPRefine( ){  return m_bUseDVPRefine;}
     716  Void    setUseDVPRefine( Bool bValue ){ m_bUseDVPRefine = bValue;}
     717
    670718#endif
    671719};
     
    928976  Bool      getScalingListEnabled ()          { return m_scalingListEnabled; }  //!< get ScalingList enabled/disabled in APS
    929977  TComScalingList* getScalingList ()          { return m_scalingList; }         //!< get ScalingList class pointer in APS
     978#if !LGE_SAO_MIGRATION_D0091
    930979  Bool     getSaoInterleavingFlag() {return m_saoInterleavingFlag;}             //!< get SAO interleaving flag in APS
    931980  Void     setSaoInterleavingFlag(Bool bVal) {m_saoInterleavingFlag = bVal;}    //!< set SAO interleaving flag in APS
     981#endif
    932982
    933983private:
     
    943993  Bool        m_scalingListEnabled;     //!< ScalingList enabled/disabled in APS (true for enabled)
    944994  TComScalingList*     m_scalingList;   //!< ScalingList class pointer
     995#if !LGE_SAO_MIGRATION_D0091
    945996  Bool        m_saoInterleavingFlag;    //!< SAO interleaving flag
     997#endif
    946998
    947999public:
     
    9751027  bool       m_alfEnabledFlag;
    9761028  bool       m_saoEnabledFlag;
     1029#if LGE_SAO_MIGRATION_D0091
     1030  bool       m_saoEnabledFlagChroma;      ///< SAO Cb&Cr enabled flag
     1031#else
    9771032  bool       m_saoInterleavingFlag;   ///< SAO interleaving flag
    9781033  bool       m_saoEnabledFlagCb;      ///< SAO Cb enabled flag
    9791034  bool       m_saoEnabledFlagCr;      ///< SAO Cr enabled flag
     1035#endif
    9801036  Int         m_iPPSId;               ///< picture parameter set ID
    9811037  Bool        m_PicOutputFlag;        ///< pic_output_flag
     
    11061162#if LGE_ILLUCOMP_B0045
    11071163  Bool        m_bApplyIC;
     1164#if SHARP_ILLUCOMP_PARSE_D0060
     1165  Bool        m_icSkipParseFlag;
     1166#endif
     1167#endif
     1168#if MERL_VSP_NBDV_RefVId_Fix_D0166
     1169  TComList<TComPic*>*  m_pcListDepthPic[MAX_VIEW_NUM]; // For encoder, the list may also include texture pictures. Three views with ViewIdx = 0, 1, 2
     1170#endif
     1171#if QC_ARP_D0177
     1172  TComList<TComPic*> * m_pBaseViewRefPicList[MAX_VIEW_NUM];
     1173  UInt                 m_nARPStepNum;
    11081174#endif
    11091175#if INTER_VIEW_VECTOR_SCALING_C0115|QC_MVHEVC_B0046
     
    11151181  TComPic*     m_apcRefPicBaseTxt;
    11161182  TComPic*     m_apcRefPicBaseDepth;
     1183#if MERL_VSP_NBDV_RefVId_Fix_D0166
     1184  Int*         m_aiShiftLUT[2]; // For reference views
     1185#else
    11171186  Int*         m_aiShiftLUT;
     1187#endif
    11181188  Int          m_iShiftPrec;
    11191189#endif
     
    11581228  Void      setSaoEnabledFlag(Bool s) {m_saoEnabledFlag =s; }
    11591229  Bool      getSaoEnabledFlag() { return m_saoEnabledFlag; }
     1230#if LGE_SAO_MIGRATION_D0091
     1231  Void      setSaoEnabledFlagChroma(Bool s) {m_saoEnabledFlagChroma =s; }       //!< set SAO Cb&Cr enabled flag
     1232  Bool      getSaoEnabledFlagChroma() { return m_saoEnabledFlagChroma; }        //!< get SAO Cb&Cr enabled flag
     1233#else
    11601234  Void      setSaoInterleavingFlag(Bool s) {m_saoInterleavingFlag =s; } //!< set SAO interleaving flag
    11611235  Bool      getSaoInterleavingFlag() { return m_saoInterleavingFlag;  } //!< get SAO interleaving flag
     
    11641238  Void      setSaoEnabledFlagCr(Bool s) {m_saoEnabledFlagCr =s; }       //!< set SAO Cr enabled flag
    11651239  Bool      getSaoEnabledFlagCr() { return m_saoEnabledFlagCr; }        //!< get SAO Cr enabled flag
     1240#endif
    11661241  Void      setRPS          ( TComReferencePictureSet *pcRPS ) { m_pcRPS = pcRPS; }
    11671242  TComReferencePictureSet*  getRPS          () { return m_pcRPS; }
     
    12531328  Void      setRefPicListMvc    ( TComList<TComPic*>& rcListPic, std::vector<TComPic*>& rapcInterViewRefPics );
    12541329  Void      setRefPOCnViewListsMvc();
    1255 
     1330#if QC_ARP_D0177
     1331  Void      setBaseViewRefPicList( TComList<TComPic*> *pListPic, Int iViewIdx )      { m_pBaseViewRefPicList[iViewIdx] = pListPic; }
     1332  TComPic*  getBaseViewRefPic    ( UInt uiPOC , Int iViewIdx )                       { return xGetRefPic( *m_pBaseViewRefPicList[iViewIdx], uiPOC ); }
     1333  Void      setARPStepNum();                                 
     1334  UInt      getARPStepNum( )                                      { return m_nARPStepNum;      } 
     1335#endif
    12561336  Void      setColDir           ( UInt uiDir ) { m_uiColDir = uiDir; }
    12571337#if COLLOCATED_REF_IDX
     
    14011481  Bool      getApplyIC            ()  { return m_bApplyIC; }
    14021482  Void      xSetApplyIC           ();
     1483#if SHARP_ILLUCOMP_PARSE_D0060
     1484  Void      setIcSkipParseFlag( Bool b ) { m_icSkipParseFlag = b; }
     1485  Bool      getIcSkipParseFlag() { return m_icSkipParseFlag; }
     1486#endif
    14031487#endif
    14041488#if QC_TMVP_MRG_REFIDX_C0047
     
    14181502  TComPic*     getRefPicBaseDepth        ()                        { return  m_apcRefPicBaseDepth; }
    14191503  Void         setRefPicBaseDepth        ( TComPic* RefPic)        { m_apcRefPicBaseDepth = RefPic; }
    1420 
     1504#if MERL_VSP_NBDV_RefVId_Fix_D0166
     1505  Void setBWVSPLUTParam( Int *pShiftLUT, Int iLoG2LUTPrec, Int iNeighborViewId) { m_aiShiftLUT[iNeighborViewId] = pShiftLUT; m_iShiftPrec = iLoG2LUTPrec; }
     1506  Void getBWVSPLUTParam( Int*&pShiftLUT, Int&iLoG2LUTPrec, Int iNeighborViewId) { pShiftLUT = m_aiShiftLUT[iNeighborViewId]; iLoG2LUTPrec = m_iShiftPrec; }
     1507#else
    14211508  Void setBWVSPLUTParam( Int *pShiftLUT, Int iLoG2LUTPrec) { m_aiShiftLUT = pShiftLUT; m_iShiftPrec = iLoG2LUTPrec; }
    14221509  Void getBWVSPLUTParam( Int*&pShiftLUT, Int&iLoG2LUTPrec) { pShiftLUT = m_aiShiftLUT; iLoG2LUTPrec = m_iShiftPrec; }
     1510#endif
     1511#endif
     1512
     1513#if MERL_VSP_NBDV_RefVId_Fix_D0166
     1514  Void setListDepthPic( TComList<TComPic*>* pListDepthPic, Int viewId) { m_pcListDepthPic[viewId] = pListDepthPic; }
     1515  TComList<TComPic*>* getListDepthPic(Int viewId) { return m_pcListDepthPic[viewId]; }
     1516  TComPic*            getDepthRefPic(Int viewId, Int poc);
     1517  TComPic*            getDepthRefPic(Int refIdx);
    14231518#endif
    14241519
Note: See TracChangeset for help on using the changeset viewer.