Revision cec96e8d

View differences:

Makefile
250 250
LAVF_TESTS-$(call MUXDEM,WAV)                += wav
251 251
LAVF_TESTS-$(call MUXDEM,YUV4MPEGPIPE)       += yuv4mpeg
252 252

  
253
LAVFI_TESTS =
253
LAVFI_TESTS =           \
254
    crop                \
255
    crop_scale          \
256
    crop_scale_vflip    \
257
    crop_vflip          \
258
    null                \
259
    scale200            \
260
    scale500            \
261
    vflip               \
262
    vflip_crop          \
263
    vflip_vflip         \
254 264

  
255 265
ACODEC_TESTS := $(addprefix regtest-, $(ACODEC_TESTS) $(ACODEC_TESTS-yes))
256 266
VCODEC_TESTS := $(addprefix regtest-, $(VCODEC_TESTS) $(VCODEC_TESTS-yes))
......
261 271

  
262 272
codectest: $(CODEC_TESTS)
263 273
lavftest:  $(LAVF_TESTS)
264

  
265
# lavfitest: $(LAVFI_TESTS)
274
lavfitest: $(LAVFI_TESTS)
266 275

  
267 276
$(ACODEC_TESTS): regtest-aref
268 277
$(VCODEC_TESTS): regtest-vref
tests/lavfi-regression.sh
20 20
    vfilters=$2
21 21

  
22 22
    if [ -n "$test" ] ; then
23
        do_video_encoding ${test_name}.avi "" "-vcodec rawvideo -vfilters $vfilters"
23
        do_video_encoding ${test_name}.nut "" "-vcodec rawvideo -vfilters $vfilters"
24 24
    fi
25 25
}
26 26

  
27
# example tests:
28
# do_lavfi "crop" "crop=100:100:-1:-1"
29
# do_lavfi "crop_scale" "crop=100:100,scale=200:-1"
30
# do_lavfi "scale" "scale=200:200"
27
do_lavfi "crop"               "crop=100:100"
28
do_lavfi "crop_scale"         "crop=100:100,scale=400:-1"
29
do_lavfi "crop_scale_vflip"   "null,null,crop=200:200,crop=20:20,scale=200:200,scale=250:250,vflip,vflip,null,scale=200:200,crop=100:100,vflip,scale=200:200,null,vflip,crop=100:100,null"
30
do_lavfi "crop_vflip"         "crop=100:100,vflip"
31
do_lavfi "null"               "null"
32
do_lavfi "scale200"           "scale=200:200"
33
do_lavfi "scale500"           "scale=500:500"
34
do_lavfi "vflip"              "vflip"
35
do_lavfi "vflip_crop"         "vflip,crop=100:100"
36
do_lavfi "vflip_vflip"        "vflip,vflip"
31 37

  
32 38
# TODO: add tests for
33 39
# direct rendering,
tests/ref/lavfi/crop
1
3d163f156eaddf41d2be20736f973539 *./tests/data/lavfi/crop.nut
2
3554654 ./tests/data/lavfi/crop.nut
tests/ref/lavfi/crop_scale
1
4ffe30abe99931bc9989f40ae65654b7 *./tests/data/lavfi/crop_scale.nut
2
8941454 ./tests/data/lavfi/crop_scale.nut
tests/ref/lavfi/crop_scale_vflip
1
3b1c81bb6ce7575f5ee3088ea165dbe7 *./tests/data/lavfi/crop_scale_vflip.nut
2
750727 ./tests/data/lavfi/crop_scale_vflip.nut
tests/ref/lavfi/crop_vflip
1
628542e17b6900ee79b1429183ae01b0 *./tests/data/lavfi/crop_vflip.nut
2
3554654 ./tests/data/lavfi/crop_vflip.nut
tests/ref/lavfi/null
1
eba2f135a08829387e2f698ff72a2939 *./tests/data/lavfi/null.nut
2
7604654 ./tests/data/lavfi/null.nut
tests/ref/lavfi/scale200
1
f7325609fdb8992bcea0cf3712ea2afc *./tests/data/lavfi/scale200.nut
2
3001204 ./tests/data/lavfi/scale200.nut
tests/ref/lavfi/scale500
1
7e194861897fb42e20771711fe1aace3 *./tests/data/lavfi/scale500.nut
2
18751503 ./tests/data/lavfi/scale500.nut
tests/ref/lavfi/vflip
1
2e6d6062e8cad37fb3ab2c433b55f382 *./tests/data/lavfi/vflip.nut
2
7604654 ./tests/data/lavfi/vflip.nut
tests/ref/lavfi/vflip_crop
1
72ee0d0dfc8af0cd94a466760313654d *./tests/data/lavfi/vflip_crop.nut
2
3554654 ./tests/data/lavfi/vflip_crop.nut
tests/ref/lavfi/vflip_vflip
1
eba2f135a08829387e2f698ff72a2939 *./tests/data/lavfi/vflip_vflip.nut
2
7604654 ./tests/data/lavfi/vflip_vflip.nut

Also available in: Unified diff