Sensoray 2251 Rev.A User Manual
Page 46

Figure 8
When the event is captured by the waiting user program( see demo source code), it calls
SN_GetMDData( ®ion, pBuf, BUFSIZE, board_number). The region(s) where motion was
detected is given in a bitmask in the region variable. BUFSIZE should be set to 208, the size of
the motion map. pBuf will contain the macroblock map on a bit by bit basis.
For example, assume the following is returned by SN_GetMDData where pBuf is an array of
unsigned 8 bit characters.
pBuf[0] = 0x7c;
pBuf[1] = 0x00;
pBuf[2] = 0x89;
46
This manual is related to the following products: