Changeset 623 in SHVCSoftware
- Timestamp:
- 7 Mar 2014, 03:23:54 (11 years ago)
- Location:
- branches/SHM-5.1-dev/source/Lib
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r621 r623 2738 2738 , m_scalingListRefLayerId ( 0 ) 2739 2739 #endif 2740 #if POC_RESET_IDC 2741 , m_pocResetInfoPresentFlag (false) 2742 #endif 2740 2743 { 2741 2744 m_scalingList = new TComScalingList; -
branches/SHM-5.1-dev/source/Lib/TLibCommon/TComSlice.h
r613 r623 1656 1656 UInt m_scalingListRefLayerId; 1657 1657 #endif 1658 #if POC_RESET_IDC 1659 Bool m_pocResetInfoPresentFlag; 1660 #endif 1658 1661 #endif 1659 1662 … … 1793 1796 Bool getSliceHeaderExtensionPresentFlag () { return m_sliceHeaderExtensionPresentFlag; } 1794 1797 Void setSliceHeaderExtensionPresentFlag (Bool val) { m_sliceHeaderExtensionPresentFlag = val; } 1798 #if POC_RESET_IDC 1799 Bool getPocResetInfoPresentFlag () { return m_pocResetInfoPresentFlag; } 1800 Void setPocResetInfoPresentFlag (const Bool val) { m_pocResetInfoPresentFlag = val; } 1801 #endif 1795 1802 }; 1796 1803 -
branches/SHM-5.1-dev/source/Lib/TLibCommon/TypeDef.h
r622 r623 87 87 #define VPS_NUH_LAYER_ID 1 ///< JCTVC-N0085: Assert that the nuh_layer_id of VPS NAL unit should be 0 88 88 #define POC_RESET_FLAG 1 ///< JCTVC-N0244: POC reset flag for layer pictures. 89 #define POC_RESET_IDC 1 ///< JCTVC-P0041: Include poc_reset_idc and related derivation - eventually will replace POC_RESET_FLAG 89 90 #define ALIGN_TSA_STSA_PICS 1 ///< JCTVC-N0084: Alignment of TSA and STSA pictures across AU. 90 91 #define REPN_FORMAT_IN_VPS 1 ///< JCTVC-N0092: Signal represenation format (spatial resolution, bit depth, colour format) in the VPS -
branches/SHM-5.1-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r622 r623 340 340 READ_FLAG( ppsExtensionTypeFlag[i], "pps_extension_type_flag" ); 341 341 } 342 #if !POC_RESET_IDC 342 343 if (ppsExtensionTypeFlag[1]) 343 344 { 345 #else 346 if( ppsExtensionTypeFlag[0] ) 347 { 348 READ_FLAG( uiCode, "poc_reset_info_present_flag" ); 349 pcPPS->setPocResetInfoPresentFlag(uiCode ? true : false); 350 #endif 344 351 } 345 352 if (ppsExtensionTypeFlag[7]) -
branches/SHM-5.1-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r622 r623 255 255 if( 1 ) //pps_extension_flag 256 256 { 257 #if !POC_RESET_IDC 257 258 UInt ppsExtensionTypeFlag[8] = { 0, 1, 0, 0, 0, 0, 0, 0 }; 259 #else 260 UInt ppsExtensionTypeFlag[8] = { 1, 0, 0, 0, 0, 0, 0, 0 }; 261 #endif 258 262 for (UInt i = 0; i < 8; i++) 259 263 { 260 264 WRITE_FLAG( ppsExtensionTypeFlag[i], "pps_extension_type_flag" ); 261 265 } 266 #if !POC_RESET_IDC 267 if( ppsExtensionTypeFlag[0] ) 268 { 269 #else 262 270 if( ppsExtensionTypeFlag[1] ) 263 271 { 272 WRITE_FLAG( pcPPS->getPocResetInfoPresentFlag() ? 1 : 0, "poc_reset_info_present_flag" ); 273 #endif 264 274 } 265 275 }
Note: See TracChangeset for help on using the changeset viewer.