[FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add >8 bit support

Michael Niedermayer michael at niedermayer.cc
Thu Nov 21 17:47:46 EET 2019


On Wed, Nov 20, 2019 at 10:54:42AM +0100, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/aarch64/vf_nlmeans_init.c |   6 +-
>  libavfilter/nlmeans_template.c        | 370 ++++++++++++++++++
>  libavfilter/vf_nlmeans.c              | 539 ++++++--------------------
>  libavfilter/vf_nlmeans.h              |  59 ++-
>  4 files changed, 548 insertions(+), 426 deletions(-)
>  create mode 100644 libavfilter/nlmeans_template.c

breaks:

make testprogs 
CC	libavfilter/tests/integral.o
libavfilter/tests/integral.c: In function ‘main’:
libavfilter/tests/integral.c:66:5: error: too few arguments to function ‘ff_nlmeans_init’
     ff_nlmeans_init(&dsp);
     ^
In file included from libavfilter/tests/integral.c:19:0:
./libavfilter/vf_nlmeans.c:131:6: note: declared here
 void ff_nlmeans_init(NLMeansDSPContext *dsp, int depth)
      ^
libavfilter/tests/integral.c:72:13: error: implicit declaration of function ‘compute_ssd_integral_image’ [-Werror=implicit-function-declaration]
             compute_ssd_integral_image(&dsp, ii_start, ii_lz_32,
             ^
libavfilter/tests/integral.c:76:13: error: implicit declaration of function ‘compute_unsafe_ssd_integral_image’ [-Werror=implicit-function-declaration]
             compute_unsafe_ssd_integral_image(ii_start2, ii_lz_32,
             ^
cc1: some warnings being treated as errors
make: *** [libavfilter/tests/integral.o] Error 1
make: Target `testprogs' not remade because of errors.


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191121/70e5b1ff/attachment.sig>


More information about the ffmpeg-devel mailing list