Changeset 617 in SHVCSoftware
- Timestamp:
- 19 Feb 2014, 20:08:44 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibCommon/TypeDef.h
r616 r617 53 53 #define P0307_REMOVE_VPS_VUI_OFFSET 1 ///< JCTVC-P0307, remove implementation related to VPS VUI offset signalling 54 54 #define P0307_VPS_NON_VUI_EXTENSION 1 ///< JCTVC-P0307, implementation related to NON VUI VPS Extension signalling 55 #define P0307_VPS_NON_VUI_EXT_UPDATE 1 ///< JCTVC-P0307, implementation related to NON VUI VPS Extension signalling 55 56 56 57 #define DISCARDABLE_PIC_RPS 1 ///< JCTVC-P0130: Inter-layer RPS and temporal RPS should not contain picture with discardable_flag equal to 1 -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r615 r617 1546 1546 #if P0307_VPS_NON_VUI_EXTENSION 1547 1547 READ_UVLC( uiCode, "vps_non_vui_extension_length"); vps->setVpsNonVuiExtLength((Int)uiCode); 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 } 1556 } 1557 #else 1548 1558 if ( vps->getVpsNonVuiExtLength() > 0 ) 1549 1559 { 1550 1560 printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n"); 1551 1561 } 1562 #endif 1552 1563 #endif 1553 1564 -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r615 r617 1156 1156 #if P0307_VPS_NON_VUI_EXTENSION 1157 1157 WRITE_UVLC( vps->getVpsNonVuiExtLength(), "vps_non_vui_extension_length" ); 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 } 1166 } 1167 #else 1158 1168 if ( vps->getVpsNonVuiExtLength() > 0 ) 1159 1169 { 1160 1170 printf("\n\nUp to the current spec, the value of vps_non_vui_extension_length is supposed to be 0\n"); 1161 1171 } 1172 #endif 1162 1173 #endif 1163 1174
Note: See TracChangeset for help on using the changeset viewer.