fate/video: add DXV3 DXT1 encoding test

Signed-off-by: Connor Worley <connorbworley@gmail.com>
This commit is contained in:
Connor Worley 2024-02-01 11:21:21 -08:00 committed by Lynne
parent 1eeee68d8e
commit 5fbb6fc636
2 changed files with 13 additions and 0 deletions

View File

@ -155,6 +155,13 @@ fate-dxv3-dxt5: CMD = framecrc -i $(TARGET_SAMPLES)/dxv/dxv3-nqwa.mov
FATE_VIDEO-$(call FRAMECRC, MOV, DXV) += $(FATE_DXV)
fate-dxv: $(FATE_DXV)
fate-dxv3enc%: FMT = $(word 3, $(subst -, ,$(@)))
fate-dxv3enc%: CMD = framecrc -lavfi testsrc2=duration=1:rate=1:size=1920x1080 -c:v dxv -format $(FMT)
FATE_DXVENC_FMT = dxt1
FATE_VIDEO-$(call FILTERFRAMECRC, TESTSRC2, DXV_ENCODER) += $(FATE_DXVENC_FMT:%=fate-dxv3enc-%)
fate-dxvenc: $(FATE_DXVENC_FMT:%=fate-dxv3enc-%)
FATE_VIDEO-$(call FRAMECRC, SEGAFILM, CINEPAK) += fate-film-cvid
fate-film-cvid: CMD = framecrc -i $(TARGET_SAMPLES)/film/logo-capcom.cpk -an

View File

@ -0,0 +1,6 @@
#tb 0: 1/1
#media_type 0: video
#codec_id 0: dxv
#dimensions 0: 1920x1080
#sar 0: 1/1
0, 0, 0, 1, 76767, 0x932ecbfa