データのサイズが4800で制限されているようだったので、 /uvchost/uvc/uvc.cpp内の int uvc::get_jpeg(const char* path) const int size = 9600; に変更。
Fork of uvchost by
stcamcfg.h
00001 #ifndef STCAMCFG_H 00002 #define STCAMCFG_H 00003 struct stcamcfg { 00004 uint16_t idVender; 00005 uint16_t idProduct; 00006 char *name; 00007 uint16_t width; 00008 uint16_t height; 00009 uint8_t payload; 00010 uint8_t bEndpointAddress; 00011 uint16_t wMaxPacketSize; 00012 uint8_t FormatIndex; 00013 uint8_t FrameIndex; 00014 uint32_t dwFrameInterval; 00015 uint8_t bInterface; 00016 uint8_t bAlternate; 00017 int iso_FrameCount; 00018 int iso_itdCount; 00019 // work area 00020 int _If; 00021 int _Ifalt; 00022 int _IfClass; 00023 int _IfSubClass; 00024 uint16_t bcdUVC; 00025 }; 00026 #endif //STCAMCFG_H
Generated on Wed Jul 13 2022 01:34:55 by
1.7.2
