MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / MakeVulkanDirectResult

Function MakeVulkanDirectResult

examples/VulkanBenchmark.cpp:2158–2170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2156}
2157
2158static BenchmarkResult MakeVulkanDirectResult(const BenchmarkOptions& options, const QImage& overlay_image) {
2159 BenchmarkResult result;
2160 result.name = "VulkanDirect->Vk";
2161 result.decode_backend = "Vulkan";
2162 result.composite_backend = "custom_vulkan";
2163 result.hw_decode_requested = true;
2164 result.hw_decode_used = false;
2165 result.readback_to_cpu = false;
2166 result.upload_to_vulkan = false;
2167 result.note = "Vulkan decode frame stays on Vulkan; custom GPU scale + alpha overlay";
2168 result.stats = RunVulkanDirectBenchmark(options, overlay_image, result.hw_decode_used);
2169 return result;
2170}
2171
2172static std::string FormatDouble(double value) {
2173 std::ostringstream out;

Callers 1

mainFunction · 0.85

Calls 1

RunVulkanDirectBenchmarkFunction · 0.85

Tested by

no test coverage detected