Changeset 500 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib


Ignore:
Timestamp:
27 Jun 2013, 12:58:02 (12 years ago)
Author:
tech
Message:

Further fixes.

Location:
branches/HTM-DEV-0.3-dev0/source/Lib
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev0/source/Lib/TAppCommon/program_options_lite.cpp

    r491 r500  
    167167        if  ( (*it)->opt->opt_duplicate ) continue;
    168168#endif
    169 
    170169        ostringstream line(ios_base::out);
    171170        line << "  ";
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibCommon/TComRom.h

    r498 r500  
    162162
    163163#ifndef ENC_DEC_TRACE
    164 # define ENC_DEC_TRACE 1
     164# define ENC_DEC_TRACE 0
    165165#endif
    166166
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibCommon/TComSlice.cpp

    r498 r500  
    516516  TComPic*  rpsCurrList0[MAX_NUM_REF+1];
    517517  TComPic*  rpsCurrList1[MAX_NUM_REF+1];
    518 
    519518#if H_MV 
    520519  Int numPocTotalCurr = ( getInterRefEnabledInRPLFlag() ? ( NumPocStCurr0 + NumPocStCurr1 + NumPocLtCurr ) : 0 ) + getNumActiveRefLayerPics( );
     
    17731772}
    17741773
    1775 Int TComVPS::inferLastDimsionIdLen()
     1774Int TComVPS::inferLastDimsionIdLenMinus1()
    17761775{
    17771776  return ( 5 - xGetDimBitOffset( getNumScalabilityTypes() - 1 ) );
     
    24282427  }
    24292428}
    2430 
    24312429Int TComSlice::xCeilLog2( Int val )
    24322430{
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibCommon/TComSlice.h

    r498 r500  
    494494  UInt*       m_hrdOpSetIdx;
    495495  Bool*       m_cprmsPresentFlag;
    496  
    497 #if H_MV
     496  #if H_MV
    498497  UInt        m_vpsNumLayerSetsMinus1;
    499498  Bool        m_layerIdIncludedFlag[MAX_VPS_OP_SETS_PLUS1][MAX_VPS_NUH_LAYER_ID_PLUS1];
     
    514513  TimingInfo  m_timingInfo;
    515514#endif
    516 
    517 
    518 
    519 
    520515
    521516#if H_MV
     
    620615  Void    setMaxOpSets(UInt v)                                  { m_numOpSets = v;    }
    621616#endif
    622 
    623617  Bool    getLayerIdIncludedFlag(UInt opsIdx, UInt id)          { return m_layerIdIncludedFlag[opsIdx][id]; }
    624618  Void    setLayerIdIncludedFlag(Bool v, UInt opsIdx, UInt id)  { m_layerIdIncludedFlag[opsIdx][id] = v;    }
     
    736730  // inference
    737731  Int     inferDimensionId     ( Int i, Int j );
    738   Int     inferLastDimsionIdLen();
     732  Int     inferLastDimsionIdLenMinus1();
    739733
    740734#if H_3D 
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibCommon/TypeDef.h

    r496 r500  
    5757
    5858#ifndef HEVC_EXT
    59 #define HEVC_EXT                    2
     59#define HEVC_EXT                    0
    6060#endif
    6161
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r498 r500  
    917917    if ( pcVPS->getSplittingFlag() )
    918918    {
    919       pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1, pcVPS->inferLastDimsionIdLen() );       
     919      pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1, pcVPS->inferLastDimsionIdLenMinus1() );       
    920920    }   
    921921
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecSlice.cpp

    r498 r500  
    127127  DTRACE_CABAC_V( rpcPic->getLayerId()  );
    128128#endif
    129 
    130129  DTRACE_CABAC_T( "\n" );
    131130
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecTop.cpp

    r491 r500  
    7676  delete [] m_aaiCodedScale;
    7777  delete [] m_aiViewId; 
     78  delete [] m_aiLayerIdx;
    7879  delete [] m_bViewReceived;
    7980
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r498 r500  
    735735  if ( pcVPS->getSplittingFlag() )
    736736  { // Ignore old dimension id length
    737     pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1 ,pcVPS->inferLastDimsionIdLen() );       
     737    pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1 ,pcVPS->inferLastDimsionIdLenMinus1() + 1 );       
    738738  }   
    739739
     
    12041204      {
    12051205#endif
    1206 
    12071206      if ( pcSlice->getSliceType() == B_SLICE )
    12081207      {
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncGOP.cpp

    r497 r500  
    655655    refPicListModification->setRefPicListModificationFlagL1(0);
    656656#if H_MV
    657 
    658657    if ( pcSlice->getPPS()->getNumExtraSliceHeaderBits() > 0 )
    659658    {
Note: See TracChangeset for help on using the changeset viewer.