sub_opt.hh
uint8_t blue
Blue color channel.
Definition: player_interfaces.h:5297
double ReadFloat(int section, const char *name, double value)
Read a floating point (double) value.
virtual int MainSetup(void)
Sets up the resources needed by the driver thread.
Definition: driver.h:657
virtual void MainQuit(void)
Cleanup method for driver thread (called when main exits)
Definition: driver.h:663
#define PLAYER_CAMERA_FORMAT_RGB888
Image format : 24-bit color (8 bits R, 8 bits G, 8 bits B).
Definition: player_interfaces.h:2942
const char * ReadString(int section, const char *name, const char *value)
Read a string value.
uint8_t red
Red color channel.
Definition: player_interfaces.h:5293
#define PLAYER_CAMERA_FORMAT_MONO16
Image format : 16-bit monochrome (network byte order).
Definition: player_interfaces.h:2938
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
bool ReadBool(int section, const char *name, bool value)
Read a boolean value (one of: yes, no, true, false, 1, 0)
int ReadDeviceAddr(player_devaddr_t *addr, int section, const char *name, int code, int index, const char *key)
Read a device id.
int ReadTupleInt(int section, const char *name, int index, int value)
Read an integer from a tuple field.
#define PLAYER_STEREO_DATA_STATE
Data: state (PLAYER_STEREO_DATA_STATE)
Definition: player_interfaces.h:5281
virtual bool RegisterProperty(const char *key, Property *property, ConfigFile *cf, int section)
Property registration.
#define PLAYER_CAMERA_COMPRESS_RAW
Compression method: raw.
Definition: player_interfaces.h:2945
#define PLAYER_CAMERA_FORMAT_MONO8
Image format : 8-bit monochrome.
Definition: player_interfaces.h:2936
Definition: player_interfaces.h:5284
uint8_t green
Green color channel.
Definition: player_interfaces.h:5295