summaryrefslogtreecommitdiffstats
path: root/TOOLS/vf_dlopen/filterutils.h
diff options
context:
space:
mode:
authorRudolf Polzer <divverent@xonotic.org>2012-08-23 12:32:13 +0200
committerwm4 <wm4@nowhere>2012-08-23 13:13:53 +0200
commit2adc81f0a2459a565437009ff6f4ace1dca3d46c (patch)
tree4fb92807ad61980fac5230d670af374aaaa9d082 /TOOLS/vf_dlopen/filterutils.h
parent2e6450c7cc88f1e39034ac111e9b54a421bca661 (diff)
downloadmpv-2adc81f0a2459a565437009ff6f4ace1dca3d46c.tar.bz2
mpv-2adc81f0a2459a565437009ff6f4ace1dca3d46c.tar.xz
vf_dlopen: add a generic filter to load external filters
Usage: -vf dlopen=filename.so:args... Examples of such filters are provided in TOOLS/vf_dlopen/
Diffstat (limited to 'TOOLS/vf_dlopen/filterutils.h')
-rw-r--r--TOOLS/vf_dlopen/filterutils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/TOOLS/vf_dlopen/filterutils.h b/TOOLS/vf_dlopen/filterutils.h
new file mode 100644
index 0000000000..4b4229d8ea
--- /dev/null
+++ b/TOOLS/vf_dlopen/filterutils.h
@@ -0,0 +1,6 @@
+void copy_plane(
+ unsigned char *dest, unsigned dest_stride,
+ const unsigned char *src, unsigned src_stride,
+ unsigned length,
+ unsigned rows
+ );