Classes

CL_JPEGDecompressor Class Reference
[clanDisplay Image Providers]

JPEG Decompressor. More...

#include <jpeg_decompressor.h>

List of all members.

Classes

struct  SavedMarker

Public Member Functions

Construction

 CL_JPEGDecompressor (CL_IODevice input_source)
 Constructs a JPEGDecompressor.
Operations

void record_marker (SpecialMarker marker_code, unsigned int length_limit=0xffff)
 Record marker.
void start (bool raw_data=false)
 Start.
unsigned int read_scanlines (unsigned char **data, unsigned int lines)
unsigned int read_raw_data (const unsigned char ***data, unsigned int lines)
void finish ()
 Finish.

Attributes



enum  SpecialMarker {
  marker_rst0 = 0xD0, marker_eoi = 0xD9, marker_app0 = 0xe0, marker_app1 = 0xe1,
  marker_app2 = 0xe2, marker_app3 = 0xe3, marker_app4 = 0xe4, marker_app5 = 0xe5,
  marker_app6 = 0xe6, marker_app7 = 0xe7, marker_app8 = 0xe8, marker_app9 = 0xe9,
  marker_app10 = 0xea, marker_app11 = 0xeb, marker_app12 = 0xec, marker_app13 = 0xed,
  marker_app14 = 0xee, marker_com = 0xfe
}
int get_output_width () const
 Get Output width.
int get_output_height () const
 Get Output height.
int get_output_components () const
 Get Output components.
std::vector< SavedMarkerget_saved_markers () const

Detailed Description

JPEG Decompressor.


Member Enumeration Documentation

Enumerator:
marker_rst0 
marker_eoi 
marker_app0 
marker_app1 
marker_app2 
marker_app3 
marker_app4 
marker_app5 
marker_app6 
marker_app7 
marker_app8 
marker_app9 
marker_app10 
marker_app11 
marker_app12 
marker_app13 
marker_app14 
marker_com 

Constructor & Destructor Documentation

CL_JPEGDecompressor::CL_JPEGDecompressor ( CL_IODevice  input_source  ) 

Constructs a JPEGDecompressor.

Parameters:
input_source = IODevice

Member Function Documentation

void CL_JPEGDecompressor::finish (  ) 

Finish.

int CL_JPEGDecompressor::get_output_components (  )  const

Get Output components.

Returns:
output_components
int CL_JPEGDecompressor::get_output_height (  )  const

Get Output height.

Returns:
output_height
int CL_JPEGDecompressor::get_output_width (  )  const

Get Output width.

Returns:
output_width
std::vector<SavedMarker> CL_JPEGDecompressor::get_saved_markers (  )  const
unsigned int CL_JPEGDecompressor::read_raw_data ( const unsigned char ***  data,
unsigned int  lines 
)
unsigned int CL_JPEGDecompressor::read_scanlines ( unsigned char **  data,
unsigned int  lines 
)
void CL_JPEGDecompressor::record_marker ( SpecialMarker  marker_code,
unsigned int  length_limit = 0xffff 
)

Record marker.

Parameters:
marker_code = Special Marker
length_limit = value
void CL_JPEGDecompressor::start ( bool  raw_data = false  ) 

Start.

Parameters:
raw_data = bool

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