Changeset 1126 in SHVCSoftware
- Timestamp:
- 7 Jul 2015, 02:30:56 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1124 r1126 1167 1167 ("MaxTidRefPresentFlag", m_maxTidRefPresentFlag, false, "max_tid_ref_present_flag (0: not present, 1: present) " ) 1168 1168 ("MaxTidIlRefPicsPlus1%d", cfg_maxTidIlRefPicsPlus1, 7, MAX_LAYERS, "allowed maximum temporal_id for inter-layer prediction") 1169 #if O0223_PICTURE_TYPES_ALIGN_FLAG1170 1169 ("CrossLayerPictureTypeAlignFlag", m_crossLayerPictureTypeAlignFlag, true, "align picture type across layers" ) 1171 #endif1172 1170 ("CrossLayerIrapAlignFlag", m_crossLayerIrapAlignFlag, true, "align IRAP across layers" ) 1173 1171 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG … … 4509 4507 printf("Skip picture at ARC switch : %d\n", m_skipPictureAtArcSwitch ); 4510 4508 #endif 4511 #if O0223_PICTURE_TYPES_ALIGN_FLAG4512 4509 printf("Align picture type : %d\n", m_crossLayerPictureTypeAlignFlag ); 4513 #endif4514 4510 printf("Cross layer IRAP alignment : %d\n", m_crossLayerIrapAlignFlag ); 4515 4511 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1124 r1126 490 490 UInt m_ilcIdc[1024]; 491 491 #endif 492 #if O0223_PICTURE_TYPES_ALIGN_FLAG493 492 Bool m_crossLayerPictureTypeAlignFlag; 494 #endif495 493 Bool m_crossLayerIrapAlignFlag; 496 494 #if Q0096_OVERLAY_SEI -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1124 r1126 1754 1754 } 1755 1755 #endif 1756 #if O0223_PICTURE_TYPES_ALIGN_FLAG1757 1756 vps->setCrossLayerPictureTypeAlignFlag( m_crossLayerPictureTypeAlignFlag ); 1758 #endif1759 1757 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 1760 1758 vps->setCrossLayerAlignedIdrOnlyFlag( m_crossLayerAlignedIdrOnlyFlag ); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1122 r1126 2050 2050 ::memset(m_pocLsbNotPresentFlag, 0, sizeof(m_pocLsbNotPresentFlag)); 2051 2051 #endif 2052 #if O0223_PICTURE_TYPES_ALIGN_FLAG2053 2052 m_crossLayerPictureTypeAlignFlag = true; 2054 #endif2055 2053 m_crossLayerIrapAlignFlag = true; 2056 2054 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1124 r1126 697 697 Bool m_pocLsbNotPresentFlag[MAX_VPS_LAYER_IDX_PLUS1]; 698 698 #endif 699 #if O0223_PICTURE_TYPES_ALIGN_FLAG700 699 Bool m_crossLayerPictureTypeAlignFlag; 701 #endif702 700 Bool m_crossLayerIrapAlignFlag; 703 701 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG … … 849 847 #endif 850 848 #endif //SVC_EXTENSION 849 851 850 public: 852 851 TComVPS(); … … 1117 1116 Void setVpsPocLsbAlignedFlag(Bool x) { m_vpsPocLsbAlignedFlag = x; } 1118 1117 #endif 1119 #if O0223_PICTURE_TYPES_ALIGN_FLAG1120 1118 Bool getCrossLayerPictureTypeAlignFlag() { return m_crossLayerPictureTypeAlignFlag; } 1121 1119 Void setCrossLayerPictureTypeAlignFlag(Bool x) { m_crossLayerPictureTypeAlignFlag = x; } 1122 #endif1123 1120 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 1124 1121 Bool getCrossLayerAlignedIdrOnlyFlag() { return m_crossLayerAlignedIdrOnlyFlag; } -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1125 r1126 169 169 #define Q0060_MAX_TID_REF_EQUAL_TO_ZERO 1 ///< JCTVC-Q0060 handling the case max_tid_il_ref_pics_plus1 is equal to 0. 170 170 171 #define O0223_PICTURE_TYPES_ALIGN_FLAG 1 ///< a flag to indicatate whether picture types are aligned across layers.172 173 171 #define P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 1 ///< a flag to indicatate whether picture types for IRAP are IDR across layers. 174 172 -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1125 r1126 3660 3660 UInt i,j; 3661 3661 UInt uiCode; 3662 #if O0223_PICTURE_TYPES_ALIGN_FLAG3663 3662 READ_FLAG(uiCode, "cross_layer_pic_type_aligned_flag" ); 3664 3663 vps->setCrossLayerPictureTypeAlignFlag(uiCode); 3665 3664 if (!uiCode) 3666 3665 { 3667 #endif3668 3666 READ_FLAG(uiCode, "cross_layer_irap_aligned_flag" ); 3669 3667 vps->setCrossLayerIrapAlignFlag(uiCode); 3670 #if O0223_PICTURE_TYPES_ALIGN_FLAG3671 3668 } 3672 3669 else … … 3674 3671 vps->setCrossLayerIrapAlignFlag(true); 3675 3672 } 3676 #endif 3673 3677 3674 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 3678 3675 if( uiCode ) -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1125 r1126 2511 2511 { 2512 2512 Int i,j; 2513 #if O0223_PICTURE_TYPES_ALIGN_FLAG2514 2513 WRITE_FLAG(vps->getCrossLayerPictureTypeAlignFlag(), "cross_layer_pic_type_aligned_flag"); 2515 2514 if (!vps->getCrossLayerPictureTypeAlignFlag()) 2516 2515 { 2517 #endif2518 2516 WRITE_FLAG(vps->getCrossLayerIrapAlignFlag(), "cross_layer_irap_aligned_flag"); 2519 #if O0223_PICTURE_TYPES_ALIGN_FLAG2520 2517 } 2521 2518 else … … 2523 2520 vps->setCrossLayerIrapAlignFlag(vps->getVpsVuiPresentFlag()); // When not present, the value of cross_layer_irap_aligned_flag is inferred to be equal to vps_vui_present_flag 2524 2521 } 2525 #endif 2522 2526 2523 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 2527 2524 if(vps->getCrossLayerIrapAlignFlag())
Note: See TracChangeset for help on using the changeset viewer.