JPEG_FrameHeader Struct Reference

#include <gba-jpeg-decode.h>


Data Fields

JPEG_Marker marker
int encoding
char differential
unsigned char precision
unsigned short height
unsigned short width
JPEG_FrameHeader_Component componentList [JPEG_MAXIMUM_COMPONENTS]
int componentCount


Detailed Description

The frame header state.

Field Documentation

Number of components.

Components.

Differential (1) or non-differential (0).

0 for Huffman coding, 1 for arithmetic coding.

unsigned short JPEG_FrameHeader::height

Maximum number of lines in the source image, equal to the number of lines in the component with the maximum number of vertical samples. 0 indicates that the number of lines shall be defined by the DNL marker and parameters at the end of the first scan.

The marker that began this frame header, one of JPEG_Marker_SOFn.

Sample precision - precision in bits for the samples of the components in the frame.

unsigned short JPEG_FrameHeader::width

Number of samples per line in the source image, equal to the number of samples per line in the component with the maximum number of horizontal samples.


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

Generated on Sat Jun 13 12:55:14 2009 for PAlib - Programmer's Arsenal by  doxygen 1.5.8