summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale-test-all.sh
blob: 569c9020eba1147c7ee83020d4616cd87f155f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh
FFMPEG=../ffmpeg

input_pix_fmts=$($FFMPEG -pix_fmts | sed -ne '9,$p' | grep '^I' | cut -d" " -f2)
output_pix_fmts=$($FFMPEG -pix_fmts | sed -ne '9,$p' | grep '^.O' | cut -d" " -f2)

for input_pix_fmt in $input_pix_fmts; do
    for output_pix_fmt in $output_pix_fmts; do
        swscale-test $input_pix_fmt $output_pix_fmt
    done
done