public interface libopenjp2
| Modifier and Type | Field | Description |
|---|---|---|
static int |
JPWL_MAX_NO_PACKSPECS |
|
static int |
JPWL_MAX_NO_TILESPECS |
|
static int |
OPJ_J2K_MAXBANDS |
|
static int |
OPJ_J2K_MAXRLVLS |
|
static long |
OPJ_J2K_STREAM_CHUNK_SIZE |
|
static int |
OPJ_PATH_LEN |
|
static int |
STR_LEN |
| 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) |
|
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() |
static final int OPJ_PATH_LEN
static final int STR_LEN
static final int JPWL_MAX_NO_TILESPECS
static final int JPWL_MAX_NO_PACKSPECS
static final int OPJ_J2K_MAXRLVLS
static final int OPJ_J2K_MAXBANDS
static final long OPJ_J2K_STREAM_CHUNK_SIZE
java.lang.String opj_version()
jnr.ffi.Pointer opj_stream_create(long bufSize,
boolean isInput)
void opj_stream_set_read_function(jnr.ffi.Pointer stream,
opj_stream_read_fn read_fn)
void opj_stream_set_write_function(jnr.ffi.Pointer stream,
opj_stream_write_fn write_fn)
void opj_stream_set_skip_function(jnr.ffi.Pointer stream,
opj_stream_skip_fn skip_fn)
void opj_stream_set_seek_function(jnr.ffi.Pointer stream,
opj_stream_seek_fn seek_fn)
void opj_stream_set_user_data_length(jnr.ffi.Pointer stream,
long dataLength)
void opj_stream_destroy(jnr.ffi.Pointer stream)
jnr.ffi.Pointer opj_create_decompress(CODEC_FORMAT fmt)
void opj_destroy_codec(jnr.ffi.Pointer codec)
boolean opj_read_header(jnr.ffi.Pointer stream,
jnr.ffi.Pointer codec,
jnr.ffi.byref.PointerByReference imgPtr)
boolean opj_setup_decoder(jnr.ffi.Pointer codec,
opj_dparameters params)
void opj_set_default_decoder_parameters(opj_dparameters params)
boolean opj_set_decode_area(jnr.ffi.Pointer codec,
jnr.ffi.Pointer image,
int startX,
int startY,
int endX,
int endY)
boolean opj_decode(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream,
jnr.ffi.Pointer img)
jnr.ffi.Pointer opj_create_compress(CODEC_FORMAT fmt)
void opj_set_default_encoder_parameters(opj_cparameters 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)
boolean opj_end_compress(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream)
boolean opj_encode(jnr.ffi.Pointer codec,
jnr.ffi.Pointer stream)
jnr.ffi.Pointer opj_image_create(int numcmpts,
jnr.ffi.Pointer cmtparms,
COLOR_SPACE clrspc)
void opj_image_destroy(jnr.ffi.Pointer image)
opj_codestream_info_v2 opj_get_cstr_info(jnr.ffi.Pointer codec)
void opj_destroy_cstr_info(jnr.ffi.byref.AddressByReference infoPtr)
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_set_error_handler(jnr.ffi.Pointer codec,
opj_msg_callback msg_fn)
Copyright © 2018. All rights reserved.