Changeset 1317 in 3DVCSoftware for branches/HTM-15.0-dev0/source/Lib/TLibCommon/NAL.h
- Timestamp:
- 4 Sep 2015, 21:28:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.0-dev0/source/Lib/TLibCommon/NAL.h
r1313 r1317 98 98 || m_nalUnitType == NAL_UNIT_CODED_SLICE_RASL_R; 99 99 } 100 #if NH_MV 101 Bool isIrap() 102 { 103 return m_nalUnitType == NAL_UNIT_CODED_SLICE_BLA_W_LP 104 || m_nalUnitType == NAL_UNIT_CODED_SLICE_BLA_W_RADL 105 || m_nalUnitType == NAL_UNIT_CODED_SLICE_BLA_N_LP 106 || m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL 107 || m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_N_LP 108 || m_nalUnitType == NAL_UNIT_CODED_SLICE_CRA; 109 } 110 111 Bool isIdr() 112 { 113 return m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_W_RADL 114 || m_nalUnitType == NAL_UNIT_CODED_SLICE_IDR_N_LP; 115 } 116 117 Bool isBla() 118 { 119 return m_nalUnitType == NAL_UNIT_CODED_SLICE_BLA_W_LP 120 || m_nalUnitType == NAL_UNIT_CODED_SLICE_BLA_W_RADL 121 || m_nalUnitType == NAL_UNIT_CODED_SLICE_BLA_N_LP; 122 } 123 124 Bool isCra() 125 { 126 return m_nalUnitType == NAL_UNIT_CODED_SLICE_CRA; 127 } 128 129 130 #endif 100 131 Bool isSei() 101 132 { … … 108 139 return ( (UInt)m_nalUnitType < 32 ); 109 140 } 141 #if NH_MV 142 Void print( ) 143 { 144 std::cout << "Type: " << NALU_TYPE_STR[m_nalUnitType] << " LayerId: " << m_nuhLayerId << " TemporalId: " << m_temporalId; 145 } 146 #endif 110 147 }; 111 148
Note: See TracChangeset for help on using the changeset viewer.