mjpeg_server.cpp File Reference

#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>
Include dependency graph for mjpeg_server.cpp:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define ABS (  )     (((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 (  )     (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
Value:
"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.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 943 of file mjpeg_server.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


mjpeg_server
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 10:04:00 2013