Changeset 384 in SHVCSoftware for branches/SHM-3.1-dev/source
- Timestamp:
- 6 Sep 2013, 01:20:37 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r383 r384 846 846 { 847 847 #if VPS_EXTNS 848 while ( m_pcBitstream->getNumBitsRead() % 8 != 0 ) 849 { 850 READ_FLAG( uiCode, "vps_extension_alignment_bit_equal_to_one"); assert(uiCode == 1); 851 } 848 852 parseVPSExtension(pcVPS); 849 853 READ_FLAG( uiCode, "vps_entension2_flag" ); -
branches/SHM-3.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r383 r384 683 683 #else 684 684 WRITE_FLAG( 1, "vps_extension_flag" ); 685 codeVPSExtension(pcVPS); 686 WRITE_FLAG( 0, "vps_extension2_flag" ); // Flag value of 1 reserved 685 if(1) // Should be conditioned on the value of vps_extension_flag 686 { 687 while ( m_pcBitIf->getNumberOfWrittenBits() % 8 != 0 ) 688 { 689 WRITE_FLAG(1, "vps_extension_alignment_bit_equal_to_one"); 690 } 691 codeVPSExtension(pcVPS); 692 WRITE_FLAG( 0, "vps_extension2_flag" ); // Flag value of 1 reserved 693 } 687 694 #endif 688 695 //future extensions here..
Note: See TracChangeset for help on using the changeset viewer.