@Namespace(value="dai") @NoOffset @Properties(inherit=depthai.class) public class CameraControl extends Buffer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
CameraControl()
Construct CameraControl message
|
CameraControl(long size)
Native array allocator.
|
CameraControl(Pointer p)
Pointer cast constructor.
|
CameraControl(RawCameraControl ptr) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCaptureStill()
Check whether command to capture a still is set
|
CameraControl |
getPointer(long i) |
CameraControl |
position(long position) |
void |
setAntiBandingMode(byte mode) |
void |
setAntiBandingMode(RawCameraControl.AntiBandingMode mode)
Set a command to specify auto banding mode
|
void |
setAutoExposureCompensation(int compensation)
Set a command to specify auto exposure compensation
|
void |
setAutoExposureEnable()
Set a command to enable auto exposure
|
void |
setAutoExposureLock(boolean lock)
Set a command to specify lock auto exposure
|
void |
setAutoExposureRegion(short startX,
short startY,
short width,
short height)
Set a command to specify auto exposure region in pixels
|
void |
setAutoFocusMode(byte mode) |
void |
setAutoFocusMode(RawCameraControl.AutoFocusMode mode)
Set a command to specify autofocus mode
|
void |
setAutoFocusRegion(short startX,
short startY,
short width,
short height)
Set a command to specify focus region in pixels
|
void |
setAutoFocusTrigger()
Set a command to trigger autofocus
|
void |
setAutoWhiteBalanceLock(boolean lock)
Set a command to specify auto white balance lock
|
void |
setAutoWhiteBalanceMode(byte mode) |
void |
setAutoWhiteBalanceMode(RawCameraControl.AutoWhiteBalanceMode mode)
Set a command to specify auto white balance mode
|
void |
setBrightness(int value)
Set a command to adjust image brightness
|
void |
setCaptureStill(boolean capture)
Set a command to capture a still image
|
void |
setChromaDenoise(int value)
Set a command to adjust chroma denoise amount
|
void |
setContrast(int value)
Set a command to adjust image contrast
|
void |
setEffectMode(byte mode) |
void |
setEffectMode(RawCameraControl.EffectMode mode)
Set a command to specify effect mode
|
void |
setLumaDenoise(int value)
Set a command to adjust luma denoise amount
|
void |
setManualExposure(int exposureTimeUs,
int sensitivityIso)
Set a command to manually specify exposure
|
void |
setManualFocus(byte lensPosition)
Set a command to specify manual focus position
|
void |
setSaturation(int value)
Set a command to adjust image saturation
|
void |
setSceneMode(byte mode) |
void |
setSceneMode(RawCameraControl.SceneMode mode)
Set a command to specify scene mode
|
void |
setSharpness(int value)
Set a command to adjust image sharpness
|
void |
setStartStreaming()
Set a command to start streaming
|
void |
setStopStreaming()
Set a command to stop streaming
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic CameraControl(Pointer p)
Pointer(Pointer).public CameraControl(long size)
Pointer.position(long).public CameraControl()
public CameraControl(@SharedPtr RawCameraControl ptr)
public CameraControl position(long position)
public CameraControl getPointer(long i)
getPointer in class Bufferpublic void setCaptureStill(@Cast(value="bool") boolean capture)
public void setStartStreaming()
public void setStopStreaming()
public void setAutoFocusMode(RawCameraControl.AutoFocusMode mode)
public void setAutoFocusMode(@Cast(value="dai::RawCameraControl::AutoFocusMode") byte mode)
public void setAutoFocusTrigger()
public void setAutoFocusRegion(@Cast(value="uint16_t") short startX, @Cast(value="uint16_t") short startY, @Cast(value="uint16_t") short width, @Cast(value="uint16_t") short height)
startX - X coordinate of top left corner of regionstartY - Y coordinate of top left corner of regionwidth - Region widthheight - Region heightpublic void setManualFocus(@Cast(value="uint8_t") byte lensPosition)
lensPosition - specify lens position 0..255public void setAutoExposureEnable()
public void setAutoExposureLock(@Cast(value="bool") boolean lock)
lock - Auto exposure lock mode enabled or disabledpublic void setAutoExposureRegion(@Cast(value="uint16_t") short startX, @Cast(value="uint16_t") short startY, @Cast(value="uint16_t") short width, @Cast(value="uint16_t") short height)
startX - X coordinate of top left corner of regionstartY - Y coordinate of top left corner of regionwidth - Region widthheight - Region heightpublic void setAutoExposureCompensation(int compensation)
compensation - Compensation value between -9..9public void setAntiBandingMode(RawCameraControl.AntiBandingMode mode)
mode - Auto banding mode to usepublic void setAntiBandingMode(@Cast(value="dai::RawCameraControl::AntiBandingMode") byte mode)
public void setManualExposure(@Cast(value="uint32_t") int exposureTimeUs, @Cast(value="uint32_t") int sensitivityIso)
exposureTimeUs - Exposure time in microsecondssensitivityIso - Sensitivity as ISO value, usual range 100..1600public void setAutoWhiteBalanceMode(RawCameraControl.AutoWhiteBalanceMode mode)
mode - Auto white balance mode to usepublic void setAutoWhiteBalanceMode(@Cast(value="dai::RawCameraControl::AutoWhiteBalanceMode") byte mode)
public void setAutoWhiteBalanceLock(@Cast(value="bool") boolean lock)
lock - Auto white balance lock mode enabled or disabledpublic void setBrightness(int value)
value - Brightness, range -10..10public void setContrast(int value)
value - Contrast, range -10..10public void setSaturation(int value)
value - Saturation, range -10..10public void setSharpness(int value)
value - Sharpness, range 0..4public void setLumaDenoise(int value)
value - Luma denoise amount, range 0..4public void setChromaDenoise(int value)
value - Chroma denoise amount, range 0..4public void setSceneMode(RawCameraControl.SceneMode mode)
mode - Scene modepublic void setEffectMode(RawCameraControl.EffectMode mode)
mode - Effect modeCopyright © 2021. All rights reserved.