@NoOffset @Properties(inherit=videoInputLib.class) public class videoInput extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
videoInput() |
videoInput(long size)
Native array allocator.
|
videoInput(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
devicesFound() |
videoInput |
devicesFound(int setter) |
static int |
getDeviceIDFromName(BytePointer name) |
static int |
getDeviceIDFromName(String name) |
static int |
getDeviceIDFromUniqueName(CharPointer uniqueName) |
static int |
getDeviceIDFromUniqueName(IntPointer uniqueName) |
static StringVector |
getDeviceList() |
static BytePointer |
getDeviceName(int deviceID) |
int |
getHeight(int deviceID) |
BytePointer |
getPixels(int deviceID) |
BytePointer |
getPixels(int deviceID,
boolean flipRedAndBlue,
boolean flipImage) |
boolean |
getPixels(int id,
byte[] pixels) |
boolean |
getPixels(int id,
byte[] pixels,
boolean flipRedAndBlue,
boolean flipImage) |
boolean |
getPixels(int id,
ByteBuffer pixels) |
boolean |
getPixels(int id,
ByteBuffer pixels,
boolean flipRedAndBlue,
boolean flipImage) |
boolean |
getPixels(int id,
BytePointer pixels) |
boolean |
getPixels(int id,
BytePointer pixels,
boolean flipRedAndBlue,
boolean flipImage) |
videoInput |
getPointer(long i) |
int |
getSize(int deviceID) |
static CharPointer |
getUniqueDeviceName(int deviceID) |
boolean |
getVideoSettingCamera(int deviceID,
int Property,
int[] min,
int[] max,
int[] SteppingDelta,
int[] currentValue,
int[] flags,
int[] defaultValue) |
boolean |
getVideoSettingCamera(int deviceID,
int Property,
IntBuffer min,
IntBuffer max,
IntBuffer SteppingDelta,
IntBuffer currentValue,
IntBuffer flags,
IntBuffer defaultValue) |
boolean |
getVideoSettingCamera(int deviceID,
int Property,
IntPointer min,
IntPointer max,
IntPointer SteppingDelta,
IntPointer currentValue,
IntPointer flags,
IntPointer defaultValue) |
boolean |
getVideoSettingFilter(int deviceID,
int Property,
int[] min,
int[] max,
int[] SteppingDelta,
int[] currentValue,
int[] flags,
int[] defaultValue) |
boolean |
getVideoSettingFilter(int deviceID,
int Property,
IntBuffer min,
IntBuffer max,
IntBuffer SteppingDelta,
IntBuffer currentValue,
IntBuffer flags,
IntBuffer defaultValue) |
boolean |
getVideoSettingFilter(int deviceID,
int Property,
IntPointer min,
IntPointer max,
IntPointer SteppingDelta,
IntPointer currentValue,
IntPointer flags,
IntPointer defaultValue) |
int |
getWidth(int deviceID) |
boolean |
isDeviceSetup(int deviceID) |
boolean |
isFrameNew(int deviceID) |
static int |
listDevices() |
static int |
listDevices(boolean silent) |
videoInput |
position(long position) |
int |
propBacklightCompensation() |
videoInput |
propBacklightCompensation(int setter) |
int |
propBrightness() |
videoInput |
propBrightness(int setter) |
int |
propColorEnable() |
videoInput |
propColorEnable(int setter) |
int |
propContrast() |
videoInput |
propContrast(int setter) |
int |
propExposure() |
videoInput |
propExposure(int setter) |
int |
propFocus() |
videoInput |
propFocus(int setter) |
int |
propGain() |
videoInput |
propGain(int setter) |
int |
propGamma() |
videoInput |
propGamma(int setter) |
int |
propHue() |
videoInput |
propHue(int setter) |
int |
propIris() |
videoInput |
propIris(int setter) |
int |
propPan() |
videoInput |
propPan(int setter) |
int |
propRoll() |
videoInput |
propRoll(int setter) |
int |
propSaturation() |
videoInput |
propSaturation(int setter) |
int |
propSharpness() |
videoInput |
propSharpness(int setter) |
int |
propTilt() |
videoInput |
propTilt(int setter) |
int |
propWhiteBalance() |
videoInput |
propWhiteBalance(int setter) |
int |
propZoom() |
videoInput |
propZoom(int setter) |
boolean |
restartDevice(int deviceID) |
void |
setAutoReconnectOnFreeze(int deviceNumber,
boolean doReconnect,
int numMissedFramesBeforeReconnect) |
static void |
setComMultiThreaded(boolean bMulti) |
boolean |
setFormat(int deviceNumber,
int format) |
void |
setIdealFramerate(int deviceID,
int idealFramerate) |
void |
setRequestedMediaSubType(int mediatype) |
boolean |
setupDevice(int deviceID) |
boolean |
setupDevice(int deviceID,
int connection) |
boolean |
setupDevice(int deviceID,
int w,
int h) |
boolean |
setupDevice(int deviceID,
int w,
int h,
int connection) |
void |
setUseCallback(boolean useCallback) |
static void |
setVerbose(boolean _verbose) |
boolean |
setVideoSettingCamera(int deviceID,
int Property,
int lValue) |
boolean |
setVideoSettingCamera(int deviceID,
int Property,
int lValue,
int Flags,
boolean useDefaultValue) |
boolean |
setVideoSettingCameraPct(int deviceID,
int Property,
float pctValue) |
boolean |
setVideoSettingCameraPct(int deviceID,
int Property,
float pctValue,
int Flags) |
boolean |
setVideoSettingFilter(int deviceID,
int Property,
int lValue) |
boolean |
setVideoSettingFilter(int deviceID,
int Property,
int lValue,
int Flags,
boolean useDefaultValue) |
boolean |
setVideoSettingFilterPct(int deviceID,
int Property,
float pctValue) |
boolean |
setVideoSettingFilterPct(int deviceID,
int Property,
float pctValue,
int Flags) |
void |
showSettingsWindow(int deviceID) |
void |
stopDevice(int deviceID) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public videoInput(Pointer p)
Pointer(Pointer)
.public videoInput(long size)
Pointer.position(long)
.public videoInput()
public videoInput position(long position)
public videoInput getPointer(long i)
getPointer
in class Pointer
public static int listDevices()
@ByVal public static StringVector getDeviceList()
@Cast(value="const char*") public static BytePointer getDeviceName(int deviceID)
public static int getDeviceIDFromName(@Cast(value="const char*") BytePointer name)
public static int getDeviceIDFromName(String name)
@StdWString public static CharPointer getUniqueDeviceName(int deviceID)
public static int getDeviceIDFromUniqueName(@StdWString CharPointer uniqueName)
public static int getDeviceIDFromUniqueName(@StdWString IntPointer uniqueName)
public void setIdealFramerate(int deviceID, int idealFramerate)
public void setAutoReconnectOnFreeze(int deviceNumber, @Cast(value="bool") boolean doReconnect, int numMissedFramesBeforeReconnect)
@Cast(value="bool") public boolean setupDevice(int deviceID, int w, int h, int connection)
public void setRequestedMediaSubType(int mediatype)
@Cast(value="unsigned char*") public BytePointer getPixels(int deviceID, @Cast(value="bool") boolean flipRedAndBlue, @Cast(value="bool") boolean flipImage)
@Cast(value="unsigned char*") public BytePointer getPixels(int deviceID)
@Cast(value="bool") public boolean getPixels(int id, @Cast(value="unsigned char*") BytePointer pixels, @Cast(value="bool") boolean flipRedAndBlue, @Cast(value="bool") boolean flipImage)
@Cast(value="bool") public boolean getPixels(int id, @Cast(value="unsigned char*") BytePointer pixels)
@Cast(value="bool") public boolean getPixels(int id, @Cast(value="unsigned char*") ByteBuffer pixels, @Cast(value="bool") boolean flipRedAndBlue, @Cast(value="bool") boolean flipImage)
@Cast(value="bool") public boolean getPixels(int id, @Cast(value="unsigned char*") ByteBuffer pixels)
@Cast(value="bool") public boolean getPixels(int id, @Cast(value="unsigned char*") byte[] pixels, @Cast(value="bool") boolean flipRedAndBlue, @Cast(value="bool") boolean flipImage)
@Cast(value="bool") public boolean getPixels(int id, @Cast(value="unsigned char*") byte[] pixels)
public void showSettingsWindow(int deviceID)
@Cast(value="bool") public boolean setVideoSettingFilter(int deviceID, @Cast(value="long") int Property, @Cast(value="long") int lValue, @Cast(value="long") int Flags, @Cast(value="bool") boolean useDefaultValue)
@Cast(value="bool") public boolean setVideoSettingFilter(int deviceID, @Cast(value="long") int Property, @Cast(value="long") int lValue)
@Cast(value="bool") public boolean setVideoSettingFilterPct(int deviceID, @Cast(value="long") int Property, float pctValue, @Cast(value="long") int Flags)
@Cast(value="bool") public boolean setVideoSettingFilterPct(int deviceID, @Cast(value="long") int Property, float pctValue)
@Cast(value="bool") public boolean getVideoSettingFilter(int deviceID, @Cast(value="long") int Property, @Cast(value="long*") @ByRef IntPointer min, @Cast(value="long*") @ByRef IntPointer max, @Cast(value="long*") @ByRef IntPointer SteppingDelta, @Cast(value="long*") @ByRef IntPointer currentValue, @Cast(value="long*") @ByRef IntPointer flags, @Cast(value="long*") @ByRef IntPointer defaultValue)
@Cast(value="bool") public boolean getVideoSettingFilter(int deviceID, @Cast(value="long") int Property, @Cast(value="long*") @ByRef IntBuffer min, @Cast(value="long*") @ByRef IntBuffer max, @Cast(value="long*") @ByRef IntBuffer SteppingDelta, @Cast(value="long*") @ByRef IntBuffer currentValue, @Cast(value="long*") @ByRef IntBuffer flags, @Cast(value="long*") @ByRef IntBuffer defaultValue)
@Cast(value="bool") public boolean getVideoSettingFilter(int deviceID, @Cast(value="long") int Property, @Cast(value="long*") @ByRef int[] min, @Cast(value="long*") @ByRef int[] max, @Cast(value="long*") @ByRef int[] SteppingDelta, @Cast(value="long*") @ByRef int[] currentValue, @Cast(value="long*") @ByRef int[] flags, @Cast(value="long*") @ByRef int[] defaultValue)
@Cast(value="bool") public boolean setVideoSettingCamera(int deviceID, @Cast(value="long") int Property, @Cast(value="long") int lValue, @Cast(value="long") int Flags, @Cast(value="bool") boolean useDefaultValue)
@Cast(value="bool") public boolean setVideoSettingCamera(int deviceID, @Cast(value="long") int Property, @Cast(value="long") int lValue)
@Cast(value="bool") public boolean setVideoSettingCameraPct(int deviceID, @Cast(value="long") int Property, float pctValue, @Cast(value="long") int Flags)
@Cast(value="bool") public boolean setVideoSettingCameraPct(int deviceID, @Cast(value="long") int Property, float pctValue)
@Cast(value="bool") public boolean getVideoSettingCamera(int deviceID, @Cast(value="long") int Property, @Cast(value="long*") @ByRef IntPointer min, @Cast(value="long*") @ByRef IntPointer max, @Cast(value="long*") @ByRef IntPointer SteppingDelta, @Cast(value="long*") @ByRef IntPointer currentValue, @Cast(value="long*") @ByRef IntPointer flags, @Cast(value="long*") @ByRef IntPointer defaultValue)
@Cast(value="bool") public boolean getVideoSettingCamera(int deviceID, @Cast(value="long") int Property, @Cast(value="long*") @ByRef IntBuffer min, @Cast(value="long*") @ByRef IntBuffer max, @Cast(value="long*") @ByRef IntBuffer SteppingDelta, @Cast(value="long*") @ByRef IntBuffer currentValue, @Cast(value="long*") @ByRef IntBuffer flags, @Cast(value="long*") @ByRef IntBuffer defaultValue)
@Cast(value="bool") public boolean getVideoSettingCamera(int deviceID, @Cast(value="long") int Property, @Cast(value="long*") @ByRef int[] min, @Cast(value="long*") @ByRef int[] max, @Cast(value="long*") @ByRef int[] SteppingDelta, @Cast(value="long*") @ByRef int[] currentValue, @Cast(value="long*") @ByRef int[] flags, @Cast(value="long*") @ByRef int[] defaultValue)
public int getWidth(int deviceID)
public int getHeight(int deviceID)
public int getSize(int deviceID)
public void stopDevice(int deviceID)
public int devicesFound()
public videoInput devicesFound(int setter)
public videoInput propBrightness(int setter)
public videoInput propContrast(int setter)
public videoInput propHue(int setter)
public videoInput propSaturation(int setter)
public videoInput propSharpness(int setter)
public videoInput propGamma(int setter)
public videoInput propColorEnable(int setter)
public videoInput propWhiteBalance(int setter)
public videoInput propBacklightCompensation(int setter)
public videoInput propGain(int setter)
public videoInput propPan(int setter)
public videoInput propTilt(int setter)
public videoInput propRoll(int setter)
public videoInput propZoom(int setter)
public videoInput propExposure(int setter)
public videoInput propIris(int setter)
public videoInput propFocus(int setter)
Copyright © 2023. All rights reserved.