[FFmpeg-devel] [PATCH] avfilter/vf_ssim: add 9 and 10 bit depth support

Michael Niedermayer michael at niedermayer.cc
Fri Dec 16 01:49:33 EET 2016


On Thu, Dec 15, 2016 at 10:39:37PM +0100, Paul B Mahol wrote:
> Hi,
> 
> patch attached

>  vf_ssim.c          |  130 ++++++++++++++++++++++++++++++++++++++++++++++++-----
>  x86/vf_ssim_init.c |    2 
>  2 files changed, 120 insertions(+), 12 deletions(-)
> 7b60c3cadb5319fb93f3875942b50ab9f9b89e1e  0001-avfilter-vf_ssim-add-9-and-10-bit-depth-suppport.patch
> From ebf2f89fd191ed661c503726106e46b7c81d6cba Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Thu, 15 Dec 2016 22:33:42 +0100
> Subject: [PATCH] avfilter/vf_ssim: add 9 and 10 bit depth suppport
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_ssim.c          | 130 +++++++++++++++++++++++++++++++++++++----
>  libavfilter/x86/vf_ssim_init.c |   2 +-
>  2 files changed, 120 insertions(+), 12 deletions(-)

this produces some build warnings

CC      libavfilter/vf_ssim.o
libavfilter/vf_ssim.c: In function ‘ssim_4x4xn_16bit’:
libavfilter/vf_ssim.c:100:21: warning: ‘main’ is usually a function [-Wmain]
libavfilter/vf_ssim.c: In function ‘ssim_plane_16bit’:
libavfilter/vf_ssim.c:246:9: warning: passing argument 1 of ‘ssim_endn_16bit’ from incompatible pointer type [enabled by default]
libavfilter/vf_ssim.c:195:14: note: expected ‘const int64_t (*)[4]’ but argument is of type ‘int64_t (*)[4]’
libavfilter/vf_ssim.c:246:9: warning: passing argument 2 of ‘ssim_endn_16bit’ from incompatible pointer type [enabled by default]
libavfilter/vf_ssim.c:195:14: note: expected ‘const int64_t (*)[4]’ but argument is of type ‘int64_t (*)[4]’
CC      libavfilter/x86/vf_ssim_init.o
libavfilter/x86/vf_ssim_init.c: In function ‘ff_ssim_init_x86’:
libavfilter/x86/vf_ssim_init.c:40:28: warning: assignment from incompatible pointer type [enabled by default]

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161216/a529e986/attachment.sig>


More information about the ffmpeg-devel mailing list