Webcam Server.
Dependencies: uvchost FatFileSystem mbed HTTPServer NetServicesMin
uvc/myjpeg.h@0:2b4ea8a138e5, 2012-06-06 (annotated)
- Committer:
- va009039
- Date:
- Wed Jun 06 11:47:06 2012 +0000
- Revision:
- 0:2b4ea8a138e5
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:2b4ea8a138e5 | 1 | #ifndef MYJPEG_H |
va009039 | 0:2b4ea8a138e5 | 2 | #define MYJPEG_H |
va009039 | 0:2b4ea8a138e5 | 3 | class myjpeg { |
va009039 | 0:2b4ea8a138e5 | 4 | public: |
va009039 | 0:2b4ea8a138e5 | 5 | myjpeg(uint8_t* buf, int len, int capacity); |
va009039 | 0:2b4ea8a138e5 | 6 | void analytics(); |
va009039 | 0:2b4ea8a138e5 | 7 | int insertDHT(); |
va009039 | 0:2b4ea8a138e5 | 8 | int SOS_pos; |
va009039 | 0:2b4ea8a138e5 | 9 | int DHT_pos; |
va009039 | 0:2b4ea8a138e5 | 10 | private: |
va009039 | 0:2b4ea8a138e5 | 11 | int getc(); |
va009039 | 0:2b4ea8a138e5 | 12 | int getBE16(); |
va009039 | 0:2b4ea8a138e5 | 13 | uint8_t* m_buf; |
va009039 | 0:2b4ea8a138e5 | 14 | int m_len; |
va009039 | 0:2b4ea8a138e5 | 15 | int m_pos; |
va009039 | 0:2b4ea8a138e5 | 16 | int m_capacity; |
va009039 | 0:2b4ea8a138e5 | 17 | }; |
va009039 | 0:2b4ea8a138e5 | 18 | |
va009039 | 0:2b4ea8a138e5 | 19 | void QcamCopy(const char* destination, const char* source); |
va009039 | 0:2b4ea8a138e5 | 20 | |
va009039 | 0:2b4ea8a138e5 | 21 | #endif //MYJPEG_H |