aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/ebur128.c
diff options
context:
space:
mode:
authorLeo Izen <leo.izen@gmail.com>2022-11-16 06:43:06 -0500
committerJames Almer <jamrial@gmail.com>2022-12-27 10:41:25 -0300
commitcd9dd0300639689630171893b3dfb6c9ba63a692 (patch)
tree6bb3415330e46f9825f685781406f547efad7352 /libavfilter/ebur128.c
parent64007595dcb5bb3c5f7bfa74d0b0f2e378f6007e (diff)
downloadffmpeg-cd9dd0300639689630171893b3dfb6c9ba63a692.tar.gz
avcodec/pnm: avoid mirroring PFM images vertically
PFM (aka Portable FloatMap) encodes its scanlines from bottom-to-top, not from top-to-bottom, unlike other NetPBM formats. Without this patch, FFmpeg ignores this exception and decodes/encodes PFM images mirrored vertically from their proper orientation. For reference, see the NetPBM tool pfmtopam, which encodes a .pam from a .pfm, using the correct orientation (and which FFmpeg reads correctly). Also compare ffplay to magick display, which shows the correct orientation as well. See: http://www.pauldebevec.com/Research/HDR/PFM/ and see: https://netpbm.sourceforge.net/doc/pfm.html for descriptions of this image format. Signed-off-by: Leo Izen <leo.izen@gmail.com> Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/ebur128.c')
0 files changed, 0 insertions, 0 deletions