camera
Interface specifications

Camera imagery. More...

#define | PLAYER_CAMERA_DATA_STATE 1
| Image format : 8-bit monochrome. More...
#define | PLAYER_CAMERA_FORMAT_MONO8 1
| Image format : 8-bit monochrome. More...
#define | PLAYER_CAMERA_FORMAT_MONO16 2
| Image format : 16-bit monochrome (network byte order). More...
#define | PLAYER_CAMERA_FORMAT_RGB565 4
| Image format : 16-bit color (5 bits R, 6 bits G, 5 bits B). More...
#define | PLAYER_CAMERA_FORMAT_RGB888 5
| Image format : 24-bit color (8 bits R, 8 bits G, 8 bits B). More...
#define | PLAYER_CAMERA_COMPRESS_RAW 0
| Compression method: raw.
#define | PLAYER_CAMERA_COMPRESS_JPEG 1
| Compression method: jpeg.
typedef struct player_camera_data | player_camera_data_t
| Data: state (PLAYER_CAMERA_DATA_STATE)

## Detailed Description

Camera imagery.

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

## Macro Definition Documentation

#define PLAYER_CAMERA_DATA_STATE 1

Image format : 8-bit monochrome.

Referenced by CameraUvc::Main(), and ImageBase::ProcessMessage().

#define PLAYER_CAMERA_FORMAT_MONO16 2

Image format : 16-bit monochrome (network byte order).

#define PLAYER_CAMERA_FORMAT_MONO8 1

Image format : 8-bit monochrome.

Referenced by SphereDriver::MainSetup().

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

Referenced by CameraUvc::Main(), SphereDriver::MainSetup(), and ImageBase::ProcessMessage().

Last updated 12 September 2005 21:38:45