Add support for HDR with VAAPI using DRM frontend renderer
This commit is contained in:
parent
9755e31fa2
commit
cf089fdfe9
7 changed files with 214 additions and 40 deletions
|
|
@ -50,6 +50,12 @@ public:
|
|||
virtual void freeEGLImages(EGLDisplay dpy, EGLImage[EGL_MAX_PLANES]) override;
|
||||
#endif
|
||||
|
||||
#if HAVE_DRM
|
||||
virtual bool canExportDrmPrime() override;
|
||||
virtual bool mapDrmPrimeFrame(AVFrame* frame, AVDRMFrameDescriptor* drmDescriptor) override;
|
||||
virtual void unmapDrmPrimeFrame(AVDRMFrameDescriptor* drmDescriptor) override;
|
||||
#endif
|
||||
|
||||
private:
|
||||
VADisplay openDisplay(SDL_Window* window);
|
||||
bool canExportSurfaceHandle(int layerTypeFlag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue