fate: Add dpx-probe test

Signed-off-by: Harry Mallon <harry.mallon@codex.online>
This commit is contained in:
Harry Mallon 2020-12-07 10:32:09 +00:00 committed by Paul B Mahol
parent ef59a40c2a
commit 4bdfbd688f
2 changed files with 13 additions and 0 deletions

View File

@ -97,6 +97,10 @@ fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx-probe
fate-dpx-probe: SRC = $(TARGET_SAMPLES)/dpx/cyan.dpx
fate-dpx-probe: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_frames -show_entries frame=color_transfer,color_range,color_space,color_primaries,sample_aspect_ratio -print_format default -bitexact -v 0 -i "$(SRC)"
FATE_EXR += fate-exr-slice-raw
fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt gbrapf32le

9
tests/ref/fate/dpx-probe Normal file
View File

@ -0,0 +1,9 @@
[FRAME]
sample_aspect_ratio=1:1
color_range=unknown
color_space=unknown
color_primaries=unknown
color_transfer=unknown
TAG:Creator=Apple Compressor
TAG:Input Device=
[/FRAME]