VCEANCB Functions Reference

ImperX VCEANCB Functions

VCEANCB Functions Reference

Initialize/Destroy functions

VCEANCB_Init Initialize VCEANCB
VCEANCB_Done Close VCEANCB

Video Source controls

VCEANCB_setBrightness Set brightness level.
VCEANCB_setContrast.htm Set contrast level.
VCEANCB_setSaturation Set saturation level.
VCEANCB_setHue Set hue level.
VCEANCB_setGamma Set gamma correction level.
VCEANCB_setInputChannel Select input channel.
VCEANCB_getVideoStandard Get current video standard (PAL, SECAM or NTSC).
VCEANCB_SetColorKiller Set level of chrominance subcarrier to detect color.
VCEANCB_IsVideoSource Returns status of video source connection.

Grabbing functions

VCEANCB_Prepare Set options to VCEANCB before frame snapping.
VCEANCB_PrepareGrab Set options to VCEANCB and prepare to stream-grabbing.
VCEANCB_SnapFrame Snap one frame
VCEANCB_StartGrab Start grabbing stream
VCEANCB_StopGrab Stop grabbing stream
VCEANCB_GrabFrame_Callback User-defined callback function
VCEANCB_LockBuffer Get buffer with snapped data
VCEANCB_UnlockBuffer Release buffer

DIB Managment functions

VCEANCB_GetDIB Generate DIB from snapped frame
VCEANCB_CopyDIB Duplicate DIB.
VCEANCB_ConvertPixels2DIB Generate DIB from raw bytes recieved from digitizer
VCEANCB_ReleaseDIB Delete DIB
VCEANCB_DrawDIB Draw DIB to DeviceContext
VCEANCB_SaveDIBToFile Save DIB to BMP file

Trigger functions

VCEANCB_GetTriggerStatus Get status of external trigger

Error lookup functions

VCEANCB_CardLastError Get last VCEANCB error
VCEANCB_SystemLastError Get last system error