2 #define _VA_DISPLAY _H1
10 struct VADisplayWithCleanup {
11 ~VADisplayWithCleanup();
14 Display *x11_display = nullptr;
15 bool can_use_zerocopy = true; // For H.264 encoding in Nageru.
18 std::unique_ptr<VADisplayWithCleanup> va_open_display(const std::string &va_display); // Can return nullptr on failure.
20 #endif // !defined(_VA_DISPLAY_H)