#include "mjpeg_server/mjpeg_server.h"#include <highgui.h>#include "opencv2/core/core_c.h"#include "opencv2/core/core.hpp"#include "opencv2/highgui/highgui_c.h"#include <sys/ioctl.h>#include <errno.h>#include <signal.h>#include <sys/socket.h>#include <arpa/inet.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <syslog.h>#include <netdb.h>#include <boost/thread.hpp>#include <boost/bind.hpp>

Go to the source code of this file.
Namespaces | |
| namespace | mjpeg_server |
Defines | |
| #define | ABS(a) (((a) < 0) ? -(a) : (a)) |
| #define | BOUNDARY "boundarydonotcross" |
| #define | LENGTH_OF(x) (sizeof(x)/sizeof(x[0])) |
| #define | MAX_FRAME_SIZE (256*1024) |
| #define | STD_HEADER |
| #define | TEN_K (10*1024) |
Functions | |
| int | main (int argc, char **argv) |
| #define ABS | ( | a | ) | (((a) < 0) ? -(a) : (a)) |
Definition at line 54 of file mjpeg_server.cpp.
| #define BOUNDARY "boundarydonotcross" |
Definition at line 64 of file mjpeg_server.cpp.
| #define LENGTH_OF | ( | x | ) | (sizeof(x)/sizeof(x[0])) |
Definition at line 61 of file mjpeg_server.cpp.
| #define MAX_FRAME_SIZE (256*1024) |
Definition at line 71 of file mjpeg_server.cpp.
| #define STD_HEADER |
"Connection: close\r\n" \ "Server: mjpeg_server\r\n" \ "Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0\r\n" \ "Pragma: no-cache\r\n" \ "Expires: Mon, 3 Jan 2000 12:34:56 GMT\r\n"
Definition at line 83 of file mjpeg_server.cpp.
| #define TEN_K (10*1024) |
Definition at line 72 of file mjpeg_server.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 943 of file mjpeg_server.cpp.