Changeset 443 in 3DVCSoftware for trunk/source/Lib/TLibCommon/TComSlice.h
- Timestamp:
- 26 May 2013, 15:41:34 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/TComSlice.h
r332 r443 54 54 class TComDepthMapGenerator; 55 55 #endif 56 #if H3D_IVRP 56 #if H3D_IVRP & !QC_ARP_D0177 57 57 class TComResidualGenerator; 58 58 #endif … … 180 180 Bool m_bIVScalingFlag; 181 181 #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 182 190 public: 183 191 TComVPS(); … … 245 253 246 254 #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 247 264 }; 248 265 … … 390 407 #endif 391 408 #if H3D_IVRP 409 #if QC_ARP_D0177 410 UInt m_nUseAdvResPred; 411 UInt m_nARPStepNum; 412 #else 392 413 UInt m_uiMultiviewResPredMode; 414 #endif 393 415 #endif 394 416 … … 396 418 TComDepthMapGenerator* m_pcDepthMapGenerator; 397 419 #endif 398 #if H3D_IVRP 420 #if H3D_IVRP & !QC_ARP_D0177 399 421 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; 400 429 #endif 401 430 … … 643 672 Void setPredDepthMapGeneration( UInt uiViewId, Bool bIsDepth, UInt uiPdmGenMode = 0, UInt uiPdmMvPredMode = 0, UInt uiPdmPrec = 0, Int** aaiPdmScaleNomDelta = 0, Int** aaiPdmOffset = 0 ); 644 673 #endif 645 #if H3D_IVRP 674 #if H3D_IVRP & !QC_ARP_D0177 646 675 Void setMultiviewResPredMode ( UInt uiResPrdMode ) { m_uiMultiviewResPredMode = uiResPrdMode; } 647 676 #endif … … 658 687 #endif 659 688 #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 660 695 UInt getMultiviewResPredMode () { return m_uiMultiviewResPredMode; } 696 #endif 661 697 #endif 662 698 … … 665 701 TComDepthMapGenerator* getDepthMapGenerator() { return m_pcDepthMapGenerator; } 666 702 #endif 667 #if H3D_IVRP 703 #if H3D_IVRP & !QC_ARP_D0177 668 704 Void setResidualGenerator( TComResidualGenerator* pcResidualGenerator ) { m_pcResidualGenerator = pcResidualGenerator; } 669 705 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 670 718 #endif 671 719 }; … … 928 976 Bool getScalingListEnabled () { return m_scalingListEnabled; } //!< get ScalingList enabled/disabled in APS 929 977 TComScalingList* getScalingList () { return m_scalingList; } //!< get ScalingList class pointer in APS 978 #if !LGE_SAO_MIGRATION_D0091 930 979 Bool getSaoInterleavingFlag() {return m_saoInterleavingFlag;} //!< get SAO interleaving flag in APS 931 980 Void setSaoInterleavingFlag(Bool bVal) {m_saoInterleavingFlag = bVal;} //!< set SAO interleaving flag in APS 981 #endif 932 982 933 983 private: … … 943 993 Bool m_scalingListEnabled; //!< ScalingList enabled/disabled in APS (true for enabled) 944 994 TComScalingList* m_scalingList; //!< ScalingList class pointer 995 #if !LGE_SAO_MIGRATION_D0091 945 996 Bool m_saoInterleavingFlag; //!< SAO interleaving flag 997 #endif 946 998 947 999 public: … … 975 1027 bool m_alfEnabledFlag; 976 1028 bool m_saoEnabledFlag; 1029 #if LGE_SAO_MIGRATION_D0091 1030 bool m_saoEnabledFlagChroma; ///< SAO Cb&Cr enabled flag 1031 #else 977 1032 bool m_saoInterleavingFlag; ///< SAO interleaving flag 978 1033 bool m_saoEnabledFlagCb; ///< SAO Cb enabled flag 979 1034 bool m_saoEnabledFlagCr; ///< SAO Cr enabled flag 1035 #endif 980 1036 Int m_iPPSId; ///< picture parameter set ID 981 1037 Bool m_PicOutputFlag; ///< pic_output_flag … … 1106 1162 #if LGE_ILLUCOMP_B0045 1107 1163 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; 1108 1174 #endif 1109 1175 #if INTER_VIEW_VECTOR_SCALING_C0115|QC_MVHEVC_B0046 … … 1115 1181 TComPic* m_apcRefPicBaseTxt; 1116 1182 TComPic* m_apcRefPicBaseDepth; 1183 #if MERL_VSP_NBDV_RefVId_Fix_D0166 1184 Int* m_aiShiftLUT[2]; // For reference views 1185 #else 1117 1186 Int* m_aiShiftLUT; 1187 #endif 1118 1188 Int m_iShiftPrec; 1119 1189 #endif … … 1158 1228 Void setSaoEnabledFlag(Bool s) {m_saoEnabledFlag =s; } 1159 1229 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 1160 1234 Void setSaoInterleavingFlag(Bool s) {m_saoInterleavingFlag =s; } //!< set SAO interleaving flag 1161 1235 Bool getSaoInterleavingFlag() { return m_saoInterleavingFlag; } //!< get SAO interleaving flag … … 1164 1238 Void setSaoEnabledFlagCr(Bool s) {m_saoEnabledFlagCr =s; } //!< set SAO Cr enabled flag 1165 1239 Bool getSaoEnabledFlagCr() { return m_saoEnabledFlagCr; } //!< get SAO Cr enabled flag 1240 #endif 1166 1241 Void setRPS ( TComReferencePictureSet *pcRPS ) { m_pcRPS = pcRPS; } 1167 1242 TComReferencePictureSet* getRPS () { return m_pcRPS; } … … 1253 1328 Void setRefPicListMvc ( TComList<TComPic*>& rcListPic, std::vector<TComPic*>& rapcInterViewRefPics ); 1254 1329 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 1256 1336 Void setColDir ( UInt uiDir ) { m_uiColDir = uiDir; } 1257 1337 #if COLLOCATED_REF_IDX … … 1401 1481 Bool getApplyIC () { return m_bApplyIC; } 1402 1482 Void xSetApplyIC (); 1483 #if SHARP_ILLUCOMP_PARSE_D0060 1484 Void setIcSkipParseFlag( Bool b ) { m_icSkipParseFlag = b; } 1485 Bool getIcSkipParseFlag() { return m_icSkipParseFlag; } 1486 #endif 1403 1487 #endif 1404 1488 #if QC_TMVP_MRG_REFIDX_C0047 … … 1418 1502 TComPic* getRefPicBaseDepth () { return m_apcRefPicBaseDepth; } 1419 1503 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 1421 1508 Void setBWVSPLUTParam( Int *pShiftLUT, Int iLoG2LUTPrec) { m_aiShiftLUT = pShiftLUT; m_iShiftPrec = iLoG2LUTPrec; } 1422 1509 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); 1423 1518 #endif 1424 1519
Note: See TracChangeset for help on using the changeset viewer.