X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fswig_python%2Fhighgui%2FcvCreateFileCaptureYV16.py;fp=tests%2Fswig_python%2Fhighgui%2FcvCreateFileCaptureYV16.py;h=a36de82358bb35a5d876bb2d0f8f7e912289312c;hb=e4c14cdbdf2fe805e79cd96ded236f57e7b89060;hp=0000000000000000000000000000000000000000;hpb=454138ff8a20f6edb9b65a910101403d8b520643;p=opencv diff --git a/tests/swig_python/highgui/cvCreateFileCaptureYV16.py b/tests/swig_python/highgui/cvCreateFileCaptureYV16.py new file mode 100755 index 0000000..a36de82 --- /dev/null +++ b/tests/swig_python/highgui/cvCreateFileCaptureYV16.py @@ -0,0 +1,17 @@ +#! /usr/bin/env python +""" +This script will test highgui's video reading functionality +for RAW YV16 .avi files +""" + +# pixel format to check +FORMAT = "YV16" + +# import check routine +import cvCreateFileCapture + +# check video file of format FORMAT, +# the function also exits and returns +# 0,1 or 77 accordingly. + +cvCreateFileCapture.video_ok(FORMAT)