Webcam Server.
Dependencies: uvchost FatFileSystem mbed HTTPServer NetServicesMin
Diff: uvc/myjpeg.h
- Revision:
- 0:2b4ea8a138e5
diff -r 000000000000 -r 2b4ea8a138e5 uvc/myjpeg.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uvc/myjpeg.h Wed Jun 06 11:47:06 2012 +0000 @@ -0,0 +1,21 @@ +#ifndef MYJPEG_H +#define MYJPEG_H +class myjpeg { +public: + myjpeg(uint8_t* buf, int len, int capacity); + void analytics(); + int insertDHT(); + int SOS_pos; + int DHT_pos; +private: + int getc(); + int getBE16(); + uint8_t* m_buf; + int m_len; + int m_pos; + int m_capacity; +}; + +void QcamCopy(const char* destination, const char* source); + +#endif //MYJPEG_H \ No newline at end of file