diff options
| author | milla <marc.illa@dolby.com> | 2021-05-26 13:59:19 +0200 |
|---|---|---|
| committer | milla <marc.illa@dolby.com> | 2021-06-03 14:05:45 +0200 |
| commit | fdd28f8bb3608978e75b27c5410db447396f361b (patch) | |
| tree | 4fd3e9ff4fa808993214956dd5753f950a6a1e47 /src/AS_DCP_JP2K.cpp | |
| parent | f9d7fbc33aa571c547d916b145712469efd9f4b8 (diff) | |
Put definitions inside their corresponding namespaces
Diffstat (limited to 'src/AS_DCP_JP2K.cpp')
| -rwxr-xr-x | src/AS_DCP_JP2K.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/AS_DCP_JP2K.cpp b/src/AS_DCP_JP2K.cpp index 39aaa2a..73b0494 100755 --- a/src/AS_DCP_JP2K.cpp +++ b/src/AS_DCP_JP2K.cpp @@ -513,7 +513,10 @@ ASDCP::MD_to_JP2K_PDesc(const ASDCP::MXF::GenericPictureEssenceDescriptor& Esse // // hidden, internal implementation of JPEG 2000 reader +namespace ASDCP { +namespace JP2K +{ class lh__Reader : public ASDCP::h__ASDCPReader { RGBAEssenceDescriptor* m_EssenceDescriptor; @@ -535,6 +538,8 @@ public: Result_t OpenRead(const std::string&, EssenceType_t); Result_t ReadFrame(ui32_t, JP2K::FrameBuffer&, AESDecContext*, HMACContext*); }; +} // namespace JP2K +} // namespace asdcp // @@ -1131,6 +1136,10 @@ ASDCP::JP2K::MXFSReader::Close() const // +namespace ASDCP { + +namespace JP2K +{ class lh__Writer : public ASDCP::h__ASDCPWriter { ASDCP_NO_COPY_CONSTRUCT(lh__Writer); @@ -1154,6 +1163,8 @@ public: Result_t WriteFrame(const JP2K::FrameBuffer&, bool add_index, AESEncContext*, HMACContext*); Result_t Finalize(); }; +} // namespace JP2K +} // namespace asdcp // Open the file for writing. The file must not exist. Returns error if // the operation cannot be completed. |
