![]() |
Sunshine latest
Self-hosted game stream host for Moonlight.
|
Declarations for VA-API hardware accelerated capture. More...
Go to the source code of this file.
Functions | |
std::unique_ptr< platf::avcodec_encode_device_t > | va::make_avcodec_encode_device (int width, int height, bool vram) |
std::unique_ptr< platf::avcodec_encode_device_t > | va::make_avcodec_encode_device (int width, int height, file_t &&card, int offset_x, int offset_y, bool vram) |
std::unique_ptr< platf::avcodec_encode_device_t > | va::make_avcodec_encode_device (int width, int height, int offset_x, int offset_y, bool vram) |
bool | va::validate (int fd) |
Declarations for VA-API hardware accelerated capture.
std::unique_ptr< platf::avcodec_encode_device_t > va::make_avcodec_encode_device | ( | int | width, |
int | height, | ||
bool | vram ) |
Width --> Width of the image Height --> Height of the image offset_x --> Horizontal offset of the image in the texture offset_y --> Vertical offset of the image in the texture file_t card --> The file descriptor of the render device used for encoding