79 void ccvt_420p_bgr24(
int width,
int height,
const void *src,
void *dst);
80 void ccvt_420p_rgb24(
int width,
int height,
const void *src,
void *dst);
81 void ccvt_420p_bgr32(
int width,
int height,
const void *src,
void *dst);
82 void ccvt_420p_rgb32(
int width,
int height,
const void *src,
void *dst);
85 void ccvt_yuyv_rgb32(
int width,
int height,
const void *src,
void *dst);
86 void ccvt_yuyv_bgr32(
int width,
int height,
const void *src,
void *dst);
89 void ccvt_yuyv_420p(
int width,
int height,
const void *src,
void *dsty,
void *dstu,
void *dstv);
94 void ccvt_rgb24_420p(
int width,
int height,
const void *src,
void *dsty,
void *dstu,
void *dstv);
95 void ccvt_bgr24_420p(
int width,
int height,
const void *src,
void *dsty,
void *dstu,
void *dstv);
98 void ccvt_bgr24_bgr32(
int width,
int height,
const void *
const src,
void *
const dst);
99 void ccvt_bgr24_rgb32(
int width,
int height,
const void *
const src,
void *
const dst);
100 void ccvt_bgr32_bgr24(
int width,
int height,
const void *
const src,
void *
const dst);
101 void ccvt_bgr32_rgb24(
int width,
int height,
const void *
const src,
void *
const dst);
102 void ccvt_rgb24_bgr32(
int width,
int height,
const void *
const src,
void *
const dst);
103 void ccvt_rgb24_rgb32(
int width,
int height,
const void *
const src,
void *
const dst);
104 void ccvt_rgb32_bgr24(
int width,
int height,
const void *
const src,
void *
const dst);
105 void ccvt_rgb32_rgb24(
int width,
int height,
const void *
const src,
void *
const dst);
static bool MatchMessage(player_msghdr_t *hdr, int type, int subtype, player_devaddr_t addr)
Helper for message processing.
Definition: message.h:158
float pan
Pan [rad].
Definition: player_interfaces.h:1231
#define PLAYER_PTZ_DATA_STATE
Data subtype: state.
Definition: player_interfaces.h:1208
float tilt
Tilt [rad].
Definition: player_interfaces.h:1233
Generic message header.
Definition: player.h:160
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
Data: state (PLAYER_PTZ_DATA_STATE)
Definition: player_interfaces.h:1228
float tilt
Desired tilt angle [rad].
Definition: player_interfaces.h:1253
Command: state (PLAYER_PTZ_CMD_STATE)
Definition: player_interfaces.h:1248
const char * ReadString(int section, const char *name, const char *value)
Read a string value.
float zoom
Desired field of view [rad].
Definition: player_interfaces.h:1255
float zoom
Field of view [rad].
Definition: player_interfaces.h:1235
uint8_t subtype
Message subtype; interface specific.
Definition: player.h:167
virtual void Main(void)=0
Main method for driver thread.
#define PLAYER_PTZ_REQ_GENERIC
Request/reply subtype: generic.
Definition: player_interfaces.h:1196
#define PLAYER_MSGTYPE_DATA
A data message.
Definition: player.h:94
#define PLAYER_MSGTYPE_RESP_ACK
A positive response message.
Definition: player.h:111
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
uint32_t * config
Buffer for command/reply.
Definition: player_interfaces.h:1292
#define PLAYER_MSGTYPE_REQ
A request message.
Definition: player.h:105
#define PLAYER_MSGTYPE_RESP_NACK
A negative response message.
Definition: player.h:124
double ReadTupleAngle(int section, const char *name, int index, double value)
Read an angle form a tuple (includes units conversion)
float pan
Desired pan angle [rad].
Definition: player_interfaces.h:1251
Class for loading configuration file information.
Definition: configfile.h:195
An autopointer for the message queue.
Definition: message.h:72
Request/reply: Generic request.
Definition: player_interfaces.h:1287
uint32_t config_count
Length of data in config buffer.
Definition: player_interfaces.h:1290
Base class for drivers which oeprate with a thread.
Definition: driver.h:551
#define PLAYER_PTZ_CMD_STATE
Command subtype: state.
Definition: player_interfaces.h:1214
uint32_t size
Size in bytes of the payload to follow.
Definition: player.h:173
#define PLAYER_MSGTYPE_CMD
A command message.
Definition: player.h:98
Base class for all drivers.
Definition: driver.h:107
#define PLAYER_MSGQUEUE_DEFAULT_MAXLEN
Default maximum length for a message queue.
Definition: player.h:75