Skip barrier in no-copy vulkan video encode

This commit is contained in:
Patrick Nicolas
2026-03-31 09:06:27 +02:00
parent 22a819b8c8
commit 23689abaa7
4 changed files with 25 additions and 13 deletions
+4
View File
@@ -96,6 +96,10 @@ protected:
virtual vk::ExtensionProperties std_header_version() = 0;
public:
bool need_copy() const override
{
return slot_data[0].tmp_image;
}
std::optional<data> encode(uint8_t slot, uint64_t frame_index) override;
std::pair<bool, vk::Semaphore> present_image(vk::Image y_cbcr, bool transferred, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t frame_index) override;
void post_submit(uint8_t slot) override;