mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 15:19:38 +03:00
Add self-contained FATE coverage for ASTC LDR, HDR, profile mismatch, 3D-block, and ASTC/KTX container paths. Exercise both KTX color profiles and inspect the generated KTX enum and single-mipmap header fields directly so the test does not rely solely on FFmpeg's matching demuxer. Cover the KTX linear default as well: the linear GL internal format says nothing about the endpoint formats the blocks use, so a linear texture carrying HDR endpoints has to decode like an explicit -dec_profile hdr-ldr-a request instead of coming back as the magenta mismatch colour. Declare the lavfi, filter, codec, muxer, and demuxer dependencies used by each test, and keep generated negative-test files in the FATE cleanup set. The HDR test hashes frames converted to the explicitly little-endian gbrapf32le, so its bytewise output does not depend on the host endianness. Signed-off-by: Jun Zhao <barryjzhao@tencent.com>