Ignore:
Timestamp:
17 Jun 2013, 15:56:57 (11 years ago)
Author:
tech
Message:

Included fixes for memory leaks and gcc-4.6.3 compiler warnings.

Location:
branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon/TComSlice.cpp

    r467 r473  
    15211521 
    15221522#if H_3D_DIM_DLT
    1523   Void TComVPS::setDepthLUTs(Int layerIdInVps, Int* idx2DepthValue, Int iNumDepthValues)
    1524   {
    1525     if( idx2DepthValue == NULL || iNumDepthValues == 0 ) // default mapping only
     1523  Void TComVPS::setDepthLUTs(Int layerIdInVps, Int* idxToDepthValueTable, Int iNumDepthValues)
     1524  {
     1525    if( idxToDepthValueTable == NULL || iNumDepthValues == 0 ) // default mapping only
    15261526      return;
    15271527   
    15281528    // copy idx2DepthValue to internal array
    1529     memcpy(m_iIdx2DepthValue[layerIdInVps], idx2DepthValue, iNumDepthValues*sizeof(UInt));
     1529    memcpy(m_iIdx2DepthValue[layerIdInVps], idxToDepthValueTable, iNumDepthValues*sizeof(UInt));
    15301530   
    15311531    UInt uiMaxDepthValue = ((1 << g_bitDepthY)-1);
  • branches/HTM-DEV-0.3-dev1/source/Lib/TLibCommon/TypeDef.h

    r467 r473  
    8888                                              // PKU_QC_DEPTH_INTRA_UNI_D0195
    8989                                              // RWTH_SDC_DLT_B0036
     90#define H_3D_FIX                          1   // Temporary for minor fixes
    9091#endif
    9192
     
    101102#define H_3D_VSO_RM_ASSERTIONS            0   // Output VSO assertions
    102103#define H_3D_VSO_SYNTH_DIST_OUT           0   // Output of synthesized view distortion instead of depth distortion in encoder output
     104#define H_3D_VSO_FIX                      0   // This fix should be enabled after verification
    103105#endif
    104106
Note: See TracChangeset for help on using the changeset viewer.