| Package | Description |
|---|---|
| org.blackdread.camerabinding.jna |
Direct Java bindings to the EDSDK.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
EdsdkLibrary.EdsImageRef
This object represents image data.
|
| Modifier and Type | Field and Description |
|---|---|
EdsdkLibrary.EdsStreamRef |
EdsSaveImageSetting.iccProfileStream
C type : EdsStreamRef
|
| Modifier and Type | Method and Description |
|---|---|
EdsdkLibrary.EdsStreamRef |
EdsdkLibrary.EdsStreamRef.ByReference.getValue() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.jna.NativeLong |
EdsdkLibrary.EdsCopyData(EdsdkLibrary.EdsStreamRef inStreamRef,
long inWriteSize,
EdsdkLibrary.EdsStreamRef outStreamRef)
TODO no need NativeLong for inWriteSize (EdsUInt64)
-----------------------------------------------------------------------------
// // Function: EdsCopyData // // Description: // Copies data from the copy source stream to the copy destination stream. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsCreateEvfImageRef(EdsdkLibrary.EdsStreamRef inStreamRef,
EdsdkLibrary.EdsEvfImageRef.ByReference outEvfImageRef)
-----------------------------------------------------------------------------
// // Function: EdsCreateEvfImageRef // Description: // Creates an object used to get the live view image data set. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsCreateImageRef(EdsdkLibrary.EdsStreamRef inStreamRef,
EdsdkLibrary.EdsImageRef.ByReference outImageRef)
-----------------------------------------------------------------------------
// // Function: EdsCreateImageRef // // Description: // Creates an image object from an image file. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsDownload(EdsdkLibrary.EdsDirectoryItemRef inDirItemRef,
long inReadSize,
EdsdkLibrary.EdsStreamRef outStream)
TODO no need NativeLong for inReadSize (EdsUInt64)
-----------------------------------------------------------------------------
// // Function: EdsDownload // // Description: // Downloads a file on a remote camera // (in the camera memory or on a memory card) to the host computer. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsDownloadThumbnail(EdsdkLibrary.EdsDirectoryItemRef inDirItemRef,
EdsdkLibrary.EdsStreamRef outStream)
-----------------------------------------------------------------------------
// // Function: EdsDownloadThumbnail // // Description: // Extracts and downloads thumbnail information from image files in a camera. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsGetImage(EdsdkLibrary.EdsImageRef inImageRef,
int inImageSource,
int inImageType,
EdsRect.ByValue inSrcRect,
EdsSize.ByValue inDstSize,
EdsdkLibrary.EdsStreamRef outStreamRef)
-----------------------------------------------------------------------------
// // Function: EdsGetImage // // Description: // Gets designated image data from an image file, in the form of a // designated rectangle. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsGetLength(EdsdkLibrary.EdsStreamRef inStreamRef,
com.sun.jna.ptr.LongByReference outLength)
TODO no need NativeLongByReference for outLength (EdsUInt64*)
-----------------------------------------------------------------------------
// // Function: EdsGetLength // // Description: // Gets the stream size. // // Parameters: // In: inStreamRef - The reference of the stream or image. // Out: outLength - The length of the stream. // // Returns: Any of the sdk errors. ----------------------------------------------------------------------------- Original signature : __attribute__((dllimport)) EdsError EdsGetLength(EdsStreamRef, EdsUInt64*)native declaration : sdk-header\EDSDK.h:919 |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsGetPointer(EdsdkLibrary.EdsStreamRef inStream,
com.sun.jna.ptr.PointerByReference outPointer)
-----------------------------------------------------------------------------
// // Function: EdsGetPointer // // Description: // Gets the pointer to the start address of memory managed by the memory stream. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsGetPosition(EdsdkLibrary.EdsStreamRef inStreamRef,
com.sun.jna.ptr.LongByReference outPosition)
TODO no need NativeLongByReference for outPosition (EdsUInt64*)
-----------------------------------------------------------------------------
// // Function: EdsGetPosition // // Description: // Gets the current read or write position of the stream // (that is, the file position indicator). // // Parameters: // In: inStreamRef - The reference of the stream or image. // Out: outPosition - The current stream pointer. // // Returns: Any of the sdk errors. ----------------------------------------------------------------------------- Original signature : __attribute__((dllimport)) EdsError EdsGetPosition(EdsStreamRef, EdsUInt64*)native declaration : sdk-header\EDSDK.h:901 |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsRead(EdsdkLibrary.EdsStreamRef inStreamRef,
long inReadSize,
EdsdkLibrary.EdsVoid outBuffer,
com.sun.jna.ptr.LongByReference outReadSize)
Deprecated.
|
com.sun.jna.NativeLong |
EdsdkLibrary.EdsRead(EdsdkLibrary.EdsStreamRef inStreamRef,
long inReadSize,
com.sun.jna.Pointer outBuffer,
com.sun.jna.ptr.LongByReference outReadSize)
TODO no need NativeLong for inReadSize (EdsUInt64)
TODO no need NativeLongByReference for outWrittenSize (EdsUInt64*)
-----------------------------------------------------------------------------
// // Function: EdsRead // // Description: // Reads data the size of inReadSize into the outBuffer buffer, // starting at the current read or write position of the stream. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsSaveImage(EdsdkLibrary.EdsImageRef inImageRef,
int inImageType,
EdsSaveImageSetting.ByValue inSaveSetting,
EdsdkLibrary.EdsStreamRef outStreamRef)
-----------------------------------------------------------------------------
// // Function: EdsSaveImage // // Description: // Saves as a designated image type after RAW processing. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsSeek(EdsdkLibrary.EdsStreamRef inStreamRef,
long inSeekOffset,
int inSeekOrigin)
TODO no need NativeLong for inSeekOffset (EdsInt64)
-----------------------------------------------------------------------------
// // Function: EdsSeek // // Description: // Moves the read or write position of the stream (that is, the file position indicator). // // Parameters: // In: inStreamRef - The reference of the stream or image. |
com.sun.jna.NativeLong |
EdsdkLibrary.EdsWrite(EdsdkLibrary.EdsStreamRef inStreamRef,
long inWriteSize,
EdsdkLibrary.EdsVoid inBuffer,
com.sun.jna.ptr.LongByReference outWrittenSize)
Deprecated.
|
com.sun.jna.NativeLong |
EdsdkLibrary.EdsWrite(EdsdkLibrary.EdsStreamRef inStreamRef,
long inWriteSize,
com.sun.jna.Pointer inBuffer,
com.sun.jna.ptr.LongByReference outWrittenSize)
TODO no need NativeLong for inWriteSize (EdsUInt64)
TODO no need NativeLongByReference for outWrittenSize (EdsUInt64*)
-----------------------------------------------------------------------------
// // Function: EdsWrite // // Description: // Writes data of a designated buffer // to the current read or write position of the stream. |
| Constructor and Description |
|---|
EdsSaveImageSetting(com.sun.jna.NativeLong JPEGQuality,
EdsdkLibrary.EdsStreamRef iccProfileStream,
com.sun.jna.NativeLong reserved) |
Copyright © 2018–2019. All rights reserved.