mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tests/fate: fix mismatches between requested and actually used pixel formats
This commit is contained in:
parent
037d364797
commit
45035154be
@ -8,8 +8,8 @@ tests/data/fits-multi.fits: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
|
|||||||
# TODO: Use an actual 64bit input file and fix the gbrp16 test on big-endian
|
# TODO: Use an actual 64bit input file and fix the gbrp16 test on big-endian
|
||||||
fits-png-map-gray := gray8
|
fits-png-map-gray := gray8
|
||||||
fits-png-map-gbrp := rgb24
|
fits-png-map-gbrp := rgb24
|
||||||
fits-png-map-gbrp16 := rgb48
|
fits-png-map-gbrp16be := rgb48
|
||||||
fits-png-map-gbrap16le := rgba64
|
fits-png-map-gbrap16be := rgba64
|
||||||
|
|
||||||
FATE_FITS_DEC-$(call FRAMECRC, FITS, FITS, SCALE_FILTER) += fate-fitsdec-ext_data_min_max
|
FATE_FITS_DEC-$(call FRAMECRC, FITS, FITS, SCALE_FILTER) += fate-fitsdec-ext_data_min_max
|
||||||
fate-fitsdec-ext_data_min_max: CMD = framecrc -i $(TARGET_SAMPLES)/fits/x0cj010ct_d0h.fit -pix_fmt gray16le -vf scale
|
fate-fitsdec-ext_data_min_max: CMD = framecrc -i $(TARGET_SAMPLES)/fits/x0cj010ct_d0h.fit -pix_fmt gray16le -vf scale
|
||||||
@ -30,7 +30,7 @@ fate-fitsdec-multi: CMD = framecrc -i $(TARGET_PATH)/tests/data/fits-multi.fits
|
|||||||
fate-fitsdec%: PIXFMT = $(word 3, $(subst -, ,$(@)))
|
fate-fitsdec%: PIXFMT = $(word 3, $(subst -, ,$(@)))
|
||||||
fate-fitsdec%: CMD = transcode image2 $(TARGET_SAMPLES)/png1/lena-$(fits-png-map-$(PIXFMT)).png fits "-vf scale -pix_fmt $(PIXFMT)"
|
fate-fitsdec%: CMD = transcode image2 $(TARGET_SAMPLES)/png1/lena-$(fits-png-map-$(PIXFMT)).png fits "-vf scale -pix_fmt $(PIXFMT)"
|
||||||
|
|
||||||
FATE_FITS_DEC_PIXFMT = gray gbrp gbrp16 gbrap16le
|
FATE_FITS_DEC_PIXFMT = gray gbrp gbrp16be gbrap16be
|
||||||
FATE_FITS_DEC-$(call TRANSCODE, FITS, FITS, IMAGE2_DEMUXER PNG_DECODER SCALE_FILTER) += $(FATE_FITS_DEC_PIXFMT:%=fate-fitsdec-%)
|
FATE_FITS_DEC-$(call TRANSCODE, FITS, FITS, IMAGE2_DEMUXER PNG_DECODER SCALE_FILTER) += $(FATE_FITS_DEC_PIXFMT:%=fate-fitsdec-%)
|
||||||
|
|
||||||
FATE_FITS += $(FATE_FITS_DEC-yes)
|
FATE_FITS += $(FATE_FITS_DEC-yes)
|
||||||
|
@ -27,7 +27,7 @@ fate-lavf-gbrp.fits: CMD = lavf_video "-pix_fmt gbrp"
|
|||||||
fate-lavf-gbrap.fits: CMD = lavf_video "-pix_fmt gbrap"
|
fate-lavf-gbrap.fits: CMD = lavf_video "-pix_fmt gbrap"
|
||||||
fate-lavf-gbrp16be.fits: CMD = lavf_video "-pix_fmt gbrp16be"
|
fate-lavf-gbrp16be.fits: CMD = lavf_video "-pix_fmt gbrp16be"
|
||||||
fate-lavf-gbrap16be.fits: CMD = lavf_video "-pix_fmt gbrap16be"
|
fate-lavf-gbrap16be.fits: CMD = lavf_video "-pix_fmt gbrap16be"
|
||||||
fate-lavf-gif: CMD = lavf_video "-pix_fmt rgb24"
|
fate-lavf-gif: CMD = lavf_video "-pix_fmt rgb8"
|
||||||
|
|
||||||
FATE_AVCONV += $(FATE_LAVF_VIDEO)
|
FATE_AVCONV += $(FATE_LAVF_VIDEO)
|
||||||
fate-lavf-video fate-lavf: $(FATE_LAVF_VIDEO)
|
fate-lavf-video fate-lavf: $(FATE_LAVF_VIDEO)
|
||||||
|
@ -210,9 +210,9 @@ fate-vsynth%-h263p: ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -
|
|||||||
FATE_VCODEC_SCALE-$(call ENCDEC, HUFFYUV, AVI) += huffyuv huffyuvbgr24 huffyuvbgra
|
FATE_VCODEC_SCALE-$(call ENCDEC, HUFFYUV, AVI) += huffyuv huffyuvbgr24 huffyuvbgra
|
||||||
fate-vsynth%-huffyuv: ENCOPTS = -c:v huffyuv -pix_fmt yuv422p -sws_flags neighbor
|
fate-vsynth%-huffyuv: ENCOPTS = -c:v huffyuv -pix_fmt yuv422p -sws_flags neighbor
|
||||||
fate-vsynth%-huffyuv: DECOPTS = -sws_flags neighbor
|
fate-vsynth%-huffyuv: DECOPTS = -sws_flags neighbor
|
||||||
fate-vsynth%-huffyuvbgr24: ENCOPTS = -c:v huffyuv -pix_fmt bgr24 -sws_flags neighbor
|
fate-vsynth%-huffyuvbgr24: ENCOPTS = -c:v huffyuv -pix_fmt rgb24 -sws_flags neighbor
|
||||||
fate-vsynth%-huffyuvbgr24: DECOPTS = -sws_flags neighbor
|
fate-vsynth%-huffyuvbgr24: DECOPTS = -sws_flags neighbor
|
||||||
fate-vsynth%-huffyuvbgra: ENCOPTS = -c:v huffyuv -pix_fmt bgr32 -sws_flags neighbor
|
fate-vsynth%-huffyuvbgra: ENCOPTS = -c:v huffyuv -pix_fmt rgb32 -sws_flags neighbor
|
||||||
fate-vsynth%-huffyuvbgra: DECOPTS = -sws_flags neighbor
|
fate-vsynth%-huffyuvbgra: DECOPTS = -sws_flags neighbor
|
||||||
|
|
||||||
FATE_VCODEC_SCALE-$(call ENCDEC, JPEGLS, AVI) += jpegls
|
FATE_VCODEC_SCALE-$(call ENCDEC, JPEGLS, AVI) += jpegls
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
64526d8da12d1fa07ceea5725647076f *tests/data/fate/fitsdec-gbrap16le.fits
|
64526d8da12d1fa07ceea5725647076f *tests/data/fate/fitsdec-gbrap16be.fits
|
||||||
135360 tests/data/fate/fitsdec-gbrap16le.fits
|
135360 tests/data/fate/fitsdec-gbrap16be.fits
|
||||||
#tb 0: 1/1
|
#tb 0: 1/1
|
||||||
#media_type 0: video
|
#media_type 0: video
|
||||||
#codec_id 0: rawvideo
|
#codec_id 0: rawvideo
|
@ -1,5 +1,5 @@
|
|||||||
2078208c93ba417d3fe150ba42bf5a30 *tests/data/fate/fitsdec-gbrp16.fits
|
2078208c93ba417d3fe150ba42bf5a30 *tests/data/fate/fitsdec-gbrp16be.fits
|
||||||
103680 tests/data/fate/fitsdec-gbrp16.fits
|
103680 tests/data/fate/fitsdec-gbrp16be.fits
|
||||||
#tb 0: 1/1
|
#tb 0: 1/1
|
||||||
#media_type 0: video
|
#media_type 0: video
|
||||||
#codec_id 0: rawvideo
|
#codec_id 0: rawvideo
|
@ -1,3 +1,3 @@
|
|||||||
e35f5ea283bbcb249818e0078ec72664 *tests/data/lavf/lavf.gif
|
e35f5ea283bbcb249818e0078ec72664 *tests/data/lavf/lavf.gif
|
||||||
2011766 tests/data/lavf/lavf.gif
|
2011766 tests/data/lavf/lavf.gif
|
||||||
tests/data/lavf/lavf.gif CRC=0x2429faff
|
tests/data/lavf/lavf.gif CRC=0x37f4d323
|
||||||
|
Loading…
Reference in New Issue
Block a user