diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-16 21:50:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-21 20:29:50 +0100 |
| commit | 4898f9d60bc621cb464faa00fb50146495d76928 (patch) | |
| tree | 8d756384f4bd9cc866aa278eac8dd594082304d7 /src/AS_DCP_internal.h | |
| parent | 8b59eda953e7fa37506e6cb6add7dcb7d5ae8dce (diff) | |
Support hashing while writing MXFs.
Diffstat (limited to 'src/AS_DCP_internal.h')
| -rwxr-xr-x | src/AS_DCP_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h index 31c141c..5e7b9cc 100755 --- a/src/AS_DCP_internal.h +++ b/src/AS_DCP_internal.h @@ -183,7 +183,7 @@ extern MXF::RIP *g_RIP; const ASDCP::WriterInfo& Info, ASDCP::FrameBuffer& CtFrameBuf, ui32_t& FramesWritten, ui64_t & StreamOffset, const ASDCP::FrameBuffer& FrameBuf, const byte_t* EssenceUL, const ui32_t& MinEssenceElementBerLength, - AESEncContext* Ctx, HMACContext* HMAC); + AESEncContext* Ctx, HMACContext* HMAC, std::string* hash = 0); // class KLReader : public ASDCP::KLVPacket @@ -965,7 +965,7 @@ extern MXF::RIP *g_RIP; Result_t CreateBodyPart(const MXF::Rational& EditRate, ui32_t BytesPerEditUnit = 0); Result_t WriteEKLVPacket(const ASDCP::FrameBuffer& FrameBuf,const byte_t* EssenceUL, const ui32_t& MinEssenceElementBerLength, - AESEncContext* Ctx, HMACContext* HMAC); + AESEncContext* Ctx, HMACContext* HMAC, std::string* hash = 0); Result_t FakeWriteEKLVPacket(int size); Result_t WriteASDCPFooter(); }; |
