Codebase list dillo / 4263e106-de5f-41e0-9767-00b4c11c68d2/main src / imgbuf.hh
4263e106-de5f-41e0-9767-00b4c11c68d2/main

Tree @4263e106-de5f-41e0-9767-00b4c11c68d2/main (Download .tar.gz)

imgbuf.hh @4263e106-de5f-41e0-9767-00b4c11c68d2/mainraw · history · blame

#ifndef __IMGBUF_HH__
#define __IMGBUF_HH__

// Imgbuf wrappers


#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


#include "image.hh"

/*
 * Function prototypes
 */
void a_Imgbuf_ref(void *v_imgbuf);
void a_Imgbuf_unref(void *v_imgbuf);
void *a_Imgbuf_new(void *v_ir, int img_type, uint_t width, uint_t height,
                   double gamma);
int a_Imgbuf_last_reference(void *v_imgbuf);
void a_Imgbuf_update(void *v_imgbuf, const uchar_t *buf, DilloImgType type,
                     uchar_t *cmap, uint_t width, uint_t height, uint_t y);
void a_Imgbuf_new_scan(void *v_imgbuf);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __IMGBUF_HH__ */