public interface libopenjp2
-
-
Method Summary
| Modifier and Type |
Method |
Description |
jnr.ffi.Pointer |
opj_create_compress(CODEC_FORMAT fmt) |
|
jnr.ffi.Pointer |
opj_create_decompress(CODEC_FORMAT fmt) |
|
boolean |
opj_decode(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream,
jnr.ffi.Pointer img) |
|
void |
opj_destroy_codec(jnr.ffi.Pointer codec) |
|
void |
opj_destroy_cstr_info(jnr.ffi.byref.AddressByReference infoPtr) |
|
boolean |
opj_encode(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream) |
|
boolean |
opj_end_compress(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream) |
|
opj_codestream_info_v2 |
opj_get_cstr_info(jnr.ffi.Pointer codec) |
|
jnr.ffi.Pointer |
opj_image_create(int numcmpts,
jnr.ffi.Pointer cmtparms,
COLOR_SPACE clrspc) |
|
void |
opj_image_destroy(jnr.ffi.Pointer image) |
|
boolean |
opj_read_header(jnr.ffi.Pointer stream,
jnr.ffi.Pointer codec,
jnr.ffi.byref.PointerByReference imgPtr) |
|
boolean |
opj_set_decode_area(jnr.ffi.Pointer codec,
jnr.ffi.Pointer image,
int startX,
int startY,
int endX,
int endY) |
|
void |
opj_set_default_decoder_parameters(opj_dparameters params) |
|
void |
opj_set_default_encoder_parameters(opj_cparameters params) |
|
boolean |
opj_set_error_handler(jnr.ffi.Pointer codec,
opj_msg_callback msg_fn) |
|
boolean |
opj_set_info_handler(jnr.ffi.Pointer codec,
opj_msg_callback msg_fn) |
|
boolean |
opj_set_warning_handler(jnr.ffi.Pointer codec,
opj_msg_callback msg_fn) |
|
boolean |
opj_setup_decoder(jnr.ffi.Pointer codec,
opj_dparameters params) |
|
boolean |
opj_setup_encoder(jnr.ffi.Pointer codec,
opj_cparameters params,
opj_image img) |
|
boolean |
opj_start_compress(jnr.ffi.Pointer codec,
opj_image img,
jnr.ffi.Pointer stream) |
|
jnr.ffi.Pointer |
opj_stream_create(long bufSize,
boolean isInput) |
|
jnr.ffi.Pointer |
opj_stream_create_default_file_stream(java.lang.String filename,
boolean isReadStream) |
|
void |
opj_stream_destroy(jnr.ffi.Pointer stream) |
|
void |
opj_stream_set_read_function(jnr.ffi.Pointer stream,
opj_stream_read_fn read_fn) |
|
void |
opj_stream_set_seek_function(jnr.ffi.Pointer stream,
opj_stream_seek_fn seek_fn) |
|
void |
opj_stream_set_skip_function(jnr.ffi.Pointer stream,
opj_stream_skip_fn skip_fn) |
|
void |
opj_stream_set_user_data_length(jnr.ffi.Pointer stream,
long dataLength) |
|
void |
opj_stream_set_write_function(jnr.ffi.Pointer stream,
opj_stream_write_fn write_fn) |
|
java.lang.String |
opj_version() |
|
-
-
Method Details
-
opj_version
java.lang.String opj_version()
-
opj_stream_create_default_file_stream
jnr.ffi.Pointer opj_stream_create_default_file_stream(java.lang.String filename,
boolean isReadStream)
-
opj_stream_create
jnr.ffi.Pointer opj_stream_create(long bufSize,
boolean isInput)
-
opj_stream_set_read_function
-
opj_stream_set_write_function
-
opj_stream_set_skip_function
-
opj_stream_set_seek_function
-
opj_stream_set_user_data_length
void opj_stream_set_user_data_length(jnr.ffi.Pointer stream,
long dataLength)
-
opj_stream_destroy
void opj_stream_destroy(jnr.ffi.Pointer stream)
-
-
opj_destroy_codec
void opj_destroy_codec(jnr.ffi.Pointer codec)
-
-
-
opj_set_default_decoder_parameters
-
opj_set_decode_area
boolean opj_set_decode_area(jnr.ffi.Pointer codec,
jnr.ffi.Pointer image,
int startX,
int startY,
int endX,
int endY)
-
opj_decode
boolean opj_decode(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream,
jnr.ffi.Pointer img)
-
-
opj_set_default_encoder_parameters
-
-
opj_start_compress
boolean opj_start_compress(
jnr.ffi.Pointer codec,
opj_image img,
jnr.ffi.Pointer stream)
-
opj_end_compress
boolean opj_end_compress(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream)
-
opj_encode
boolean opj_encode(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream)
-
opj_image_create
jnr.ffi.Pointer opj_image_create(
int numcmpts,
jnr.ffi.Pointer cmtparms,
COLOR_SPACE clrspc)
-
opj_image_destroy
void opj_image_destroy(jnr.ffi.Pointer image)
-
-
opj_destroy_cstr_info
void opj_destroy_cstr_info(jnr.ffi.byref.AddressByReference infoPtr)
-
-
opj_set_warning_handler
boolean opj_set_warning_handler(
jnr.ffi.Pointer codec,
opj_msg_callback msg_fn)
-