Commit f80a436ffd for ffmpeg
commit f80a436ffd922aebb6d64824b301884da2cc1ee4
Author: Rainbaby <r@bgr.jp>
Date: Fri Aug 28 16:18:10 2026 +0900
tests/fate/video: add an AVS1-P16 Broadcasting decoding test
cavs/avsplus-1080i-testcard.ts is five pictures (I P B P B) of a 1080i
broadcast test card, captured off air from a Beijing DTMB multiplex on
2021-09-23. It carries no program content, only a zone plate, frequency
bursts and channel idents.
The five pictures cover AEC intra and inter decoding, field coded
pictures, two enhanced field coded B pictures and 15 annex A pseudo
start codes. No existing FATE sample reaches any of these paths:
fate-cavs and fate-cavs-bunny are both JiZhun and progressive.
Signed-off-by: Rainbaby <r@bgr.jp>
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index 6c3686bbd4..caf45d2cfe 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -76,6 +76,9 @@ fate-cavs: CMD = framecrc -i $(TARGET_SAMPLES)/cavs/cavs.mpg -an
FATE_VIDEO-$(call FRAMECRC, CAVSVIDEO, CAVS, CAVSVIDEO_PARSER) += fate-cavs-bunny
fate-cavs-bunny: CMD = framecrc -f cavsvideo -i $(TARGET_SAMPLES)/cavs/bunny.mp4
+FATE_VIDEO-$(call FRAMECRC, MPEGTS, CAVS, CAVSVIDEO_PARSER) += fate-cavs-avsplus
+fate-cavs-avsplus: CMD = framecrc -i $(TARGET_SAMPLES)/cavs/avsplus-1080i-testcard.ts -an
+
FATE_VIDEO-$(call FRAMECRC, CDG, CDGRAPHICS, SCALE_FILTER) += fate-cdgraphics
fate-cdgraphics: CMD = framecrc -i $(TARGET_SAMPLES)/cdgraphics/BrotherJohn.cdg -pix_fmt rgba -t 1 -vf scale
diff --git a/tests/ref/fate/cavs-avsplus b/tests/ref/fate/cavs-avsplus
new file mode 100644
index 0000000000..00f1257acd
--- /dev/null
+++ b/tests/ref/fate/cavs-avsplus
@@ -0,0 +1,10 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1920x1080
+#sar 0: 0/1
+0, 0, 0, 1, 3110400, 0xbc59eeee
+0, 1, 1, 1, 3110400, 0x490377c0
+0, 2, 2, 1, 3110400, 0xaca11851
+0, 3, 3, 1, 3110400, 0x70251b61
+0, 4, 4, 1, 3110400, 0x22be3dd4