o Added preliminary support for timed-text wrapping for AS-02. This
[asdcplib.git] / src / MDD.h
index 358b874869f1d24d4cc37ca9b002e1c153f22092..e622c6a2ae07f86e4a53844aa67ee33db1a669ad 100755 (executable)
--- a/src/MDD.h
+++ b/src/MDD.h
@@ -1,5 +1,5 @@
 /*
-Copyright (c) 2006-2012, John Hurst
+Copyright (c) 2006-2013, John Hurst
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
@@ -44,9 +44,9 @@ namespace ASDCP {
         MDD_SoundDataDef,  // 6
         MDD_TimecodeDataDef,  // 7
         MDD_DescriptiveMetaDataDef,  // 8
-        MDD_WAVWrapping,  // 9
-        MDD_MPEG2_VESWrapping,  // 10
-        MDD_JPEG_2000Wrapping,  // 11
+        MDD_WAVWrappingFrame,  // 9
+        MDD_MPEG2_VESWrappingFrame,  // 10
+        MDD_JPEG_2000WrappingFrame,  // 11
         MDD_JPEG2000Essence,  // 12
         MDD_MPEG2Essence,  // 13
         MDD_MXFInterop_CryptEssence,  // 14
@@ -209,7 +209,7 @@ namespace ASDCP {
         MDD_GenericPictureEssenceDescriptor_ActiveFormatDescriptor,  // 171
         MDD_GenericPictureEssenceDescriptor_VideoLineMap,  // 172
         MDD_GenericPictureEssenceDescriptor_AlphaTransparency,  // 173
-        MDD_GenericPictureEssenceDescriptor_Gamma,  // 174
+        MDD_GenericPictureEssenceDescriptor_TransferCharacteristic,  // 174
         MDD_GenericPictureEssenceDescriptor_ImageAlignmentOffset,  // 175
         MDD_GenericPictureEssenceDescriptor_ImageStartOffset,  // 176
         MDD_GenericPictureEssenceDescriptor_ImageEndOffset,  // 177
@@ -243,7 +243,7 @@ namespace ASDCP {
         MDD_GenericSoundEssenceDescriptor_ChannelCount,  // 205
         MDD_GenericSoundEssenceDescriptor_QuantizationBits,  // 206
         MDD_GenericSoundEssenceDescriptor_DialNorm,  // 207
-        MDD_GenericSoundEssenceDescriptor_SoundEssenceCompression,  // 208
+        MDD_GenericSoundEssenceDescriptor_SoundEssenceCoding,  // 208
         MDD_GenericDataEssenceDescriptor,  // 209
         MDD_GenericDataEssenceDescriptor_DataEssenceCoding,  // 210
         MDD_MultipleDescriptor,  // 211
@@ -290,47 +290,123 @@ namespace ASDCP {
         MDD_CryptographicContext_CipherAlgorithm,  // 252
         MDD_CryptographicContext_MICAlgorithm,  // 253
         MDD_CryptographicContext_CryptographicKeyID,  // 254
-       MDD_TimedTextWrapping, // 255
-       MDD_TimedTextEssence, // 256
-       MDD_TimedTextDescriptor, // 257
-       MDD_TimedTextDescriptor_ResourceID, // 258
-       MDD_TimedTextDescriptor_UCSEncoding, // 259
-       MDD_TimedTextDescriptor_NamespaceURI, // 260
-       MDD_TimedTextResourceSubDescriptor, // 261
-       MDD_TimedTextResourceSubDescriptor_AncillaryResourceID, // 262
-       MDD_TimedTextResourceSubDescriptor_MIMEMediaType, // 263
-       MDD_TimedTextResourceSubDescriptor_EssenceStreamID_DEPRECATED, // 264
-       MDD_GenericStreamPartition, // 265
-       MDD_DMSegment_DataDefinition_DEPRECATED, // 266
-       MDD_DMSegment_Duration_DEPRECATED, // 267
-       MDD_DMSegment_TrackIDList, // 268
-       MDD_StereoscopicPictureSubDescriptor, // 269
+        MDD_TimedTextWrappingClip, // 255
+        MDD_TimedTextEssence, // 256
+        MDD_TimedTextDescriptor, // 257
+        MDD_TimedTextDescriptor_ResourceID, // 258
+        MDD_TimedTextDescriptor_UCSEncoding, // 259
+        MDD_TimedTextDescriptor_NamespaceURI, // 260
+        MDD_TimedTextResourceSubDescriptor, // 261
+        MDD_TimedTextResourceSubDescriptor_AncillaryResourceID, // 262
+        MDD_TimedTextResourceSubDescriptor_MIMEMediaType, // 263
+        MDD_TimedTextResourceSubDescriptor_EssenceStreamID_DEPRECATED, // 264
+        MDD_GenericStreamPartition, // 265
+        MDD_DMSegment_DataDefinition_DEPRECATED, // 266
+        MDD_DMSegment_Duration_DEPRECATED, // 267
+        MDD_DMSegment_TrackIDList, // 268
+        MDD_StereoscopicPictureSubDescriptor, // 269
         MDD_WaveAudioDescriptor_ChannelAssignment,  // 270
-       MDD_GenericStream_DataElement, // 271
+        MDD_GenericStream_DataElement, // 271
         MDD_MXFInterop_GenericDescriptor_SubDescriptors,  // 272
-       MDD_Core_BodySID, // 273
-       MDD_Core_IndexSID, // 274
-       MDD_Core_OperationalPattern, // 275
-       MDD_Core_EssenceContainers, // 276
-       MDD_DCAudioChannelCfg_1_5p1, // 277
-       MDD_DCAudioChannelCfg_2_6p1, // 278
-       MDD_DCAudioChannelCfg_3_7p1, // 279
-       MDD_DCAudioChannelCfg_4_WTF, // 280
-       MDD_DCAudioChannelCfg_5_7p1_DS, // 281
-       MDD_MCALabelSubDescriptor, // 282
-       MDD_AudioChannelLabelSubDescriptor, // 283
-       MDD_SoundfieldGroupLabelSubDescriptor, // 284
-       MDD_GroupOfSoundfieldGroupsLabelSubDescriptor, // 285
-       MDD_MCALabelSubDescriptor_MCALabelDictionaryID, // 286
-       MDD_MCALabelSubDescriptor_MCALinkID, // 287
-       MDD_MCALabelSubDescriptor_MCATagSymbol, // 288
-       MDD_MCALabelSubDescriptor_MCATagName, // 289
-       MDD_MCALabelSubDescriptor_MCAChannelID, // 290
-       MDD_MCALabelSubDescriptor_RFC5646SpokenLanguage, // 291
-       MDD_AudioChannelLabelSubDescriptor_SoundfieldGroupLinkID, // 292
-       MDD_SoundfieldGroupLabelSubDescriptor_GroupOfSoundfieldGroupsLinkID, // 293
-       MDD_Max
-
+        MDD_Core_BodySID, // 273
+        MDD_Core_IndexSID, // 274
+        MDD_Core_OperationalPattern, // 275
+        MDD_Core_EssenceContainers, // 276
+        MDD_DCAudioChannelCfg_1_5p1, // 277
+        MDD_DCAudioChannelCfg_2_6p1, // 278
+        MDD_DCAudioChannelCfg_3_7p1, // 279
+        MDD_DCAudioChannelCfg_4_WTF, // 280
+        MDD_DCAudioChannelCfg_5_7p1_DS, // 281
+        MDD_MCALabelSubDescriptor, // 282
+        MDD_AudioChannelLabelSubDescriptor, // 283
+        MDD_SoundfieldGroupLabelSubDescriptor, // 284
+        MDD_GroupOfSoundfieldGroupsLabelSubDescriptor, // 285
+        MDD_MCALabelSubDescriptor_MCALabelDictionaryID, // 286
+        MDD_MCALabelSubDescriptor_MCALinkID, // 287
+        MDD_MCALabelSubDescriptor_MCATagSymbol, // 288
+        MDD_MCALabelSubDescriptor_MCATagName, // 289
+        MDD_MCALabelSubDescriptor_MCAChannelID, // 290
+        MDD_MCALabelSubDescriptor_RFC5646SpokenLanguage, // 291
+        MDD_AudioChannelLabelSubDescriptor_SoundfieldGroupLinkID, // 292
+        MDD_SoundfieldGroupLabelSubDescriptor_GroupOfSoundfieldGroupsLinkID, // 293
+        MDD_DCDataWrappingFrame, // 294
+        MDD_DCDataEssence, // 295
+        MDD_DCDataDescriptor, // 296
+        MDD_DolbyAtmosSubDescriptor, // 297
+        MDD_DolbyAtmosSubDescriptor_AtmosVersion, // 298
+        MDD_DolbyAtmosSubDescriptor_MaxChannelCount, // 299
+        MDD_DolbyAtmosSubDescriptor_MaxObjectCount, // 300
+        MDD_DolbyAtmosSubDescriptor_AtmosID, // 301
+        MDD_DolbyAtmosSubDescriptor_FirstFrame, // 302
+        MDD_DataDataDef, // 303
+       MDD_DCAudioChannelCfg_MCA, // 304
+       MDD_DCAudioChannel_L, // 305
+       MDD_DCAudioChannel_R, // 306
+       MDD_DCAudioChannel_C, // 307
+       MDD_DCAudioChannel_LFE, // 308
+       MDD_DCAudioChannel_Ls, // 309
+       MDD_DCAudioChannel_Rs, // 310
+       MDD_DCAudioChannel_Lss, // 311
+       MDD_DCAudioChannel_Rss, // 312
+       MDD_DCAudioChannel_Lrs, // 313
+       MDD_DCAudioChannel_Rrs, // 314
+       MDD_DCAudioChannel_Lc, // 315
+       MDD_DCAudioChannel_Rc, // 316
+       MDD_DCAudioChannel_Cs, // 317
+       MDD_DCAudioChannel_HI, // 318
+       MDD_DCAudioChannel_VIN, // 319
+       MDD_DCAudioSoundfield_51, // 320
+       MDD_DCAudioSoundfield_71, // 321
+       MDD_DCAudioSoundfield_SDS, // 322
+       MDD_DCAudioSoundfield_61, // 323
+       MDD_DCAudioSoundfield_M, // 324
+       MDD_WAVEssenceClip, // 325
+       MDD_IMFAudioChannelCfg_MCA, // 326
+       MDD_IMFAudioChannel_M1, // 327
+       MDD_IMFAudioChannel_M2, // 328
+       MDD_IMFAudioChannel_Lt, // 329
+       MDD_IMFAudioChannel_Rt, // 330
+       MDD_IMFAudioChannel_Lst, // 331
+       MDD_IMFAudioChannel_Rst, // 332
+       MDD_IMFAudioChannel_S, // 333
+       MDD_IMFNumberedSourceChannel, // 334
+       MDD_IMFAudioSoundfield_ST, // 335
+       MDD_IMFAudioSoundfield_DM, // 336
+       MDD_IMFAudioSoundfield_DNS, // 337
+       MDD_IMFAudioSoundfield_30, // 338
+       MDD_IMFAudioSoundfield_40, // 339
+       MDD_IMFAudioSoundfield_50, // 340
+       MDD_IMFAudioSoundfield_60, // 341
+       MDD_IMFAudioSoundfield_70, // 342
+       MDD_IMFAudioSoundfield_LtRt, // 343
+       MDD_IMFAudioSoundfield_51Ex, // 344
+       MDD_IMFAudioSoundfield_HI, // 345
+       MDD_IMFAudioSoundfield_VIN, // 346
+       MDD_IMFAudioGroup_MPg, // 347
+       MDD_IMFAudioGroup_DVS, // 348
+       MDD_IMFAudioGroup_Dcm, // 349
+       MDD_MaterialPackage_PackageMarker, // 350
+       MDD_GenericPictureEssenceDescriptor_CodingEquations, // 351
+       MDD_GenericPictureEssenceDescriptor_ColorPrimaries, // 352
+       MDD_JP2KEssenceCompression_BroadcastProfile_1, // 353
+       MDD_JP2KEssenceCompression_BroadcastProfile_2, // 354
+       MDD_JP2KEssenceCompression_BroadcastProfile_3, // 355
+       MDD_JP2KEssenceCompression_BroadcastProfile_4, // 356
+       MDD_JP2KEssenceCompression_BroadcastProfile_5, // 357
+       MDD_JP2KEssenceCompression_BroadcastProfile_6, // 358
+       MDD_JP2KEssenceCompression_BroadcastProfile_7, // 359
+       MDD_WaveAudioDescriptor_ReferenceImageEditRate, // 360
+       MDD_WaveAudioDescriptor_ReferenceAudioAlignmentLevel, // 361
+       MDD_GenericPictureEssenceDescriptor_AlternativeCenterCuts, // 362
+       MDD_GenericPictureEssenceDescriptor_ActiveHeight, // 363
+       MDD_GenericPictureEssenceDescriptor_ActiveWidth, // 364
+       MDD_GenericPictureEssenceDescriptor_ActiveXOffset, // 365
+       MDD_GenericPictureEssenceDescriptor_ActiveYOffset, // 366
+       MDD_TimedTextDescriptor_RFC5646LanguageTagList, // 367
+       MDD_AlternativeCenterCuts_4x3, // 368
+       MDD_AlternativeCenterCuts_14x9, // 369
+       MDD_WAVWrappingClip, // 370
+        MDD_Max
     }; // enum MDD_t
 
     //
@@ -342,7 +418,7 @@ namespace ASDCP {
     const MDD_t MDD_Preface_EssenceContainers = MDD_Core_EssenceContainers;
     const MDD_t MDD_Preface_OperationalPattern = MDD_Core_OperationalPattern;
     const MDD_t MDD_TimedTextResourceSubDescriptor_EssenceStreamID = MDD_Core_BodySID;
-    
+
 } // namespaceASDCP