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

Master control module
Afficher le fichier Open project: prepare/HTML-Renderer Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public IsLastPass ( ) : bool
Résultat bool

MustCallPassStartup() public méthode

public MustCallPassStartup ( ) : bool
Résultat bool

finish_pass() public méthode

Finish up at end of pass.
public finish_pass ( ) : void
Résultat void

jpeg_comp_master() public méthode

public jpeg_comp_master ( jpeg_compress_struct cinfo, bool transcode_only ) : System
cinfo jpeg_compress_struct
transcode_only bool
Résultat System

pass_startup() public méthode

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
Résultat void

prepare_for_pass() public méthode

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
Résultat void