libdcp
Classes | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
dcp::MonoMPEG2PictureAssetWriter Class Reference
Inheritance diagram for dcp::MonoMPEG2PictureAssetWriter:
dcp::MPEG2PictureAssetWriter dcp::AssetWriter

Classes

struct  ASDCPState
 

Public Member Functions

MPEG2FrameInfo write (uint8_t const *, int) override
 
void fake_write (MPEG2FrameInfo const &info) override
 
bool finalize () override
 
- Public Member Functions inherited from dcp::MPEG2PictureAssetWriter
MPEG2FrameInfo write (Data const &data)
 
- Public Member Functions inherited from dcp::AssetWriter
 AssetWriter (AssetWriter const &)=delete
 
AssetWriteroperator= (AssetWriter const &)=delete
 
int64_t frames_written () const
 

Private Member Functions

 MonoMPEG2PictureAssetWriter (MPEG2PictureAsset *asset, boost::filesystem::path file, bool overwrite)
 
void start (uint8_t const *, int)
 

Private Attributes

std::shared_ptr< ASDCPState > _state
 

Friends

class MonoMPEG2PictureAsset
 

Additional Inherited Members

- Protected Member Functions inherited from dcp::MPEG2PictureAssetWriter
 MPEG2PictureAssetWriter (MPEG2PictureAsset *asset, boost::filesystem::path file, bool overwrite)
 
- Protected Member Functions inherited from dcp::AssetWriter
 AssetWriter (MXF *mxf, boost::filesystem::path file)
 
- Protected Attributes inherited from dcp::MPEG2PictureAssetWriter
MPEG2PictureAsset_picture_asset = nullptr
 
bool _overwrite = false
 
- Protected Attributes inherited from dcp::AssetWriter
MXF_mxf = nullptr
 
boost::filesystem::path _file
 
int64_t _frames_written = 0
 
bool _finalized = false
 
bool _started = false
 
std::shared_ptr< EncryptionContext_crypto_context
 

Detailed Description

Definition at line 47 of file mono_mpeg2_picture_asset_writer.h.

Member Function Documentation

◆ finalize()

bool MonoMPEG2PictureAssetWriter::finalize ( )
overridevirtual
Returns
true if anything was written by this writer

Reimplemented from dcp::AssetWriter.

Definition at line 132 of file mono_mpeg2_picture_asset_writer.cc.


The documentation for this class was generated from the following files: