MythVTBContext(DecoderBase *Parent, MythCodecID CodecID)
static int InitialiseDecoder(AVCodecContext *Context)
AVBufferRef * m_framesContext
~MythVTBContext() override
static void GetDecoderList(QStringList &Decoders)
static MythCodecID GetSupportedCodec(AVCodecContext **Context, const AVCodec **Codec, const QString &Decoder, uint StreamType)
static enum AVPixelFormat GetFormat(AVCodecContext *Context, const enum AVPixelFormat *PixFmt)
static const VTBProfiles & GetProfiles(void)
void InitVideoCodec(AVCodecContext *Context, bool SelectedStream, bool &DirectRendering) override
void InitFramesContext(AVCodecContext *Context)
Create a hardware frames context if needed.
int HwDecoderInit(AVCodecContext *Context) override
bool RetrieveFrame(AVCodecContext *Context, MythVideoFrame *Frame, AVFrame *AvFrame) override
QList< MythCodecContext::CodecProfile > VTBProfiles
static bool HaveVTB(bool Reinit=false)