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

Class BenchmarkOptions

examples/VulkanBenchmark.cpp:115–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113};
114
115struct BenchmarkOptions {
116 std::string video_path = std::string(TEST_MEDIA_PATH) + "keyframes.mp4";
117 std::string overlay_path = std::string(TEST_MEDIA_PATH) + "front3.png";
118 std::string vaapi_device = "/dev/dri/renderD128";
119 std::string row_name;
120 std::string mode = "preview";
121 std::string dump_dir;
122 int max_frames = 120;
123 int output_width = 0;
124 int output_height = 0;
125 int preview_width = 854;
126 int preview_height = 480;
127 int dump_every = 0;
128 double overlay_alpha = 0.72;
129 double overlay_rotation = -8.0;
130 bool run_cpu = true;
131 bool run_vulkan = true;
132};
133
134struct RenderLayout {
135 int output_width = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected