データのサイズが4800で制限されているようだったので、 /uvchost/uvc/uvc.cpp内の int uvc::get_jpeg(const char* path) const int size = 9600; に変更。
Fork of uvchost by
myjpeg.h
00001 #ifndef MYJPEG_H 00002 #define MYJPEG_H 00003 class myjpeg { 00004 public: 00005 myjpeg(uint8_t* buf, int len, int capacity); 00006 void analytics(); 00007 int insertDHT(); 00008 int SOS_pos; 00009 int DHT_pos; 00010 private: 00011 int getc(); 00012 int getBE16(); 00013 uint8_t* m_buf; 00014 int m_len; 00015 int m_pos; 00016 int m_capacity; 00017 }; 00018 00019 void QcamCopy(const char* destination, const char* source); 00020 00021 #endif //MYJPEG_H
Generated on Wed Jul 13 2022 01:34:55 by
1.7.2
