VapourSynth-llvmexpr
Loading...
Searching...
No Matches
VkExprExecutor.hpp
Go to the documentation of this file.
1
19
20#ifndef LLVMEXPR_RUNTIME_VULKAN_VKEXPREXECUTOR_HPP
21#define LLVMEXPR_RUNTIME_VULKAN_VKEXPREXECUTOR_HPP
22
23#include <array>
24#include <cstddef>
25#include <cstdint>
26#include <memory>
27#include <span>
28#include <string>
29#include <vector>
30
31#include "VapourSynth4.h"
32
33namespace vkexpr {
34
36 public:
37 VkExprExecutor(int device_id, int num_streams, int num_inputs,
38 std::array<std::vector<std::string>, 3> glsl_stages,
39 std::uint32_t num_props_floats);
41
46
47 void processPlane(int plane, int frame_number,
48 std::span<const VSFrame* const> inputs, VSFrame* output,
49 std::span<const float> props, const VSAPI* vsapi);
50
51 private:
52 struct Impl;
53 std::unique_ptr<Impl> impl;
54};
55
56} // namespace vkexpr
57
58#endif // LLVMEXPR_RUNTIME_VULKAN_VKEXPREXECUTOR_HPP
VkExprExecutor & operator=(const VkExprExecutor &)=delete
VkExprExecutor & operator=(VkExprExecutor &&)=delete
VkExprExecutor(const VkExprExecutor &)=delete
VkExprExecutor(int device_id, int num_streams, int num_inputs, std::array< std::vector< std::string >, 3 > glsl_stages, std::uint32_t num_props_floats)
void processPlane(int plane, int frame_number, std::span< const VSFrame *const > inputs, VSFrame *output, std::span< const float > props, const VSAPI *vsapi)
VkExprExecutor(VkExprExecutor &&)=delete