C# Class BitMiracle.LibJpeg.Classic.Internal.jpeg_d_post_controller

Decompression postprocessing (color quantization buffer control)
Datei anzeigen Open project: prepare/HTML-Renderer

Public Methods

Method Description
jpeg_d_post_controller ( jpeg_decompress_struct cinfo, bool need_full_buffer )

Initialize postprocessing controller.

post_process_data ( ComponentBuffer input_buf, int &in_row_group_ctr, int in_row_groups_avail, byte output_buf, int &out_row_ctr, int out_rows_avail ) : void
start_pass ( J_BUF_MODE pass_mode ) : void

Initialize for a processing pass.

Private Methods

Method Description
post_process_1pass ( ComponentBuffer input_buf, int &in_row_group_ctr, int in_row_groups_avail, byte output_buf, int &out_row_ctr, int out_rows_avail ) : void

Process some data in the one-pass (strip buffer) case. This is used for color precision reduction as well as one-pass quantization.

post_process_2pass ( byte output_buf, int &out_row_ctr, int out_rows_avail ) : void

Process some data in the second pass of 2-pass quantization.

post_process_prepass ( ComponentBuffer input_buf, int &in_row_group_ctr, int in_row_groups_avail, int &out_row_ctr ) : void

Process some data in the first pass of 2-pass quantization.

Method Details

jpeg_d_post_controller() public method

Initialize postprocessing controller.
public jpeg_d_post_controller ( jpeg_decompress_struct cinfo, bool need_full_buffer )
cinfo jpeg_decompress_struct
need_full_buffer bool

post_process_data() public method

public post_process_data ( ComponentBuffer input_buf, int &in_row_group_ctr, int in_row_groups_avail, byte output_buf, int &out_row_ctr, int out_rows_avail ) : void
input_buf ComponentBuffer
in_row_group_ctr int
in_row_groups_avail int
output_buf byte
out_row_ctr int
out_rows_avail int
return void

start_pass() public method

Initialize for a processing pass.
public start_pass ( J_BUF_MODE pass_mode ) : void
pass_mode J_BUF_MODE
return void