Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
imgbuf.hh
Go to the documentation of this file.
1#ifndef __IMGBUF_HH__
2#define __IMGBUF_HH__
3
4// Imgbuf wrappers
5
6
7#ifdef __cplusplus
8extern "C" {
9#endif /* __cplusplus */
10
11
12#include "image.hh"
13
14/*
15 * Function prototypes
16 */
17void a_Imgbuf_ref(void *v_imgbuf);
18void a_Imgbuf_unref(void *v_imgbuf);
19void *a_Imgbuf_new(void *v_ir, int img_type, uint_t width, uint_t height,
20 double gamma);
21int a_Imgbuf_last_reference(void *v_imgbuf);
22void a_Imgbuf_update(void *v_imgbuf, const uchar_t *buf, DilloImgType type,
23 uchar_t *cmap, uint_t width, uint_t height, uint_t y);
24void a_Imgbuf_new_scan(void *v_imgbuf);
25
26#ifdef __cplusplus
27}
28#endif /* __cplusplus */
29
30#endif /* __IMGBUF_HH__ */
31
unsigned char uchar_t
Definition d_size.h:17
unsigned int uint_t
Definition d_size.h:20
The DilloImage data-structure and methods.
DilloImgType
Definition image.hh:42
void * a_Imgbuf_new(void *v_ir, int img_type, uint_t width, uint_t height, double gamma)
Create a new Imgbuf.
Definition imgbuf.cc:93
void a_Imgbuf_ref(void *v_imgbuf)
Increment reference count for an Imgbuf.
Definition imgbuf.cc:76
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)
Update the root buffer of an imgbuf.
Definition imgbuf.cc:121
int a_Imgbuf_last_reference(void *v_imgbuf)
Last reference for this Imgbuf?
Definition imgbuf.cc:113
void a_Imgbuf_unref(void *v_imgbuf)
Decrement reference count for an Imgbuf.
Definition imgbuf.cc:84
void a_Imgbuf_new_scan(void *v_imgbuf)
Reset for a new scan from a multiple-scan image.
Definition imgbuf.cc:135