Function caerFrameEventGetPixelArrayUnsafe

Function Documentation

static inline uint16_t *caerFrameEventGetPixelArrayUnsafe(caerFrameEvent event)

Get a direct pointer to the underlying pixels array. This can be used to both get and set values. No checks at all are performed at any point, nor any conversions, use this at your own risk! Remember that the 16 bit pixel values are in little-endian! The pixel array is laid out row by row (increasing X axis), going from top to bottom (increasing Y axis).

Parameters:

event – a valid FrameEvent pointer. Cannot be NULL.

Returns:

the pixels array (16 bit integers are little-endian).