Skip to content

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++
609 B
Raw Blame
#pragma once
#include <regex>
#include <string>
namespace veyra::diagnostics {
inline std::string redact(std::string s){
    // Fail closed on unknown path formats: remove from a Windows absolute
    // path to end of line, even when the path contains spaces.
    s=std::regex_replace(s,std::regex(R"([A-Za-z]:[\\/][^\r\n]*)"),"[本地路径已隐藏]");
    s=std::regex_replace(s,std::regex(R"(\\\\[^\r\n]*)"),"[设备或网络路径已隐藏]");
    s=std::regex_replace(s,std::regex(R"((serial|serialnumber|devicepath|username|user)[=: ]+[^\s,;]+)",std::regex::icase),"$1=[已隐藏]");
    return s;
}
}