24 #include <libplayercore/playercore.h> 26 #include "v4lcapture.h" 28 #define PLAYER_CAMERA_FORMAT_RGB 6 29 #define PLAYER_CAMERA_FORMAT_YUV420P 7 56 void YUV422toRGB(uint8_t* argInputData, uint8_t* argOutputData);
58 inline double LimitPan(
double argP)
59 {
return (argP < mPanMin) ? mPanMin : ((argP > mPanMax) ? mPanMax : argP);};
60 inline double LimitTilt(
double argT)
61 {
return (argT < mTiltMin) ? mTiltMin : ((argT > mTiltMax) ? mTiltMax : argT);};
73 int32_t mShutterSpeed;
74 int32_t mCompressionPreference;
75 int32_t mAutomaticGain;
79 int32_t mNoiseReduction;
80 int32_t mDumpSettings;
82 const char *mAutomaticWb;
102 int32_t mFrameNumber;
105 int32_t mWidth, mHeight;
Class for loading configuration file information.
Definition: configfile.h:196
Generic message header.
Definition: player.h:161
void YUV422toRGB(uint8_t *argInputData, uint8_t *argOutputData)
Conversion of YUV422 pixel data into RGB ( CCIR 601 )
Definition: sphere_mixed.cc:671
Command: state (PLAYER_PTZ_CMD_STATE)
Definition: player_interfaces.h:1248
int MainSetup()
Sets up the resources needed by the driver thread.
Definition: sphere_mixed.cc:276
A device address.
Definition: player.h:145
Base class for drivers which oeprate with a thread.
Definition: driver.h:552
SphereDriver(ConfigFile *cf, int section)
Definition: sphere_mixed.cc:200
virtual void Main()
Main method for driver thread.
Definition: sphere_mixed.cc:382
An autopointer for the message queue.
Definition: message.h:73
Definition: sphere_mixed.h:33
Data: state (PLAYER_CAMERA_DATA_STATE)
Definition: player_interfaces.h:2950
void MainQuit()
Cleanup method for driver thread (called when main exits)
Definition: sphere_mixed.cc:362
Definition: v4lframe.h:63
virtual int ProcessMessage(QueuePointer &resp_queue, player_msghdr *hdr, void *data)
Message handler.
Definition: sphere_mixed.cc:405
Definition: v4lcapture.h:99
Data: state (PLAYER_PTZ_DATA_STATE)
Definition: player_interfaces.h:1228