@NoOffset public static class videoInputLib.videoInput extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
videoInput() |
videoInput(long size)
Native array allocator.
|
videoInput(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
devicesFound() |
videoInputLib.videoInput |
devicesFound(int devicesFound) |
static int |
getDeviceIDFromName(BytePointer name) |
static int |
getDeviceIDFromName(String name) |
static videoInputLib.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) |
int |
getSize(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) |
videoInputLib.videoInput |
position(long position) |
int |
propBacklightCompensation() |
videoInputLib.videoInput |
propBacklightCompensation(int propBacklightCompensation) |
int |
propBrightness() |
videoInputLib.videoInput |
propBrightness(int propBrightness) |
int |
propColorEnable() |
videoInputLib.videoInput |
propColorEnable(int propColorEnable) |
int |
propContrast() |
videoInputLib.videoInput |
propContrast(int propContrast) |
int |
propExposure() |
videoInputLib.videoInput |
propExposure(int propExposure) |
int |
propFocus() |
videoInputLib.videoInput |
propFocus(int propFocus) |
int |
propGain() |
videoInputLib.videoInput |
propGain(int propGain) |
int |
propGamma() |
videoInputLib.videoInput |
propGamma(int propGamma) |
int |
propHue() |
videoInputLib.videoInput |
propHue(int propHue) |
int |
propIris() |
videoInputLib.videoInput |
propIris(int propIris) |
int |
propPan() |
videoInputLib.videoInput |
propPan(int propPan) |
int |
propRoll() |
videoInputLib.videoInput |
propRoll(int propRoll) |
int |
propSaturation() |
videoInputLib.videoInput |
propSaturation(int propSaturation) |
int |
propSharpness() |
videoInputLib.videoInput |
propSharpness(int propSharpness) |
int |
propTilt() |
videoInputLib.videoInput |
propTilt(int propTilt) |
int |
propWhiteBalance() |
videoInputLib.videoInput |
propWhiteBalance(int propWhiteBalance) |
int |
propZoom() |
videoInputLib.videoInput |
propZoom(int propZoom) |
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, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic videoInput(Pointer p)
Pointer.Pointer(Pointer).public videoInput(long size)
Pointer.position(long).public videoInput()
public videoInputLib.videoInput position(long position)
public static int listDevices()
@ByVal public static videoInputLib.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)
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 videoInputLib.videoInput devicesFound(int devicesFound)
public videoInputLib.videoInput propBrightness(int propBrightness)
public videoInputLib.videoInput propContrast(int propContrast)
public videoInputLib.videoInput propHue(int propHue)
public videoInputLib.videoInput propSaturation(int propSaturation)
public videoInputLib.videoInput propSharpness(int propSharpness)
public videoInputLib.videoInput propGamma(int propGamma)
public videoInputLib.videoInput propColorEnable(int propColorEnable)
public videoInputLib.videoInput propWhiteBalance(int propWhiteBalance)
public videoInputLib.videoInput propBacklightCompensation(int propBacklightCompensation)
public videoInputLib.videoInput propGain(int propGain)
public videoInputLib.videoInput propPan(int propPan)
public videoInputLib.videoInput propTilt(int propTilt)
public videoInputLib.videoInput propRoll(int propRoll)
public videoInputLib.videoInput propZoom(int propZoom)
public videoInputLib.videoInput propExposure(int propExposure)
public videoInputLib.videoInput propIris(int propIris)
public videoInputLib.videoInput propFocus(int propFocus)
Copyright © 2018. All rights reserved.