pipe_format_block Struct Reference

Describe accurately the pixel format. More...

Data Fields

unsigned size
 Block size in bytes.
unsigned width
 Block width in pixels.
unsigned height
 Block height in pixels.

Detailed Description

Describe accurately the pixel format.

The chars-per-pixel concept falls apart with compressed and yuv images, where more than one pixel are coded in a single data block. This structure describes that block.

Simple pixel formats are effectively a 1x1xcpp block.

Definition at line 457 of file p_format.h.

Field Documentation

unsigned pipe_format_block::size

Block size in bytes.

Definition at line 460 of file p_format.h.

unsigned pipe_format_block::width

Block width in pixels.

Definition at line 463 of file p_format.h.

unsigned pipe_format_block::height

Block height in pixels.

Definition at line 466 of file p_format.h.

The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:04 2009 for Gallium3D by  doxygen 1.5.4