Метод | Описание | |
---|---|---|
IsDummyPass ( ) : bool | ||
finish_output_pass ( ) : void |
Finish up at end of an output pass.
|
|
jpeg_decomp_master ( jpeg_decompress_struct cinfo ) : System | ||
prepare_for_output_pass ( ) : void |
Per-pass setup. This is called at the beginning of each output pass. We determine which modules will be active during this pass and give them appropriate start_pass calls. We also set is_dummy_pass to indicate whether this is a "real" output pass or a dummy pass for color quantization. (In the latter case, we will crank the pass to completion.)
|
Метод | Описание | |
---|---|---|
master_selection ( ) : void |
Master selection of decompression modules. This is done once at jpeg_start_decompress time. We determine which modules will be used and give them appropriate initialization calls. We also initialize the decompressor input side to begin consuming data. Since jpeg_read_header has finished, we know what is in the SOF and (first) SOS markers. We also have all the application parameter settings.
|
|
prepare_range_limit_table ( ) : void |
Allocate and fill in the sample_range_limit table. Several decompression processes need to range-limit values to the range 0..MAXJSAMPLE; the input value may fall somewhat outside this range due to noise introduced by quantization, roundoff error, etc. These processes are inner loops and need to be as fast as possible. On most machines, particularly CPUs with pipelines or instruction prefetch, a (subscript-check-less) C table lookup x = sample_range_limit[x]; is faster than explicit tests
|
public jpeg_decomp_master ( jpeg_decompress_struct cinfo ) : System | ||
cinfo | jpeg_decompress_struct | |
Результат | System |