source: trunk/JPGPROC/source/gbmsrc/gbmerr.h@ 2

Last change on this file since 2 was 2, checked in by stevenhl, 8 years ago

Import sources from cwmm-full.zip dated 2005-03-21

File size: 1.6 KB
Line 
1/*
2
3gbmerr.h Interface to error diffusion module
4
5*/
6
7#ifndef GBMERR_H
8#define GBMERR_H
9
10extern void gbm_errdiff_line_24(const byte *src, byte *dest, short *errs, int cx, byte rm, byte gm, byte bm);
11extern BOOLEAN gbm_errdiff_24(const GBM *gbm, byte *data24, byte *data24a, byte rm, byte gm, byte bm);
12
13extern void gbm_errdiff_pal_6R6G6B(GBMRGB *gbmrgb);
14extern void gbm_errdiff_line_6R6G6B(const byte *src, byte *dest, short *errs, int cx);
15extern BOOLEAN gbm_errdiff_6R6G6B(const GBM *gbm, const byte *data24, byte *data8);
16
17extern void gbm_errdiff_pal_7R8G4B(GBMRGB *gbmrgb);
18extern void gbm_errdiff_line_7R8G4B(const byte *src, byte *dest, short *errs, int cx);
19extern BOOLEAN gbm_errdiff_7R8G4B(const GBM *gbm, const byte *data24, byte *data8);
20
21extern void gbm_errdiff_pal_VGA(GBMRGB *gbmrgb);
22extern void gbm_errdiff_line_VGA(const byte *src, byte *dest, short *errs, int cx);
23extern BOOLEAN gbm_errdiff_VGA(const GBM *gbm, const byte *data24, byte *data4);
24
25extern void gbm_errdiff_pal_8(GBMRGB *gbmrgb);
26extern void gbm_errdiff_line_8(const byte *src, byte *dest, short *errs, int cx);
27extern BOOLEAN gbm_errdiff_8(const GBM *gbm, const byte *data24, byte *data4);
28
29extern void gbm_errdiff_pal_4G(GBMRGB *gbmrgb);
30extern void gbm_errdiff_line_4G(byte *src, byte *dest, short *errs, int cx);
31extern BOOLEAN gbm_errdiff_4G(GBM *gbm, byte *data24, byte *data4);
32
33extern void gbm_errdiff_pal_BW(GBMRGB *gbmrgb);
34extern void gbm_errdiff_line_BW(byte *src, byte *dest, short *errs, int cx);
35extern BOOLEAN gbm_errdiff_BW(GBM *gbm, byte *data24, byte *data1);
36
37#endif
Note: See TracBrowser for help on using the repository browser.