files in the program, then also delete it here.
*/
+#ifndef LIBDCP_STEREO_PICTURE_FRAME_H
+#define LIBDCP_STEREO_PICTURE_FRAME_H
+
#include "types.h"
-#include "stereo_picture_asset_reader.h"
+#include "asset_reader.h"
#include <boost/shared_ptr.hpp>
#include <boost/noncopyable.hpp>
#include <boost/filesystem.hpp>
namespace dcp {
class OpenJPEGImage;
-class DecryptionContext;
/** A single frame of a 3D (stereoscopic) picture asset */
class StereoPictureFrame : public boost::noncopyable
int right_j2k_size () const;
private:
- friend StereoPictureAssetReader;
+ /* XXX: this is a bit of a shame, but I tried friend StereoPictureAssetReader and it's
+ rejected by some (seemingly older) GCCs.
+ */
+ friend class AssetReader<ASDCP::JP2K::MXFSReader, StereoPictureFrame>;
StereoPictureFrame (ASDCP::JP2K::MXFSReader* reader, int n, boost::shared_ptr<DecryptionContext>);
};
}
+
+#endif