1#ifndef MYTHVAAPIGLXNTEROP_H
2#define MYTHVAAPIGLXNTEROP_H
5#include "libmythbase/mythconfig.h"
43 std::vector<MythVideoTextureOpenGL*>
54#define pointer Xpointer
55#if defined(_X11_XLIB_H_) && !defined(Bool)
65using MYTH_GLXBINDTEXIMAGEEXT = void (*)(Display*, GLXDrawable, int,
int*);
66using MYTH_GLXRELEASETEXIMAGEEXT = void (*)(Display*, GLXDrawable, int);
72 ~MythVAAPIInteropGLXPixmap()
override;
74 std::vector<MythVideoTextureOpenGL*>
84 Pixmap m_pixmap { 0 };
85 GLXPixmap m_glxPixmap { 0 };
86 MYTH_GLXBINDTEXIMAGEEXT m_glxBindTexImageEXT {
nullptr };
87 MYTH_GLXRELEASETEXIMAGEEXT m_glxReleaseTexImageEXT {
nullptr };
virtual std::vector< MythVideoTextureOpenGL * > Acquire(MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan)
std::vector< MythVideoTextureOpenGL * > Acquire(MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan) override
MythVAAPIInteropGLXCopy(MythPlayerUI *Player, MythRenderOpenGL *Context)
~MythVAAPIInteropGLXCopy() override
~MythVAAPIInteropGLX() override
MythVAAPIInteropGLX(MythPlayerUI *Player, MythRenderOpenGL *Context, InteropType Type)
void InitPictureAttributes(MythVideoColourSpace *ColourSpace)
VADisplayAttribute * m_vaapiPictureAttributes
int m_vaapiPictureAttributeCount
MythDeintType m_basicDeinterlacer
uint GetFlagsForFrame(MythVideoFrame *Frame, FrameScanType Scan)
int SetPictureAttribute(PictureAttribute Attribute, int Value)
MythVideoColourSpace contains a QMatrix4x4 that can convert YCbCr data to RGB.