digiKam
|
Classes | |
class | Private |
Public Member Functions | |
bool | decodeVideoFrame () const |
void | destroy () |
QString | getCodec () const |
int | getDuration () const |
int | getHeight () const |
bool | getInitialized () const |
void | getScaledVideoFrame (int scaledSize, bool maintainAspectRatio, VideoFrame &videoFrame) |
int | getWidth () const |
void | initialize (const QString &filename) |
void | seek (int timeInSeconds) |
VideoDecoder (const QString &filename) | |
~VideoDecoder () | |
|
explicit |
References initialize().
Digikam::VideoDecoder::~VideoDecoder | ( | ) |
References destroy().
bool Digikam::VideoDecoder::decodeVideoFrame | ( | ) | const |
void Digikam::VideoDecoder::destroy | ( | ) |
References Digikam::VideoDecoder::Private::deleteFilterGraph(), Digikam::VideoDecoder::Private::pFormatContext, Digikam::VideoDecoder::Private::pFrame, Digikam::VideoDecoder::Private::pFrameBuffer, Digikam::VideoDecoder::Private::pPacket, and Digikam::VideoDecoder::Private::pVideoCodecContext.
Referenced by ~VideoDecoder().
QString Digikam::VideoDecoder::getCodec | ( | ) | const |
References Digikam::VideoDecoder::Private::pVideoCodec.
int Digikam::VideoDecoder::getDuration | ( | ) | const |
References Digikam::VideoDecoder::Private::pFormatContext.
int Digikam::VideoDecoder::getHeight | ( | ) | const |
bool Digikam::VideoDecoder::getInitialized | ( | ) | const |
References Digikam::VideoDecoder::Private::initialized.
void Digikam::VideoDecoder::getScaledVideoFrame | ( | int | scaledSize, |
bool | maintainAspectRatio, | ||
VideoFrame & | videoFrame | ||
) |
References Digikam::VideoDecoder::Private::convertAndScaleFrame(), Digikam::VideoFrame::frameData, Digikam::VideoFrame::height, Digikam::VideoFrame::lineSize, Digikam::VideoDecoder::Private::pFrame, Digikam::VideoDecoder::Private::processFilterGraph(), Digikam::VideoDecoder::Private::pVideoCodecContext, and Digikam::VideoFrame::width.
int Digikam::VideoDecoder::getWidth | ( | ) | const |
void Digikam::VideoDecoder::initialize | ( | const QString & | filename | ) |
References Digikam::VideoDecoder::Private::initialized, Digikam::VideoDecoder::Private::initializeVideo(), Digikam::VideoDecoder::Private::lastHeight, Digikam::VideoDecoder::Private::lastPixfmt, Digikam::VideoDecoder::Private::lastWidth, Digikam::VideoDecoder::Private::pFormatContext, and Digikam::VideoDecoder::Private::pFrame.
Referenced by VideoDecoder().
void Digikam::VideoDecoder::seek | ( | int | timeInSeconds | ) |
References Digikam::VideoDecoder::Private::allowSeek, Digikam::VideoDecoder::Private::decodeVideoPacket(), Digikam::VideoDecoder::Private::getVideoPacket(), Digikam::VideoDecoder::Private::pFormatContext, Digikam::VideoDecoder::Private::pFrame, and Digikam::VideoDecoder::Private::pVideoCodecContext.