struct Frame;
-struct VADisplayWithCleanup {
- ~VADisplayWithCleanup();
-
- VADisplay va_dpy;
- Display *x11_display = nullptr;
- int drm_fd = -1;
-};
-std::unique_ptr<VADisplayWithCleanup> va_open_display(const std::string &va_display); // Can return nullptr on failure.
std::string get_usable_va_display();
void init_jpeg_vaapi();