|
Detailed Description
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. Image data can be in may formats (see below), but is always packed (i.e., pixel rows are byte-aligned).
This interface has no commands or configuration requests.
Define Documentation
#define PLAYER_CAMERA_IMAGE_WIDTH 640
|
|
#define PLAYER_CAMERA_IMAGE_HEIGHT 480
|
|
#define PLAYER_CAMERA_IMAGE_SIZE (640 * 480 * 4)
|
|
#define PLAYER_CAMERA_FORMAT_MONO8 1
|
|
|
Image format : 8-bit monochrome. |
#define PLAYER_CAMERA_FORMAT_MONO16 2
|
|
|
Image format : 16-bit monochrome (network byte order). |
#define PLAYER_CAMERA_FORMAT_RGB565 4
|
|
|
Image format : 16-bit color (5 bits R, 6 bits G, 5 bits B). |
#define PLAYER_CAMERA_FORMAT_RGB888 5
|
|
|
Image format : 24-bit color (8 bits R, 8 bits G, 8 bits B). |
#define PLAYER_CAMERA_COMPRESS_RAW 0
|
|
#define PLAYER_CAMERA_COMPRESS_JPEG 1
|
|
Typedef Documentation
Generated on Tue May 3 14:16:09 2005 for Player by 1.3.6
|