projects
/
libdcp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename j2k.{cc,h} => j2k_transcode.{cc,h}
[libdcp.git]
/
src
/
atmos_asset_writer.h
diff --git
a/src/atmos_asset_writer.h
b/src/atmos_asset_writer.h
index 570596068f8d5f9eb34bb53297837472a801cec9..f70c42f5208236eb411ef6ed6c23f40506665f20 100644
(file)
--- a/
src/atmos_asset_writer.h
+++ b/
src/atmos_asset_writer.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2016
-2021
Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
This file is part of libdcp.
@@
-31,20
+31,29
@@
files in the program, then also delete it here.
*/
files in the program, then also delete it here.
*/
+
/** @file src/atmos_asset_writer.h
/** @file src/atmos_asset_writer.h
- * @brief AtmosAssetWriter class
.
+ * @brief AtmosAssetWriter class
*/
*/
+
+#ifndef LIBDCP_ATMOS_ASSET_WRITER_H
+#define LIBDCP_ATMOS_ASSET_WRITER_H
+
+
#include "asset_writer.h"
#include "types.h"
#include "atmos_frame.h"
#include "asset_writer.h"
#include "types.h"
#include "atmos_frame.h"
-#include <
boost/shared_ptr.hpp
>
+#include <
memory
>
#include <boost/filesystem.hpp>
#include <boost/filesystem.hpp>
+
namespace dcp {
namespace dcp {
+
class AtmosAsset;
class AtmosAsset;
+
/** @class AtmosAssetWriter
* @brief A helper class for writing to AtmosAssets.
*
/** @class AtmosAssetWriter
* @brief A helper class for writing to AtmosAssets.
*
@@
-53,7
+62,7
@@
class AtmosAsset;
class AtmosAssetWriter : public AssetWriter
{
public:
class AtmosAssetWriter : public AssetWriter
{
public:
- void write (
boost
::shared_ptr<const AtmosFrame> frame);
+ void write (
std
::shared_ptr<const AtmosFrame> frame);
void write (uint8_t const * data, int size);
bool finalize ();
void write (uint8_t const * data, int size);
bool finalize ();
@@
-66,9
+75,13
@@
private:
ASDCP headers
*/
struct ASDCPState;
ASDCP headers
*/
struct ASDCPState;
-
boost
::shared_ptr<ASDCPState> _state;
+
std
::shared_ptr<ASDCPState> _state;
AtmosAsset* _asset;
};
AtmosAsset* _asset;
};
+
}
}
+
+
+#endif