Unit CdJpeg

Classes

Functions

enable_signal_catcher - @\\\*) {GLOBAL

@/// procedure enable_signal_catcher (cinfo : j_common_ptr);
keymatch - Case-insensitive matching of possibly-abbreviated keyword switches.

Types

BGRptr
BGRtype
cdjpeg_progress_mgr
cd_progress_ptr
cjpeg_source_ptr
cjpeg_source_struct
djpeg_dest_ptr
djpeg_dest_struct
RGBptr
RGBtype

Constants

EXIT_FAILURE
EXIT_SUCCESS
EXIT_WARNING

Variables


Functions


procedure enable_signal_catcher (cinfo : j_common_ptr);

@\\\*) {GLOBAL

@/// procedure enable_signal_catcher (cinfo : j_common_ptr);


function keymatch (arg : string; const keyword : string; minchars : int) : boolean;

Case-insensitive matching of possibly-abbreviated keyword switches. keyword is the constant keyword (must be lower case already), minchars is length of minimum legal abbreviation. } {GLOBAL

@\\\*) (*@/// function keymatch (arg : string; *) { Case-insensitive matching of possibly-abbreviated keyword switches. keyword is the constant keyword (must be lower case already), minchars is length of minimum legal abbreviation.


Types


BGRptr = ^BGRtype
Nomssi } (*@/// BGRtype = packed record
BGRtype = record
b : byte;
g : byte;
r : byte;
end;

cdjpeg_progress_mgr = record
pub : jpeg_progress_mgr;
completed_extra_passes : int;
total_extra_passes : int;
percent_done : int;
end;

cd_progress_ptr = ^cdjpeg_progress_mgr
@/// cdjpeg_progress_mgr = record
cjpeg_source_ptr = ^cjpeg_source_struct
@/// cjpeg_source_struct = record
cjpeg_source_struct = record
start_input : procedure (cinfo : j_compress_ptr;
sinfo : cjpeg_source_ptr);
get_pixel_rows : function (cinfo : j_compress_ptr;
sinfo : cjpeg_source_ptr) : JDIMENSION;
finish_input : procedure (cinfo : j_compress_ptr;
sinfo : cjpeg_source_ptr);
input_file : TStream;
buffer : JSAMPARRAY;
buffer_height : JDIMENSION;
end;

djpeg_dest_ptr = ^djpeg_dest_struct
@/// djpeg_dest_struct = record
djpeg_dest_struct = record
start_output : procedure (cinfo : j_decompress_ptr;
dinfo : djpeg_dest_ptr);
put_pixel_rows : procedure (cinfo : j_decompress_ptr;
dinfo : djpeg_dest_ptr;
rows_supplied : JDIMENSION);
finish_output : procedure (cinfo : j_decompress_ptr;
dinfo : djpeg_dest_ptr);
output_file : TStream;
buffer : JSAMPARRAY;
buffer_height : JDIMENSION;
end;

RGBptr = ^RGBtype
Nomssi } (*@/// RGBtype = packed record
RGBtype = record
r : JSAMPLE;
g : JSAMPLE;
b : JSAMPLE;
end;

Constants

EXIT_FAILURE = 1

EXIT_SUCCESS = 0

get library error codes too } (*@\\\0000000303

EXIT_WARNING = 2


Variables