Changeset 1392 in 3DVCSoftware


Ignore:
Timestamp:
17 Nov 2015, 20:34:03 (8 years ago)
Author:
tech
Message:
  • Cleanups.
  • Fix of memory leak.
  • Fix for ticket 114.
Location:
branches/HTM-16.0-dev1/source/Lib
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.0-dev1/source/Lib/TLibCommon/TComDataCU.cpp

    r1386 r1392  
    51015101
    51025102  //// ******* Get disparity from left block ******* /////
    5103 #if NH_3D_FIX_TICKET_91
    5104     pcTmpCU = getPULeft(uiIdx, uiPartIdxLB);
    5105 #else
    5106   pcTmpCU = getPULeft(uiIdx, uiPartIdxLB, true, false);
    5107 #endif
     5103  pcTmpCU = getPULeft(uiIdx, uiPartIdxLB);
    51085104  bCheckMcpDv = true;
    51095105  if ( xCheckSpatialNBDV( pcTmpCU, uiIdx, pDInfo, bCheckMcpDv, &cIDVInfo, DVFROM_LEFT
  • branches/HTM-16.0-dev1/source/Lib/TLibCommon/TComSlice.cpp

    r1386 r1392  
    19231923  for ( Int i = 0; i < MAX_VPS_OUTPUTLAYER_SETS; i++)
    19241924  {
    1925 #if !NH_3D_FIX_TICKET_107
    1926     m_layerSetIdxForOlsMinus1[i]  = -1;
    1927 #endif
    19281925    for ( Int j = 0; j < MAX_VPS_NUH_LAYER_ID_PLUS1; j++)
    19291926    {
  • branches/HTM-16.0-dev1/source/Lib/TLibCommon/TypeDef.h

    r1386 r1392  
    6565#if NH_MV
    6666// 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 NH_3D_FIX_TICKET_114                     1  //Mismatch between text and software on DPB size syntax
     68#define NH_3D_FIX_LEAK                           1
    6969// Things that needs to be fixed also in the Specification ...
    7070#define NH_MV_FIX_NO_REF_PICS_CHECK               1 // !!SPEC!!
  • branches/HTM-16.0-dev1/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r1386 r1392  
    21352135    for( Int j = 0; j  <=  vps->getMaxSubLayersInLayerSetMinus1( currLsIdx ); j++ )
    21362136    { 
     2137#if NH_3D_FIX_TICKET_114
     2138      if( j > 0  &&  dpbSize.getSubLayerFlagInfoPresentFlag( i )  ) 
     2139#else
    21372140      if( j > 0  &&  dpbSize.getSubLayerDpbInfoPresentFlag( i, j )  ) 
     2141#endif
    21382142      {
    21392143        READ_FLAG( uiCode, "sub_layer_dpb_info_present_flag" ); dpbSize.setSubLayerDpbInfoPresentFlag( i, j, uiCode == 1 );
  • branches/HTM-16.0-dev1/source/Lib/TLibEncoder/TEncCavlc.cpp

    r1386 r1392  
    14281428    for( Int j = 0; j  <=  vps->getMaxSubLayersInLayerSetMinus1( currLsIdx ); j++ )
    14291429    { 
     1430#if NH_3D_FIX_TICKET_114
     1431      if( j > 0  &&  dpbSize->getSubLayerFlagInfoPresentFlag( i )  ) 
     1432#else
    14301433      if( j > 0  &&  dpbSize->getSubLayerDpbInfoPresentFlag( i, j )  ) 
     1434#endif
    14311435      {
    14321436        WRITE_FLAG( dpbSize->getSubLayerDpbInfoPresentFlag( i, j ) ? 1 : 0 , "sub_layer_dpb_info_present_flag" );
  • branches/HTM-16.0-dev1/source/Lib/TLibEncoder/TEncTop.cpp

    r1386 r1392  
    9191TEncTop::~TEncTop()
    9292{
     93#if NH_3D_FIX_LEAK
     94#if NH_3D_IC
     95  if ( m_aICEnableCandidate != NULL )
     96  {
     97    delete[] m_aICEnableCandidate;
     98  }
     99
     100  if ( m_aICEnableNum != NULL )
     101  {
     102    delete[] m_aICEnableNum;
     103  }
     104#endif
     105
     106#endif
    93107#if ENC_DEC_TRACE
    94108  if (g_hTrace != stdout)
  • branches/HTM-16.0-dev1/source/Lib/TLibRenderer/TRenModSetupStrParser.h

    r1386 r1392  
    4040#include "../TAppCommon/TAppComCamPara.h"
    4141#if NH_3D_VSO
    42 
    43 
    44 
    4542#include <list>
    4643#include <vector>
     
    5451#include <cstdio>
    5552#include <cstring>
    56 
    5753
    5854using namespace std;
Note: See TracChangeset for help on using the changeset viewer.