summaryrefslogtreecommitdiff
path: root/src/AS_DCP_internal.h
diff options
context:
space:
mode:
authormsheby <msheby@cinecert.com>2007-10-25 18:44:45 +0000
committermsheby <>2007-10-25 18:44:45 +0000
commitdeadc1bf01e8bc68905c7d33578ffb77b8317c8f (patch)
treee23733b29ffed1a996599c00a3c74490dcff3a3d /src/AS_DCP_internal.h
parentc5e3e4e83032b790c62bd55795a20dd912010c9f (diff)
Win32 portability fixes
Diffstat (limited to 'src/AS_DCP_internal.h')
-rwxr-xr-xsrc/AS_DCP_internal.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/AS_DCP_internal.h b/src/AS_DCP_internal.h
index 7f1ef25..143bccf 100755
--- a/src/AS_DCP_internal.h
+++ b/src/AS_DCP_internal.h
@@ -91,6 +91,23 @@ namespace ASDCP
Result_t DecryptFrameBuffer(const ASDCP::FrameBuffer&, ASDCP::FrameBuffer&, AESDecContext*);
//
+ class KLReader : public ASDCP::KLVPacket
+ {
+ ASDCP_NO_COPY_CONSTRUCT(KLReader);
+ byte_t m_KeyBuf[SMPTE_UL_LENGTH*2];
+
+ public:
+ KLReader() {}
+ ~KLReader() {}
+
+ inline const byte_t* Key() { return m_KeyBuf; }
+ inline const ui64_t Length() { return m_ValueLength; }
+ inline const ui64_t KLLength() { return m_KLLength; }
+
+ Result_t ReadKLFromFile(Kumu::FileReader& Reader);
+ };
+
+ //
class h__Reader
{
ASDCP_NO_COPY_CONSTRUCT(h__Reader);