Changeset 465 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2a/source/Lib


Ignore:
Timestamp:
12 Jun 2013, 14:01:34 (12 years ago)
Author:
tech
Message:

Fixed some minor memory leaks.

Location:
branches/HTM-DEV-0.3-dev2a/source/Lib
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibCommon/TypeDef.h

    r464 r465  
    9191
    9292#define H_3D_ARP                          1   // Advanced residual prediction (ARP), JCT3V-D0177
     93#define H_3D_FIX                          1   // Temporary for minor fixes
    9394#endif
    9495
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibDecoder/TDecTop.cpp

    r464 r465  
    5555  m_aaiCodedScale          = new Int* [ MAX_NUM_LAYERS ];
    5656  m_aiViewId               = new Int  [ MAX_NUM_LAYERS ];
     57#if !H_3D_FIX 
    5758  m_aiLayerIdx             = new Int  [ MAX_NUM_LAYERS ];
     59#endif
    5860
    5961  m_bViewReceived          = new Bool [ MAX_NUM_LAYERS ];
     
    899901        if( iViewIdx<getViewIndex() && !bIsDepth )
    900902        {
     903          //GT (IVREFS): m_tAppDecTop is not needed any more. Reference pictures can be obtained from m_ivPicLists. Should be fixed later.
    901904          pcSlice->setBaseViewRefPicList( m_tAppDecTop->getTDecTop(iLayerId)->getListPic(), iViewIdx );
    902905        }
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibDecoder/TDecTop.h

    r464 r465  
    8989  Int**   m_aaiCodedScale;
    9090  Int*    m_aiViewId; 
     91#if !H_3D_FIX 
    9192  Int*    m_aiLayerIdx;
     93#endif
    9294
    9395  Bool*   m_bViewReceived;
     
    225227#endif
    226228
    227 #if H_3D_ARP
     229#if H_3D_ARP
     230  //GT (IVREFS): This is not needed any more. Reference picture can be obtained from m_ivPicLists. Should be fixed later.
    228231  TAppDecTop*             m_tAppDecTop;
    229232#endif
     
    271274
    272275#if H_3D_ARP
     276  //GT (IVREFS): This is not needed any more. Reference picture can be obtained from m_ivPicLists. Should be fixed later.
    273277  Void                    setTAppDecTop( TAppDecTop* pcTAppDecTop ) { m_tAppDecTop = pcTAppDecTop; }
    274278  TAppDecTop*             getTAppDecTop()                           { return  m_tAppDecTop; }
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncCu.cpp

    r464 r465  
    177177    m_ppcTempCU = NULL;
    178178  }
    179  
     179
     180#if H_3D_ARP
     181  if(m_ppcWeightedTempCU)
     182  {
     183    delete [] m_ppcWeightedTempCU;
     184    m_ppcWeightedTempCU = NULL;
     185  }
     186#endif
    180187  if(m_ppcPredYuvBest)
    181188  {
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncGOP.cpp

    r464 r465  
    683683        if( iViewIdx<getViewIndex() && !bIsDepth )
    684684        {
     685          //GT (IVREFS): m_tAppEncTop is not needed any more. Reference pictures can be obtained from m_ivPicLists. Should be fixed later.
    685686          pcSlice->setBaseViewRefPicList( m_pcEncTop->getTAppEncTop()->getTEncTop( iLayerId )->getListPic(), iViewIdx );
    686687        }
  • branches/HTM-DEV-0.3-dev2a/source/Lib/TLibEncoder/TEncTop.h

    r464 r465  
    214214#endif
    215215#if H_3D_ARP
     216  //GT (IVREFS): m_tAppDecTop is not needed any more. Reference pictures can be obtained from m_ivPicLists. Should be fixed later.
    216217  Void            setTAppEncTop( TAppEncTop* pcTAppEncTop ) { m_pcTAppEncTop = pcTAppEncTop; }
    217218  TAppEncTop*     getTAppEncTop()                           { return  m_pcTAppEncTop; }
Note: See TracChangeset for help on using the changeset viewer.