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 <cstdint>
#include <optional>
namespace veyra::engine {
// A failed display query is not evidence of an HDR/SDR transition. Start in
// SDR until the first successful query, then retain the last known state.
class HdrDisplayState {
public:
bool update(std::uintptr_t target,std::optional<bool> active) {
if(target!=target_){target_=target;active_=false;}
if(active)active_=*active;
return active_;
}
private:
std::uintptr_t target_=0;
bool active_=false;
};
}