From e005c1f751eef1b8f7956744f139d40ace2dcea9 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 22 Feb 2011 19:59:05 +0000 Subject: [PATCH] Test all YUV decode paths --- jpegut.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/jpegut.c b/jpegut.c index 7eb484ea..055e52c5 100644 --- a/jpegut.c +++ b/jpegut.c @@ -631,8 +631,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;