[FFmpeg-devel] [PATCH] libswcale/input: use more accurate planer rgb16 yuv conversions
Michael Niedermayer
michael at niedermayer.cc
Tue Oct 6 19:23:43 EEST 2020
On Sat, Oct 03, 2020 at 04:31:58PM -0700, mindmark at gmail.com wrote:
> From: Mark Reid <mindmark at gmail.com>
>
> These conversion appears to be exhibiting the same rounding error as the rgbf32 formats where.
> I seperated the rounding value from the 16 and 128 offsets, I think it makes it a little more clear.
>
> ---
> libswscale/input.c | 6 ++--
> tests/ref/fate/filter-pixfmts-scale | 32 +++++++++++-----------
> tests/ref/fate/psd-rgb48 | 2 +-
> tests/ref/fate/psd-rgba64 | 2 +-
> tests/ref/fate/sws-floatimg-cmp | 32 +++++++++++-----------
> tests/ref/vsynth/vsynth1-ffv1-v3-rgb48 | 4 +--
> tests/ref/vsynth/vsynth1-r210 | 4 +--
> tests/ref/vsynth/vsynth2-ffv1-v3-rgb48 | 4 +--
> tests/ref/vsynth/vsynth2-r210 | 4 +--
> tests/ref/vsynth/vsynth3-ffv1-v3-rgb48 | 4 +--
> tests/ref/vsynth/vsynth3-r210 | 4 +--
> tests/ref/vsynth/vsynth_lena-ffv1-v3-rgb48 | 4 +--
> tests/ref/vsynth/vsynth_lena-r210 | 4 +--
> 13 files changed, 53 insertions(+), 53 deletions(-)
will apply
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20201006/7f7b8938/attachment.sig>
More information about the ffmpeg-devel
mailing list