Test all YUV decode paths

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.1.x@427 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2011-02-22 19:59:54 +00:00
parent 7d9d434826
commit 404e82e070

View File

@@ -597,8 +597,12 @@ int main(int argc, char *argv[])
yuv=YUVDECODE;
dotest(48, 48, 3, TJ_444, "test");
dotest(35, 39, 3, TJ_444, "test");
dotest(48, 48, 3, TJ_422, "test");
dotest(39, 41, 3, TJ_422, "test");
dotest(48, 48, 3, TJ_420, "test");
dotest(41, 35, 3, TJ_420, "test");
dotest(48, 48, 1, TJ_GRAYSCALE, "test");
dotest(39, 41, 1, TJ_GRAYSCALE, "test");
dotest(35, 39, 1, TJ_GRAYSCALE, "test");
}
return exitstatus;