Changeset 1075 in 3DVCSoftware for branches/HTM-12.1-dev0/source/Lib/TLibEncoder
- Timestamp:
- 21 Oct 2014, 21:09:26 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.1-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp
r1074 r1075 1254 1254 if( i >= pcVPS->getNumLayerSets( ) ) 1255 1255 { 1256 #if !VPS_MISC_UPDATES1257 WRITE_UVLC( pcVPS->getLayerSetIdxForOlsMinus1( i ), "layer_set_idx_for_ols_minus1[i]" );1258 #else1259 1256 WRITE_CODE( pcVPS->getLayerSetIdxForOlsMinus1( i ), pcVPS->getLayerSetIdxForOlsMinus1Len( i ) , "layer_set_idx_for_ols_minus1[i]" ); 1260 #endif1261 1257 } 1262 1258 … … 1580 1576 if( pcVPSVUI->getVideoSignalInfoIdxPresentFlag() && pcVPSVUI->getVpsNumVideoSignalInfoMinus1() > 0 ) 1581 1577 { 1582 #if I0045_VPS_VUI_VST_PARAMS1583 1578 for( Int i = pcVPS->getVpsBaseLayerInternalFlag() ? 0 : 1; i <= pcVPS->getMaxLayersMinus1(); i++ ) 1584 1579 { 1585 1580 WRITE_CODE( pcVPSVUI->getVpsVideoSignalInfoIdx( i ), 4, "vps_video_signal_info_idx" ); 1586 1581 } 1587 #else1588 for( Int i = 1; i <= pcVPS->getMaxLayersMinus1(); i++ )1589 {1590 WRITE_CODE( pcVPSVUI->getVpsVideoSignalInfoIdx( i ), 4, "vps_video_signal_info_idx" );1591 assert( pcVPSVUI->getVpsVideoSignalInfoIdx( i ) >= 0 && pcVPSVUI->getVpsVideoSignalInfoIdx( i ) <= pcVPSVUI->getVpsNumVideoSignalInfoMinus1() );1592 }1593 }1594 else1595 {1596 for( Int i = 1; i <= pcVPS->getMaxLayersMinus1(); i++ )1597 {1598 assert( pcVPSVUI->getVpsVideoSignalInfoIdx( i ) == ( pcVPSVUI->getVideoSignalInfoIdxPresentFlag() ? 0 : i ) );1599 }1600 #endif1601 1582 } 1602 1583 WRITE_FLAG( pcVPSVUI->getTilesNotInUseFlag( ) ? 1 : 0 , "tiles_not_in_use_flag" ); … … 1921 1902 esb++; 1922 1903 WRITE_FLAG( pcSlice->getDiscardableFlag( ) ? 1 : 0 , "discardable_flag" ); 1923 #if NON_REF_NAL_TYPE_DISCARDABLE1924 1904 if (pcSlice->getDiscardableFlag( )) 1925 1905 { … … 1930 1910 pcSlice->getNalUnitType() != NAL_UNIT_CODED_SLICE_RASL_R); 1931 1911 } 1932 #endif1933 1912 } 1934 1913 … … 2091 2070 if (pcSlice->getSPS()->getTMVPFlagsPresent()) 2092 2071 { 2093 #if I0044_SLICE_TMVP2072 #if H_MV 2094 2073 WRITE_FLAG( pcSlice->getEnableTMVPFlag() ? 1 : 0, "slice_temporal_mvp_enabled_flag" ); 2095 2074 #else
Note: See TracChangeset for help on using the changeset viewer.