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

Master control module
Exibir arquivo Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
IsLastPass ( ) : bool
MustCallPassStartup ( ) : bool
finish_pass ( ) : void

Finish up at end of pass.

jpeg_comp_master ( jpeg_compress_struct cinfo, bool transcode_only ) : System
pass_startup ( ) : void

Special start-of-pass hook. This is called by jpeg_write_scanlines if call_pass_startup is true. In single-pass processing, we need this hook because we don't want to write frame/scan headers during jpeg_start_compress; we want to let the application write COM markers etc. between jpeg_start_compress and the jpeg_write_scanlines loop. In multi-pass processing, this routine is not used.

prepare_for_pass ( ) : void

Per-pass setup. This is called at the beginning of each pass. We determine which modules will be active during this pass and give them appropriate start_pass calls. We also set is_last_pass to indicate whether any more passes will be required.

Private Methods

Method Description
per_scan_setup ( ) : void

Do computations that are needed before processing a JPEG scan cinfo.comps_in_scan and cinfo.cur_comp_info[] are already set

prepare_for_huff_opt_pass ( ) : bool
prepare_for_main_pass ( ) : void
prepare_for_output_pass ( ) : void
select_scan_parameters ( ) : void

Method Details

IsLastPass() public method

public IsLastPass ( ) : bool
return bool

MustCallPassStartup() public method

public MustCallPassStartup ( ) : bool
return bool

finish_pass() public method

Finish up at end of pass.
public finish_pass ( ) : void
return void

jpeg_comp_master() public method

public jpeg_comp_master ( jpeg_compress_struct cinfo, bool transcode_only ) : System
cinfo jpeg_compress_struct
transcode_only bool
return System

pass_startup() public method

Special start-of-pass hook. This is called by jpeg_write_scanlines if call_pass_startup is true. In single-pass processing, we need this hook because we don't want to write frame/scan headers during jpeg_start_compress; we want to let the application write COM markers etc. between jpeg_start_compress and the jpeg_write_scanlines loop. In multi-pass processing, this routine is not used.
public pass_startup ( ) : void
return void

prepare_for_pass() public method

Per-pass setup. This is called at the beginning of each pass. We determine which modules will be active during this pass and give them appropriate start_pass calls. We also set is_last_pass to indicate whether any more passes will be required.
public prepare_for_pass ( ) : void
return void