Dillo v3.1.1-98-g318d1f14
|
Go to the source code of this file.
Functions | |
static uchar_t * | Imgbuf_rgb_line (const uchar_t *buf, DilloImgType type, uchar_t *cmap, uint_t width, uint_t y) |
void | a_Imgbuf_ref (void *v_imgbuf) |
Increment reference count for an Imgbuf. | |
void | a_Imgbuf_unref (void *v_imgbuf) |
Decrement reference count for an Imgbuf. | |
void * | a_Imgbuf_new (void *layout, int img_type, uint_t width, uint_t height, double gamma) |
Create a new Imgbuf. | |
int | a_Imgbuf_last_reference (void *v_imgbuf) |
Last reference for this 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) |
Update the root buffer of an imgbuf. | |
void | a_Imgbuf_new_scan (void *v_imgbuf) |
Reset for a new scan from a multiple-scan image. | |
Variables | |
static size_t | linebuf_size = 0 |
static uchar_t * | linebuf = NULL |
int a_Imgbuf_last_reference | ( | void * | v_imgbuf | ) |
Last reference for this Imgbuf?
Definition at line 113 of file imgbuf.cc.
Referenced by a_Dicache_cleanup(), and a_Dicache_unref().
Create a new Imgbuf.
Definition at line 93 of file imgbuf.cc.
References dRealloc(), layout, linebuf, linebuf_size, MSG_ERR, and dw::core::Imgbuf::RGB.
Referenced by a_Dicache_set_parms().
void a_Imgbuf_new_scan | ( | void * | v_imgbuf | ) |
Reset for a new scan from a multiple-scan image.
Definition at line 135 of file imgbuf.cc.
Referenced by a_Dicache_new_scan().
void a_Imgbuf_ref | ( | void * | v_imgbuf | ) |
void a_Imgbuf_unref | ( | void * | v_imgbuf | ) |
Decrement reference count for an Imgbuf.
Definition at line 84 of file imgbuf.cc.
Referenced by a_Dicache_freeall(), and Dicache_remove().
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 at line 121 of file imgbuf.cc.
References dReturn_if_fail, and Imgbuf_rgb_line().
Referenced by a_Dicache_write().
|
static |
Definition at line 29 of file imgbuf.cc.
References DILLO_IMG_TYPE_CMYK_INV, DILLO_IMG_TYPE_GRAY, DILLO_IMG_TYPE_INDEXED, DILLO_IMG_TYPE_NOTSET, DILLO_IMG_TYPE_RGB, linebuf, MSG_ERR, and MSG_WARN.
Referenced by a_Imgbuf_update().
|
static |
Definition at line 23 of file imgbuf.cc.
Referenced by a_Imgbuf_new(), and Imgbuf_rgb_line().
|
static |
Definition at line 22 of file imgbuf.cc.
Referenced by a_Imgbuf_new().