- Timestamp:
- Aug 23, 2008, 3:07:35 PM (13 years ago)
- Location:
- libpipi/trunk/pipi
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi/Makefile.am
r2753 r2758 65 65 66 66 dither_sources = \ 67 dither/ediff.c \ 67 68 dither/floydsteinberg.c \ 68 69 dither/jajuni.c \ -
libpipi/trunk/pipi/context.c
r2755 r2758 101 101 else if(!strcmp(method, "sost")) 102 102 dst = pipi_dither_ostromoukhov(src, 1); 103 else if(!strcmp(method, "ediff")) 104 { 105 if(ctx->nimages < 2) 106 return -1; 107 dst = pipi_dither_ediff(ctx->images[ctx->nimages - 2], src, 0); 108 pipi_free(ctx->images[ctx->nimages - 2]); 109 ctx->nimages--; 110 } 103 111 else if(!strcmp(method, "ordered")) 104 112 { -
libpipi/trunk/pipi/pipi.h
r2754 r2758 148 148 extern pipi_image_t *pipi_reduce(pipi_image_t *, int, double const *); 149 149 150 extern pipi_image_t *pipi_dither_ediff(pipi_image_t *, pipi_image_t *, 151 pipi_scan_t); 150 152 extern pipi_image_t *pipi_dither_floydsteinberg(pipi_image_t *, pipi_scan_t); 151 153 extern pipi_image_t *pipi_dither_jajuni(pipi_image_t *, pipi_scan_t);
Note: See TracChangeset
for help on using the changeset viewer.