fate: Avoid unnecessary pixel format conversions

Multimedia / Libav - Martin Storsjö [martin.st] - 30 June 2015 15:10 UTC

Most of the fate-dds-* and fate-txd-* tests already output into the same pixel format regardless of platform endianness, so there's no need to force conversion to another format.

This fixes the tests fate-txd-16bpp, fate-txd-odd, fate-dds-rgb16, fate-dds-rgb24 and fate-dds-xrgb on big endian, where the tests seem to fail due to issues with certain conversion codepaths in swscale.

Those conversion codepaths should of course be fixed, but the individual decoder tests should use as little extra conversion steps as possible.

e2bd03a fate: Avoid unnecessary pixel format conversions
tests/fate/image.mak | 4 +++-
tests/fate/video.mak | 4 ++--
tests/ref/fate/dds-rgb16 | 2 +-
tests/ref/fate/dds-rgb24 | 2 +-
tests/ref/fate/dds-uyvy | 2 +-
tests/ref/fate/dds-xbgr | 2 +-
tests/ref/fate/dds-y | 2 +-
tests/ref/fate/dds-ya | 2 +-
tests/ref/fate/dds-yuyv | 2 +-
tests/ref/fate/txd-16bpp | 22 +++++++++++-----------
tests/ref/fate/txd-odd | 2 +-
11 files changed, 24 insertions(+), 22 deletions(-)

Upstream: git.libav.org


  • Share