You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
661 B
38 lines
661 B
|
|
|
|
#ifndef _MINIWEBCAM_H_
|
|
#define _MINIWEBCAM_H_
|
|
|
|
#include <UDPTCPNetwork.h>
|
|
#include <string>
|
|
|
|
#include "configuration.h"
|
|
#include "miniwebcam.h"
|
|
#include "video.h"
|
|
#include "inmemoryfile.h"
|
|
|
|
#define LEN_FILENAME 256
|
|
#define LEN_FULLFILENAME 512
|
|
|
|
class WebCamServer : public WebServer {
|
|
private:
|
|
protected:
|
|
public:
|
|
int HandleRequest (WebRequestBuffer *requestbuffer, WebServerClient *webclient);
|
|
};
|
|
|
|
|
|
void ErrorExit(std::string text, int errorcode);
|
|
int Lock();
|
|
int UnLock();
|
|
|
|
extern VideoFrame inputimage;
|
|
extern VideoFrame currentimage;
|
|
|
|
extern VideoFrameFloat inputfloat;
|
|
extern VideoFrame currentimagefloat;
|
|
extern int running;
|
|
|
|
#endif
|
|
|