Changeset 2665
- Timestamp:
- 08/04/08 19:23:38 (5 years ago)
- Location:
- libpipi/trunk
- Files:
-
- 1 added
- 3 edited
-
examples/dither.c (modified) (1 diff)
-
pipi/Makefile.am (modified) (1 diff)
-
pipi/dither/ordered.c (added)
-
pipi/pipi.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/examples/dither.c
r2656 r2665 33 33 switch(atoi(argv[2])) 34 34 { 35 case 6: 36 newimg = pipi_dbs(img); break; 35 37 case 5: 36 newimg = pipi_ dbs(img); break;38 newimg = pipi_ostromoukhov(img, PIPI_SCAN_SERPENTINE); break; 37 39 case 4: 38 newimg = pipi_ostromoukhov(img, PIPI_SCAN_ SERPENTINE); break;40 newimg = pipi_ostromoukhov(img, PIPI_SCAN_RASTER); break; 39 41 case 3: 40 newimg = pipi_ ostromoukhov(img, PIPI_SCAN_RASTER); break;42 newimg = pipi_floydsteinberg(img, PIPI_SCAN_SERPENTINE); break; 41 43 case 2: 42 newimg = pipi_floydsteinberg(img, PIPI_SCAN_ SERPENTINE); break;44 newimg = pipi_floydsteinberg(img, PIPI_SCAN_RASTER); break; 43 45 case 1: 44 46 default: 45 newimg = pipi_ floydsteinberg(img, PIPI_SCAN_RASTER); break;47 newimg = pipi_dither_ordered(img); break; 46 48 } 47 49 -
libpipi/trunk/pipi/Makefile.am
r2658 r2665 32 32 filter/convolution.c \ 33 33 dither/floydsteinberg.c \ 34 dither/ordered.c \ 34 35 dither/ostromoukhov.c \ 35 36 dither/dbs.c \ -
libpipi/trunk/pipi/pipi.h
r2658 r2665 80 80 81 81 extern pipi_image_t *pipi_floydsteinberg(pipi_image_t *, pipi_scan_t); 82 extern pipi_image_t *pipi_dither_ordered(pipi_image_t *); 82 83 extern pipi_image_t *pipi_ostromoukhov(pipi_image_t *, pipi_scan_t); 83 84 extern pipi_image_t *pipi_dbs(pipi_image_t *);
Note: See TracChangeset
for help on using the changeset viewer.
