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++
854 B
Raw Blame
#pragma once
#include <d3d12.h>
#include <nvsdk_ngx.h>
#include "veyra/ngx/NgxCoreHost.h"
namespace veyra::ngx {
// Independent adapter to the RTX Video SDK 1.1 documented VSR parameter ABI.
// Uses the existing NGX core session; input/output are encoded SDR RGBA8.
class VideoSrBackend {
public:
    ~VideoSrBackend(){release();}
    bool create(NgxCoreHost&,ID3D12GraphicsCommandList*,unsigned width=0,unsigned height=0,unsigned outWidth=0,unsigned outHeight=0);
    bool evaluate(ID3D12GraphicsCommandList*,ID3D12Resource*,ID3D12Resource*,unsigned);
    bool release();
    const void* identity() const { return handle_; }
    bool duplicateCreation() const { return duplicateCreation_; }
private:
    NgxCoreHost* core_=nullptr;
    NVSDK_NGX_Parameter* params_=nullptr;
    NVSDK_NGX_Handle* handle_=nullptr;
    bool duplicateCreation_=false;
};
}