diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-06-28 17:29:32 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2023-06-28 17:29:32 +0000 |
commit | 23ce26f64c34e30951ad9ade2151552ed77e7357 (patch) | |
tree | d73b31a0c2f7c7be4a69f8a8e84e00dd39c432b5 /lib/ppmfloyd.h | |
parent | 1b6e51a266008348ad93ed8b6ac9ec91b5024fea (diff) | |
download | netpbm-mirror-23ce26f64c34e30951ad9ade2151552ed77e7357.tar.gz netpbm-mirror-23ce26f64c34e30951ad9ade2151552ed77e7357.tar.xz netpbm-mirror-23ce26f64c34e30951ad9ade2151552ed77e7357.zip |
promote Advanced to Stable
git-svn-id: http://svn.code.sf.net/p/netpbm/code/stable@4558 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'lib/ppmfloyd.h')
-rw-r--r-- | lib/ppmfloyd.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/lib/ppmfloyd.h b/lib/ppmfloyd.h deleted file mode 100644 index 264fc0b6..00000000 --- a/lib/ppmfloyd.h +++ /dev/null @@ -1,69 +0,0 @@ -/* These declarations were supposed to be in the libfloyd.h file in the ilbm - package, but that file was missing, so I made them up myself. - - Bryan 01.03.10. -*/ - - -#ifdef __cplusplus -extern "C" { -#endif -#if 0 -} /* to fake out automatic code indenters */ -#endif - -struct ppm_fs_info { - /* thisXerr and nextXerr are dynamically allocated arrays each of whose - dimension is the width of the image plus 2 - */ - long * thisrederr; - long * thisgreenerr; - long * thisblueerr; - long * nextrederr; - long * nextgreenerr; - long * nextblueerr; - int lefttoright; - int cols; - pixval maxval; - int flags; - pixel * pixrow; - int col_end; - pixval red, green, blue; -}; - -typedef struct ppm_fs_info ppm_fs_info; - -/* Bitmasks for ppm_fs_info.flags */ -#define FS_RANDOMINIT 0x01 -#define FS_ALTERNATE 0x02 - -ppm_fs_info * -ppm_fs_init(unsigned int const cols, - pixval const maxval, - unsigned int const flags); - -void -ppm_fs_free(ppm_fs_info *fi); - -int -ppm_fs_startrow(ppm_fs_info *fi, pixel *pixrow); - -int -ppm_fs_next(ppm_fs_info *fi, int col); - -void -ppm_fs_endrow(ppm_fs_info *fi); - -void -ppm_fs_update( ppm_fs_info *fi, int col, pixel *pP); - - -void -ppm_fs_update3(ppm_fs_info * const fi, - int const col, - pixval const r, - pixval const g, - pixval const b); - -#ifdef __cplusplus -} -#endif |