データのサイズが4800で制限されているようだったので、 /uvchost/uvc/uvc.cpp内の int uvc::get_jpeg(const char* path) const int size = 9600; に変更。
Fork of uvchost by
usb/Usb_td.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 USB_TD_H |
va009039 | 0:b0f04c137829 | 2 | #define USB_TD_H |
va009039 | 0:b0f04c137829 | 3 | #include "UsbInc.h" |
va009039 | 0:b0f04c137829 | 4 | #include "usb_mem.h" |
va009039 | 0:b0f04c137829 | 5 | |
va009039 | 0:b0f04c137829 | 6 | template <class T> |
va009039 | 0:b0f04c137829 | 7 | class tdqueue { |
va009039 | 0:b0f04c137829 | 8 | public: |
va009039 | 0:b0f04c137829 | 9 | tdqueue(); |
va009039 | 0:b0f04c137829 | 10 | int size(); |
va009039 | 0:b0f04c137829 | 11 | bool empty(); |
va009039 | 0:b0f04c137829 | 12 | T front(); |
va009039 | 0:b0f04c137829 | 13 | void pop(); |
va009039 | 0:b0f04c137829 | 14 | void push(T td); |
va009039 | 0:b0f04c137829 | 15 | private: |
va009039 | 0:b0f04c137829 | 16 | T m_head; |
va009039 | 0:b0f04c137829 | 17 | T m_tail; |
va009039 | 0:b0f04c137829 | 18 | }; |
va009039 | 0:b0f04c137829 | 19 | |
va009039 | 0:b0f04c137829 | 20 | HCTD* td_reverse(HCTD* td); |
va009039 | 0:b0f04c137829 | 21 | void test_td(); |
va009039 | 0:b0f04c137829 | 22 | |
va009039 | 0:b0f04c137829 | 23 | #endif //USB_TD_H |