libdcp
Public Types | Public Member Functions | Private Member Functions | List of all members
dcp::MPEG2Compressor Class Reference
Inheritance diagram for dcp::MPEG2Compressor:
dcp::MPEG2Codec

Public Types

typedef std::pair< std::shared_ptr< MonoMPEG2PictureFrame >, int64_t > IndexedFrame
 

Public Member Functions

 MPEG2Compressor (dcp::Size size, int video_frame_rate, int64_t bit_rate)
 
 MPEG2Compressor (MPEG2Compressor const &)=delete
 
MPEG2Compressoroperator= (MPEG2Compressor const &)=delete
 
boost::optional< IndexedFramecompress_frame (FFmpegImage const &image)
 
boost::optional< IndexedFrameflush ()
 
- Public Member Functions inherited from dcp::MPEG2Codec
 MPEG2Codec (MPEG2Codec const &)=delete
 
MPEG2Codecoperator= (MPEG2Codec const &)=delete
 

Private Member Functions

boost::optional< IndexedFramesend_and_receive (AVFrame const *frame)
 

Additional Inherited Members

- Protected Attributes inherited from dcp::MPEG2Codec
AVCodec const * _codec
 
AVCodecContext * _context
 

Detailed Description

Definition at line 86 of file mpeg2_transcode.h.

Member Typedef Documentation

◆ IndexedFrame

typedef std::pair<std::shared_ptr<MonoMPEG2PictureFrame>, int64_t> dcp::MPEG2Compressor::IndexedFrame

Frame data with frame index within the asset

Definition at line 95 of file mpeg2_transcode.h.


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