Changeset 674 in SHVCSoftware for branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
- Timestamp:
- 14 Apr 2014, 18:56:22 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp ¶
r672 r674 777 777 } 778 778 } 779 #if !VPS_EXTNS 780 WRITE_FLAG( 0, "vps_extension_flag" ); 781 #else 782 pcVPS->setVpsExtensionFlag(true); 779 #if VPS_EXTNS 780 // When MaxLayersMinus1 is greater than 0, vps_extension_flag shall be equal to 1. 781 if( pcVPS->getMaxLayers() > 1 ) 782 { 783 assert( pcVPS->getVpsExtensionFlag() == true ); 784 } 785 783 786 WRITE_FLAG( pcVPS->getVpsExtensionFlag() ? 1 : 0, "vps_extension_flag" ); 784 787 … … 799 802 WRITE_FLAG( 0, "vps_extension2_flag" ); // Flag value of 1 reserved 800 803 } 804 #else 805 WRITE_FLAG( 0, "vps_extension_flag" ); 801 806 #endif 802 807 //future extensions here..
Note: See TracChangeset for help on using the changeset viewer.