データのサイズが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

uvc/usb_itd.h

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

File content as of revision 4:97438d526ad3:

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

class usb_itd {
public:
    usb_itd(HCITD* itd);
    bool Done();
    int ConditionCode();
    int FrameCount();
    int PacketStatus(int n);
    int Length(int n);
    uint8_t* BufferPage(int n, int size);
    uint16_t StartingFrame();
    void free();
    void debug();
private:
    uint16_t get_psw(int n);
    HCITD* m_itd;
};

#endif //USB_ITD_H