データのサイズが4800で制限されているようだったので、 /uvchost/uvc/uvc.cpp内の int uvc::get_jpeg(const char* path) const int size = 9600; に変更。
Fork of uvchost by
uvc/myjpeg.h@4:97438d526ad3, 2013-02-10 (annotated)
- Committer:
- Dromar
- Date:
- Sun Feb 10 15:20:36 2013 +0000
- Revision:
- 4:97438d526ad3
- Parent:
- 0:b0f04c137829
????????4800????????????????; /uvchost/uvc/uvc.cpp??; int uvc::get_jpeg(const char* path); const int size = 9600;; ????
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 |