Re: [FFmpeg-devel] Bug in VMAF calculation for 10 bit comparison

2022-09-14 Thread christian.feldmann
Sure. sorry for that. Please find attached the patch file. -Original Message- From: ffmpeg-devel On Behalf Of Paul B Mahol Sent: Wednesday, September 14, 2022 18:49 To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] Bug in VMAF calculation for 10 bit comparison

[FFmpeg-devel] Bug in VMAF calculation for 10 bit comparison

2022-09-14 Thread christian.feldmann
Hi, I was debugging some VMAF calculation in ffmpeg when I stumbled on this bug in the latest master commit (9450f759748d02d1d284d2e4afd741cb0fe0c04a). Its in libavfilter/vf_libvmaf.c::109. The function copy_picture_data does only work correctly for 8 bit input. For 10 bit input, only half of t