claw  1.9.0
Functions
jpeg_writer.cpp File Reference

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

#include <claw/graphic/jpeg.hpp>
#include <claw/graphic/jpeg_error_manager.hpp>
#include <claw/assert.hpp>
#include <claw/exception.hpp>
Include dependency graph for jpeg_writer.cpp:

Go to the source code of this file.

Functions

 claw__graphic__jpeg__destination_manager__init_destination (j_compress_ptr cinfo)
 Initialize the output stream. More...
 
 claw__graphic__jpeg__destination_manager__empty_output_buffer (j_compress_ptr cinfo)
 Write the content of the buffer in the file. More...
 
 claw__graphic__jpeg__destination_manager__term_destination (j_compress_ptr cinfo)
 Write the last pending bytes in the file. More...
 

Detailed Description

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

Author
Julien Jorge

Definition in file jpeg_writer.cpp.

Function Documentation

◆ claw__graphic__jpeg__destination_manager__empty_output_buffer()

claw__graphic__jpeg__destination_manager__empty_output_buffer ( j_compress_ptr  cinfo)

Write the content of the buffer in the file.

Parameters
cinfoInformations about the compression.

Definition at line 53 of file jpeg_writer.cpp.

◆ claw__graphic__jpeg__destination_manager__init_destination()

claw__graphic__jpeg__destination_manager__init_destination ( j_compress_ptr  cinfo)

Initialize the output stream.

Parameters
cinfoInformations about the compression.

Definition at line 42 of file jpeg_writer.cpp.

◆ claw__graphic__jpeg__destination_manager__term_destination()

claw__graphic__jpeg__destination_manager__term_destination ( j_compress_ptr  cinfo)

Write the last pending bytes in the file.

Parameters
cinfoInformations about the compression.

Definition at line 71 of file jpeg_writer.cpp.