
Machine Vision Camera SDK (C) Developer Guide
[IN] RGB24 image data callback function, see the details below:
void(__stdcall* cbOutput)(
unsigned char
*pData,
MV_FRAME_OUT_INFO_EX *pFrameInfo,
void
*pUser
);
pData
Address of buffer that saves image data
pFrameInfo
Obtained information of frame with RGB24 format, including width, height, pixel format,
chunk information, and so on. See the structure MV_FRAME_OUT_INFO_EX for details.
pUser
User data
pUser
[IN] User data
Return Value
Return MV_OK(0) on success, and return Error Code on failure.
Remarks
● After calling MV_CC_CreateHandle , call this API to set image data callback function.
● There are two available image data acquisition modes, and cannot be used together:
1. Call MV_CC_RegisterImageCallBackForRGB to set RGB24 format image data callback
function, and then call MV_CC_StartGrabbing to start acquiring. The acquired image data is
returned in the configured callback function.
2. Call MV_CC_StartGrabbing to start acquiring, and then call MV_CC_GetImageForRGB
repeatedly in application layer to get frame data with RGB24 format. When getting frame data,
the frequency of calling this API should be controlled by upper layer application according to
frame rate.
● This API is not supported by CameraLink device.
See Also
MV_CC_StartGrabbing
MV_CC_GetImageForRGB
4.4.10 MV_CC_StartGrabbing
Start acquiring image.
98



































































































































































































































































































































































































