Changeset 488 in 3DVCSoftware for branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder
- Timestamp:
- 21 Jun 2013, 18:58:29 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev0/source/Lib/TLibDecoder/TDecCAVLC.cpp
r446 r488 811 811 assert( pcVPS->getNumHrdParameters() < MAX_VPS_OP_SETS_PLUS1 ); 812 812 #if H_MV 813 assert( pcVPS->get MaxNuhLayerId() < MAX_VPS_NUH_LAYER_ID_PLUS1 );814 READ_CODE( 6, uiCode, "vps_max_nuh_layer_id" ); pcVPS->set MaxNuhLayerId( uiCode );813 assert( pcVPS->getVpsMaxLayerId() < MAX_VPS_NUH_LAYER_ID_PLUS1 ); 814 READ_CODE( 6, uiCode, "vps_max_nuh_layer_id" ); pcVPS->setVpsMaxLayerId( uiCode ); 815 815 #else 816 816 assert( pcVPS->getMaxNuhReservedZeroLayerId() < MAX_VPS_NUH_RESERVED_ZERO_LAYER_ID_PLUS1 ); … … 822 822 // Operation point set 823 823 #if H_MV 824 for( UInt i = 0; i <= pcVPS->get MaxNuhLayerId(); i ++ )824 for( UInt i = 0; i <= pcVPS->getVpsMaxLayerId(); i ++ ) 825 825 #else 826 826 for( UInt i = 0; i <= pcVPS->getMaxNuhReservedZeroLayerId(); i ++ ) … … 932 932 for( Int layerSet = 0; layerSet < pcVPS->getNumOutputLayerSets(); layerSet++ ) 933 933 { 934 READ_UVLC( uiCode, "output_layer_set_idx[i]" ); pcVPS->setOutputLayerSetIdx ( layerSet, uiCode );935 for( Int layer = 0; layer <= pcVPS->get MaxNuhLayerId(); layer++ )936 { 937 if( pcVPS->getLayerIdIncludedFlag( pcVPS->getOutputLayerSetIdx ( layerSet ), layer ) == true )938 { 939 READ_FLAG( uiCode, "output_layer_flag" ); pcVPS->setOutputLayerFlag( layerSet, layer, uiCode == 1 ? true : false );934 READ_UVLC( uiCode, "output_layer_set_idx[i]" ); pcVPS->setOutputLayerSetIdxMinus1( layerSet, uiCode ); 935 for( Int layer = 0; layer <= pcVPS->getVpsMaxLayerId(); layer++ ) 936 { 937 if( pcVPS->getLayerIdIncludedFlag( pcVPS->getOutputLayerSetIdxMinus1( layerSet ), layer ) == true ) 938 { 939 // READ_FLAG( uiCode, "output_layer_flag" ); pcVPS->setOutputLayerFlag( layerSet, layer, uiCode == 1 ? true : false ); 940 940 } 941 941 }
Note: See TracChangeset for help on using the changeset viewer.