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++
770 B
Raw Blame
#pragma once
#include "veyra/ngx/NgxCoreHost.h"
#include "veyra/engine/VideoHdrSettings.h"
#include <windows.h>

namespace veyra::ngx {
// RTX Video SDK 1.1 public ABI, independent implementation. The shared NGX
// core owns initialization; the pinned module reference outlives the feature.
class TrueHdrBackend {
public:
    ~TrueHdrBackend(){release();}
    bool create(NgxCoreHost&,ID3D12GraphicsCommandList*,const std::wstring& runtimeDirectory);
    bool evaluate(ID3D12GraphicsCommandList*,ID3D12Resource* sdr,ID3D12Resource* scrgb,const engine::VideoHdrSettings&);
    bool release();
private:
    NgxCoreHost* core_=nullptr;
    NVSDK_NGX_Parameter* params_=nullptr;
    NVSDK_NGX_Handle* handle_=nullptr;
    HMODULE module_=nullptr;
    bool first_=true;
};
}