Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
vaapi.h
Go to the documentation of this file.
1
5#pragma once
6
7// local includes
8#include "misc.h"
10
11namespace egl {
13}
14
15namespace va {
23 std::unique_ptr<platf::avcodec_encode_device_t> make_avcodec_encode_device(int width, int height, bool vram);
24 std::unique_ptr<platf::avcodec_encode_device_t> make_avcodec_encode_device(int width, int height, int offset_x, int offset_y, bool vram);
25 std::unique_ptr<platf::avcodec_encode_device_t> make_avcodec_encode_device(int width, int height, file_t &&card, int offset_x, int offset_y, bool vram);
26
27 // Ensure the render device pointed to by fd is capable of encoding h264 with the hevc_mode configured
28 bool validate(int fd);
29
37 int encode_capability(int fd);
38} // namespace va
Declarations for common platform specific utilities.
Miscellaneous declarations for Linux.
int encode_capability(int fd)
Rank what the GPU behind fd can encode, for choosing between GPUs.
Definition vaapi.cpp:634