1#ifndef MYTHMMALCONTEXT_H
2#define MYTHMMALCONTEXT_H
16 const AVCodec **Codec,
20 void InitVideoCodec (AVCodecContext *Context,
bool SelectedStream,
bool &DirectRendering)
override;
26 static enum AVPixelFormat
GetFormat (AVCodecContext*,
const AVPixelFormat *PixFmt);
28 static bool HaveMMAL (
bool Reinit =
false);
static const MMALProfiles & GetProfiles(void)
static bool GetBuffer(AVCodecContext *Context, MythVideoFrame *Frame, AVFrame *AvFrame, int)
MythMMALInterop * m_interop
int HwDecoderInit(AVCodecContext *Context) override
static bool HaveMMAL(bool Reinit=false)
~MythMMALContext() override
bool RetrieveFrame(AVCodecContext *Context, MythVideoFrame *Frame, AVFrame *AvFrame) override
bool GetBuffer2(AVCodecContext *Context, MythVideoFrame *Frame, AVFrame *AvFrame, int)
void InitVideoCodec(AVCodecContext *Context, bool SelectedStream, bool &DirectRendering) override
static bool CheckCodecSize(int Width, int Height, MythCodecContext::CodecProfile Profile)
void SetDecoderOptions(AVCodecContext *Context, const AVCodec *Codec) override
static void GetDecoderList(QStringList &Decoders)
static MythCodecID GetSupportedCodec(AVCodecContext **Context, const AVCodec **Codec, const QString &Decoder, AVStream *Stream, uint StreamType)
static enum AVPixelFormat GetFormat(AVCodecContext *, const AVPixelFormat *PixFmt)
MythMMALContext(DecoderBase *Parent, MythCodecID Codec)
QList< MythCodecContext::CodecProfile > MMALProfiles