![]() |
Sunshine master
Self-hosted game stream host for Moonlight.
|
Declarations for FFmpeg Vulkan Video encoder. More...
#include "src/platform/common.h"Go to the source code of this file.
Functions | |
| std::unique_ptr< platf::avcodec_encode_device_t > | vk::make_avcodec_encode_device_ram (int width, int height) |
| Create a Vulkan encode device for RAM capture. | |
| std::unique_ptr< platf::avcodec_encode_device_t > | vk::make_avcodec_encode_device_vram (int width, int height, int offset_x, int offset_y) |
| Create a Vulkan encode device for VRAM capture. | |
| bool | vk::validate () |
| Check if FFmpeg Vulkan Video encoding is available. | |
| int | vk::vulkan_init_avcodec_hardware_input_buffer (platf::avcodec_encode_device_t *encode_device, AVBufferRef **hw_device_buf) |
| Initialize Vulkan hardware device for FFmpeg encoding. | |
Declarations for FFmpeg Vulkan Video encoder.
| int vk::vulkan_init_avcodec_hardware_input_buffer | ( | platf::avcodec_encode_device_t * | encode_device, |
| AVBufferRef ** | hw_device_buf ) |
Initialize Vulkan hardware device for FFmpeg encoding.
| encode_device | The encode device (vk_t). |
| hw_device_buf | Output hardware device buffer. |