diff options
author | multiple authors <multiple@multiple.x> | 2012-03-10 07:04:19 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-05 01:54:53 +0400 |
commit | 13cc3645b002f918272a7dfbc31294fded55943b (patch) | |
tree | 0e69b25c899b09df80b7e66bda0f8c215452e209 /tests/lavfi-regression.sh | |
parent | 4480edcf312b8d4350201eca047ccdd2c27f8517 (diff) |
libavfilter: add colormatrix filter
Ported by: Baptiste Coudurier
cleanup+fate by ubitux
For detailed authorship of the original code please see avisynth
Diffstat (limited to 'tests/lavfi-regression.sh')
-rwxr-xr-x | tests/lavfi-regression.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/lavfi-regression.sh b/tests/lavfi-regression.sh index 79210e5607..4857839fda 100755 --- a/tests/lavfi-regression.sh +++ b/tests/lavfi-regression.sh @@ -28,6 +28,11 @@ do_lavfi() { fi } +do_lavfi_colormatrix() { + do_lavfi "${1}1" "$1=$4:$5,$1=$5:$3,$1=$3:$4,$1=$4:$3,$1=$3:$5,$1=$5:$2" + do_lavfi "${1}2" "$1=$2:$3,$1=$3:$2,$1=$2:$4,$1=$4:$2,$1=$2:$5,$1=$5:$4" +} + do_lavfi "crop" "crop=iw-100:ih-100:100:100" do_lavfi "crop_scale" "crop=iw-100:ih-100:100:100,scale=400:-1" do_lavfi "crop_scale_vflip" "null,null,crop=iw-200:ih-200:200:200,crop=iw-20:ih-20:20:20,scale=200:200,scale=250:250,vflip,vflip,null,scale=200:200,crop=iw-100:ih-100:100:100,vflip,scale=200:200,null,vflip,crop=iw-100:ih-100:100:100,null" @@ -55,6 +60,8 @@ do_lavfi "vflip" "vflip" do_lavfi "vflip_crop" "vflip,crop=iw-100:ih-100:100:100" do_lavfi "vflip_vflip" "vflip,vflip" +do_lavfi_colormatrix "colormatrix" bt709 fcc bt601 smpte240m + do_lavfi_pixfmts(){ test ${test%_[bl]e} = pixfmts_$1 || return 0 filter=$1 |