vulkan h265 /w 10-bit + fix encoder hang (#565)

This commit is contained in:
galister
2025-11-02 11:21:10 +01:00
committed by GitHub
parent 631025a513
commit 505de3d625
12 changed files with 403 additions and 254 deletions
+2
View File
@@ -20,6 +20,7 @@
#include <unordered_map>
#include <vector>
#include <vulkan/vulkan_raii.hpp>
#include <vulkan/vulkan_structs.hpp>
#include "video_encoder.h"
#include "vk/allocation.h"
@@ -82,6 +83,7 @@ class video_encoder_vulkan : public video_encoder
protected:
const uint8_t num_dpb_slots;
vk::Extent3D aligned_extent;
vk::VideoEncodeRateControlLayerInfoKHR rate_control_layer;
std::optional<vk::VideoEncodeRateControlInfoKHR> rate_control;