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