载入中...
搜索中...
未找到
FrameCapturePreview.hpp
浏览该文件的文档.
1#pragma once
3namespace eve::dev {
6 std::string view = "auto";
7 int channel = 0;
8 uint32_t maxWidth = 1024, maxHeight = 1024;
9 float rangeMin = 0.f, rangeMax = 1.f, exposure = 0.f;
10 size_t maxBytes = 2u * 1024u * 1024u;
11 std::array<float, 16> inverseProjection{};
12};
15 uint32_t width = 0, height = 0;
16 std::string view;
17 std::vector<uint8_t> png;
18};
23} // namespace eve::dev
#define EVENGINE_API_FOUNDATION
每个链接组(link group)各自的导出宏。
Definition Export.h:106
std::unique_ptr< gpgpu::GpuBuffer > buffer
Definition OnnxGpgpu.cpp:26
const SquirrelValueOptions & options
Move-only operation result carrying either a value or Status.
Definition Result.h:176
Result< FramePreview > frameCapturePreview(const FrameCaptureBuffer &b, const FramePreviewOptions &o)
Immutable CPU attachment with producer-provided decoding metadata.
Explicit CPU preview transformation, separate from costly GPU capture.
std::array< float, 16 > inverseProjection
Encoded preview; width and height may differ from the original attachment.
std::vector< uint8_t > png