6#include "libmythbase/mythconfig.h"
26 bool Init(QSize video_dim_buf, QSize video_dim_disp,
float video_aspect,
38 bool force_change)
override;
41 const QSize &video_dim);
43 const AVCodec ** Codec,
44 const QString &decoder,
Common code shared between GPU accelerated sub-classes (e.g. OpenGL)
void UpdateFrame(MythVideoFrame *frame, D3D9Image *img)
bool Init(QSize video_dim_buf, QSize video_dim_disp, float video_aspect, QRect win_rect, MythCodecID codec_id) override
static void GetRenderOptions(RenderOptions &Options)
MythRenderD3D9 * m_render
MythVideoFrame m_pauseFrame
static MythCodecID GetSupportedCodec(AVCodecContext **Context, const AVCodec **Codec, const QString &decoder, uint stream_type)
void PrepareFrame(MythVideoFrame *frame, FrameScanType scan) override
static QStringList GetAllowedRenderers(MythCodecID myth_codec_id, const QSize &video_dim)
void DestroyContext(void)
void UpdatePauseFrame(std::chrono::milliseconds &disp_timecode, FrameScanType Scan=kScan_Progressive) override
void RenderEnd() override
VideoOutputD3D(MythMainWindow *MainWindow, MythRenderD3D9 *Render, MythD3D9Painter *Painter, MythDisplay *Display, const MythVideoProfilePtr &VideoProfile, QString &Profile)
bool InputChanged(QSize video_dim_buf, QSize video_dim_disp, float video_aspect, MythCodecID av_codec_id, bool &aspect_only, int reference_frames, bool force_change) override
Tells video output to discard decoded frames and wait for new ones.
void RenderFrame(MythVideoFrame *buffer, FrameScanType) override
std::shared_ptr< MythVideoProfile > MythVideoProfilePtr
def scan(profile, smoonURL, gate)