next up previous contents
Next: 6.11 dio Up: 6. Device Interfaces Previous: 6.9 comms   Contents

Subsections


6.10 camera

Synopsis

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.

Data



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).



2004-06-02