diff options
Diffstat (limited to 'src/main/dither-impl.h')
-rw-r--r-- | src/main/dither-impl.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/dither-impl.h b/src/main/dither-impl.h index e297464..28f9832 100644 --- a/src/main/dither-impl.h +++ b/src/main/dither-impl.h @@ -1,5 +1,5 @@ /* - * "$Id: dither-impl.h,v 1.25.18.1 2007/12/15 20:35:44 rlk Exp $" + * "$Id: dither-impl.h,v 1.32 2008/02/18 14:20:17 rlk Exp $" * * Internal implementation of dither algorithms * @@ -57,7 +57,10 @@ extern "C" { #define D_HYBRID_EVENTONE (D_ORDERED_BASE | D_EVENTONE) #define D_HYBRID_UNITONE (D_ORDERED_BASE | D_UNITONE) #define D_HYBRID_EVENBETTER (D_ORDERED_BASE | D_EVENBETTER) -#define D_PREDITHERED 128 +#define D_PREDITHERED 256 +#define D_ORDERED_NEW 512 +#define D_ORDERED_SEGMENTED 1024 +#define D_ORDERED_SEGMENTED_NEW (D_ORDERED_SEGMENTED | D_ORDERED_NEW) #define D_INVALID -2 #define DITHER_FAST_STEPS (6) @@ -148,7 +151,6 @@ typedef struct dither int x_aspect; /* Aspect ratio numerator */ int y_aspect; /* Aspect ratio denominator */ - double transition; /* Exponential scaling for transition region */ int *offset0_table; int *offset1_table; @@ -163,7 +165,6 @@ typedef struct dither * some things */ stp_dither_matrix_impl_t dither_matrix; - stp_dither_matrix_impl_t transition_matrix; stpi_dither_channel_t *channel; unsigned channel_count; unsigned total_channel_count; @@ -259,5 +260,5 @@ do \ #endif /* GUTENPRINT_INTERNAL_DITHER_IMPL_H */ /* - * End of "$Id: dither-impl.h,v 1.25.18.1 2007/12/15 20:35:44 rlk Exp $". + * End of "$Id: dither-impl.h,v 1.32 2008/02/18 14:20:17 rlk Exp $". */ |