From 480c944ba4a88fd4011a489feea7bcfc6051a7ac Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 31 Oct 2003 14:59:50 +0000 Subject: [PATCH] removal of useless jBitsInJsample.h for both 8 and 12 Bits JPEG Libraries --- src/jpeg/libijg/jmorecfg.h | 3 +-- src/jpeg/libijg12/jBitsInJsample12.h | 4 ---- src/jpeg/libijg8/jBitsInJsample.h | 7 ------- src/jpeg/libijg8/jmorecfg.h | 3 +-- 4 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 src/jpeg/libijg12/jBitsInJsample12.h delete mode 100644 src/jpeg/libijg8/jBitsInJsample.h diff --git a/src/jpeg/libijg/jmorecfg.h b/src/jpeg/libijg/jmorecfg.h index 43de73fa..dd0f188d 100644 --- a/src/jpeg/libijg/jmorecfg.h +++ b/src/jpeg/libijg/jmorecfg.h @@ -19,8 +19,7 @@ * We do not support run-time selection of data precision, sorry. */ -//#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ -#include "jBitsInJsample.h" +#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ /* * Maximum number of components (color channels) allowed in JPEG image. diff --git a/src/jpeg/libijg12/jBitsInJsample12.h b/src/jpeg/libijg12/jBitsInJsample12.h deleted file mode 100644 index 6f494f7e..00000000 --- a/src/jpeg/libijg12/jBitsInJsample12.h +++ /dev/null @@ -1,4 +0,0 @@ -#define BITS_IN_JSAMPLE 12 /* use 8 or 12 */ - -// to be used from dcmlib. -// to be removed when both jpeg8 bits and jpeg12 bits are usable \ No newline at end of file diff --git a/src/jpeg/libijg8/jBitsInJsample.h b/src/jpeg/libijg8/jBitsInJsample.h deleted file mode 100644 index 86d7fc38..00000000 --- a/src/jpeg/libijg8/jBitsInJsample.h +++ /dev/null @@ -1,7 +0,0 @@ -#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ - -// to be used from dcmlib. -// to be removed when both jpeg8 bits and jpeg12 bits are usable - - - diff --git a/src/jpeg/libijg8/jmorecfg.h b/src/jpeg/libijg8/jmorecfg.h index 43de73fa..dd0f188d 100644 --- a/src/jpeg/libijg8/jmorecfg.h +++ b/src/jpeg/libijg8/jmorecfg.h @@ -19,8 +19,7 @@ * We do not support run-time selection of data precision, sorry. */ -//#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ -#include "jBitsInJsample.h" +#define BITS_IN_JSAMPLE 8 /* use 8 or 12 */ /* * Maximum number of components (color channels) allowed in JPEG image. -- 2.45.1