Changeset 618 in SHVCSoftware
- Timestamp:
- 20 Feb 2014, 00:04:52 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r617 r618 1547 1547 READ_UVLC( uiCode, "vps_non_vui_extension_length"); vps->setVpsNonVuiExtLength((Int)uiCode); 1548 1548 #if P0307_VPS_NON_VUI_EXT_UPDATE 1549 if (uiCode > 0) 1550 { 1551 Int nonVuiExtBits = uiCode * 8; 1552 for (i = 0; i < nonVuiExtBits; i++) 1553 { 1554 READ_FLAG(uiCode, "vps_non_vui_extension_data_bit" ); //just parse and discard for now. 1555 } 1549 Int nonVuiExtByte = uiCode; 1550 for (i = 1; i <= nonVuiExtByte; i++) 1551 { 1552 READ_CODE( 8, uiCode, "vps_non_vui_extension_data_byte" ); //just parse and discard for now. 1556 1553 } 1557 1554 #else -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r617 r618 1157 1157 WRITE_UVLC( vps->getVpsNonVuiExtLength(), "vps_non_vui_extension_length" ); 1158 1158 #if P0307_VPS_NON_VUI_EXT_UPDATE 1159 if (vps->getVpsNonVuiExtLength() > 0) 1160 { 1161 Int nonVuiExtBits = vps->getVpsNonVuiExtLength() * 8; 1162 for (i = 0; i < nonVuiExtBits; i++) 1163 { 1164 WRITE_FLAG(1, "vps_non_vui_extension_data_bit"); //just parse and discard for now. 1165 } 1159 for (i = 1; i <= vps->getVpsNonVuiExtLength(); i++) 1160 { 1161 WRITE_CODE(1, 8, "vps_non_vui_extension_data_byte"); 1166 1162 } 1167 1163 #else
Note: See TracChangeset for help on using the changeset viewer.