C# Класс BitMiracle.LibJpeg.Classic.Internal.jpeg_comp_master

Master control module
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

IsLastPass() публичный Метод

public IsLastPass ( ) : bool
Результат bool

MustCallPassStartup() публичный Метод

public MustCallPassStartup ( ) : bool
Результат bool

finish_pass() публичный Метод

Finish up at end of pass.
public finish_pass ( ) : void
Результат void

jpeg_comp_master() публичный Метод

public jpeg_comp_master ( jpeg_compress_struct cinfo, bool transcode_only ) : System
cinfo jpeg_compress_struct
transcode_only bool
Результат System

pass_startup() публичный Метод

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
Результат void

prepare_for_pass() публичный Метод

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
Результат void