Changeset 492 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder
- Timestamp:
- 24 Jun 2013, 16:01:58 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r490 r492 840 840 assert( pcVPS->getVpsMaxLayerId() < MAX_VPS_NUH_LAYER_ID_PLUS1 ); 841 841 READ_CODE( 6, uiCode, "vps_max_nuh_layer_id" ); pcVPS->setVpsMaxLayerId( uiCode ); 842 843 READ_UVLC( uiCode, "vps_max_num_layer_sets_minus1" ); pcVPS->setVpsNumLayerSetsMinus1( uiCode ); 844 for( UInt opsIdx = 1; opsIdx <= pcVPS->getVpsNumLayerSetsMinus1(); opsIdx ++ ) 845 { 846 for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ ) 842 847 #else 843 848 assert( pcVPS->getMaxNuhReservedZeroLayerId() < MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 ); 844 849 READ_CODE( 6, uiCode, "vps_max_nuh_reserved_zero_layer_id" ); pcVPS->setMaxNuhReservedZeroLayerId( uiCode ); 845 #endif 850 846 851 READ_UVLC( uiCode, "vps_max_op_sets_minus1" ); pcVPS->setMaxOpSets( uiCode + 1 ); 847 852 for( UInt opsIdx = 1; opsIdx <= ( pcVPS->getMaxOpSets() - 1 ); opsIdx ++ ) 848 853 { 849 854 // Operation point set 850 #if H_MV851 for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ )852 #else853 855 for( UInt i = 0; i <= pcVPS->getMaxNuhReservedZeroLayerId(); i ++ ) 854 856 #endif … … 948 950 READ_CODE( 6, uiCode, "vps_num_profile_tier_level_minus1" ); pcVPS->setVpsNumProfileTierLevelMinus1( uiCode ); 949 951 950 for( Int i = 1; i <= pcVPS->get MaxOpSets() - 1; i++ )952 for( Int i = 1; i <= pcVPS->getVpsNumberLayerSetsMinus1(); i++ ) 951 953 { 952 954 READ_FLAG( uiCode, "vps_profile_present_flag[i]" ); pcVPS->setVpsProfilePresentFlag( i, uiCode == 1 );
Note: See TracChangeset for help on using the changeset viewer.