summaryrefslogtreecommitdiff
path: root/libavfilter/vf_convolution_opencl.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-19 18:33:56 +0200
committerJames Almer <jamrial@gmail.com>2021-04-27 11:48:05 -0300
commita04ad248a05e7b613abe09b3bb067f555108d794 (patch)
treeb32341a557c481a5c9b2221b1aab4cce5ff88f7d /libavfilter/vf_convolution_opencl.c
parent85ba17f36dbfde1baeaa47e14d30c337add52c0d (diff)
avfilter: Constify all AVFilters
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_convolution_opencl.c')
-rw-r--r--libavfilter/vf_convolution_opencl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/vf_convolution_opencl.c b/libavfilter/vf_convolution_opencl.c
index 00246b2e43..c6218d3cd6 100644
--- a/libavfilter/vf_convolution_opencl.c
+++ b/libavfilter/vf_convolution_opencl.c
@@ -362,7 +362,7 @@ static const AVOption convolution_opencl_options[] = {
AVFILTER_DEFINE_CLASS(convolution_opencl);
-AVFilter ff_vf_convolution_opencl = {
+const AVFilter ff_vf_convolution_opencl = {
.name = "convolution_opencl",
.description = NULL_IF_CONFIG_SMALL("Apply convolution mask to input video"),
.priv_size = sizeof(ConvolutionOpenCLContext),
@@ -388,7 +388,7 @@ static const AVOption sobel_opencl_options[] = {
AVFILTER_DEFINE_CLASS(sobel_opencl);
-AVFilter ff_vf_sobel_opencl = {
+const AVFilter ff_vf_sobel_opencl = {
.name = "sobel_opencl",
.description = NULL_IF_CONFIG_SMALL("Apply sobel operator"),
.priv_size = sizeof(ConvolutionOpenCLContext),
@@ -414,7 +414,7 @@ static const AVOption prewitt_opencl_options[] = {
AVFILTER_DEFINE_CLASS(prewitt_opencl);
-AVFilter ff_vf_prewitt_opencl = {
+const AVFilter ff_vf_prewitt_opencl = {
.name = "prewitt_opencl",
.description = NULL_IF_CONFIG_SMALL("Apply prewitt operator"),
.priv_size = sizeof(ConvolutionOpenCLContext),
@@ -440,7 +440,7 @@ static const AVOption roberts_opencl_options[] = {
AVFILTER_DEFINE_CLASS(roberts_opencl);
-AVFilter ff_vf_roberts_opencl = {
+const AVFilter ff_vf_roberts_opencl = {
.name = "roberts_opencl",
.description = NULL_IF_CONFIG_SMALL("Apply roberts operator"),
.priv_size = sizeof(ConvolutionOpenCLContext),