C# 클래스 BitMiracle.LibJpeg.Classic.Internal.my_trans_c_coef_controller

This is a special implementation of the coefficient buffer controller. This is similar to jccoefct.c, but it handles only output from presupplied virtual arrays. Furthermore, we generate any dummy padding blocks on-the-fly rather than expecting them to be present in the arrays.
상속: jpeg_c_coef_controller
파일 보기 프로젝트 열기: prepare/HTML-Renderer

공개 메소드들

메소드 설명
compress_data ( byte input_buf ) : bool

Process some data. We process the equivalent of one fully interleaved MCU row ("iMCU" row) per call, ie, v_samp_factor block rows for each component in the scan. The data is obtained from the virtual arrays and fed to the entropy coder. Returns true if the iMCU row is completed, false if suspended. NB: input_buf is ignored; it is likely to be a null pointer.

my_trans_c_coef_controller ( jpeg_compress_struct cinfo, jvirt_array coef_arrays )

Initialize coefficient buffer controller. Each passed coefficient array must be the right size for that coefficient: width_in_blocks wide and height_in_blocks high, with unit height at least v_samp_factor.

start_pass ( J_BUF_MODE pass_mode ) : void

Initialize for a processing pass.

비공개 메소드들

메소드 설명
start_iMCU_row ( ) : void

Reset within-iMCU-row counters for a new row

메소드 상세

compress_data() 공개 메소드

Process some data. We process the equivalent of one fully interleaved MCU row ("iMCU" row) per call, ie, v_samp_factor block rows for each component in the scan. The data is obtained from the virtual arrays and fed to the entropy coder. Returns true if the iMCU row is completed, false if suspended. NB: input_buf is ignored; it is likely to be a null pointer.
public compress_data ( byte input_buf ) : bool
input_buf byte
리턴 bool

my_trans_c_coef_controller() 공개 메소드

Initialize coefficient buffer controller. Each passed coefficient array must be the right size for that coefficient: width_in_blocks wide and height_in_blocks high, with unit height at least v_samp_factor.
public my_trans_c_coef_controller ( jpeg_compress_struct cinfo, jvirt_array coef_arrays )
cinfo jpeg_compress_struct
coef_arrays jvirt_array

start_pass() 공개 메소드

Initialize for a processing pass.
public start_pass ( J_BUF_MODE pass_mode ) : void
pass_mode J_BUF_MODE
리턴 void