#4829: Overflows (?) in xyz -> rgb conversion -------------------------------------+------------------------------------- Reporter: Carl Eugen | Owner: Niklas Hoyos | Haas <git@…> Type: defect | Status: closed Priority: normal | Component: swscale Version: git-master | Resolution: fixed Keywords: xyz | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Niklas Haas <git@…>):
* owner: (none) => Niklas Haas <git@…> * resolution: => fixed * status: open => closed Comment: In [changeset:"af6d52eec66961f6a502b0f2f390c12226d087cd/ffmpeg" af6d52ee/ffmpeg]: {{{#!CommitTicketReference repository="ffmpeg" revision="af6d52eec66961f6a502b0f2f390c12226d087cd" swscale: use 16-bit intermediate precision for RGB/XYZ conversion The current logic uses 12-bit linear light math, which is woefully insufficient and leads to nasty postarization artifacts. This patch simply switches the internal logic to 16-bit precision. This raises the memory requirement of these tables from 32 kB to 272 kB. All relevant FATE tests updated for improved accuracy. Fixes: #4829 Signed-off-by: Niklas Haas <g...@haasn.dev> Sponsored-by: Sovereign Tech Fund }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/4829#comment:11> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".