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) |
| DVDV * | GetDVDVDecoder (void) |
Private Attributes | |
| mpeg2dec_t * | mpeg2dec |
| DVDV * | dvdvdec |
| bool | allow_mpeg2dec |
| avframe_q | partialFrames |
| 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.
| 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] |
Definition at line 147 of file avformatdecoder.cpp.
Referenced by AvFormatDecoder::GetCodecDecoderName(), AvFormatDecoder::GetFrame(), and HasDecoder().
| bool AvFormatDecoderPrivate::HasDVDVDec | ( | void | ) | const [inline] |
| bool AvFormatDecoderPrivate::HasDecoder | ( | void | ) | const [inline] |
Definition at line 149 of file avformatdecoder.cpp.
Referenced by AvFormatDecoder::GetFrame(), and InitMPEG2().
| void AvFormatDecoderPrivate::DestroyMPEG2 | ( | ) |
Definition at line 202 of file avformatdecoder.cpp.
Referenced by AvFormatDecoder::CloseContext(), DecodeMPEG2Video(), InitMPEG2(), AvFormatDecoder::ScanStreams(), SetVideoSize(), and ~AvFormatDecoderPrivate().
| void AvFormatDecoderPrivate::ResetMPEG2 | ( | ) |
Definition at line 222 of file avformatdecoder.cpp.
Referenced by DecodeMPEG2Video(), AvFormatDecoder::GetFrame(), AvFormatDecoder::MpegPreProcessPkt(), and AvFormatDecoder::SeekReset().
| int AvFormatDecoderPrivate::DecodeMPEG2Video | ( | AVCodecContext * | avctx, | |
| AVFrame * | picture, | |||
| int * | got_picture_ptr, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) |
| bool AvFormatDecoderPrivate::SetVideoSize | ( | const QSize & | video_dim | ) |
| DVDV* AvFormatDecoderPrivate::GetDVDVDecoder | ( | void | ) | [inline] |
Definition at line 158 of file avformatdecoder.cpp.
Referenced by AvFormatDecoder::GetVideoCodecPrivate().
mpeg2dec_t* AvFormatDecoderPrivate::mpeg2dec [private] |
Definition at line 161 of file avformatdecoder.cpp.
Referenced by DecodeMPEG2Video(), DestroyMPEG2(), HasMPEG2Dec(), InitMPEG2(), and ResetMPEG2().
DVDV* AvFormatDecoderPrivate::dvdvdec [private] |
Definition at line 162 of file avformatdecoder.cpp.
Referenced by DecodeMPEG2Video(), DestroyMPEG2(), GetDVDVDecoder(), HasDVDVDec(), InitMPEG2(), ResetMPEG2(), and SetVideoSize().
bool AvFormatDecoderPrivate::allow_mpeg2dec [private] |
Definition at line 164 of file avformatdecoder.cpp.
Referenced by DecodeMPEG2Video(), DestroyMPEG2(), and ResetMPEG2().
1.5.5