62 pixbuf_pixel (
struct pixel_buffer *pixbuf,
unsigned int x,
unsigned int y ) {
unsigned int height
Height.
unsigned int pixels
Total number of pixels.
struct pixel_buffer * alloc_pixbuf(unsigned int width, unsigned int height)
Allocate pixel buffer.
uint32_t * data
32-bit (8:8:8:8) xRGB pixel data, in host-endian order
#define ref_get(refcnt)
Get additional reference to object.
static __attribute__((always_inline)) struct pixel_buffer *pixbuf_get(struct pixel_buffer *pixbuf)
Get reference to pixel buffer.
struct refcnt refcnt
Reference count.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
static unsigned int unsigned int y
#define ref_put(refcnt)
Drop reference to object.