@NoOffset @Properties(inherit=LibRaw.class) public class LibRaw extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
LibRaw() |
LibRaw(int flags) |
LibRaw(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
adjust_maximum() |
int |
adjust_sizes_info_only() |
int |
adjust_to_raw_inset_crop(int mask) |
int |
adjust_to_raw_inset_crop(int mask,
float maxcrop) |
int |
adobe_coeff(int arg0,
BytePointer arg1) |
int |
adobe_coeff(int arg0,
BytePointer arg1,
int internal_only) |
int |
adobe_coeff(int arg0,
String arg1) |
int |
adobe_coeff(int arg0,
String arg1,
int internal_only) |
static int |
cameraCount() |
static PointerPointer |
cameraList() |
static BytePointer |
cameramakeridx2maker(int maker) |
static int |
capabilities() |
void |
clearCancelFlag() |
int |
COLOR(int row,
int col) |
void |
convertFloatToInt() |
void |
convertFloatToInt(float dmin,
float dmax,
float dtarget) |
int |
copy_mem_image(Pointer scan0,
int stride,
int bgr) |
static void |
dcraw_clear_mem(libraw_processed_image_t arg0) |
libraw_processed_image_t |
dcraw_make_mem_image() |
libraw_processed_image_t |
dcraw_make_mem_image(int[] errcode) |
libraw_processed_image_t |
dcraw_make_mem_image(IntBuffer errcode) |
libraw_processed_image_t |
dcraw_make_mem_image(IntPointer errcode) |
libraw_processed_image_t |
dcraw_make_mem_thumb() |
libraw_processed_image_t |
dcraw_make_mem_thumb(int[] errcode) |
libraw_processed_image_t |
dcraw_make_mem_thumb(IntBuffer errcode) |
libraw_processed_image_t |
dcraw_make_mem_thumb(IntPointer errcode) |
int |
dcraw_ppm_tiff_writer(BytePointer filename) |
int |
dcraw_ppm_tiff_writer(String filename) |
int |
dcraw_process() |
int |
dcraw_thumb_writer(BytePointer fname) |
int |
dcraw_thumb_writer(String fname) |
int |
error_count() |
int |
FC(int row,
int col) |
int |
fcol(int row,
int col) |
void |
free_image() |
int |
get_decoder_info(libraw_decoder_info_t d_info) |
void |
get_mem_image_format(int[] width,
int[] height,
int[] colors,
int[] bps) |
void |
get_mem_image_format(IntBuffer width,
IntBuffer height,
IntBuffer colors,
IntBuffer bps) |
void |
get_mem_image_format(IntPointer width,
IntPointer height,
IntPointer colors,
IntPointer bps) |
int |
have_fpdata() |
libraw_data_t |
imgdata() |
LibRaw |
imgdata(libraw_data_t setter) |
int |
is_coolscan_nef() |
int |
is_floating_point() |
int |
is_fuji_rotated() |
int |
is_jpeg_thumb() |
int |
is_nikon_sraw() |
int |
is_sraw() |
static float |
libraw_powf64l(float a,
float b) |
int |
open_bayer(byte[] data,
int datalen,
short _raw_width,
short _raw_height,
short _left_margin,
short _top_margin,
short _right_margin,
short _bottom_margin,
byte procflags,
byte bayer_pattern,
int unused_bits,
int otherflags,
int black_level) |
int |
open_bayer(ByteBuffer data,
int datalen,
short _raw_width,
short _raw_height,
short _left_margin,
short _top_margin,
short _right_margin,
short _bottom_margin,
byte procflags,
byte bayer_pattern,
int unused_bits,
int otherflags,
int black_level) |
int |
open_bayer(BytePointer data,
int datalen,
short _raw_width,
short _raw_height,
short _left_margin,
short _top_margin,
short _right_margin,
short _bottom_margin,
byte procflags,
byte bayer_pattern,
int unused_bits,
int otherflags,
int black_level) |
int |
open_buffer(Pointer buffer,
long size) |
int |
open_datastream(LibRaw_abstract_datastream arg0) |
int |
open_file(BytePointer fname) |
int |
open_file(String fname) |
libraw_output_params_t |
output_params_ptr() |
int |
phase_one_correct() |
int |
phase_one_subtract_black(short[] src,
short[] dest) |
int |
phase_one_subtract_black(ShortBuffer src,
ShortBuffer dest) |
int |
phase_one_subtract_black(ShortPointer src,
ShortPointer dest) |
static float |
powf_lim(float a,
float b,
float limup) |
int |
raw2image_ex(int do_subtract_black) |
void |
raw2image_start() |
int |
raw2image() |
void |
recycle_datastream() |
void |
recycle() |
void |
set_dataerror_handler(data_callback func,
Pointer data) |
void |
set_dng_host(Pointer arg0) |
void |
set_exifparser_handler(exif_parser_callback cb,
Pointer data) |
void |
set_progress_handler(progress_callback pcb,
Pointer data) |
int |
set_rawspeed_camerafile(byte[] filename) |
int |
set_rawspeed_camerafile(ByteBuffer filename) |
int |
set_rawspeed_camerafile(BytePointer filename) |
void |
setCancelFlag() |
int |
setMakeFromIndex(int index) |
static int |
sgetn(int n,
byte[] s) |
static int |
sgetn(int n,
ByteBuffer s) |
static int |
sgetn(int n,
BytePointer s) |
int |
sraw_midpoint() |
static BytePointer |
strerror(int p) |
static String |
strprogress(int arg0) |
static BytePointer |
strprogress(LibRaw.LibRaw_progress arg0) |
int |
subtract_black_internal() |
int |
subtract_black() |
int |
thumbOK() |
int |
thumbOK(long maxsz) |
BytePointer |
unpack_function_name() |
int |
unpack_thumb_ex(int arg0) |
int |
unpack_thumb() |
int |
unpack() |
static BytePointer |
version() |
static int |
versionNumber() |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public LibRaw(Pointer p)
Pointer(Pointer)
.public LibRaw()
@ByRef public libraw_data_t imgdata()
public LibRaw imgdata(libraw_data_t setter)
public libraw_output_params_t output_params_ptr()
public int open_file(@Cast(value="const char*") BytePointer fname)
public int open_file(String fname)
public int open_datastream(LibRaw_abstract_datastream arg0)
public int open_bayer(@Cast(value="const unsigned char*") BytePointer data, @Cast(value="unsigned") int datalen, @Cast(value="ushort") short _raw_width, @Cast(value="ushort") short _raw_height, @Cast(value="ushort") short _left_margin, @Cast(value="ushort") short _top_margin, @Cast(value="ushort") short _right_margin, @Cast(value="ushort") short _bottom_margin, @Cast(value="unsigned char") byte procflags, @Cast(value="unsigned char") byte bayer_pattern, @Cast(value="unsigned") int unused_bits, @Cast(value="unsigned") int otherflags, @Cast(value="unsigned") int black_level)
public int open_bayer(@Cast(value="const unsigned char*") ByteBuffer data, @Cast(value="unsigned") int datalen, @Cast(value="ushort") short _raw_width, @Cast(value="ushort") short _raw_height, @Cast(value="ushort") short _left_margin, @Cast(value="ushort") short _top_margin, @Cast(value="ushort") short _right_margin, @Cast(value="ushort") short _bottom_margin, @Cast(value="unsigned char") byte procflags, @Cast(value="unsigned char") byte bayer_pattern, @Cast(value="unsigned") int unused_bits, @Cast(value="unsigned") int otherflags, @Cast(value="unsigned") int black_level)
public int open_bayer(@Cast(value="const unsigned char*") byte[] data, @Cast(value="unsigned") int datalen, @Cast(value="ushort") short _raw_width, @Cast(value="ushort") short _raw_height, @Cast(value="ushort") short _left_margin, @Cast(value="ushort") short _top_margin, @Cast(value="ushort") short _right_margin, @Cast(value="ushort") short _bottom_margin, @Cast(value="unsigned char") byte procflags, @Cast(value="unsigned char") byte bayer_pattern, @Cast(value="unsigned") int unused_bits, @Cast(value="unsigned") int otherflags, @Cast(value="unsigned") int black_level)
public int error_count()
public void recycle_datastream()
public int unpack()
public int unpack_thumb()
public int unpack_thumb_ex(int arg0)
public int thumbOK()
public int adjust_sizes_info_only()
public int subtract_black()
public int subtract_black_internal()
public int raw2image()
public int raw2image_ex(int do_subtract_black)
public void raw2image_start()
public void free_image()
public int adjust_maximum()
public int adjust_to_raw_inset_crop(@Cast(value="unsigned") int mask, float maxcrop)
public void set_exifparser_handler(exif_parser_callback cb, Pointer data)
public void set_dataerror_handler(data_callback func, Pointer data)
public void set_progress_handler(progress_callback pcb, Pointer data)
@Cast(value="const char*") public static BytePointer cameramakeridx2maker(@Cast(value="unsigned") int maker)
public void convertFloatToInt(float dmin, float dmax, float dtarget)
public void convertFloatToInt()
@Cast(value="const char*") public static BytePointer version()
public static int versionNumber()
@Cast(value="const char**") public static PointerPointer cameraList()
public static int cameraCount()
@Cast(value="const char*") public static BytePointer strprogress(LibRaw.LibRaw_progress arg0)
@Cast(value="const char*") public static BytePointer strerror(int p)
public int dcraw_ppm_tiff_writer(@Cast(value="const char*") BytePointer filename)
public int dcraw_ppm_tiff_writer(String filename)
public int dcraw_thumb_writer(@Cast(value="const char*") BytePointer fname)
public int dcraw_thumb_writer(String fname)
public int dcraw_process()
public int is_fuji_rotated()
public int is_sraw()
public int sraw_midpoint()
public int is_nikon_sraw()
public int is_coolscan_nef()
public int is_jpeg_thumb()
public int is_floating_point()
public int have_fpdata()
public libraw_processed_image_t dcraw_make_mem_image(IntPointer errcode)
public libraw_processed_image_t dcraw_make_mem_image()
public libraw_processed_image_t dcraw_make_mem_image(IntBuffer errcode)
public libraw_processed_image_t dcraw_make_mem_image(int[] errcode)
public libraw_processed_image_t dcraw_make_mem_thumb(IntPointer errcode)
public libraw_processed_image_t dcraw_make_mem_thumb()
public libraw_processed_image_t dcraw_make_mem_thumb(IntBuffer errcode)
public libraw_processed_image_t dcraw_make_mem_thumb(int[] errcode)
public static void dcraw_clear_mem(libraw_processed_image_t arg0)
public void get_mem_image_format(IntPointer width, IntPointer height, IntPointer colors, IntPointer bps)
public void get_mem_image_format(IntBuffer width, IntBuffer height, IntBuffer colors, IntBuffer bps)
public void get_mem_image_format(int[] width, int[] height, int[] colors, int[] bps)
public int copy_mem_image(Pointer scan0, int stride, int bgr)
public void recycle()
public int COLOR(int row, int col)
public int FC(int row, int col)
public int fcol(int row, int col)
@Cast(value="const char*") public BytePointer unpack_function_name()
public int get_decoder_info(libraw_decoder_info_t d_info)
public static float powf_lim(float a, float b, float limup)
public static float libraw_powf64l(float a, float b)
@Cast(value="unsigned") public static int sgetn(int n, @Cast(value="uchar*") BytePointer s)
@Cast(value="unsigned") public static int sgetn(int n, @Cast(value="uchar*") ByteBuffer s)
public int phase_one_subtract_black(@Cast(value="ushort*") ShortPointer src, @Cast(value="ushort*") ShortPointer dest)
public int phase_one_subtract_black(@Cast(value="ushort*") ShortBuffer src, @Cast(value="ushort*") ShortBuffer dest)
public int phase_one_subtract_black(@Cast(value="ushort*") short[] src, @Cast(value="ushort*") short[] dest)
public int phase_one_correct()
public int set_rawspeed_camerafile(@Cast(value="char*") BytePointer filename)
public int set_rawspeed_camerafile(@Cast(value="char*") ByteBuffer filename)
public void setCancelFlag()
public void clearCancelFlag()
public int adobe_coeff(@Cast(value="unsigned") int arg0, @Cast(value="const char*") BytePointer arg1, int internal_only)
public int adobe_coeff(@Cast(value="unsigned") int arg0, @Cast(value="const char*") BytePointer arg1)
public int adobe_coeff(@Cast(value="unsigned") int arg0, String arg1, int internal_only)
public void set_dng_host(Pointer arg0)
Copyright © 2024. All rights reserved.