PAlib
Data Fields
JPEG_FrameHeader Struct Reference

#include <jpeg.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

◆ marker

JPEG_Marker JPEG_FrameHeader::marker

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

◆ encoding

int JPEG_FrameHeader::encoding

0 for Huffman coding, 1 for arithmetic coding.

◆ differential

char JPEG_FrameHeader::differential

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

◆ precision

unsigned char JPEG_FrameHeader::precision

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

◆ height

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.

◆ width

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.

◆ componentList

JPEG_FrameHeader_Component JPEG_FrameHeader::componentList[JPEG_MAXIMUM_COMPONENTS]

Components.

◆ componentCount

int JPEG_FrameHeader::componentCount

Number of components.