From dd323ce3297bb74dae1cd044206b8733b4757efa Mon Sep 17 00:00:00 2001 From: jhurst Date: Thu, 9 Apr 2020 12:28:12 -0700 Subject: Added IAB in IMF ULs and Sets --- src/Metadata.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'src/Metadata.h') diff --git a/src/Metadata.h b/src/Metadata.h index c624784..78c3445 100755 --- a/src/Metadata.h +++ b/src/Metadata.h @@ -1297,6 +1297,50 @@ namespace ASDCP virtual Result_t WriteToBuffer(ASDCP::FrameBuffer&); }; + // + class IABEssenceDescriptor : public FileDescriptor + { + 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 -- cgit v1.2.3 From c13564dfa143310edd7c160a75898af86def24be Mon Sep 17 00:00:00 2001 From: jhurst Date: Mon, 13 Apr 2020 08:59:27 -0700 Subject: Fixed erroneous inheritance --- src/Metadata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Metadata.h') diff --git a/src/Metadata.h b/src/Metadata.h index 78c3445..ab11034 100755 --- a/src/Metadata.h +++ b/src/Metadata.h @@ -1298,7 +1298,7 @@ namespace ASDCP }; // - class IABEssenceDescriptor : public FileDescriptor + class IABEssenceDescriptor : public GenericSoundEssenceDescriptor { IABEssenceDescriptor(); -- cgit v1.2.3