ACMX 2.139.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 output_frame_directory(const std::string &filename, std::string_view suffix);
14 void create_output_directory(const fs::path &directory);
15 [[nodiscard]] fs::path frame_path(const fs::path &directory, std::uint64_t index);
16 [[nodiscard]] std::string_view snapshot_extension(SnapshotFormat format) noexcept;
17 [[nodiscard]] 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 = std::chrono::system_clock::now());
18} // namespace acmxvk
19
20#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