diff options
| author | mikey <mikey@cinecert.com> | 2012-03-06 20:08:59 +0000 |
|---|---|---|
| committer | mikey <> | 2012-03-06 20:08:59 +0000 |
| commit | 9f267e9656c2a5f2986b7ab29aeeec48143c76e1 (patch) | |
| tree | 3985c66b9e151e03b7dd397369167a9e6694334e /src | |
| parent | fe9f995b429d66256725d8979d09ae93f8c53986 (diff) | |
version revv
Diffstat (limited to 'src')
| -rwxr-xr-x | src/MXF.cpp | 28 | ||||
| -rwxr-xr-x | src/MXF.h | 5 |
2 files changed, 33 insertions, 0 deletions
diff --git a/src/MXF.cpp b/src/MXF.cpp index 529344f..bc7bec2 100755 --- a/src/MXF.cpp +++ b/src/MXF.cpp @@ -902,6 +902,9 @@ ASDCP::MXF::OPAtomHeader::GetSourcePackage() return 0; } +// +ASDCP::MXF::RIP& +ASDCP::MXF::OPAtomHeader::GetRIP() { return m_RIP; } // ASDCP::Result_t @@ -1182,6 +1185,31 @@ ASDCP::MXF::OPAtomIndexFooter::Dump(FILE* stream) (*i)->Dump(stream); } +ASDCP::Result_t +ASDCP::MXF::OPAtomIndexFooter::GetMDObjectByID(const UUID& ObjectID, InterchangeObject** Object) +{ + return m_PacketList->GetMDObjectByID(ObjectID, Object); +} + +// +ASDCP::Result_t +ASDCP::MXF::OPAtomIndexFooter::GetMDObjectByType(const byte_t* ObjectID, InterchangeObject** Object) +{ + InterchangeObject* TmpObject; + + if ( Object == 0 ) + Object = &TmpObject; + + return m_PacketList->GetMDObjectByType(ObjectID, Object); +} + +// +ASDCP::Result_t +ASDCP::MXF::OPAtomIndexFooter::GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList) +{ + return m_PacketList->GetMDObjectsByType(ObjectID, ObjectList); +} + // ASDCP::Result_t ASDCP::MXF::OPAtomIndexFooter::Lookup(ui32_t frame_num, IndexTableSegment::IndexEntry& Entry) const @@ -359,6 +359,7 @@ namespace ASDCP virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0); virtual Result_t GetMDObjectByType(const byte_t*, InterchangeObject** = 0); virtual Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList); + virtual ASDCP::MXF::RIP& GetRIP(); Identification* GetIdentification(); SourcePackage* GetSourcePackage(); }; @@ -388,6 +389,10 @@ namespace ASDCP virtual Result_t WriteToFile(Kumu::FileWriter& Writer, ui64_t duration); virtual void Dump(FILE* = 0); + virtual Result_t GetMDObjectByID(const UUID&, InterchangeObject** = 0); + virtual Result_t GetMDObjectByType(const byte_t*, InterchangeObject** = 0); + virtual Result_t GetMDObjectsByType(const byte_t* ObjectID, std::list<InterchangeObject*>& ObjectList); + virtual Result_t Lookup(ui32_t frame_num, IndexTableSegment::IndexEntry&) const; virtual void PushIndexEntry(const IndexTableSegment::IndexEntry&); virtual void SetIndexParamsCBR(IPrimerLookup* lookup, ui32_t size, const Rational& Rate); |
