Sensoray 2251 Rev.A User Manual

Page 30

Advertising
background image

pBMI

pointer to bitmap info. Currently only the following parameters are updated: pBMI-

>biHeight, biWidth, biSizeImage.

type

type of buffer to retrieve.

type = 0 for YcbCr buffer formatted as follows. Y plane first 768*576 bytes. Cb plane next

768*576/4 bytes. Cr plane next 768*576/4 bytes.

type = 1 for RGB8 buffer.

board

Board number in system.

Returns

0 if success, negative if error.

MID2250_API int SN_SetMD(

MID2250_MDConfig_t *pMD,

HANDLE event,

int board

);

Sets or updates the motion detection region according to MID2250_MDConfig_t (see
mid2250types.h file for description). The main demo app shows an example of using motion
detection.

Parameters

*pMD

pointer to MD structure

event

handle to event to notify.

board

Board number in system.

Returns

30

Advertising
This manual is related to the following products: