MythTV  master
Classes | Public Member Functions | Private Attributes | List of all members
VideoDecodeBuffer Class Reference

#include <videodecodebuffer.h>

Inheritance diagram for VideoDecodeBuffer:
Inheritance graph
[legend]
Collaboration diagram for VideoDecodeBuffer:
Collaboration graph
[legend]

Classes

struct  DecodedFrameInfo
 

Public Member Functions

 VideoDecodeBuffer (MythTranscodePlayer *Player, MythVideoOutput *Videoout, bool Cutlist, int Size=5)
 
 ~VideoDecodeBuffer () override
 
void stop ()
 
void run () override
 
MythVideoFrameGetFrame (int &DidFF, bool &Key)
 

Private Attributes

MythTranscodePlayer *const m_player { nullptr }
 
MythVideoOutput *const m_videoOutput { nullptr }
 
const bool m_honorCutlist
 
const int m_maxFrames
 
bool volatile m_runThread { true }
 
bool volatile m_isRunning { false }
 
QMutex m_queueLock
 
bool m_eof { false }
 
QList< DecodedFrameInfom_frameList
 
QWaitCondition m_frameWaitCond
 

Detailed Description

Definition at line 16 of file videodecodebuffer.h.

Constructor & Destructor Documentation

◆ VideoDecodeBuffer()

VideoDecodeBuffer::VideoDecodeBuffer ( MythTranscodePlayer Player,
MythVideoOutput Videoout,
bool  Cutlist,
int  Size = 5 
)

Definition at line 9 of file videodecodebuffer.cpp.

◆ ~VideoDecodeBuffer()

VideoDecodeBuffer::~VideoDecodeBuffer ( )
override

Definition at line 16 of file videodecodebuffer.cpp.

Member Function Documentation

◆ stop()

void VideoDecodeBuffer::stop ( )

Definition at line 24 of file videodecodebuffer.cpp.

◆ run()

void VideoDecodeBuffer::run ( )
override

Definition at line 32 of file videodecodebuffer.cpp.

◆ GetFrame()

MythVideoFrame * VideoDecodeBuffer::GetFrame ( int &  DidFF,
bool Key 
)

Definition at line 73 of file videodecodebuffer.cpp.

Member Data Documentation

◆ m_player

MythTranscodePlayer* const VideoDecodeBuffer::m_player { nullptr }
private

Definition at line 35 of file videodecodebuffer.h.

Referenced by run().

◆ m_videoOutput

MythVideoOutput* const VideoDecodeBuffer::m_videoOutput { nullptr }
private

Definition at line 36 of file videodecodebuffer.h.

Referenced by run().

◆ m_honorCutlist

const bool VideoDecodeBuffer::m_honorCutlist
private

Definition at line 37 of file videodecodebuffer.h.

Referenced by run().

◆ m_maxFrames

const int VideoDecodeBuffer::m_maxFrames
private

Definition at line 38 of file videodecodebuffer.h.

Referenced by run().

◆ m_runThread

bool volatile VideoDecodeBuffer::m_runThread { true }
private

Definition at line 39 of file videodecodebuffer.h.

Referenced by run(), stop(), and ~VideoDecodeBuffer().

◆ m_isRunning

bool volatile VideoDecodeBuffer::m_isRunning { false }
private

Definition at line 40 of file videodecodebuffer.h.

Referenced by run(), stop(), and ~VideoDecodeBuffer().

◆ m_queueLock

QMutex VideoDecodeBuffer::m_queueLock
mutableprivate

Definition at line 41 of file videodecodebuffer.h.

Referenced by GetFrame(), and run().

◆ m_eof

bool VideoDecodeBuffer::m_eof { false }
private

Definition at line 42 of file videodecodebuffer.h.

Referenced by GetFrame(), and run().

◆ m_frameList

QList<DecodedFrameInfo> VideoDecodeBuffer::m_frameList
private

Definition at line 43 of file videodecodebuffer.h.

Referenced by GetFrame(), and run().

◆ m_frameWaitCond

QWaitCondition VideoDecodeBuffer::m_frameWaitCond
private

Definition at line 44 of file videodecodebuffer.h.

Referenced by GetFrame(), run(), stop(), and ~VideoDecodeBuffer().


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