Dillo v3.1.1-91-g6d5b3ee3
|
#include "image.hh"
Go to the source code of this file.
Functions | |
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 *v_ir, 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. | |
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().