mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-30 03:12:08 +00:00
fate: Invoke pixdesc lavfi tests through fate-run.sh
This commit is contained in:
parent
03b052c023
commit
28663511c9
@ -171,6 +171,14 @@ video_filter(){
|
||||
$FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo $* -f nut md5:
|
||||
}
|
||||
|
||||
pixdesc(){
|
||||
pix_fmts="$(avconv -pix_fmts list 2>/dev/null | awk 'NR > 8 && /^IO/ { print $2 }' | sort)"
|
||||
for pix_fmt in $pix_fmts; do
|
||||
test=$pix_fmt
|
||||
video_filter "format=$pix_fmt,pixdesctest" -pix_fmt $pix_fmt
|
||||
done
|
||||
}
|
||||
|
||||
mkdir -p "$outdir"
|
||||
|
||||
exec 3>&2
|
||||
|
@ -1,5 +1,4 @@
|
||||
FATE_LAVFI = fate-lavfi-pixdesc \
|
||||
fate-lavfi-pixfmts_copy \
|
||||
FATE_LAVFI = fate-lavfi-pixfmts_copy \
|
||||
fate-lavfi-pixfmts_crop \
|
||||
fate-lavfi-pixfmts_hflip \
|
||||
fate-lavfi-pixfmts_null \
|
||||
|
@ -77,6 +77,10 @@ FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
|
||||
fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
|
||||
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc
|
||||
fate-filter-pixdesc: CMD = pixdesc
|
||||
|
||||
|
||||
$(FATE_FILTER_VSYNTH-yes): $(VREF)
|
||||
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
|
||||
|
||||
|
@ -50,13 +50,6 @@ do_lavfi_pixfmts "pad" "500:400:20:20"
|
||||
do_lavfi_pixfmts "scale" "200:100"
|
||||
do_lavfi_pixfmts "vflip" ""
|
||||
|
||||
if [ -n "$do_pixdesc" ]; then
|
||||
pix_fmts="$($avconv -pix_fmts list 2>/dev/null | awk 'NR > 8 && /^IO/ { print $2 }' | sort)"
|
||||
for pix_fmt in $pix_fmts; do
|
||||
do_video_filter $pix_fmt "format=$pix_fmt,pixdesctest" -pix_fmt $pix_fmt
|
||||
done
|
||||
fi
|
||||
|
||||
# TODO: add tests for
|
||||
# direct rendering,
|
||||
# chains with feedback loops
|
||||
|
Loading…
Reference in New Issue
Block a user