summaryrefslogtreecommitdiff
path: root/src/Metadata.h
diff options
context:
space:
mode:
authorJohn Hurst <jhurst@cinecert.com>2020-07-07 10:48:29 -0700
committerGitHub <noreply@github.com>2020-07-07 10:48:29 -0700
commit3562c679bc8fd59ac91541bba2144a778bfdbf02 (patch)
treee7a53012d45461876839fdc480aee939ab6d8cb1 /src/Metadata.h
parentdc74dc00c2f225344f14c39969bd6b66664b4fd4 (diff)
parentf421cbb767e0437458332200e3f8537064feaaa8 (diff)
Merge pull request #45 from cinecert/iab-labels
Add support for IAB Track Files (SMPTE ST 2067-201)
Diffstat (limited to 'src/Metadata.h')
-rwxr-xr-xsrc/Metadata.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/src/Metadata.h b/src/Metadata.h
index c624784..ab11034 100755
--- a/src/Metadata.h
+++ b/src/Metadata.h
@@ -1297,6 +1297,50 @@ namespace ASDCP
virtual Result_t WriteToBuffer(ASDCP::FrameBuffer&);
};
+ //
+ class IABEssenceDescriptor : public GenericSoundEssenceDescriptor
+ {
+ IABEssenceDescriptor();
+
+ public:
+ const Dictionary*& m_Dict;
+
+ IABEssenceDescriptor(const Dictionary*& d);
+ IABEssenceDescriptor(const IABEssenceDescriptor& rhs);
+ virtual ~IABEssenceDescriptor() {}
+
+ const IABEssenceDescriptor& operator=(const IABEssenceDescriptor& rhs) { Copy(rhs); return *this; }
+ virtual void Copy(const IABEssenceDescriptor& rhs);
+ virtual const char* HasName() { return "IABEssenceDescriptor"; }
+ virtual Result_t InitFromTLVSet(TLVReader& TLVSet);
+ virtual Result_t WriteToTLVSet(TLVWriter& TLVSet);
+ virtual void Dump(FILE* = 0);
+ virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l);
+ virtual Result_t WriteToBuffer(ASDCP::FrameBuffer&);
+ };
+
+ //
+ class IABSoundfieldLabelSubDescriptor : public MCALabelSubDescriptor
+ {
+ IABSoundfieldLabelSubDescriptor();
+
+ public:
+ const Dictionary*& m_Dict;
+
+ IABSoundfieldLabelSubDescriptor(const Dictionary*& d);
+ IABSoundfieldLabelSubDescriptor(const IABSoundfieldLabelSubDescriptor& rhs);
+ virtual ~IABSoundfieldLabelSubDescriptor() {}
+
+ const IABSoundfieldLabelSubDescriptor& operator=(const IABSoundfieldLabelSubDescriptor& rhs) { Copy(rhs); return *this; }
+ virtual void Copy(const IABSoundfieldLabelSubDescriptor& rhs);
+ virtual const char* HasName() { return "IABSoundfieldLabelSubDescriptor"; }
+ virtual Result_t InitFromTLVSet(TLVReader& TLVSet);
+ virtual Result_t WriteToTLVSet(TLVWriter& TLVSet);
+ virtual void Dump(FILE* = 0);
+ virtual Result_t InitFromBuffer(const byte_t* p, ui32_t l);
+ virtual Result_t WriteToBuffer(ASDCP::FrameBuffer&);
+ };
+
} // namespace MXF
} // namespace ASDCP