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

Function ShouldDumpFrame

examples/VulkanBenchmark.cpp:219–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219static bool ShouldDumpFrame(const BenchmarkOptions& options, int frame_number) {
220 return !options.dump_dir.empty() && options.dump_every > 0 &&
221 frame_number > 0 && ((frame_number - 1) % options.dump_every == 0);
222}
223
224static std::filesystem::path DumpFramePath(const BenchmarkOptions& options,
225 const std::string& row_name,

Callers 3

SaveDumpImageFunction · 0.85
RunVulkanUploadBenchmarkFunction · 0.85
RunVulkanDirectBenchmarkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected