MythTV  master
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
PrivateDecoder Class Referenceabstract

#include <privatedecoder.h>

Inheritance diagram for PrivateDecoder:
Inheritance graph
Collaboration diagram for PrivateDecoder:
Collaboration graph

Public Member Functions

 PrivateDecoder ()=default
virtual ~PrivateDecoder ()=default
virtual QString GetName (void)=0
virtual bool Init (const QString &decoder, PlayerFlags flags, AVCodecContext *avctx)=0
virtual bool Reset (void)=0
virtual int GetFrame (AVStream *stream, AVFrame *picture, int *got_picture_ptr, AVPacket *pkt)=0
virtual bool HasBufferedFrames (void)
virtual bool NeedsReorderedPTS (void)

Static Public Member Functions

static void GetDecoders (render_opts &opts)
static PrivateDecoderCreate (const QString &decoder, PlayerFlags flags, AVCodecContext *avctx)

Protected Attributes

MythAVCopy m_copyCtx

Detailed Description

Definition at line 18 of file privatedecoder.h.

Constructor & Destructor Documentation

◆ PrivateDecoder()

PrivateDecoder::PrivateDecoder ( )

◆ ~PrivateDecoder()

virtual PrivateDecoder::~PrivateDecoder ( )

Member Function Documentation

◆ GetDecoders()

void PrivateDecoder::GetDecoders ( render_opts opts)

Definition at line 15 of file privatedecoder.cpp.

Referenced by AvFormatDecoder::GetDecoders().

◆ Create()

PrivateDecoder * PrivateDecoder::Create ( const QString &  decoder,
PlayerFlags  flags,
AVCodecContext *  avctx 

Definition at line 34 of file privatedecoder.cpp.

Referenced by AvFormatDecoder::ScanStreams().

◆ GetName()

virtual QString PrivateDecoder::GetName ( void  )
pure virtual

◆ Init()

virtual bool PrivateDecoder::Init ( const QString &  decoder,
PlayerFlags  flags,
AVCodecContext *  avctx 
pure virtual

◆ Reset()

virtual bool PrivateDecoder::Reset ( void  )
pure virtual

◆ GetFrame()

virtual int PrivateDecoder::GetFrame ( AVStream *  stream,
AVFrame picture,
int *  got_picture_ptr,
AVPacket *  pkt 
pure virtual

◆ HasBufferedFrames()

virtual bool PrivateDecoder::HasBufferedFrames ( void  )

Reimplemented in PrivateDecoderVDA, PrivateDecoderCrystalHD, and PrivateDecoderOMX.

Definition at line 36 of file privatedecoder.h.

Referenced by AvFormatDecoder::GetFrame().

◆ NeedsReorderedPTS()

virtual bool PrivateDecoder::NeedsReorderedPTS ( void  )

Member Data Documentation

◆ m_copyCtx

MythAVCopy PrivateDecoder::m_copyCtx

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