Changeset 1396 in 3DVCSoftware for trunk/source/Lib/TLibCommon
- Timestamp:
- 11 Mar 2016, 16:54:51 (9 years ago)
- Location:
- trunk/source/Lib/TLibCommon
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/CommonDef.h
r1387 r1396 442 442 #endif 443 443 444 #if NH_3D_VSO 444 #if NH_3D_VSO || NH_3D 445 445 //PICYUV 446 446 #define PICYUV_PAD 16 … … 456 456 #define REN_UNUSED_PEL 0 457 457 #define REN_IS_HOLE 0 458 #if NH_3D_VSO459 458 #define ENC_INTERNAL_BIT_DEPTH REN_BIT_DEPTH // consider making this a variable 460 #endif 461 462 459 #endif // end of NH_3D_VSO 460 #if NH_3D 463 461 // CAMERA PARAMETERS 464 462 #define LOG2_DISP_PREC_LUT 2 ///< log2 of disparity precision used in integer disparity LUTs 465 463 #define STD_CAM_PARAMETERS_PRECISION 5 ///< quarter luma sample accuarcy for derived disparities (as default) 466 467 #endif // end of NH_3D 464 #endif 468 465 //! \} 469 466 -
trunk/source/Lib/TLibCommon/TComDataCU.cpp
r1386 r1396 5101 5101 5102 5102 //// ******* Get disparity from left block ******* ///// 5103 #if NH_3D_FIX_TICKET_915104 5103 pcTmpCU = getPULeft(uiIdx, uiPartIdxLB); 5105 #else5106 pcTmpCU = getPULeft(uiIdx, uiPartIdxLB, true, false);5107 #endif5108 5104 bCheckMcpDv = true; 5109 5105 if ( xCheckSpatialNBDV( pcTmpCU, uiIdx, pDInfo, bCheckMcpDv, &cIDVInfo, DVFROM_LEFT -
trunk/source/Lib/TLibCommon/TComDataCU.h
r1386 r1396 49 49 #include "TComRdCost.h" 50 50 #include "TComPattern.h" 51 #if NH_3D 52 #include "TComYuv.h" 53 #endif 51 54 52 55 //! \ingroup TLibCommon -
trunk/source/Lib/TLibCommon/TComPic.cpp
r1386 r1396 60 60 , m_viewId (0) 61 61 , m_bPicOutputFlag (false) 62 #if NH_3D_VSO 62 #if NH_3D_VSO || NH_3D 63 63 , m_viewIndex (0) 64 64 , m_isDepth (false) … … 989 989 } 990 990 991 #if NH_3D_VSO 991 #if NH_3D_VSO || NH_3D 992 992 TComPicYuv* TComPicLists::getPicYuv( Int viewIndex, Bool depthFlag, Int auxId, Int poc, Bool recon ) 993 993 { -
trunk/source/Lib/TLibCommon/TComPic.h
r1386 r1396 154 154 TComDecodedRps m_decodedRps; 155 155 #endif 156 #if NH_3D_VSO 156 #if NH_3D_VSO || NH_3D 157 157 Int m_viewIndex; 158 158 Bool m_isDepth; … … 311 311 Void print( Int outputLevel ); 312 312 313 #if NH_3D_VSO 313 #if NH_3D_VSO || NH_3D 314 314 Void setViewIndex ( Int viewIndex ) { m_viewIndex = viewIndex; } 315 315 Int getViewIndex () const { return m_viewIndex; } … … 404 404 TComList<TComSubDpb*> m_subDpbs; 405 405 Bool m_printPicOutput; 406 #if NH_3D_VSO 406 #if NH_3D_VSO || NH_3D 407 407 const TComVPS* m_vps; 408 408 #endif … … 448 448 Void print(); 449 449 450 #if NH_3D_VSO 450 #if NH_3D_VSO || NH_3D 451 451 Void setVPS ( const TComVPS* vps ) { m_vps = vps; }; 452 #endif 453 454 #if NH_3D || NH_3D_VSO 452 455 TComPic* getPic ( Int viewIndex, Bool depthFlag, Int auxId, Int poc ); 453 456 TComPicYuv* getPicYuv ( Int viewIndex, Bool depthFlag, Int auxId, Int poc, Bool recon ); -
trunk/source/Lib/TLibCommon/TComRdCost.cpp
r1386 r1396 252 252 rcDistParam.DistFunc = TComRdCost::xGetMaskedSAD; 253 253 } 254 #if NH_3D_VSO 254 255 else if( eDFunc >= DF_VSD && eDFunc <= DF_VSD16N ) 255 256 { 256 257 rcDistParam.DistFunc = TComRdCost::xGetMaskedVSD; 257 258 } 259 #endif 258 260 else if( eDFunc >= DF_SAD12 && eDFunc <= DF_SADS48 ) 259 261 { … … 626 628 } 627 629 628 630 #if NH_3D_VSO 629 631 UInt TComRdCost::xGetMaskedVSD( DistParam* pcDtParam ) 630 632 { … … 660 662 return ( uiSum ); 661 663 } 664 #endif 662 665 #endif 663 666 // -------------------------------------------------------------------------------------------------------------------- -
trunk/source/Lib/TLibCommon/TComRom.h
r1386 r1396 150 150 // ==================================================================================================================== 151 151 extern SChar g_aucConvertToBit [ MAX_CU_SIZE+1 ]; // from width to log2(width)-2 152 #if NH_MV153 // Change later154 #ifndef ENC_DEC_TRACE155 #define ENC_DEC_TRACE 0156 #endif157 #endif158 152 #if ENC_DEC_TRACE 159 153 extern FILE* g_hTrace; -
trunk/source/Lib/TLibCommon/TComSlice.cpp
r1386 r1396 118 118 , m_viewId (0) 119 119 , m_viewIndex (0) 120 #if NH_3D_VSO 120 #if NH_3D_VSO || NH_3D 121 121 , m_isDepth (false) 122 122 #endif … … 1923 1923 for ( Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++) 1924 1924 { 1925 #if !NH_3D_FIX_TICKET_1071926 m_layerSetIdxForOlsMinus1[i] = -1;1927 #endif1928 1925 for ( Int j = 0; j < MAX_VPS_NUH_LAYER_ID_PLUS1; j++) 1929 1926 { … … 2184 2181 } 2185 2182 2186 #if NH_3D_VSO 2183 #if NH_3D_VSO || NH_3D 2187 2184 Int TComVPS::getLayerIdInNuh( Int viewIndex, Bool depthFlag, Int auxId ) const 2188 2185 { -
trunk/source/Lib/TLibCommon/TComSlice.h
r1386 r1396 1384 1384 /// VPS EXTENSION 2 SYNTAX ELEMENTS 1385 1385 Int getDepthId ( Int layerIdInNuh) const { return getScalabilityId( getLayerIdInVps(layerIdInNuh), DEPTH_ID ); } 1386 #if NH_3D_VSO 1386 #if NH_3D_VSO || NH_3D 1387 1387 Bool getVpsDepthFlag ( Int layerIdInNuh) const { return (getDepthId( layerIdInNuh ) > 0); } 1388 1388 Int getLayerIdInNuh ( Int viewIndex, Bool depthFlag, Int auxId ) const; … … 2701 2701 Int m_viewId; 2702 2702 Int m_viewIndex; 2703 #if NH_3D_VSO 2703 #if NH_3D_VSO || NH_3D 2704 2704 Bool m_isDepth; 2705 2705 #endif … … 3168 3168 #endif 3169 3169 #endif 3170 #if NH_3D_VSO 3170 #if NH_3D_VSO || NH_3D 3171 3171 Void setIsDepth ( Bool isDepth ) { m_isDepth = isDepth; } 3172 3172 Bool getIsDepth () const { return m_isDepth; } -
trunk/source/Lib/TLibCommon/TComYuv.cpp
r1386 r1396 487 487 } 488 488 } 489 #endif 489 490 490 491 #if NH_3D_ARP … … 676 677 } 677 678 #endif 678 #endif679 679 680 680 //! \} -
trunk/source/Lib/TLibCommon/TypeDef.h
r1386 r1396 65 65 #if NH_MV 66 66 // Recent bug fixes 67 #define NH_3D_FIX_TICKET_107 1 // Clean up. 68 #define NH_3D_FIX_TICKET_91 1 // NBDV availability in case of tiles. 67 #define RM_INIT_FIX 1 68 #define RM_FIX_SETUP 1 69 #define NH_MV_FIX_VERT_MV_REST 1 70 71 #define NH_3D_FIX_INTRA_SDC_VSO_OFF 1 72 #define NH_3D_FIX_TICKET_114 1 //Mismatch between text and software on DPB size syntax 73 #define NH_3D_FIX_LEAK 1 69 74 // Things that needs to be fixed also in the Specification ... 70 75 #define NH_MV_FIX_NO_REF_PICS_CHECK 1 // !!SPEC!! … … 349 354 #endif 350 355 // This can be enabled by the makefile 351 #if !NH_MV352 356 #ifndef ENC_DEC_TRACE 353 357 #define ENC_DEC_TRACE 0 358 #endif 359 360 #if NH_MV 361 #if ENC_DEC_TRACE 362 #define GT_DEBUG 1 363 #else 364 #define GT_DEBUG 0 354 365 #endif 355 366 #endif … … 510 521 #define RDO_DIST_MAX MAX_UINT 511 522 #endif 523 #else 524 #define RDO_DIST_MAX MAX_UINT 512 525 #endif 513 526 // ==================================================================================================================== … … 1000 1013 BLEND_GEN = 3 1001 1014 }; 1015 1016 enum SetMod 1017 { 1018 GET_FULL = 0, 1019 SET_FULL = 1, 1020 GET_SIMP = 2, 1021 SET_SIMP = 3 1022 }; 1023 1024 1002 1025 enum 1003 1026 {
Note: See TracChangeset for help on using the changeset viewer.