-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path0002-libavfilter-raisr_opencl-Add-raisr_opencl-filter.patch
More file actions
50 lines (48 loc) · 2.09 KB
/
0002-libavfilter-raisr_opencl-Add-raisr_opencl-filter.patch
File metadata and controls
50 lines (48 loc) · 2.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
From 954f1cada458477e977adfb42c354fce289a1576 Mon Sep 17 00:00:00 2001
From: Liang Xiaoxia <xiaoxia.liang@intel.com>
Date: Fri, 4 Aug 2023 10:56:36 +0800
Subject: [PATCH 2/2] FFmpeg Raisr-OpenCL filter for n6.0
Signed-off-by: Liang Xiaoxia <xiaoxia.liang@intel.com>
---
configure | 1 +
libavfilter/Makefile | 1 +
libavfilter/allfilters.c | 1 +
3 files changed, 3 insertions(+)
diff --git a/configure b/configure
index f87716611b..a3c22079a8 100755
--- a/configure
+++ b/configure
@@ -3754,6 +3754,7 @@ transpose_opencl_filter_deps="opencl"
transpose_vt_filter_deps="videotoolbox VTPixelRotationSessionCreate"
transpose_vulkan_filter_deps="vulkan spirv_compiler"
unsharp_opencl_filter_deps="opencl"
+raisr_opencl_filter_deps="opencl"
uspp_filter_deps="gpl avcodec"
vaguedenoiser_filter_deps="gpl"
vflip_vulkan_filter_deps="vulkan spirv_compiler"
diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index 13126f7f48..c138e2565b 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -546,6 +546,7 @@ OBJS-$(CONFIG_XBR_FILTER) += vf_xbr.o
OBJS-$(CONFIG_XCORRELATE_FILTER) += vf_convolve.o framesync.o
OBJS-$(CONFIG_XFADE_FILTER) += vf_xfade.o
OBJS-$(CONFIG_XFADE_OPENCL_FILTER) += vf_xfade_opencl.o opencl.o opencl/xfade.o
+OBJS-$(CONFIG_RAISR_OPENCL_FILTER) += vf_raisr_opencl.o opencl.o
OBJS-$(CONFIG_XFADE_VULKAN_FILTER) += vf_xfade_vulkan.o vulkan.o vulkan_filter.o
OBJS-$(CONFIG_XMEDIAN_FILTER) += vf_xmedian.o framesync.o
OBJS-$(CONFIG_XSTACK_FILTER) += vf_stack.o framesync.o
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index 0dc81faaed..ef5ce4df9c 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -403,6 +403,7 @@ extern const AVFilter ff_vf_pullup;
extern const AVFilter ff_vf_qp;
extern const AVFilter ff_vf_raisr;
extern const AVFilter ff_vf_random;
+extern const AVFilter ff_vf_raisr_opencl;
extern const AVFilter ff_vf_readeia608;
extern const AVFilter ff_vf_readvitc;
extern const AVFilter ff_vf_realtime;
--
2.34.1