|
iPXE
|
Pixel buffer. More...
Go to the source code of this file.
Data Structures | |
| struct | pixel_buffer |
| A pixel buffer. More... | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| static | __attribute__ ((always_inline)) struct pixel_buffer *pixbuf_get(struct pixel_buffer *pixbuf) |
| Get reference to pixel buffer. More... | |
| struct pixel_buffer * | alloc_pixbuf (unsigned int width, unsigned int height) |
| Allocate pixel buffer. More... | |
Variables | |
| static unsigned int | x |
| static unsigned int unsigned int | y |
| index = ( ( y * pixbuf->width ) + x ) | |
| return &pixbuf | data [index] |
Pixel buffer.
Definition in file pixbuf.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
inlinestatic |
Get reference to pixel buffer.
Get pixel.
Drop reference to pixel buffer.
| pixbuf | Pixel buffer |
| pixbuf | Pixel buffer |
| pixbuf | Pixel buffer |
| pixbuf | Pixel buffer |
| x | X position |
| y | Y position |
| pixel | Pixel |
Definition at line 37 of file pixbuf.h.
References ref_get, and pixel_buffer::refcnt.
| struct pixel_buffer* alloc_pixbuf | ( | unsigned int | width, |
| unsigned int | height | ||
| ) |
Allocate pixel buffer.
| width | Width @h height Height |
| pixbuf | Pixel buffer, or NULL on failure |
Definition at line 59 of file pixbuf.c.
References pixel_buffer::data, free_pixbuf(), pixel_buffer::height, pixel_buffer::len, NULL, pixel_buffer::pixels, ref_init, pixel_buffer::refcnt, umalloc(), pixel_buffer::width, and zalloc().
Referenced by png_image_header(), and pnm_pixbuf().
| unsigned int x |
Definition at line 62 of file pixbuf.h.
Referenced by __attribute__(), ansiscr_movetoyx(), ar9003_hw_power_interpolate(), efifb_draw(), eth_pio_write(), fbcon_picture_init(), fls(), interpolate(), max(), min(), move(), mvaddch(), mvaddchnstr(), mvaddchstr(), mvaddnstr(), mvaddstr(), mvdelch(), mvgetch(), mvgetnstr(), mvgetstr(), mvhline(), mvvline(), mvwaddch(), mvwaddchnstr(), mvwaddchstr(), mvwaddnstr(), mvwaddstr(), mvwdelch(), mvwgetch(), mvwgetnstr(), mvwgetstr(), mvwhline(), mvwin(), mvwvline(), png_pixels_pass(), smi_phy_addr(), smi_reg_addr(), test_bswap16(), test_bswap16s(), test_bswap32(), test_bswap32s(), test_bswap64(), test_bswap64s(), and wmove().
| unsigned int unsigned int y |
Definition at line 62 of file pixbuf.h.
Referenced by ansiscr_movetoyx(), ar9003_hw_power_interpolate(), efifb_draw(), fbcon_picture_init(), max(), min(), move(), mvaddch(), mvaddchnstr(), mvaddchstr(), mvaddnstr(), mvaddstr(), mvdelch(), mvgetch(), mvgetnstr(), mvgetstr(), mvhline(), mvvline(), mvwaddch(), mvwaddchnstr(), mvwaddchstr(), mvwaddnstr(), mvwaddstr(), mvwdelch(), mvwgetch(), mvwgetnstr(), mvwgetstr(), mvwhline(), mvwin(), mvwvline(), png_pixels_pass(), and wmove().
1.8.15