MythTV  master
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
NvdecContext Class Reference

#include <nvdeccontext.h>

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

Public Member Functions

 NvdecContext (void)=default
 
int HwDecoderInit (AVCodecContext *ctx) override
 
bool isValidDeinterlacer (QString) override
 
QStringList GetDeinterlacers (void) override
 
- Public Member Functions inherited from MythCodecContext
 MythCodecContext (void)
 
virtual ~MythCodecContext ()=default
 
void setStream (AVStream *initStream)
 
virtual int FilteredReceiveFrame (AVCodecContext *ctx, AVFrame *frame)
 
virtual QString GetDeinterlaceFilter ()
 
void setPlayer (MythPlayer *tPlayer)
 
bool setDeinterlacer (bool enable, QString name=QString())
 
bool isDeinterlacing (void)
 
QString getDeinterlacerName (void)
 
bool BestDeint (void)
 
bool FallbackDeint (void)
 
bool getDoubleRate (void)
 
QString GetFallbackDeint (void)
 

Static Public Member Functions

static MythCodecID GetBestSupportedCodec (AVCodec **ppCodec, const QString &decoder, uint stream_type, AVPixelFormat &pix_fmt)
 
- Static Public Member Functions inherited from MythCodecContext
static MythCodecContextcreateMythCodecContext (MythCodecID codec)
 
static QStringList GetDeinterlacers (const QString &decodername)
 
static bool isCodecDeinterlacer (const QString &decodername)
 

Protected Member Functions

int SetDeinterlace (AVCodecContext *ctx)
 
QString GetDeinterlaceMode (bool &dropSecondFld)
 
- Protected Member Functions inherited from MythCodecContext
virtual int InitDeinterlaceFilter (AVCodecContext *ctx, AVFrame *frame)
 

Additional Inherited Members

- Protected Attributes inherited from MythCodecContext
AVStream * stream
 
AVFilterContext * buffersink_ctx
 
AVFilterContext * buffersrc_ctx
 
AVFilterGraph * filter_graph
 
bool filtersInitialized
 
AVBufferRef * hw_frames_ctx
 
MythPlayerplayer
 
int64_t priorPts [2]
 
int64_t ptsUsed
 
int width
 
int height
 
QString deinterlacername
 
QMutex contextLock
 
bool doublerate
 

Detailed Description

Definition at line 37 of file nvdeccontext.h.

Constructor & Destructor Documentation

◆ NvdecContext()

NvdecContext::NvdecContext ( void  )
default

Member Function Documentation

◆ GetBestSupportedCodec()

MythCodecID NvdecContext::GetBestSupportedCodec ( AVCodec **  ppCodec,
const QString &  decoder,
uint  stream_type,
AVPixelFormat &  pix_fmt 
)
static

Definition at line 40 of file nvdeccontext.cpp.

Referenced by AvFormatDecoder::ScanStreams().

◆ HwDecoderInit()

int NvdecContext::HwDecoderInit ( AVCodecContext *  ctx)
overridevirtual

Reimplemented from MythCodecContext.

Definition at line 90 of file nvdeccontext.cpp.

◆ isValidDeinterlacer()

bool NvdecContext::isValidDeinterlacer ( QString  filtername)
overridevirtual

Reimplemented from MythCodecContext.

Definition at line 124 of file nvdeccontext.cpp.

Referenced by GetDeinterlaceMode().

◆ GetDeinterlacers()

QStringList NvdecContext::GetDeinterlacers ( void  )
overridevirtual

Reimplemented from MythCodecContext.

Definition at line 129 of file nvdeccontext.cpp.

◆ SetDeinterlace()

int NvdecContext::SetDeinterlace ( AVCodecContext *  ctx)
protected

Definition at line 134 of file nvdeccontext.cpp.

Referenced by HwDecoderInit().

◆ GetDeinterlaceMode()

QString NvdecContext::GetDeinterlaceMode ( bool dropSecondFld)
protected

Definition at line 161 of file nvdeccontext.cpp.

Referenced by SetDeinterlace().


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