1Please do use these tests if you do some libmpeg2 changes. 2 3* get the official suite of mpeg2 torture tests at 4http://www.linuxvideo.org/mpeg2dec/files/mpeg2dec-streams.tar.gz 5 6or using CVS : 7 8# export CVSROOT=:pserver:anonymous@cvs.linuxvideo.org:/cvs/livid 9# cvs login (Just press Return when prompted for a password) 10# cvs checkout mpeg2dec-streams 11 12(OK, I did some reorganization work on the archive, so its not really the 13official suite anymore) 14 15* extract this archive at the same level as your mpeg2dec directory : 16in your working directory you should have subdirectories mpeg2dec and 17mpeg2dec-streams. 18 19* change the "tests" file to indicate where you put these streams 20 21* set HACK_MODE 2 in libmpeg2/mpeg2_internal.h, because pgm and md5 22output modes currently only works with this change 23 24* go in the conformance directory and run ./regression <test> <idct> 25 26<test> is the name of the test suite you want to use. For the official 27mpeg video conformance tests, just use "tests". 28 29<idct> is the type of IDCT you are using. If your machine supports MMX, 30choose "mmx". If your machine uses the c idct, choose "c" 31 32That's it... 33 34walken 35