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++
749 B
Raw Blame
#pragma once
#include <cstddef>
#include <cstdint>

namespace veyra::pipeline::smaa {
// SMAA precomputed area / search textures (src/pipeline/SmaaLookupTables.cpp,
// generated by scripts/generate-smaa-lookup-tables.py). Rows top to bottom,
// tightly packed: AreaTex R8G8_UNORM, SearchTex R8_UNORM.
inline constexpr uint32_t kAreaTexWidth=160,kAreaTexHeight=560,kAreaTexPitch=kAreaTexWidth*2;
inline constexpr uint32_t kSearchTexWidth=64,kSearchTexHeight=16,kSearchTexPitch=kSearchTexWidth;
inline constexpr size_t kAreaTexBytes=size_t(kAreaTexPitch)*kAreaTexHeight;
inline constexpr size_t kSearchTexBytes=size_t(kSearchTexPitch)*kSearchTexHeight;
extern const uint8_t kAreaTex[kAreaTexBytes];
extern const uint8_t kSearchTex[kSearchTexBytes];
}