データのサイズが4800で制限されているようだったので、 /uvchost/uvc/uvc.cpp内の int uvc::get_jpeg(const char* path) const int size = 9600; に変更。

Dependents:   WebCamera_SD

Fork of uvchost by Norimasa Okamoto

usb/Usb_td.h

Committer:
Dromar
Date:
2013-02-10
Revision:
4:97438d526ad3
Parent:
0:b0f04c137829

File content as of revision 4:97438d526ad3:

#ifndef USB_TD_H
#define USB_TD_H
#include "UsbInc.h"
#include "usb_mem.h"

template <class T> 
class tdqueue {
public:
    tdqueue();
    int size();
    bool empty();
    T front();
    void pop();
    void push(T td);
private:
    T m_head;
    T m_tail;
};

HCTD* td_reverse(HCTD* td);
void test_td();

#endif //USB_TD_H