Changeset 498 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder
- Timestamp:
- 26 Jun 2013, 23:47:59 (12 years ago)
- 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 663 663 // Operation point set 664 664 for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ ) 665 { 665 666 #else 666 667 assert( pcVPS->getMaxNuhReservedZeroLayerId() < MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 ); … … 673 674 // Operation point set 674 675 for( UInt i = 0; i <= pcVPS->getMaxNuhReservedZeroLayerId(); i ++ ) 675 #endif676 676 { 677 677 // Only applicable for version 1 678 678 pcVPS->setLayerIdIncludedFlag( true, opsIdx, i ); 679 #endif 679 680 WRITE_FLAG( pcVPS->getLayerIdIncludedFlag( opsIdx, i ) ? 1 : 0, "layer_id_included_flag[opsIdx][i]" ); 680 681 } … … 731 732 WRITE_CODE( pcVPS->getDimensionIdLen( sIdx ) - 1 , 3, "dimension_id_len_minus1[j]"); 732 733 } 734 735 if ( pcVPS->getSplittingFlag() ) 736 { // Ignore old dimension id length 737 pcVPS->setDimensionIdLen( pcVPS->getNumScalabilityTypes( ) - 1 ,pcVPS->inferLastDimsionIdLen() ); 738 } 739 733 740 734 741 WRITE_FLAG( pcVPS->getVpsNuhLayerIdPresentFlag() ? 1 : 0, "vps_nuh_layer_id_present_flag"); … … 746 753 747 754 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 { 753 760 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 ) ); 754 765 } 755 766 } … … 789 800 { 790 801 WRITE_CODE( pcVPS->getNumAddOutputLayerSetsMinus1( ) , 10, "num_add_output_layer_sets_minus1" ); 791 numOutputLayerSets += pcVPS->getNumAddOutputLayerSetsMinus1();802 numOutputLayerSets += ( pcVPS->getNumAddOutputLayerSetsMinus1( ) + 1 ); 792 803 } 793 804 -
branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncCfg.h
r493 r498 409 409 , m_viewIndex(-1) 410 410 , m_isDepth(false) 411 , m_bUseVSO(false) 411 412 #endif 412 413 #endif -
branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncSlice.cpp
r446 r498 1301 1301 DTRACE_CABAC_T( "\tPOC: " ); 1302 1302 DTRACE_CABAC_V( rpcPic->getPOC() ); 1303 #if H_MV 1304 DTRACE_CABAC_T( "\tLayer: " ); 1305 DTRACE_CABAC_V( rpcPic->getLayerId() ); 1306 #endif 1303 1307 DTRACE_CABAC_T( "\n" ); 1304 1308 #if ENC_DEC_TRACE
Note: See TracChangeset for help on using the changeset viewer.