12 struct surface_descriptor_t;
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);
Declarations for common platform specific utilities.
std::unique_ptr< platf::avcodec_encode_device_t > make_avcodec_encode_device(int width, int height, bool vram)
Create AVCodec encode device.
Definition cuda.cpp:657
Miscellaneous declarations for Linux.
bool validate(int fd)
Validate that the configured VAAPI device can be used.
Definition vaapi.cpp:687