Ignore:
Timestamp:
26 Jun 2013, 23:47:59 (12 years ago)
Author:
tech
Message:

Further fixes and new nonctc cfg files.

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

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp

    r495 r498  
    663663    // Operation point set
    664664    for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ )
     665    {
    665666#else
    666667  assert( pcVPS->getMaxNuhReservedZeroLayerId() < MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 );
     
    673674    // Operation point set
    674675    for( UInt i = 0; i <= pcVPS->getMaxNuhReservedZeroLayerId(); i ++ )
    675 #endif
    676676    {
    677677      // Only applicable for version 1
    678678      pcVPS->setLayerIdIncludedFlag( true, opsIdx, i );
     679#endif
    679680      WRITE_FLAG( pcVPS->getLayerIdIncludedFlag( opsIdx, i ) ? 1 : 0, "layer_id_included_flag[opsIdx][i]" );
    680681    }
     
    731732    WRITE_CODE( pcVPS->getDimensionIdLen( sIdx ) - 1 , 3,    "dimension_id_len_minus1[j]");   
    732733  }
     734
     735  if ( pcVPS->getSplittingFlag() )
     736  { // Ignore old dimension id length
     737    pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1 ,pcVPS->inferLastDimsionIdLen() );       
     738  }   
     739
    733740
    734741  WRITE_FLAG( pcVPS->getVpsNuhLayerIdPresentFlag() ? 1 : 0,  "vps_nuh_layer_id_present_flag");
     
    746753
    747754    assert(  pcVPS->getLayerIdInVps( pcVPS->getLayerIdInNuh( i ) ) == i );
    748      
    749     if ( !pcVPS->getSplittingFlag() )
    750     {   
    751       for( Int j = 0; j < pcVPS->getNumScalabilityTypes() ; j++ )
    752       {     
     755
     756    for( Int j = 0; j < pcVPS->getNumScalabilityTypes() ; j++ )
     757    {     
     758      if ( !pcVPS->getSplittingFlag() )
     759      {   
    753760        WRITE_CODE( pcVPS->getDimensionId( i, j ), pcVPS->getDimensionIdLen( j ), "dimension_id[i][j]");     
     761      }
     762      else
     763      {
     764        assert( pcVPS->getDimensionId( i, j ) ==  pcVPS->inferDimensionId( i, j )  );
    754765      }
    755766    }
     
    789800  {
    790801    WRITE_CODE( pcVPS->getNumAddOutputLayerSetsMinus1( )    , 10,    "num_add_output_layer_sets_minus1"      );
    791     numOutputLayerSets += pcVPS->getNumAddOutputLayerSetsMinus1( );
     802    numOutputLayerSets += ( pcVPS->getNumAddOutputLayerSetsMinus1( ) + 1 );
    792803  }
    793804
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncCfg.h

    r493 r498  
    409409  , m_viewIndex(-1)
    410410  , m_isDepth(false)
     411  , m_bUseVSO(false)
    411412#endif
    412413#endif
  • branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncSlice.cpp

    r446 r498  
    13011301  DTRACE_CABAC_T( "\tPOC: " );
    13021302  DTRACE_CABAC_V( rpcPic->getPOC() );
     1303#if H_MV
     1304  DTRACE_CABAC_T( "\tLayer: " );
     1305  DTRACE_CABAC_V( rpcPic->getLayerId()  );
     1306#endif
    13031307  DTRACE_CABAC_T( "\n" );
    13041308#if ENC_DEC_TRACE
Note: See TracChangeset for help on using the changeset viewer.