Changeset 302 in SHVCSoftware for branches/SHM-2.1-dev/source/Lib/TLibCommon/SEI.h
- Timestamp:
- 28 Jun 2013, 00:40:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.1-dev/source/Lib/TLibCommon/SEI.h
r292 r302 127 127 128 128 SEIActiveParameterSets() 129 #if !L0047_APS_FLAGS130 :numSpsIdsMinus1(0)131 #else132 129 : activeVPSId (0) 133 130 , m_fullRandomAccessFlag (false) 134 131 , m_noParamSetUpdateFlag (false) 135 132 , numSpsIdsMinus1 (0) 136 #endif137 133 {} 138 134 virtual ~SEIActiveParameterSets() {} 139 135 140 136 Int activeVPSId; 141 #if L0047_APS_FLAGS142 137 Bool m_fullRandomAccessFlag; 143 138 Bool m_noParamSetUpdateFlag; 144 #endif145 139 Int numSpsIdsMinus1; 146 140 std::vector<Int> activeSeqParamSetId; … … 153 147 154 148 SEIBufferingPeriod() 155 #if L0044_CPB_DPB_DELAY_OFFSET156 149 : m_bpSeqParameterSetId (0) 157 150 , m_rapCpbParamsPresentFlag (false) … … 164 157 ::memset(m_initialAltCpbRemovalDelayOffset, 0, sizeof(m_initialAltCpbRemovalDelayOffset)); 165 158 } 166 #else167 {}168 #endif169 159 virtual ~SEIBufferingPeriod() {} 170 160 171 161 UInt m_bpSeqParameterSetId; 172 162 Bool m_rapCpbParamsPresentFlag; 173 #if L0044_CPB_DPB_DELAY_OFFSET174 163 Bool m_cpbDelayOffset; 175 164 Bool m_dpbDelayOffset; 176 #endif177 165 UInt m_initialCpbRemovalDelay [MAX_CPB_CNT][2]; 178 166 UInt m_initialCpbRemovalDelayOffset [MAX_CPB_CNT][2]; 179 167 UInt m_initialAltCpbRemovalDelay [MAX_CPB_CNT][2]; 180 168 UInt m_initialAltCpbRemovalDelayOffset[MAX_CPB_CNT][2]; 181 #if L0328_SPLICING182 169 Bool m_concatenationFlag; 183 170 UInt m_auCpbRemovalDelayDelta; 184 #endif185 171 }; 186 172 class SEIPictureTiming : public SEI … … 191 177 SEIPictureTiming() 192 178 : m_picStruct (0) 193 #if L0046_RENAME_PROG_SRC_IDC194 179 , m_sourceScanType (0) 195 #else196 , m_progressiveSourceIdc (0)197 #endif198 180 , m_duplicateFlag (false) 199 #if L0044_DU_DPB_OUTPUT_DELAY_HRD200 181 , m_picDpbOutputDuDelay (0) 201 #endif202 182 , m_numNalusInDuMinus1 (NULL) 203 183 , m_duCpbRemovalDelayMinus1 (NULL) … … 216 196 217 197 UInt m_picStruct; 218 #if L0046_RENAME_PROG_SRC_IDC219 198 UInt m_sourceScanType; 220 #else221 UInt m_progressiveSourceIdc;222 #endif223 199 Bool m_duplicateFlag; 224 200 225 201 UInt m_auCpbRemovalDelay; 226 202 UInt m_picDpbOutputDelay; 227 #if L0044_DU_DPB_OUTPUT_DELAY_HRD228 203 UInt m_picDpbOutputDuDelay; 229 #endif230 204 UInt m_numDecodingUnitsMinus1; 231 205 Bool m_duCommonCpbRemovalDelayFlag; … … 243 217 : m_decodingUnitIdx(0) 244 218 , m_duSptCpbRemovalDelay(0) 245 #if L0044_DU_DPB_OUTPUT_DELAY_HRD246 219 , m_dpbOutputDuDelayPresentFlag(false) 247 220 , m_picSptDpbOutputDuDelay(0) 248 #endif249 221 {} 250 222 virtual ~SEIDecodingUnitInfo() {} 251 223 Int m_decodingUnitIdx; 252 224 Int m_duSptCpbRemovalDelay; 253 #if L0044_DU_DPB_OUTPUT_DELAY_HRD254 225 Bool m_dpbOutputDuDelayPresentFlag; 255 226 Int m_picSptDpbOutputDuDelay; 256 #endif257 227 }; 258 228 … … 293 263 Int m_frame1GridPositionY; 294 264 Int m_arrangementReservedByte; 295 #if L0045_PERSISTENCE_FLAGS296 265 Bool m_arrangementPersistenceFlag; 297 #else298 Int m_arrangementRepetetionPeriod;299 #endif300 266 Bool m_upsampledAspectRatio; 301 267 }; … … 308 274 SEIDisplayOrientation() 309 275 : cancelFlag(true) 310 #if L0045_PERSISTENCE_FLAGS311 276 , persistenceFlag(0) 312 #else313 , repetitionPeriod(1)314 #endif315 277 , extensionFlag(false) 316 278 {} … … 322 284 323 285 UInt anticlockwiseRotation; 324 #if L0045_PERSISTENCE_FLAGS325 286 Bool persistenceFlag; 326 #else327 UInt repetitionPeriod;328 #endif329 287 Bool extensionFlag; 330 288 }; … … 373 331 #endif 374 332 375 #if L0208_SOP_DESCRIPTION_SEI376 333 class SEISOPDescription : public SEI 377 334 { … … 390 347 Int m_sopDescPocDelta[MAX_NUM_PICS_IN_SOP]; 391 348 }; 392 #endif 393 394 #if J0149_TONE_MAPPING_SEI 349 395 350 class SEIToneMappingInfo : public SEI 396 351 { … … 425 380 Int m_extendedWhiteLevelLumaCodeValue; 426 381 }; 427 #endif428 382 429 383 typedef std::list<SEI*> SEIMessages; … … 438 392 Void deleteSEIs (SEIMessages &seiList); 439 393 440 #if K0180_SCALABLE_NESTING_SEI441 394 class SEIScalableNesting : public SEI 442 395 { … … 468 421 SEIMessages m_nestedSEIs; 469 422 }; 470 #endif471 423 472 424 //! \}
Note: See TracChangeset for help on using the changeset viewer.