Changeset 793 in SHVCSoftware
- Timestamp:
- 6 Jun 2014, 19:58:45 (11 years ago)
- Location:
- branches/SHM-6-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-6-dev/source/Lib/TLibCommon/TypeDef.h
r792 r793 133 133 #define VPS_EXTN_DIRECT_REF_LAYERS 1 ///< Include indication of direct dependency of layers in VPS extension 134 134 #define M0040_ADAPTIVE_RESOLUTION_CHANGE 1 135 #define VPS_VUI 1 ///< Include function structure for VPS VUI 136 137 #if VPS_VUI 135 138 136 #define VPS_VUI_TILES_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use 139 137 #define VPS_VUI_WPP_NOT_IN_USE__FLAG 1 ///< JCTVC-O0226: VPS VUI flag to indicate tile not in use … … 148 146 #endif 149 147 #define P0182_VPS_VUI_PS_FLAG 1 ///< JCTVC-P0182, add base_layer_parameter_set_compatibility_flag 150 #endif //VPS_VUI151 148 152 149 #define P0125_REVERT_VPS_EXTN_OFFSET_TO_RESERVED 1 ///< JCTVC-P0125 -- Keep it as a reserved FFFF value --- The following two macros (VPS_EXTN_OFFSET & VPS_EXTN_OFFSET_CALC) will have no effect when this macro is set to 1. -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r792 r793 1785 1785 #endif 1786 1786 { 1787 #if VPS_VUI1788 1787 while ( m_pcBitstream->getNumBitsRead() % 8 != 0 ) 1789 1788 { … … 1791 1790 } 1792 1791 parseVPSVUI(vps); 1793 #endif1794 1792 } 1795 1793 else … … 2095 2093 } 2096 2094 #endif 2097 #if VPS_VUI 2095 2098 2096 Void TDecCavlc::parseVPSVUI(TComVPS *vps) 2099 2097 { … … 2442 2440 #endif 2443 2441 } 2444 #endif2445 2442 #endif //SVC_EXTENSION 2446 2443 -
branches/SHM-6-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r792 r793 78 78 Void parseVPSExtension ( TComVPS* pcVPS ); 79 79 Void defaultVPSExtension ( TComVPS* pcVPS ); 80 81 #if VPS_VUI 82 Void parseVPSVUI ( TComVPS* pcVPS ); 83 Void defaultVPSVUI ( TComVPS* pcVPS ); 84 #endif 80 Void parseVPSVUI ( TComVPS* pcVPS ); 81 Void defaultVPSVUI ( TComVPS* pcVPS ); 85 82 #if REPN_FORMAT_IN_VPS 86 83 Void parseRepFormat ( RepFormat *repFormat, RepFormat *repFormatPrev ); -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r792 r793 846 846 #if !P0307_REMOVE_VPS_VUI_OFFSET 847 847 #if O0109_MOVE_VPS_VUI_FLAG 848 #if !VPS_VUI849 WRITE_FLAG( 0, "vps_vui_present_flag" );850 vps->setVpsVuiPresentFlag(false);851 #else852 848 WRITE_FLAG( 1, "vps_vui_present_flag" ); 853 849 vps->setVpsVuiPresentFlag(true); 854 #endif855 850 if ( vps->getVpsVuiPresentFlag() ) 856 851 { … … 1285 1280 1286 1281 #if !O0109_MOVE_VPS_VUI_FLAG 1287 #if !VPS_VUI1288 WRITE_FLAG( 0, "vps_vui_present_flag" );1289 #else1290 1282 WRITE_FLAG( 1, "vps_vui_present_flag" ); 1291 1283 if(1) // Should be conditioned on the value of vps_vui_present_flag … … 1302 1294 codeVPSVUI(vps); 1303 1295 } 1304 #endif1305 1296 #else 1306 1297 #if P0307_REMOVE_VPS_VUI_OFFSET … … 1449 1440 } 1450 1441 #endif 1451 #if VPS_VUI 1442 1452 1443 Void TEncCavlc::codeVPSVUI (TComVPS *vps) 1453 1444 { … … 1698 1689 #endif 1699 1690 } 1700 #endif1701 1691 #endif //SVC_EXTENSION 1702 1692 -
branches/SHM-6-dev/source/Lib/TLibEncoder/TEncCavlc.h
r792 r793 162 162 Void codeSPSExtension ( TComSPS* pcSPS ); 163 163 Void codeVPSExtension ( TComVPS* pcVPS ); 164 #if VPS_VUI 165 Void codeVPSVUI (TComVPS *vps); 166 #endif 164 Void codeVPSVUI ( TComVPS *vps ); 167 165 #if REPN_FORMAT_IN_VPS 168 166 Void codeRepFormat ( RepFormat *repFormat );
Note: See TracChangeset for help on using the changeset viewer.