On Tue, Jun 19, 2018 at 02:43:40PM +0300, Danil Iashchenko wrote: > lavfi: Add boxblur_opencl filter. Behaves like existing boxblur filter. > --- > > Refactored to use CL_SET_KERNEL_ARG(). > > configure | 1 + > libavfilter/Makefile | 6 +- > libavfilter/allfilters.c | 1 + > libavfilter/boxblur.c | 105 +++++++++++++++ > libavfilter/boxblur.h | 66 ++++++++++ > libavfilter/vf_avgblur_opencl.c | 283 > ++++++++++++++++++++++++++-------------- > libavfilter/vf_boxblur.c | 113 ++-------------- > 7 files changed, 369 insertions(+), 206 deletions(-) > create mode 100644 libavfilter/boxblur.c > create mode 100644 libavfilter/boxblur.h
this produces warnings during build: CC libavfilter/vf_boxblur.o libavfilter/vf_boxblur.c: In function ‘config_input’: libavfilter/vf_boxblur.c:83:11: warning: unused variable ‘expr’ [-Wunused-variable] char *expr; ^ libavfilter/vf_boxblur.c:82:33: warning: unused variable ‘res’ [-Wunused-variable] double var_values[VARS_NB], res; ^ libavfilter/vf_boxblur.c:82:12: warning: unused variable ‘var_values’ [-Wunused-variable] double var_values[VARS_NB], res; ^ libavfilter/vf_boxblur.c:81:13: warning: unused variable ‘ch’ [-Wunused-variable] int cw, ch; ^ libavfilter/vf_boxblur.c:81:9: warning: unused variable ‘cw’ [-Wunused-variable] int cw, ch; ^ also when moving code into a new file, make sure you copy the copyright statements from the original file too [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "You are 36 times more likely to die in a bathtub than at the hands of a terrorist. Also, you are 2.5 times more likely to become a president and 2 times more likely to become an astronaut, than to die in a terrorist attack." -- Thoughty2
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel