ACMX 2.136.0
Dual-Backend Real-Time GPU Video Synthesis
Loading...
Searching...
No Matches
output_paths.hpp
Go to the documentation of this file.
1#ifndef ACMXVK_APP_OUTPUT_PATHS_HPP
2#define ACMXVK_APP_OUTPUT_PATHS_HPP
3
4#include "options.hpp"
5#include "snapshot_writer.hpp"
6
7#include <chrono>
8#include <cstdint>
9#include <string>
10#include <string_view>
11
12namespace acmxvk {
13 [[nodiscard]] fs::path
14 output_frame_directory(const std::string &filename,
15 std::string_view suffix);
16 void create_output_directory(const fs::path &directory);
17 [[nodiscard]] fs::path frame_path(const fs::path &directory,
18 std::uint64_t index);
19 [[nodiscard]] std::string_view
20 snapshot_extension(SnapshotFormat format) noexcept;
21 [[nodiscard]] fs::path snapshot_path(
22 const fs::path &directory, std::uint32_t width, std::uint32_t height,
23 std::uint64_t &counter, SnapshotFormat format,
24 std::chrono::system_clock::time_point timestamp =
25 std::chrono::system_clock::now());
26} // namespace acmxvk
27
28#endif
fs::path snapshot_path(const fs::path &directory, std::uint32_t width, std::uint32_t height, std::uint64_t &counter, SnapshotFormat format, std::chrono::system_clock::time_point timestamp)
fs::path output_frame_directory(const std::string &filename, std::string_view suffix)
fs::path frame_path(const fs::path &directory, std::uint64_t index)
void create_output_directory(const fs::path &directory)
std::string_view snapshot_extension(SnapshotFormat format) noexcept