1#ifndef MYTHDRMPRIMEINTEROP_H
2#define MYTHDRMPRIMEINTEROP_H
5#include "libmythbase/mythconfig.h"
13struct AVDRMFrameDescriptor;
21 std::vector<MythVideoTextureOpenGL*>
37 AVDRMFrameDescriptor* DRMDesc);
39 bool m_drmTriedAndFailed {
false };
std::vector< MythVideoTextureOpenGL * > Acquire(MythRenderOpenGL *Context, MythVideoColourSpace *ColourSpace, MythVideoFrame *Frame, FrameScanType Scan) override
MythDRMPRIMEInterop(MythRenderOpenGL *Context, MythPlayerUI *Player, InteropType Type)
AVDRMFrameDescriptor * VerifyBuffer(MythRenderOpenGL *Context, MythVideoFrame *Frame)
void DeleteTextures(void) override
static MythDRMPRIMEInterop * CreateDRM(MythRenderOpenGL *Context, MythPlayerUI *Player)
Create a DRM PRIME interop instance.
static void GetDRMTypes(MythRenderOpenGL *Render, MythInteropGPU::InteropMap &Types)
~MythDRMPRIMEInterop() override
std::map< VideoFrameType, InteropTypes > InteropMap
MythVideoColourSpace contains a QMatrix4x4 that can convert YCbCr data to RGB.