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 <QQuickImageProvider>
#include <QString>
#include <cstdint>
#include <mutex>
namespace veyra::ui {
// Image.asynchronous keeps demux and software decode off the QML render thread.
// This decoder owns its own FFmpeg context and never reads the playback swapchain.
class ThumbnailProvider final : public QQuickImageProvider {
public:
ThumbnailProvider();
void setSource(const QString& path);
QImage requestImage(const QString& id, QSize* size, const QSize& requestedSize) override;
private:
static QImage frameAt(const QString& path, int64_t milliseconds);
static QImage coverArt(const QString& path);
std::mutex mutex_;
QString source_;
};
} // namespace veyra::ui