Changeset 495 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder
- Timestamp:
- 25 Jun 2013, 22:11:57 (12 years ago)
- Location:
- branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp ¶
r493 r495 449 449 #endif 450 450 WRITE_CODE( pcSPS->getVPSId (), 4, "sps_video_parameter_set_id" ); 451 #if H_MV 452 if ( pcSPS->getLayerId() == 0 ) 453 { 454 #endif 451 455 WRITE_CODE( pcSPS->getMaxTLayers() - 1, 3, "sps_max_sub_layers_minus1" ); 452 456 WRITE_FLAG( pcSPS->getTemporalIdNestingFlag() ? 1 : 0, "sps_temporal_id_nesting_flag" ); 453 457 codePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1); 458 #if H_MV 459 } 460 #endif 454 461 WRITE_UVLC( pcSPS->getSPSId (), "sps_seq_parameter_set_id" ); 455 462 WRITE_UVLC( pcSPS->getChromaFormatIdc (), "chroma_format_idc" ); … … 795 802 { 796 803 WRITE_UVLC( pcVPS->getOutputLayerSetIdxMinus1( i ), "output_layer_set_idx_minus1[i]" ); 797 for( Int j = 0; j < = pcVPS->getNumLayersInIdList( j ); j++ )804 for( Int j = 0; j < pcVPS->getNumLayersInIdList( j ) - 1 ; j++ ) 798 805 { 799 806 WRITE_FLAG( pcVPS->getOutputLayerFlag( i, j) ? 1 : 0, "output_layer_flag" ); 800 } 807 } 808 } 809 if ( pcVPS->getProfileLevelTierIdxLen() > 0 ) 810 { 801 811 WRITE_CODE( pcVPS->getProfileLevelTierIdx( i ), pcVPS->getProfileLevelTierIdxLen() ,"profile_level_tier_idx[ i ]" ); 802 812 } … … 810 820 for( Int j = 0; j < i; j++ ) 811 821 { 812 WRITE_CODE( pcVPS->getDirectDependencyType( i, j ),pcVPS->getDirectDepTypeLenMinus2( ) + 2, "direct_dependency_type[i][j]" ); 822 if (pcVPS->getDirectDependencyFlag( i, j) ) 823 { 824 assert ( pcVPS->getDirectDependencyType( i, j ) != -1 ); 825 WRITE_CODE( pcVPS->getDirectDependencyType( i, j ),pcVPS->getDirectDepTypeLenMinus2( ) + 2, "direct_dependency_type[i][j]" ); 826 } 813 827 } 814 828 } … … 1171 1185 { 1172 1186 WRITE_FLAG( pcSlice->getAltCollocatedIndicationFlag( ) ? 1 : 0 , "alt_collocated_indication_flag" ); 1173 1174 1187 if( pcSlice->getAltCollocatedIndicationFlag() && pcSlice->getNumActiveMotionPredRefLayers() > 1 ) 1175 1188 { -
TabularUnified branches/HTM-DEV-0.3-dev0/source/Lib/TLibEncoder/TEncGOP.cpp ¶
r493 r495 835 835 pcSlice->setEnableTMVPFlag(0); 836 836 } 837 #if H_MV 838 if( pcSlice->getIdrPicFlag() ) 839 { 840 pcSlice->setEnableTMVPFlag(0); 841 } 842 #endif 837 843 838 844 #if H_3D_VSO
Note: See TracChangeset for help on using the changeset viewer.