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

Наследование: jpeg_upsampler
Показать файл Открыть проект

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

Метод Описание
my_merged_upsampler ( jpeg_decompress_struct cinfo )
start_pass ( ) : void

Initialize for an upsampling pass.

upsample ( 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

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

Метод Описание
FIX ( double x ) : int
build_bg_ycc_rgb_table ( ) : void

Initialize tables for BG_YCC->RGB colorspace conversion. This is taken directly from jpeg_color_deconverter; see that file for more info.

build_ycc_rgb_table ( ) : void

Initialize tables for YCbCr->RGB colorspace conversion. This is taken directly from jpeg_color_deconverter; see that file for more info.

h2v1_merged_upsample ( ComponentBuffer input_buf, int in_row_group_ctr, byte output_buf, int outRow ) : void

Upsample and color convert for the case of 2:1 horizontal and 1:1 vertical.

h2v2_merged_upsample ( ComponentBuffer input_buf, int in_row_group_ctr, byte output_buf ) : void

Upsample and color convert for the case of 2:1 horizontal and 2:1 vertical.

merged_1v_upsample ( ComponentBuffer input_buf, int &in_row_group_ctr, byte output_buf, int &out_row_ctr ) : void

Control routine to do upsampling (and color conversion). The control routine just handles the row buffering considerations. 1:1 vertical sampling case: much easier, never need a spare row.

merged_2v_upsample ( ComponentBuffer input_buf, int &in_row_group_ctr, byte output_buf, int &out_row_ctr, int out_rows_avail ) : void

Control routine to do upsampling (and color conversion). The control routine just handles the row buffering considerations. 2:1 vertical sampling case: may need a spare row.

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

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

public my_merged_upsampler ( jpeg_decompress_struct cinfo )
cinfo jpeg_decompress_struct

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

Initialize for an upsampling pass.
public start_pass ( ) : void
Результат void

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

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