EXPERIMENTAL. The camera interface is used to see what the camera sees. It is intended primarily for server-side (i.e., driver-to-driver) data transfers, rather than server-to-client transfers.
struct player_camera_data : The camera interface returns the image seen by the camera; the format is:
uint16_t width, height; |
Image dimensions (pixels).
uint8_t depth; |
Image depth (8, 16, 24).
uint32_t image_size; |
Size of image data (bytes)
uint8_t image[PLAYER_CAMERA_IMAGE_SIZE]; |
Image data (packed format).