UVC host library
Dependents: LifeCam WebcamServer
uvc/myjpeg.h@0:b0f04c137829, 2012-07-31 (annotated)
- Committer:
- va009039
- Date:
- Tue Jul 31 13:58:03 2012 +0000
- Revision:
- 0:b0f04c137829
fix probe commit control
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:b0f04c137829 | 1 | #ifndef MYJPEG_H |
va009039 | 0:b0f04c137829 | 2 | #define MYJPEG_H |
va009039 | 0:b0f04c137829 | 3 | class myjpeg { |
va009039 | 0:b0f04c137829 | 4 | public: |
va009039 | 0:b0f04c137829 | 5 | myjpeg(uint8_t* buf, int len, int capacity); |
va009039 | 0:b0f04c137829 | 6 | void analytics(); |
va009039 | 0:b0f04c137829 | 7 | int insertDHT(); |
va009039 | 0:b0f04c137829 | 8 | int SOS_pos; |
va009039 | 0:b0f04c137829 | 9 | int DHT_pos; |
va009039 | 0:b0f04c137829 | 10 | private: |
va009039 | 0:b0f04c137829 | 11 | int getc(); |
va009039 | 0:b0f04c137829 | 12 | int getBE16(); |
va009039 | 0:b0f04c137829 | 13 | uint8_t* m_buf; |
va009039 | 0:b0f04c137829 | 14 | int m_len; |
va009039 | 0:b0f04c137829 | 15 | int m_pos; |
va009039 | 0:b0f04c137829 | 16 | int m_capacity; |
va009039 | 0:b0f04c137829 | 17 | }; |
va009039 | 0:b0f04c137829 | 18 | |
va009039 | 0:b0f04c137829 | 19 | void QcamCopy(const char* destination, const char* source); |
va009039 | 0:b0f04c137829 | 20 | |
va009039 | 0:b0f04c137829 | 21 | #endif //MYJPEG_H |