iPXE
png_context Struct Reference

PNG context. More...

Data Fields

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

Detailed Description

PNG context.

Definition at line 45 of file png.c.

Field Documentation

◆ offset

size_t png_context::offset

Offset within image.

Definition at line 47 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 50 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 53 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 55 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 57 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 59 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 61 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 64 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 66 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: