iPXE
Data Fields
png_context Struct Reference

PNG context. More...

Data Fields

size_t offset
 Offset within image. More...
 
struct pixel_bufferpixbuf
 Pixel buffer. More...
 
unsigned int depth
 Bit depth. More...
 
unsigned int colour_type
 Colour type. More...
 
unsigned int channels
 Number of channels. More...
 
unsigned int passes
 Number of interlace passes. More...
 
uint32_t palette [PNG_PALETTE_COUNT]
 Palette, in iPXE's pixel buffer format. More...
 
struct deflate_chunk raw
 Decompression buffer for raw PNG data. More...
 
struct deflate deflate
 Decompressor. More...
 

Detailed Description

PNG context.

Definition at line 44 of file png.c.

Field Documentation

◆ offset

size_t png_context::offset

Offset within image.

Definition at line 46 of file png.c.

Referenced by png_chunk(), png_image_data(), png_image_header(), png_palette(), and png_pixbuf().

◆ pixbuf

struct pixel_buffer* png_context::pixbuf

Pixel buffer.

Definition at line 49 of file png.c.

Referenced by png_image_end(), png_image_header(), png_interlace(), png_pixbuf(), and png_pixels_pass().

◆ depth

unsigned int png_context::depth

Bit depth.

Definition at line 52 of file png.c.

Referenced by png_image_header(), png_pixel_len(), png_pixels_pass(), and png_scanline_len().

◆ colour_type

unsigned int png_context::colour_type

Colour type.

Definition at line 54 of file png.c.

Referenced by png_image_header(), and png_pixels_pass().

◆ channels

unsigned int png_context::channels

Number of channels.

Definition at line 56 of file png.c.

Referenced by png_image_header(), png_pixel_len(), png_pixels_pass(), and png_scanline_len().

◆ passes

unsigned int png_context::passes

Number of interlace passes.

Definition at line 58 of file png.c.

Referenced by png_image_header(), png_interlace(), png_pixels(), and png_unfilter().

◆ palette

uint32_t png_context::palette[PNG_PALETTE_COUNT]

Palette, in iPXE's pixel buffer format.

Definition at line 60 of file png.c.

Referenced by png_palette(), and png_pixels_pass().

◆ raw

struct deflate_chunk png_context::raw

Decompression buffer for raw PNG data.

Definition at line 63 of file png.c.

Referenced by png_image_data(), png_image_end(), png_image_header(), png_pixbuf(), png_pixels(), png_pixels_pass(), png_unfilter(), and png_unfilter_pass().

◆ deflate

struct deflate png_context::deflate

Decompressor.

Definition at line 65 of file png.c.

Referenced by png_image_data(), png_image_end(), and png_pixbuf().


The documentation for this struct was generated from the following file: