Go to the documentation of this file. 1 #ifndef MYTHDRMPRIMEINTEROP_H
2 #define MYTHDRMPRIMEINTEROP_H
12 struct AVDRMFrameDescriptor;
20 std::vector<MythVideoTextureOpenGL*>
34 #ifdef USING_DRM_VIDEO
36 AVDRMFrameDescriptor* DRMDesc);
38 bool m_drmTriedAndFailed {
false };
static MythDRMPRIMEInterop * CreateDRM(MythRenderOpenGL *Context, MythPlayerUI *Player)
Create a DRM PRIME interop instance.
static void GetDRMTypes(MythRenderOpenGL *Render, MythInteropGPU::InteropMap &Types)
void DeleteTextures(void) override
std::map< VideoFrameType, InteropTypes > InteropMap
std::vector< MythVideoTextureOpenGL * > Acquire(MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan) override
AVDRMFrameDescriptor * VerifyBuffer(MythRenderOpenGL *Context, MythVideoFrame *Frame)
~MythDRMPRIMEInterop() override
MythDRMPRIMEInterop(MythRenderOpenGL *Context, MythPlayerUI *Player, InteropType Type)
MythVideoColourSpace contains a QMatrix4x4 that can convert YCbCr data to RGB.