supported GR-PEACH original: http://developer.mbed.org/users/va009039/code/USBHostC270_example/ The function of Isochronous has moved to USBHost_AddIso library.

Dependencies:   USBHost_custom_Addiso

Fork of USBHostC270_example_GR-PEACH by GR-PEACH_producer_meeting

Committer:
Osamu Nakamura
Date:
Fri Apr 21 20:09:15 2017 +0900
Revision:
15:ac8b6c6dfb3f
Parent:
9:fecabade834a
Update main.cpp so that it can run on mbed OS 5

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 9:fecabade834a 1 // decodeMJPEG.h 2012/12/9
va009039 9:fecabade834a 2 #ifndef DECODE_MJPEG_H
va009039 9:fecabade834a 3 #define DECODE_MJPEG_H
va009039 9:fecabade834a 4
va009039 9:fecabade834a 5 #define JPEG_NONE 0
va009039 9:fecabade834a 6 #define JPEG_START 1
va009039 9:fecabade834a 7 #define JPEG_END 2
va009039 9:fecabade834a 8 #define JPEG_ERROR 3
va009039 9:fecabade834a 9
va009039 9:fecabade834a 10 class decodeMJPEG {
va009039 9:fecabade834a 11 public:
va009039 9:fecabade834a 12 decodeMJPEG();
va009039 9:fecabade834a 13 void inputPacket(const uint8_t* buf, int len);
va009039 9:fecabade834a 14 virtual void outputJPEG(uint8_t c, int status = JPEG_NONE) = 0;
va009039 9:fecabade834a 15 protected:
va009039 9:fecabade834a 16 void input(uint8_t c);
va009039 9:fecabade834a 17 int m_seq;
va009039 9:fecabade834a 18 uint8_t m_mark;
va009039 9:fecabade834a 19 uint16_t m_seg_pos;
va009039 9:fecabade834a 20 uint16_t m_seg_len;
va009039 9:fecabade834a 21 bool m_bDHT;
va009039 9:fecabade834a 22 bool m_output_desable;
va009039 9:fecabade834a 23 };
va009039 9:fecabade834a 24
va009039 9:fecabade834a 25 #endif // DECODE_MJPEG_H