Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.
C++
#pragma once
#include "veyra/engine/EnhancementSettings.h"
#include <filesystem>
#include <vector>
namespace veyra::engine {
struct UserPreset { std::wstring name; EnhancementSettings settings; };
// Strict versioned whitelist schema; no paths, devices, or executable fields.
class PresetStore {
public:
explicit PresetStore(std::filesystem::path path):path_(std::move(path)){}
bool load();
bool save();
bool put(std::wstring name,EnhancementSettings,bool replace=false);
bool rename(size_t,std::wstring);
bool erase(size_t);
bool setDefault(size_t);
EnhancementSettings defaultSettings()const;
const std::vector<UserPreset>& entries()const{return entries_;}
const std::wstring& error()const{return error_;}
private:
static bool parse(const std::string&,std::vector<UserPreset>&,std::wstring&);
std::string serialize()const;
std::filesystem::path path_;
std::vector<UserPreset> entries_;
std::wstring default_,error_;
bool corrupt_=false;
};
}