aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/lavf/gbrpf32le.pfm
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 /tests/ref/lavf/gbrpf32le.pfm
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 'tests/ref/lavf/gbrpf32le.pfm')
-rw-r--r--tests/ref/lavf/gbrpf32le.pfm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ref/lavf/gbrpf32le.pfm b/tests/ref/lavf/gbrpf32le.pfm
index b3947a9fcb..fb9f90e883 100644
--- a/tests/ref/lavf/gbrpf32le.pfm
+++ b/tests/ref/lavf/gbrpf32le.pfm
@@ -1,3 +1,3 @@
-892c5a05e1cbb3d2f7761d51e18b9c4c *tests/data/images/gbrpf32le.pfm/02.gbrpf32le.pfm
+887bd04126ce36509578c51e692f3d62 *tests/data/images/gbrpf32le.pfm/02.gbrpf32le.pfm
1216533 tests/data/images/gbrpf32le.pfm/02.gbrpf32le.pfm
tests/data/images/gbrpf32le.pfm/%02d.gbrpf32le.pfm CRC=0x95e1053f