iPXE
|
PNM type. More...
#include <pnm.h>
Data Fields | |
char | type |
PNM type. More... | |
uint8_t | depth |
Number of scalar values per pixel. More... | |
uint8_t | packing |
Number of pixels per composite value. More... | |
uint8_t | flags |
Flags. More... | |
int(* | scalar )(struct image *image, struct pnm_context *pnm) |
Extract scalar value. More... | |
uint32_t(* | rgb )(uint32_t composite, unsigned int index) |
Convert composite value to 24-bit RGB. More... | |
char pnm_type::type |
uint8_t pnm_type::packing |
Number of pixels per composite value.
Definition at line 51 of file pnm.h.
Referenced by pnm_pixbuf().
uint8_t pnm_type::flags |
int( * pnm_type::scalar) (struct image *image, struct pnm_context *pnm) |
Extract scalar value.
image | PNM image |
pnm | PNM context |
value | Value, or negative error |
Definition at line 60 of file pnm.h.
Referenced by pnm_data().
Convert composite value to 24-bit RGB.
composite | Composite value |
index | Pixel index within this composite value |
rgb | 24-bit RGB value |
Definition at line 67 of file pnm.h.
Referenced by pnm_data().