2012-11-05 14:22:09 +01:00
|
|
|
From ChangeLog:
|
|
|
|
|
|
|
|
* test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
|
|
|
|
IJG JPEG 7+ uses a different upsampling algorithm which produces
|
|
|
|
different numeric results.
|
|
|
|
|
2012-11-05 14:29:15 +01:00
|
|
|
this seems not apply for libjpeg-turbo. Sent to tiff@lists.maptools.org
|
|
|
|
on 2012-11-05.
|
2012-11-05 14:22:09 +01:00
|
|
|
Index: tiff-4.0.3/test/raw_decode.c
|
|
|
|
===================================================================
|
|
|
|
--- tiff-4.0.3.orig/test/raw_decode.c
|
2012-11-05 14:29:15 +01:00
|
|
|
+++ tiff-4.0.3/test/raw_decode.c
|
2012-11-05 14:22:09 +01:00
|
|
|
@@ -191,7 +191,7 @@ main(int argc, char **argv)
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
-#if JPEG_LIB_VERSION >= 70
|
|
|
|
+#if JPEG_LIB_VERSION >= 70 && !defined(LIBJPEG_TURBO_VERSION)
|
|
|
|
pixel_status |= check_rgb_pixel( 0, 18, 0, 41, buffer );
|
|
|
|
pixel_status |= check_rgb_pixel( 64, 0, 0, 0, buffer );
|
|
|
|
pixel_status |= check_rgb_pixel( 512, 5, 34, 196, buffer );
|
|
|
|
@@ -224,7 +224,7 @@ main(int argc, char **argv)
|
|
|
|
* accomplish it from the YCbCr subsampled buffer ourselves in which
|
|
|
|
* case the results may be subtly different but similar.
|
|
|
|
*/
|
|
|
|
-#if JPEG_LIB_VERSION >= 70
|
|
|
|
+#if JPEG_LIB_VERSION >= 70 && !defined(LIBJPEG_TURBO_VERSION)
|
|
|
|
pixel_status |= check_rgba_pixel( 0, 18, 0, 41, 255, rgba_buffer );
|
|
|
|
pixel_status |= check_rgba_pixel( 64, 0, 0, 0, 255, rgba_buffer );
|
|
|
|
pixel_status |= check_rgba_pixel( 512, 5, 34, 196, 255, rgba_buffer );
|