Claw 1.7.3
jpeg_reader.cpp File Reference

Implementation of the claw::graphic::jpeg::reader class. More...

Go to the source code of this file.

Functions

 claw__graphic__jpeg__source_manager__init_source (j_decompress_ptr cinfo)
 Initialize the input stream.
 
 claw__graphic__jpeg__source_manager__fill_input_buffer (j_decompress_ptr cinfo)
 Fill the input buffer with new data.
 
 claw__graphic__jpeg__source_manager__skip_input_data (j_decompress_ptr cinfo, long num_bytes)
 Skip some bytes in the input buffer.
 
 claw__graphic__jpeg__source_manager__term_source (j_decompress_ptr cinfo)
 Close the input stream.
 

Detailed Description

Implementation of the claw::graphic::jpeg::reader class.

Author
Julien Jorge

Definition in file jpeg_reader.cpp.

Function Documentation

◆ claw__graphic__jpeg__source_manager__fill_input_buffer()

claw__graphic__jpeg__source_manager__fill_input_buffer ( j_decompress_ptr cinfo)

Fill the input buffer with new data.

Parameters
cinfoInformations about the decompression.

Definition at line 53 of file jpeg_reader.cpp.

References CLAW_PRECOND, claw::graphic::jpeg::reader::source_manager::fill_input_buffer(), and claw::graphic::jpeg::reader::source_manager::pub.

◆ claw__graphic__jpeg__source_manager__init_source()

claw__graphic__jpeg__source_manager__init_source ( j_decompress_ptr cinfo)

Initialize the input stream.

Parameters
cinfoInformations about the decompression.

Definition at line 42 of file jpeg_reader.cpp.

◆ claw__graphic__jpeg__source_manager__skip_input_data()

claw__graphic__jpeg__source_manager__skip_input_data ( j_decompress_ptr cinfo,
long num_bytes )

Skip some bytes in the input buffer.

Parameters
cinfoInformations about the decompression.
num_bytesThe number of bytes to skip.

Definition at line 70 of file jpeg_reader.cpp.

References CLAW_PRECOND, claw::graphic::jpeg::reader::source_manager::pub, and claw::graphic::jpeg::reader::source_manager::skip_input_data().

◆ claw__graphic__jpeg__source_manager__term_source()

claw__graphic__jpeg__source_manager__term_source ( j_decompress_ptr cinfo)

Close the input stream.

Parameters
cinfoInformations about the decompression.

Definition at line 87 of file jpeg_reader.cpp.