camera
[Device proxies]
Collaboration diagram for camera:
Detailed Description
The camera proxy can be used to get images from a camera.
Classes | |
struct | playerc_camera_t |
Camera proxy data. More... | |
Functions | |
playerc_camera_t * | playerc_camera_create (playerc_client_t *client, int index) |
Create a camera proxy. | |
void | playerc_camera_destroy (playerc_camera_t *device) |
Destroy a camera proxy. | |
int | playerc_camera_subscribe (playerc_camera_t *device, int access) |
Subscribe to the camera device. | |
int | playerc_camera_unsubscribe (playerc_camera_t *device) |
Un-subscribe from the camera device. | |
void | playerc_camera_decompress (playerc_camera_t *device) |
Decompress the image (modifies the current proxy data). | |
void | playerc_camera_save (playerc_camera_t *device, const char *filename) |
Saves the image to disk as a .ppm. |