Changeset 188 in 3DVCSoftware for branches/HTM-4.1-dev0/source/Lib/TLibCommon
- Timestamp:
- 15 Nov 2012, 21:36:12 (13 years ago)
- Location:
- branches/HTM-4.1-dev0/source/Lib/TLibCommon
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComDataCU.cpp
r187 r188 93 93 m_pcTrCoeffCr = NULL; 94 94 #if ADAPTIVE_QP_SELECTION 95 #if FIX_MEM_LEAKS96 95 m_ArlCoeffIsAliasedAllocation = false; 97 96 m_pcArlCoeffY = NULL; 98 97 m_pcArlCoeffCb = NULL; 99 98 m_pcArlCoeffCr = NULL; 100 #endif101 99 #endif 102 100 … … 255 253 m_pcArlCoeffCb = m_pcGlbArlCoeffCb; 256 254 m_pcArlCoeffCr = m_pcGlbArlCoeffCr; 257 #if FIX_MEM_LEAKS258 255 m_ArlCoeffIsAliasedAllocation = true; 259 #endif260 256 } 261 257 else … … 381 377 if ( m_pcTrCoeffCr ) { xFree(m_pcTrCoeffCr); m_pcTrCoeffCr = NULL; } 382 378 #if ADAPTIVE_QP_SELECTION 383 #if FIX_MEM_LEAKS384 379 if (!m_ArlCoeffIsAliasedAllocation) 385 380 { … … 388 383 xFree(m_pcArlCoeffCr); m_pcArlCoeffCr = 0; 389 384 } 390 #endif391 385 if ( m_pcGlbArlCoeffY ) { xFree(m_pcGlbArlCoeffY); m_pcGlbArlCoeffY = NULL; } 392 386 if ( m_pcGlbArlCoeffCb ) { xFree(m_pcGlbArlCoeffCb); m_pcGlbArlCoeffCb = NULL; } … … 2397 2391 #if H0204_QP_PREDICTION 2398 2392 UInt lPartIdx, aPartIdx; 2399 #if FIX_COMP_WARNING_INIT2400 2393 lPartIdx = 0; 2401 2394 aPartIdx = 0; 2402 #endif2403 2395 TComDataCU* cULeft = getQpMinCuLeft ( lPartIdx, m_uiAbsIdxInLCU + uiCurrAbsIdxInLCU ); 2404 2396 TComDataCU* cUAbove = getQpMinCuAbove( aPartIdx, m_uiAbsIdxInLCU + uiCurrAbsIdxInLCU ); -
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComDataCU.h
r187 r188 159 159 Int* m_pcArlCoeffCb; ///< ARL coefficient buffer (Cb) 160 160 Int* m_pcArlCoeffCr; ///< ARL coefficient buffer (Cr) 161 #if FIX_MEM_LEAKS162 161 Bool m_ArlCoeffIsAliasedAllocation; ///< ARL coefficient buffer is an alias of the global buffer and must not be free()'d 163 #endif164 162 165 163 static Int* m_pcGlbArlCoeffY; ///< ARL coefficient buffer (Y) -
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComPicSym.cpp
r121 r188 123 123 124 124 125 #if FIX_MEM_LEAKS126 125 for( i=0; i<(m_iNumColumnsMinus1+1)*(m_iNumRowsMinus1+1); i++ ) 127 126 { 128 127 if ( m_apcTComTile[i] ) delete m_apcTComTile[i]; 129 128 } 130 #endif131 129 132 130 delete [] m_apcTComTile; -
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComSlice.cpp
r183 r188 1704 1704 , m_cabacInitPresentFlag (false) 1705 1705 , m_encCABACTableIdx (0) 1706 #if POZNAN_CABAC_INIT_FLAG_FIX1706 #if FIX_POZNAN_CABAC_INIT_FLAG 1707 1707 , m_encPrevPOC (0) 1708 1708 #endif -
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComSlice.h
r181 r188 883 883 Bool m_cabacInitPresentFlag; 884 884 UInt m_encCABACTableIdx; // Used to transmit table selection across slices 885 #if POZNAN_CABAC_INIT_FLAG_FIX885 #if FIX_POZNAN_CABAC_INIT_FLAG 886 886 UInt m_encPrevPOC; 887 887 #endif … … 1018 1018 Bool getCabacInitPresentFlag() { return m_cabacInitPresentFlag; } 1019 1019 UInt getEncCABACTableIdx() { return m_encCABACTableIdx; } 1020 #if POZNAN_CABAC_INIT_FLAG_FIX1020 #if FIX_POZNAN_CABAC_INIT_FLAG 1021 1021 Void setEncPrevPOC(UInt uiPOC) { m_encPrevPOC = uiPOC; } 1022 1022 UInt getEncPrevPOC() { return m_encPrevPOC; } -
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComYuv.cpp
r118 r188 409 409 410 410 #if LG_RESTRICTEDRESPRED_M24766 411 void411 Void 412 412 TComYuv::getPUXYOffset(PartSize uhPartitionSize, Int iWidth, Int iHeight, Int &iXOffset, Int &iYOffset) 413 413 { -
branches/HTM-4.1-dev0/source/Lib/TLibCommon/TypeDef.h
r187 r188 44 44 ///// ***** FIXES ********* 45 45 // A 46 #define FIXES 1 47 #define POZNAN_CABAC_INIT_FLAG_FIX 1 48 #define FIX_DECODING_WO_WRITING 1 49 #define FIX_INIT_ROM 1 50 #define FIX_VIRT_DESTRUCTOR 1 51 #define FIX_MEM_LEAKS 1 52 #define FIX_VSO_SETUP 1 53 #define FIX_COMP_WARNING_INIT 1 54 #define FIX_RDO_MACRO 1 46 #define FIX_POZNAN_CABAC_INIT_FLAG 1 55 47 #define FIX_LG_RESTRICTEDRESPRED_M24766 1 56 #define FIX_REMOVE_TILE_DEPENDENCE 157 #define FIX_DBL_CONTROL_DEFAULT 158 48 59 49 // B … … 70 60 #define HHI_DMM_WEDGE_INTRA 1 // depth model modes independent on texture (explicit and intra-predicted Wedgelet prediction) 71 61 #define HHI_DMM_PRED_TEX 1 // depth model modes dependent on texture (inter-component Wedgelet and Contour prediction ) 72 #define LGE_EDGE_INTRA_A0070 1 // JCT 2-A007062 #define LGE_EDGE_INTRA_A0070 1 // JCT3V-A0070 73 63 #define RWTH_SDC_DLT_B0036 1 // JCT3V-B0036: Simplified Depth Coding + Depth Lookup Table 74 64 #define HHIQC_DMMFASTSEARCH_B0039 1 // JCT3V-B0039: fast Wedgelet search for DMM modes 1 and 3 … … 79 69 #define QC_MRG_CANS_B0048 1 // JCT3V-B0048, B0086, B0069 80 70 #if QC_MRG_CANS_B0048 81 #define OL_DISMV_POS_B0069 1 // different pos for dispa irty MV candidate, B006982 #endif 83 #define MTK_INTERVIEW_MERGE_A0049 1 // JCT 2-A0049 second part71 #define OL_DISMV_POS_B0069 1 // different pos for disparity MV candidate, B0069 72 #endif 73 #define MTK_INTERVIEW_MERGE_A0049 1 // JCT3V-A0049 second part 84 74 #if HHI_INTER_VIEW_MOTION_PRED 85 75 #define SAIT_IMPROV_MOTION_PRED_M24829 1 // improved inter-view motion vector prediction … … 116 106 #define HHI_VSO_LS_TABLE_M23714 1 // m23714, enable table base Lagrange multiplier optimization 117 107 #define HHI_VSO_DIST_INT 1 // Allow negative synthesized view distortion change 108 #define HHI_VSO_COLOR_PLANES 1 // Compute VSO distortion on color planes 109 #define HHI_VSO_RM_ASSERTIONS 0 // Output VSO assertions 118 110 #define HHI_VSO_SYNTH_DIST_OUT 0 // Output of synthesized view distortion instead of depth distortion in encoder output 119 #define HHI_VSO_COLOR_PLANES 1 // Compute VSO distortion on color planes 120 #define HHI_VSO_RM_ASSERTIONS 0 // output VSO assertions 121 #define HHI_VSO_SPEEDUP_A0033 1 // JCT2-A0033 modification 1 (changes in classes directly related the renderer model 122 // to are not covered by this define, since nearly the entire class has been changed) 123 #define HHI_VSO_SET_OPTIM 1 // remove unnecessary updates (works only with HHI_VSO_FIX 1 properly) 124 #define SAIT_VSO_EST_A0033 1 // JCT2-A0033 modification 3 125 #define LGE_VSO_EARLY_SKIP_A0093 1 // JCT2-A0093 modification 4 126 #define LGE_WVSO_A0119 1 // JCT2-A0119 & JCT3V-B0131 Depth Metric with a weighted depth fidelity term 111 #define SAIT_VSO_EST_A0033 1 // JCT3V-A0033 modification 3 112 #define LGE_VSO_EARLY_SKIP_A0093 1 // JCT3V-A0093 modification 4 113 #define LGE_WVSO_A0119 1 // JCT3V-A0119 & JCT3V-B0131 Depth Metric with a weighted depth fidelity term 127 114 128 115 … … 408 395 // This is here just to perform timing tests -- OL_FLUSH_ALIGN should be 0 for WPP. 409 396 410 #define RVM_VCEGAM10_M 4397 #define RVM_VCEGAM10_M 4 411 398 412 399 #define PLANAR_IDX 0 … … 775 762 }; 776 763 777 #if HHI_VSO_SPEEDUP_A0033778 764 779 765 enum BlenMod … … 785 771 BLEND_GEN = 3 786 772 }; 787 #endif788 773 789 774 /// supported prediction type
Note: See TracChangeset for help on using the changeset viewer.