diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-24 04:15:26 +0100 |
| commit | ceaf7bc52712cb60708ed5eb5c62c5e463dd8e89 (patch) | |
| tree | c55e4b85ee30138ce83263045d77d01631378b2e /src/mono_picture_asset_writer.h | |
| parent | 6c37cc1979b2a01205a888c4c98f3334685ee8dd (diff) | |
Tidying.
Diffstat (limited to 'src/mono_picture_asset_writer.h')
| -rw-r--r-- | src/mono_picture_asset_writer.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mono_picture_asset_writer.h b/src/mono_picture_asset_writer.h index a5799d27..9dffaa24 100644 --- a/src/mono_picture_asset_writer.h +++ b/src/mono_picture_asset_writer.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net> This file is part of libdcp. @@ -31,21 +31,26 @@ files in the program, then also delete it here. */ + /** @file src/mono_picture_asset_writer.h * @brief MonoPictureAssetWriter class */ + #ifndef LIBDCP_MONO_PICTURE_ASSET_WRITER_H #define LIBDCP_MONO_PICTURE_ASSET_WRITER_H + #include "picture_asset_writer.h" #include <memory> #include <boost/utility.hpp> #include <stdint.h> #include <string> + namespace dcp { + /** @class MonoPictureAssetWriter * @brief A helper class for writing to MonoPictureAssets * @@ -59,8 +64,6 @@ namespace dcp { class MonoPictureAssetWriter : public PictureAssetWriter { public: - MonoPictureAssetWriter (PictureAsset *, boost::filesystem::path file, bool); - FrameInfo write (uint8_t const *, int); void fake_write (int size); bool finalize (); @@ -68,6 +71,8 @@ public: private: friend class MonoPictureAsset; + MonoPictureAssetWriter (PictureAsset* a, boost::filesystem::path file, bool); + void start (uint8_t const *, int); /* do this with an opaque pointer so we don't have to include @@ -77,6 +82,8 @@ private: std::shared_ptr<ASDCPState> _state; }; + } + #endif |
