Dillo v3.1.1-119-g140d9ebd
Loading...
Searching...
No Matches
imgbuf.hh File Reference
#include "image.hh"
Include dependency graph for imgbuf.hh:
This graph shows which files directly or indirectly include this file:

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.
 

Function Documentation

◆ a_Imgbuf_last_reference()

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().

◆ a_Imgbuf_new()

void * a_Imgbuf_new ( void *  v_ir,
int  img_type,
uint_t  width,
uint_t  height,
double  gamma 
)

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().

◆ a_Imgbuf_new_scan()

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().

◆ a_Imgbuf_ref()

void a_Imgbuf_ref ( void *  v_imgbuf)

Increment reference count for an Imgbuf.

Definition at line 76 of file imgbuf.cc.

◆ a_Imgbuf_unref()

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().

◆ a_Imgbuf_update()

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().