digiKam
Digikam::VideoDecoder::Private Class Reference

Public Member Functions

void convertAndScaleFrame (AVPixelFormat format, int scaledSize, bool maintainAspectRatio, int &scaledWidth, int &scaledHeight)
 
bool decodeVideoPacket () const
 
void deleteFilterGraph ()
 
bool getVideoPacket ()
 
bool initializeVideo ()
 
 Private ()
 
bool processFilterGraph (AVFrame *const dst, const AVFrame *const src, enum AVPixelFormat pixfmt, int width, int height)
 
 ~Private ()
 

Public Attributes

bool allowSeek
 
AVFilterContext * bufferSinkContext
 
AVFilterContext * bufferSourceContext
 
AVFrame * filterFrame
 
AVFilterGraph * filterGraph
 
bool initialized
 
int lastHeight
 
enum AVPixelFormat lastPixfmt
 
int lastWidth
 
AVFormatContext * pFormatContext
 
AVFrame * pFrame
 
quint8 * pFrameBuffer
 
AVPacket * pPacket
 
AVCodec * pVideoCodec
 
AVCodecContext * pVideoCodecContext
 
AVCodecParameters * pVideoCodecParameters
 
AVStream * pVideoStream
 
int videoStream
 

Constructor & Destructor Documentation

◆ Private()

Digikam::VideoDecoder::Private::Private ( )
explicit

◆ ~Private()

Digikam::VideoDecoder::Private::~Private ( )

Member Function Documentation

◆ convertAndScaleFrame()

void Digikam::VideoDecoder::Private::convertAndScaleFrame ( AVPixelFormat  format,
int  scaledSize,
bool  maintainAspectRatio,
int &  scaledWidth,
int &  scaledHeight 
)

◆ decodeVideoPacket()

bool Digikam::VideoDecoder::Private::decodeVideoPacket ( ) const

◆ deleteFilterGraph()

void Digikam::VideoDecoder::Private::deleteFilterGraph ( )

◆ getVideoPacket()

bool Digikam::VideoDecoder::Private::getVideoPacket ( )

◆ initializeVideo()

bool Digikam::VideoDecoder::Private::initializeVideo ( )

◆ processFilterGraph()

bool Digikam::VideoDecoder::Private::processFilterGraph ( AVFrame *const  dst,
const AVFrame *const  src,
enum AVPixelFormat  pixfmt,
int  width,
int  height 
)

Member Data Documentation

◆ allowSeek

bool Digikam::VideoDecoder::Private::allowSeek

◆ bufferSinkContext

AVFilterContext* Digikam::VideoDecoder::Private::bufferSinkContext

◆ bufferSourceContext

AVFilterContext* Digikam::VideoDecoder::Private::bufferSourceContext

◆ filterFrame

AVFrame* Digikam::VideoDecoder::Private::filterFrame

◆ filterGraph

AVFilterGraph* Digikam::VideoDecoder::Private::filterGraph

◆ initialized

bool Digikam::VideoDecoder::Private::initialized

◆ lastHeight

int Digikam::VideoDecoder::Private::lastHeight

◆ lastPixfmt

enum AVPixelFormat Digikam::VideoDecoder::Private::lastPixfmt

◆ lastWidth

int Digikam::VideoDecoder::Private::lastWidth

◆ pFormatContext

AVFormatContext* Digikam::VideoDecoder::Private::pFormatContext

◆ pFrame

◆ pFrameBuffer

quint8* Digikam::VideoDecoder::Private::pFrameBuffer

◆ pPacket

AVPacket* Digikam::VideoDecoder::Private::pPacket

◆ pVideoCodec

AVCodec* Digikam::VideoDecoder::Private::pVideoCodec

◆ pVideoCodecContext

◆ pVideoCodecParameters

AVCodecParameters* Digikam::VideoDecoder::Private::pVideoCodecParameters

◆ pVideoStream

AVStream* Digikam::VideoDecoder::Private::pVideoStream

◆ videoStream

int Digikam::VideoDecoder::Private::videoStream

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