UVC host library
Dependents: LifeCam WebcamServer
Diff: uvc/myjpeg.h
- Revision:
- 0:b0f04c137829
diff -r 000000000000 -r b0f04c137829 uvc/myjpeg.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uvc/myjpeg.h Tue Jul 31 13:58:03 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