This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit caa98b49384444b35bf265763a850a837708160c Author: Joss Gray <[email protected]> AuthorDate: Fri Jul 24 16:22:36 2026 -0400 Commit: dev-joss <[email protected]> CommitDate: Sat Nov 7 21:59:44 2026 +0000 tests/fate: add NotchLC decoder tests NotchLC had no coverage at all. Add five framemd5 tests covering the alpha block types, the chroma ramp paths and non-multiple-of-16 dimensions. alpha-ramp, alpha-ramp-oddsize and chroma-alpha fail against the decoder as it stood before the recent alpha fixes. alpha-blocks and alpha-macroblocks exercise only the opaque and transparent block types and are plain regression guards. The tests use framemd5 rather than framecrc because alpha-blocks.mov and alpha-macroblocks.mov both produce framecrc 0xd37626e8 despite their different spatial arrangements, while their MD5s differ. A framecrc reference would therefore not tell the two patterns apart. The samples are synthetic patterns encoded with the NotchLC Adobe CC plugin and still need uploading to fate-suite under notchlc/. The Forgejo Fairy review of PR #23791 found that native byte order makes all five NotchLC test references fail on big-endian hosts. Select yuva444p12le and use an explicit scale filter because FATE disables automatic conversion. Require SCALE_FILTER when selecting these tests. All five tests pass on AArch64 with the existing references. They are excluded when SCALE_FILTER is disabled. Assisted-by: Fairy --- tests/Makefile | 1 + tests/fate/notchlc.mak | 19 +++++++++++++++++++ .../{h264-crop-to-container => notchlc-alpha-blocks} | 4 ++-- ...64-crop-to-container => notchlc-alpha-macroblocks} | 4 ++-- .../{h264-crop-to-container => notchlc-alpha-ramp} | 4 ++-- ...4-crop-to-container => notchlc-alpha-ramp-oddsize} | 4 ++-- .../{h264-crop-to-container => notchlc-chroma-alpha} | 4 ++-- 7 files changed, 30 insertions(+), 10 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index beb53a54ca..365c6e7c19 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -243,6 +243,7 @@ include $(SRC_PATH)/tests/fate/mpeg4.mak include $(SRC_PATH)/tests/fate/mpegps.mak include $(SRC_PATH)/tests/fate/mpegts.mak include $(SRC_PATH)/tests/fate/mxf.mak +include $(SRC_PATH)/tests/fate/notchlc.mak include $(SRC_PATH)/tests/fate/ogg-vorbis.mak include $(SRC_PATH)/tests/fate/ogg-flac.mak include $(SRC_PATH)/tests/fate/ogg-opus.mak diff --git a/tests/fate/notchlc.mak b/tests/fate/notchlc.mak new file mode 100644 index 0000000000..8033dec3ef --- /dev/null +++ b/tests/fate/notchlc.mak @@ -0,0 +1,19 @@ +FATE_NOTCHLC += fate-notchlc-alpha-ramp +fate-notchlc-alpha-ramp: CMD = framemd5 -i $(TARGET_SAMPLES)/notchlc/alpha-ramp.mov -pix_fmt yuva444p12le -vf scale + +FATE_NOTCHLC += fate-notchlc-alpha-blocks +fate-notchlc-alpha-blocks: CMD = framemd5 -i $(TARGET_SAMPLES)/notchlc/alpha-blocks.mov -pix_fmt yuva444p12le -vf scale + +FATE_NOTCHLC += fate-notchlc-alpha-macroblocks +fate-notchlc-alpha-macroblocks: CMD = framemd5 -i $(TARGET_SAMPLES)/notchlc/alpha-macroblocks.mov -pix_fmt yuva444p12le -vf scale + +FATE_NOTCHLC += fate-notchlc-alpha-ramp-oddsize +fate-notchlc-alpha-ramp-oddsize: CMD = framemd5 -i $(TARGET_SAMPLES)/notchlc/alpha-ramp-500x300.mov -pix_fmt yuva444p12le -vf scale + +FATE_NOTCHLC += fate-notchlc-chroma-alpha +fate-notchlc-chroma-alpha: CMD = framemd5 -i $(TARGET_SAMPLES)/notchlc/chroma-alpha.mov -pix_fmt yuva444p12le -vf scale + +FATE_NOTCHLC-$(call FRAMEMD5, MOV, NOTCHLC, SCALE_FILTER) += $(FATE_NOTCHLC) + +FATE_SAMPLES_FFMPEG += $(FATE_NOTCHLC-yes) +fate-notchlc: $(FATE_NOTCHLC-yes) diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/notchlc-alpha-blocks similarity index 62% copy from tests/ref/fate/h264-crop-to-container copy to tests/ref/fate/notchlc-alpha-blocks index 855c93dd8b..e38ca1f8e1 100644 --- a/tests/ref/fate/h264-crop-to-container +++ b/tests/ref/fate/notchlc-alpha-blocks @@ -4,7 +4,7 @@ #tb 0: 1001/30000 #media_type 0: video #codec_id 0: rawvideo -#dimensions 0: 1920x1080 +#dimensions 0: 512x512 #sar 0: 0/1 #stream#, dts, pts, duration, size, hash -0, 0, 0, 1, 3110400, 43a312e1eebc7dca1bd23456302a44e3 +0, 0, 0, 1, 2097152, 67bd65546c55ffbd1a64b7f9492a42fb diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/notchlc-alpha-macroblocks similarity index 62% copy from tests/ref/fate/h264-crop-to-container copy to tests/ref/fate/notchlc-alpha-macroblocks index 855c93dd8b..cea7275da7 100644 --- a/tests/ref/fate/h264-crop-to-container +++ b/tests/ref/fate/notchlc-alpha-macroblocks @@ -4,7 +4,7 @@ #tb 0: 1001/30000 #media_type 0: video #codec_id 0: rawvideo -#dimensions 0: 1920x1080 +#dimensions 0: 512x512 #sar 0: 0/1 #stream#, dts, pts, duration, size, hash -0, 0, 0, 1, 3110400, 43a312e1eebc7dca1bd23456302a44e3 +0, 0, 0, 1, 2097152, 640574a89b3940be667ed53d248d3f53 diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/notchlc-alpha-ramp similarity index 62% copy from tests/ref/fate/h264-crop-to-container copy to tests/ref/fate/notchlc-alpha-ramp index 855c93dd8b..c861dbc17d 100644 --- a/tests/ref/fate/h264-crop-to-container +++ b/tests/ref/fate/notchlc-alpha-ramp @@ -4,7 +4,7 @@ #tb 0: 1001/30000 #media_type 0: video #codec_id 0: rawvideo -#dimensions 0: 1920x1080 +#dimensions 0: 512x512 #sar 0: 0/1 #stream#, dts, pts, duration, size, hash -0, 0, 0, 1, 3110400, 43a312e1eebc7dca1bd23456302a44e3 +0, 0, 0, 1, 2097152, b4f2fc126dd4b69c536d8b606273386c diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/notchlc-alpha-ramp-oddsize similarity index 62% copy from tests/ref/fate/h264-crop-to-container copy to tests/ref/fate/notchlc-alpha-ramp-oddsize index 855c93dd8b..0333c8c808 100644 --- a/tests/ref/fate/h264-crop-to-container +++ b/tests/ref/fate/notchlc-alpha-ramp-oddsize @@ -4,7 +4,7 @@ #tb 0: 1001/30000 #media_type 0: video #codec_id 0: rawvideo -#dimensions 0: 1920x1080 +#dimensions 0: 500x300 #sar 0: 0/1 #stream#, dts, pts, duration, size, hash -0, 0, 0, 1, 3110400, 43a312e1eebc7dca1bd23456302a44e3 +0, 0, 0, 1, 1200000, 24e3f542b4fee8fe1cbe6805f1979eb0 diff --git a/tests/ref/fate/h264-crop-to-container b/tests/ref/fate/notchlc-chroma-alpha similarity index 62% copy from tests/ref/fate/h264-crop-to-container copy to tests/ref/fate/notchlc-chroma-alpha index 855c93dd8b..5ec3d5587c 100644 --- a/tests/ref/fate/h264-crop-to-container +++ b/tests/ref/fate/notchlc-chroma-alpha @@ -4,7 +4,7 @@ #tb 0: 1001/30000 #media_type 0: video #codec_id 0: rawvideo -#dimensions 0: 1920x1080 +#dimensions 0: 512x512 #sar 0: 0/1 #stream#, dts, pts, duration, size, hash -0, 0, 0, 1, 3110400, 43a312e1eebc7dca1bd23456302a44e3 +0, 0, 0, 1, 2097152, 51b012d44f2e69bce68bafb7261923e9 -- To stop receiving notification emails like this one, please contact [email protected]. _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
