Added target compiler selections for FRDM-K20D50 which works.

Dependencies:   FATFileSystem

Dependents:   kl25z_Usb_Logger

Fork of F401RE-USBHost by Norimasa Okamoto

Committer:
neilh20
Date:
Sun Nov 09 20:28:44 2014 +0000
Revision:
20:21a460855ee5
Parent:
13:8774c07f12a5
Add K20D additions - pure guess but works

Who changed what in which revision?

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