AvFormatDecoderPrivate Class Reference

List of all members.


Detailed Description

Management of libmpeg2 decoding.

Definition at line 139 of file avformatdecoder.cpp.


Public Member Functions

 AvFormatDecoderPrivate (bool allow_libmpeg2)
 ~AvFormatDecoderPrivate ()
bool InitMPEG2 (const QString &dec)
 Initialise either libmpeg2, or DVDV (Mac HW accel), to do decoding.
bool HasMPEG2Dec (void) const
bool HasDVDVDec (void) const
bool HasDecoder (void) const
void DestroyMPEG2 ()
void ResetMPEG2 ()
int DecodeMPEG2Video (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, uint8_t *buf, int buf_size)
bool SetVideoSize (const QSize &video_dim)
DVDVGetDVDVDecoder (void)

Private Attributes

mpeg2dec_tmpeg2dec
DVDVdvdvdec
bool allow_mpeg2dec
avframe_q partialFrames

Constructor & Destructor Documentation

AvFormatDecoderPrivate::AvFormatDecoderPrivate ( bool  allow_libmpeg2  )  [inline]

Definition at line 142 of file avformatdecoder.cpp.

AvFormatDecoderPrivate::~AvFormatDecoderPrivate (  )  [inline]

Definition at line 144 of file avformatdecoder.cpp.


Member Function Documentation

bool AvFormatDecoderPrivate::InitMPEG2 ( const QString &  dec  ) 

Initialise either libmpeg2, or DVDV (Mac HW accel), to do decoding.

Both of these are meant to be alternatives to FFMPEG, but currently, DVDV uses the MPEG demuxer in FFMPEG

Definition at line 173 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::ScanStreams().

bool AvFormatDecoderPrivate::HasMPEG2Dec ( void   )  const [inline]

bool AvFormatDecoderPrivate::HasDVDVDec ( void   )  const [inline]

Definition at line 148 of file avformatdecoder.cpp.

Referenced by HasDecoder().

bool AvFormatDecoderPrivate::HasDecoder ( void   )  const [inline]

Definition at line 149 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::GetFrame(), and InitMPEG2().

void AvFormatDecoderPrivate::DestroyMPEG2 (  ) 

void AvFormatDecoderPrivate::ResetMPEG2 (  ) 

int AvFormatDecoderPrivate::DecodeMPEG2Video ( AVCodecContext avctx,
AVFrame picture,
int *  got_picture_ptr,
uint8_t *  buf,
int  buf_size 
)

Definition at line 238 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::GetFrame().

bool AvFormatDecoderPrivate::SetVideoSize ( const QSize &  video_dim  ) 

Definition at line 372 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::ScanStreams().

DVDV* AvFormatDecoderPrivate::GetDVDVDecoder ( void   )  [inline]

Definition at line 158 of file avformatdecoder.cpp.

Referenced by AvFormatDecoder::GetVideoCodecPrivate().


Member Data Documentation

Definition at line 163 of file avformatdecoder.cpp.

Referenced by InitMPEG2().

Definition at line 164 of file avformatdecoder.cpp.

Referenced by DecodeMPEG2Video(), DestroyMPEG2(), and ResetMPEG2().


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

Generated on Sat Dec 18 05:15:59 2010 for MythTV by  doxygen 1.5.5