X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FMDD.cpp;h=73f22c790ff8253a39761f39b63c80fce13a6721;hb=44bc524e3cf74f0903b7fbb51ca2f366f48d3495;hp=2c8353b47a1b3c73e9f538ce1b169757ddc2164f;hpb=70bbc088b0b8f079c41b07141bec35447be469c5;p=asdcplib.git diff --git a/src/MDD.cpp b/src/MDD.cpp index 2c8353b..73f22c7 100644 --- a/src/MDD.cpp +++ b/src/MDD.cpp @@ -32,6 +32,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. // MDD.cpp // +#include "KLV.h" + static const ASDCP::MDDEntry s_MDD_Table[] = { { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // 0 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, @@ -798,39 +800,39 @@ static const ASDCP::MDDEntry s_MDD_Table[] = { { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x09, // 254 0x02, 0x09, 0x03, 0x01, 0x02, 0x00, 0x00, 0x00 }, {0}, false, "CryptographicContext_CryptographicKeyID" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 255 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x00 }, - {0}, false, "DCTimedTextWrapping" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 256 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x01 }, - {0}, false, "DCTimedTextEssence" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 257 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x02 }, - {0}, false, "DCTimedTextDescriptor" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 258 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x03 }, - {0}, false, "DCTimedTextDescriptor_AssetID" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 259 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x04 }, - {0}, false, "DCTimedTextDescriptor_UTFEncoding" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 260 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x05 }, - {0}, false, "DCTimedTextDescriptor_RootNamespaceName" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 261 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x06 }, - {0}, false, "DCTimedTextResourceDescriptor" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 262 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x07 }, - {0}, false, "DCTimedTextResourceDescriptor_ResourceID" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 263 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x08 }, - {0}, false, "DCTimedTextResourceDescriptor_ResourceMIMEType" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x00, 0x01, 0x01, 0x01, // 264 - 0x0d, 0x01, 0x03, 0x01, 0xfa, 0xce, 0x00, 0x09 }, - {0}, false, "DCTimedTextResourceDescriptor_ResourceSID" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x04, 0x01, 0x01, 0x09, // 255 + 0x0d, 0x01, 0x03, 0x01, 0x02, 0x13, 0x01, 0x01 }, + {0}, false, "TimedTextWrapping" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x02, 0x01, 0x09, // 256 + 0x0d, 0x01, 0x03, 0x01, 0x17, 0x01, 0x0b, 0x01 }, + {0}, false, "TimedTextEssence" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x02, 0x7f, 0x01, 0x01, // 257 + 0x0d, 0x01, 0x01, 0x01, 0x01, 0x01, 0x64, 0x00 }, + {0}, false, "TimedTextDescriptor" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x0c, // 258 + 0x01, 0x01, 0x15, 0x12, 0x00, 0x00, 0x00, 0x00 }, + {0}, false, "TimedTextDescriptor_ResourceID" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x0c, // 259 + 0x04, 0x09, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00 }, + {0}, false, "TimedTextDescriptor_UCSEncoding" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x08, // 260 + 0x01, 0x02, 0x01, 0x05, 0x01, 0x00, 0x00, 0x00 }, + {0}, false, "TimedTextDescriptor_NamespaceURI" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x02, 0x7f, 0x01, 0x01, // 261 + 0x0d, 0x01, 0x01, 0x01, 0x01, 0x01, 0x65, 0x00 }, + {0}, false, "TimedTextResourceSubDescriptor" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x0c, // 262 + 0x01, 0x01, 0x15, 0x13, 0x00, 0x00, 0x00, 0x00 }, + {0}, false, "TimedTextResourceSubDescriptor_AncillaryResourceID" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x07, // 263 + 0x04, 0x09, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00 }, + {0}, false, "TimedTextResourceSubDescriptor_MIMEMediaType" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x04, // 264 + 0x01, 0x03, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00 }, + {0}, false, "TimedTextResourceSubDescriptor_EssenceStreamID" }, { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x04, // 265 0x06, 0x10, 0x10, 0x05, 0x01, 0x02, 0x11, 0x00 }, - {0}, false, "GenericStreamPartition" }, + {0}, false, "GenericStreamPartition" }, { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x02, // 266 0x04, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00 }, {0x02, 0x01}, false, "DMSegment_DataDefinition" }, @@ -840,9 +842,10 @@ static const ASDCP::MDDEntry s_MDD_Table[] = { { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x02, // 268 0x01, 0x07, 0x01, 0x05, 0x00, 0x00, 0x00, 0x00 }, {0x61, 0x02}, false, "DMSegment_TrackIDList" }, - { { 0x06, 0x0e, 0x2b, 0x34, 0x01, 0x01, 0x01, 0x02, // 269 - 0x0f, 0x0f, 0x0f, 0x0f, 0x00, 0x00, 0x00, 0x00 }, - {0x61, 0x02}, false, "StereoscopicPictureSubDescriptor" }, + { { 0x06, 0x0e, 0x2b, 0x34, 0x02, 0x53, 0x01, 0x0c, // 269 + 0x0d, 0x01, 0x01, 0x01, 0x01, 0x01, 0x63, 0x00 }, + {0}, false, "StereoscopicPictureSubDescriptor" }, + { {0}, {0}, false, 0 } };