Function caerFrameEventGetPixelArrayUnsafeConst

Function Documentation

static inline const uint16_t *caerFrameEventGetPixelArrayUnsafeConst(caerFrameEventConst event)

Get a direct read-only pointer to the underlying pixels array. This can be used to only get 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 read-only pixels array (16 bit integers are little-endian).