VapourSynth 66__zip → 70__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {VapourSynth-66/VapourSynth.egg-info → vapoursynth-70}/PKG-INFO +1 -1
- vapoursynth-70/VAPOURSYNTH_VERSION +1 -0
- {VapourSynth-66 → vapoursynth-70/VapourSynth.egg-info}/PKG-INFO +1 -1
- {VapourSynth-66 → vapoursynth-70}/VapourSynth.egg-info/SOURCES.txt +0 -10
- {VapourSynth-66 → vapoursynth-70}/include/VSScript4.h +12 -0
- {VapourSynth-66 → vapoursynth-70}/include/VapourSynth4.h +8 -0
- {VapourSynth-66 → vapoursynth-70}/setup.py +1 -1
- {VapourSynth-66 → vapoursynth-70}/src/cython/vapoursynth.c +18631 -32554
- {VapourSynth-66 → vapoursynth-70}/src/cython/vapoursynth.pxd +106 -100
- {VapourSynth-66 → vapoursynth-70}/src/cython/vapoursynth.pyx +204 -31
- vapoursynth-70/src/cython/vsconstants.pxd +150 -0
- VapourSynth-66/VAPOURSYNTH_VERSION +0 -1
- VapourSynth-66/src/cython/vsconstants.pxd +0 -84
- VapourSynth-66/test/__pycache__/async_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/environment_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/expr_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/filter_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/log_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/lut_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/prop_dict_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/weakref_test.cpython-312.pyc +0 -0
- VapourSynth-66/test/__pycache__/zimgtest.cpython-312.pyc +0 -0
- {VapourSynth-66 → vapoursynth-70}/COPYING.LESSER +0 -0
- {VapourSynth-66 → vapoursynth-70}/MANIFEST.in +0 -0
- {VapourSynth-66 → vapoursynth-70}/README.md +0 -0
- {VapourSynth-66 → vapoursynth-70}/VapourSynth.egg-info/dependency_links.txt +0 -0
- {VapourSynth-66 → vapoursynth-70}/VapourSynth.egg-info/top_level.txt +0 -0
- {VapourSynth-66 → vapoursynth-70}/include/VSConstants4.h +0 -0
- {VapourSynth-66 → vapoursynth-70}/include/VSHelper.h +0 -0
- {VapourSynth-66 → vapoursynth-70}/include/VSHelper4.h +0 -0
- {VapourSynth-66 → vapoursynth-70}/include/VSScript.h +0 -0
- {VapourSynth-66 → vapoursynth-70}/include/VapourSynth.h +0 -0
- {VapourSynth-66 → vapoursynth-70}/setup.cfg +0 -0
- {VapourSynth-66 → vapoursynth-70}/src/cython/vsscript.pxd +0 -0
- {VapourSynth-66 → vapoursynth-70}/src/cython/vsscript_internal.pxd +0 -0
- {VapourSynth-66 → vapoursynth-70}/src/vsscript/vsscript_internal.h +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/async_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/environment_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/expr_compiler/compiler_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/expr_compiler/havs_exprs.txt +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/expr_compiler/muvs_exprs.txt +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/expr_compiler/reference_output.txt +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/expr_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/filter_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/log_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/lut_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/prop_dict_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/weakref_test.py +0 -0
- {VapourSynth-66 → vapoursynth-70}/test/zimgtest.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#define VS_CURRENT_RELEASE 70
|
|
@@ -31,16 +31,6 @@ test/prop_dict_test.py
|
|
|
31
31
|
test/test.py
|
|
32
32
|
test/weakref_test.py
|
|
33
33
|
test/zimgtest.py
|
|
34
|
-
test/__pycache__/async_test.cpython-312.pyc
|
|
35
|
-
test/__pycache__/environment_test.cpython-312.pyc
|
|
36
|
-
test/__pycache__/expr_test.cpython-312.pyc
|
|
37
|
-
test/__pycache__/filter_test.cpython-312.pyc
|
|
38
|
-
test/__pycache__/log_test.cpython-312.pyc
|
|
39
|
-
test/__pycache__/lut_test.cpython-312.pyc
|
|
40
|
-
test/__pycache__/prop_dict_test.cpython-312.pyc
|
|
41
|
-
test/__pycache__/test.cpython-312.pyc
|
|
42
|
-
test/__pycache__/weakref_test.cpython-312.pyc
|
|
43
|
-
test/__pycache__/zimgtest.cpython-312.pyc
|
|
44
34
|
test/expr_compiler/compiler_test.py
|
|
45
35
|
test/expr_compiler/havs_exprs.txt
|
|
46
36
|
test/expr_compiler/muvs_exprs.txt
|
|
@@ -23,8 +23,13 @@
|
|
|
23
23
|
|
|
24
24
|
#include "VapourSynth4.h"
|
|
25
25
|
|
|
26
|
+
/* Note that the base version of the API is 4.1 due to that change happening very soon after the API4 release */
|
|
26
27
|
#define VSSCRIPT_API_MAJOR 4
|
|
28
|
+
#if defined(VSSCRIPT_USE_LATEST_API) || defined(VSSCRIPT_USE_API_42)
|
|
29
|
+
#define VSSCRIPT_API_MINOR 2
|
|
30
|
+
#else
|
|
27
31
|
#define VSSCRIPT_API_MINOR 1
|
|
32
|
+
#endif
|
|
28
33
|
#define VSSCRIPT_API_VERSION VS_MAKE_VERSION(VSSCRIPT_API_MAJOR, VSSCRIPT_API_MINOR)
|
|
29
34
|
|
|
30
35
|
typedef struct VSScript VSScript;
|
|
@@ -90,6 +95,13 @@ struct VSSCRIPTAPI {
|
|
|
90
95
|
*/
|
|
91
96
|
void (VS_CC *evalSetWorkingDir)(VSScript *handle, int setCWD) VS_NOEXCEPT;
|
|
92
97
|
|
|
98
|
+
#if defined(VSSCRIPT_USE_LATEST_API) || defined(VSSCRIPT_USE_API_42)
|
|
99
|
+
/*
|
|
100
|
+
* Write a list of set output index values to dst but at most size values.
|
|
101
|
+
* Always returns the total number of available output index values.
|
|
102
|
+
*/
|
|
103
|
+
int (VS_CC *getAvailableOutputNodes)(VSScript *handle, int size, int *dst) VS_NOEXCEPT;
|
|
104
|
+
#endif
|
|
93
105
|
};
|
|
94
106
|
|
|
95
107
|
VS_API(const VSSCRIPTAPI *) getVSScriptAPI(int version) VS_NOEXCEPT;
|
|
@@ -26,7 +26,11 @@
|
|
|
26
26
|
|
|
27
27
|
#define VS_MAKE_VERSION(major, minor) (((major) << 16) | (minor))
|
|
28
28
|
#define VAPOURSYNTH_API_MAJOR 4
|
|
29
|
+
#if defined(VS_USE_LATEST_API) || defined(VS_USE_API_41)
|
|
29
30
|
#define VAPOURSYNTH_API_MINOR 1
|
|
31
|
+
#else
|
|
32
|
+
#define VAPOURSYNTH_API_MINOR 0
|
|
33
|
+
#endif
|
|
30
34
|
#define VAPOURSYNTH_API_VERSION VS_MAKE_VERSION(VAPOURSYNTH_API_MAJOR, VAPOURSYNTH_API_MINOR)
|
|
31
35
|
|
|
32
36
|
#define VS_AUDIO_FRAME_SAMPLES 3072
|
|
@@ -133,6 +137,10 @@ typedef enum VSPresetVideoFormat {
|
|
|
133
137
|
pfYUV422P16 = VS_MAKE_VIDEO_ID(cfYUV, stInteger, 16, 1, 0),
|
|
134
138
|
pfYUV444P16 = VS_MAKE_VIDEO_ID(cfYUV, stInteger, 16, 0, 0),
|
|
135
139
|
|
|
140
|
+
pfYUV420PH = VS_MAKE_VIDEO_ID(cfYUV, stFloat, 16, 1, 1),
|
|
141
|
+
pfYUV420PS = VS_MAKE_VIDEO_ID(cfYUV, stFloat, 32, 1, 1),
|
|
142
|
+
pfYUV422PH = VS_MAKE_VIDEO_ID(cfYUV, stFloat, 16, 1, 0),
|
|
143
|
+
pfYUV422PS = VS_MAKE_VIDEO_ID(cfYUV, stFloat, 32, 1, 0),
|
|
136
144
|
pfYUV444PH = VS_MAKE_VIDEO_ID(cfYUV, stFloat, 16, 0, 0),
|
|
137
145
|
pfYUV444PS = VS_MAKE_VIDEO_ID(cfYUV, stFloat, 32, 0, 0),
|
|
138
146
|
|
|
@@ -101,7 +101,7 @@ setup(
|
|
|
101
101
|
ext_modules=[
|
|
102
102
|
Extension(
|
|
103
103
|
"vapoursynth", [join("src", "cython", "vapoursynth.pyx")],
|
|
104
|
-
define_macros=[("VS_GRAPH_API", None), ("VS_CURRENT_RELEASE", CURRENT_RELEASE)],
|
|
104
|
+
define_macros=[("VS_USE_LATEST_API", None), ("VS_GRAPH_API", None), ("VS_CURRENT_RELEASE", CURRENT_RELEASE)],
|
|
105
105
|
libraries=["vapoursynth"],
|
|
106
106
|
library_dirs=library_dirs,
|
|
107
107
|
include_dirs=[
|