- Timestamp:
- 5 Apr 2013, 10:18:38 (12 years ago)
- Location:
- branches/HM-10.0-dev-SHM/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HM-10.0-dev-SHM/source/App/TAppEncoder/TAppEncTop.cpp
r112 r114 82 82 vps.setTemporalNestingFlag(true); 83 83 } 84 #if !VPS_RENAME 84 85 vps.setMaxLayers ( 1 ); 86 #endif 85 87 for(Int i = 0; i < MAX_TLAYER; i++) 86 88 { … … 692 694 m_acTEncTop[layer].init(); 693 695 } 696 #if VPS_RENAME 697 m_acTEncTop[0].getVPS()->setMaxLayers( m_numLayers ); 698 #endif 694 699 #if VPS_EXTN_OP_LAYER_SETS 695 700 TComVPS* vps = m_acTEncTop[0].getVPS(); -
branches/HM-10.0-dev-SHM/source/Lib/TLibDecoder/TDecCAVLC.cpp
r112 r114 729 729 READ_CODE( 4, uiCode, "vps_video_parameter_set_id" ); pcVPS->setVPSId( uiCode ); 730 730 READ_CODE( 2, uiCode, "vps_reserved_three_2bits" ); assert(uiCode == 3); 731 #if VPS_RENAME 732 READ_CODE( 6, uiCode, "vps_max_layers_minus1" ); pcVPS->setMaxLayers( uiCode + 1); 733 #else 731 734 READ_CODE( 6, uiCode, "vps_reserved_zero_6bits" ); assert(uiCode == 0); 735 #endif 732 736 READ_CODE( 3, uiCode, "vps_max_sub_layers_minus1" ); pcVPS->setMaxTLayers( uiCode + 1 ); 733 737 READ_FLAG( uiCode, "vps_temporal_id_nesting_flag" ); pcVPS->setTemporalNestingFlag( uiCode ? true:false ); -
branches/HM-10.0-dev-SHM/source/Lib/TLibEncoder/TEncCavlc.cpp
r112 r114 566 566 WRITE_CODE( pcVPS->getVPSId(), 4, "vps_video_parameter_set_id" ); 567 567 WRITE_CODE( 3, 2, "vps_reserved_three_2bits" ); 568 #if VPS_RENAME 569 WRITE_CODE( pcVPS->getMaxLayers() - 1, 6, "vps_max_layers_minus1" ); 570 #else 568 571 WRITE_CODE( 0, 6, "vps_reserved_zero_6bits" ); 572 #endif 569 573 WRITE_CODE( pcVPS->getMaxTLayers() - 1, 3, "vps_max_sub_layers_minus1" ); 570 574 WRITE_FLAG( pcVPS->getTemporalNestingFlag(), "vps_temporal_id_nesting_flag" );
Note: See TracChangeset for help on using the changeset viewer.