Go to the documentation of this file. 1 #ifndef MYTHOPENGLINTEROP_H
2 #define MYTHOPENGLINTEROP_H
23 static std::vector<MythVideoTextureOpenGL*>
31 virtual std::vector<MythVideoTextureOpenGL*>
~MythOpenGLInterop() override
std::map< VideoFrameType, InteropTypes > InteropMap
MythRenderOpenGL * m_openglContext
QHash< unsigned long long, std::vector< MythVideoTextureOpenGL * > > m_openglTextures
MythOpenGLInterop(MythRenderOpenGL *Context, InteropType Type, MythPlayerUI *Player=nullptr)
virtual void DeleteTextures()
virtual std::vector< MythVideoTextureOpenGL * > Acquire(MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan)
MythVideoColourSpace contains a QMatrix4x4 that can convert YCbCr data to RGB.
static std::vector< MythVideoTextureOpenGL * > Retrieve(MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan)
static void GetTypes(MythRender *Render, MythInteropGPU::InteropMap &Types)