Sunshine0.0.5917
Sunshine 0.0.5917
Self-hosted game stream host for Moonlight.
Loading...
Searching...
No Matches
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 {
28 std::unique_ptr<platf::avcodec_encode_device_t> make_avcodec_encode_device(int width, int height, bool vram);
39 std::unique_ptr<platf::avcodec_encode_device_t> make_avcodec_encode_device(int width, int height, int offset_x, int offset_y, bool vram);
51 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);
52
53 // Ensure the render device pointed to by fd is capable of encoding h264 with the hevc_mode configured
60 bool validate(int fd);
61} // namespace va
Declarations for common platform specific utilities.
Miscellaneous declarations for Linux.
EGL surface descriptor used to import a captured DMA-BUF.
Definition graphics.h:497
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)
Create AVCodec encode device.
Definition vaapi.cpp:798
bool validate(int fd)
Validate that the configured VAAPI device can be used.
Definition vaapi.cpp:759