From 798308ce7cc7f49dda550313d0372ffbb2ef8064 Mon Sep 17 00:00:00 2001 From: Asd-g <65298684+Asd-g@users.noreply.github.com> Date: Wed, 28 Jun 2023 01:04:23 +0300 Subject: [PATCH] Add missing headers --- src/plugin.cpp | 2 +- src/shader.cpp | 1 + src/tonemap.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugin.cpp b/src/plugin.cpp index bf2aa83..439f940 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -1,6 +1,6 @@ #include "avs_libplacebo.h" -static const char* AVSC_CC avisynth_c_plugin_init(AVS_ScriptEnvironment* env) +const char* AVSC_CC avisynth_c_plugin_init(AVS_ScriptEnvironment* env) { avs_add_function(env, "libplacebo_Deband", "c[iterations]i[threshold]f[radius]f[grainY]f[grainC]f[dither]i[lut_size]i[temporal]b[planes]i*[device]i[list_device]b[grain_neutral]f*", create_deband, 0); avs_add_function(env, "libplacebo_Resample", "cii[filter]s[radius]f[clamp]f[taper]f[blur]f[param1]f[param2]f[sx]f[sy]f[antiring]f[lut_entries]i[cutoff]f[sigmoidize]b[linearize]b[sigmoid_center]f[sigmoid_slope]f[trc]i[cplace]i[device]i[list_device]b[src_width]f[src_height]f", create_resample, 0); diff --git a/src/shader.cpp b/src/shader.cpp index 920a5d0..10f7a23 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -1,3 +1,4 @@ +#include #include #include diff --git a/src/tonemap.cpp b/src/tonemap.cpp index 1388e78..0935fb5 100644 --- a/src/tonemap.cpp +++ b/src/tonemap.cpp @@ -1,3 +1,4 @@ +#include #include #include "avs_libplacebo.h"