Changeset 188 in 3DVCSoftware for branches/HTM-4.1-dev0/source/Lib/TLibCommon


Ignore:
Timestamp:
15 Nov 2012, 21:36:12 (13 years ago)
Author:
tech
Message:

Removed old macro switches.

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  
    9393  m_pcTrCoeffCr        = NULL;
    9494#if ADAPTIVE_QP_SELECTION 
    95 #if FIX_MEM_LEAKS
    9695  m_ArlCoeffIsAliasedAllocation = false;
    9796  m_pcArlCoeffY        = NULL;
    9897  m_pcArlCoeffCb       = NULL;
    9998  m_pcArlCoeffCr       = NULL;
    100 #endif
    10199#endif
    102100 
     
    255253      m_pcArlCoeffCb       = m_pcGlbArlCoeffCb;
    256254      m_pcArlCoeffCr       = m_pcGlbArlCoeffCr;
    257 #if FIX_MEM_LEAKS
    258255      m_ArlCoeffIsAliasedAllocation = true;
    259 #endif
    260256    }
    261257    else
     
    381377    if ( m_pcTrCoeffCr        ) { xFree(m_pcTrCoeffCr);         m_pcTrCoeffCr       = NULL; }
    382378#if ADAPTIVE_QP_SELECTION
    383 #if FIX_MEM_LEAKS
    384379    if (!m_ArlCoeffIsAliasedAllocation)
    385380    {
     
    388383      xFree(m_pcArlCoeffCr); m_pcArlCoeffCr = 0;
    389384    }
    390 #endif
    391385    if ( m_pcGlbArlCoeffY     ) { xFree(m_pcGlbArlCoeffY);      m_pcGlbArlCoeffY    = NULL; }
    392386    if ( m_pcGlbArlCoeffCb    ) { xFree(m_pcGlbArlCoeffCb);     m_pcGlbArlCoeffCb   = NULL; }
     
    23972391#if H0204_QP_PREDICTION
    23982392  UInt        lPartIdx, aPartIdx;
    2399 #if FIX_COMP_WARNING_INIT
    24002393  lPartIdx = 0;
    24012394  aPartIdx = 0;
    2402 #endif
    24032395  TComDataCU* cULeft  = getQpMinCuLeft ( lPartIdx, m_uiAbsIdxInLCU + uiCurrAbsIdxInLCU );
    24042396  TComDataCU* cUAbove = getQpMinCuAbove( aPartIdx, m_uiAbsIdxInLCU + uiCurrAbsIdxInLCU );
  • branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComDataCU.h

    r187 r188  
    159159  Int*          m_pcArlCoeffCb;       ///< ARL coefficient buffer (Cb)
    160160  Int*          m_pcArlCoeffCr;       ///< ARL coefficient buffer (Cr)
    161 #if FIX_MEM_LEAKS
    162161  Bool          m_ArlCoeffIsAliasedAllocation; ///< ARL coefficient buffer is an alias of the global buffer and must not be free()'d
    163 #endif
    164162
    165163  static Int*   m_pcGlbArlCoeffY;     ///< ARL coefficient buffer (Y)
  • branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComPicSym.cpp

    r121 r188  
    123123
    124124
    125 #if FIX_MEM_LEAKS
    126125  for( i=0; i<(m_iNumColumnsMinus1+1)*(m_iNumRowsMinus1+1); i++ )
    127126  {
    128127    if ( m_apcTComTile[i] )  delete m_apcTComTile[i];
    129128  }
    130 #endif
    131129
    132130  delete [] m_apcTComTile;
  • branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r183 r188  
    17041704, m_cabacInitPresentFlag        (false)
    17051705, m_encCABACTableIdx            (0)
    1706 #if POZNAN_CABAC_INIT_FLAG_FIX
     1706#if FIX_POZNAN_CABAC_INIT_FLAG
    17071707, m_encPrevPOC            (0)
    17081708#endif
  • branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComSlice.h

    r181 r188  
    883883  Bool     m_cabacInitPresentFlag;
    884884  UInt     m_encCABACTableIdx;           // Used to transmit table selection across slices
    885 #if POZNAN_CABAC_INIT_FLAG_FIX
     885#if FIX_POZNAN_CABAC_INIT_FLAG
    886886  UInt     m_encPrevPOC;
    887887#endif
     
    10181018  Bool     getCabacInitPresentFlag()                { return m_cabacInitPresentFlag;    }
    10191019  UInt     getEncCABACTableIdx()                    { return m_encCABACTableIdx;        }
    1020 #if POZNAN_CABAC_INIT_FLAG_FIX
     1020#if FIX_POZNAN_CABAC_INIT_FLAG
    10211021  Void     setEncPrevPOC(UInt uiPOC)                { m_encPrevPOC = uiPOC;             }
    10221022  UInt     getEncPrevPOC()                          { return m_encPrevPOC;              }
  • branches/HTM-4.1-dev0/source/Lib/TLibCommon/TComYuv.cpp

    r118 r188  
    409409
    410410#if LG_RESTRICTEDRESPRED_M24766
    411 void
     411Void
    412412TComYuv::getPUXYOffset(PartSize uhPartitionSize, Int iWidth, Int iHeight, Int &iXOffset, Int &iYOffset)
    413413{
  • branches/HTM-4.1-dev0/source/Lib/TLibCommon/TypeDef.h

    r187 r188  
    4444///// ***** FIXES *********
    4545// 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
    5547#define FIX_LG_RESTRICTEDRESPRED_M24766   1
    56 #define FIX_REMOVE_TILE_DEPENDENCE        1
    57 #define FIX_DBL_CONTROL_DEFAULT           1
    5848
    5949// B
     
    7060#define HHI_DMM_WEDGE_INTRA               1   // depth model modes independent on texture (explicit and intra-predicted Wedgelet prediction)
    7161#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   // JCT2-A0070
     62#define LGE_EDGE_INTRA_A0070              1   // JCT3V-A0070
    7363#define RWTH_SDC_DLT_B0036                1   // JCT3V-B0036: Simplified Depth Coding + Depth Lookup Table
    7464#define HHIQC_DMMFASTSEARCH_B0039         1   // JCT3V-B0039: fast Wedgelet search for DMM modes 1 and 3
     
    7969#define QC_MRG_CANS_B0048                 1   // JCT3V-B0048, B0086, B0069
    8070#if     QC_MRG_CANS_B0048
    81 #define OL_DISMV_POS_B0069                1   // different pos for dispairty MV candidate, B0069
    82 #endif
    83 #define MTK_INTERVIEW_MERGE_A0049         1   // JCT2-A0049 second part
     71#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
    8474#if HHI_INTER_VIEW_MOTION_PRED         
    8575#define SAIT_IMPROV_MOTION_PRED_M24829    1   // improved inter-view motion vector prediction
     
    116106#define HHI_VSO_LS_TABLE_M23714           1   // m23714, enable table base Lagrange multiplier optimization
    117107#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
    118110#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
    127114
    128115
     
    408395                            // This is here just to perform timing tests -- OL_FLUSH_ALIGN should be 0 for WPP.
    409396
    410 #define RVM_VCEGAM10_M 4
     397#define RVM_VCEGAM10_M         4
    411398
    412399#define PLANAR_IDX             0
     
    775762};
    776763
    777 #if HHI_VSO_SPEEDUP_A0033
    778764
    779765enum BlenMod
     
    785771    BLEND_GEN   =  3
    786772};
    787 #endif
    788773
    789774/// supported prediction type
Note: See TracChangeset for help on using the changeset viewer.