Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of F401RE-USBHost by
decodeMJPEG.h
00001 // decodeMJPEG.h 2012/12/9 00002 #ifndef DECODE_MJPEG_H 00003 #define DECODE_MJPEG_H 00004 00005 #define JPEG_NONE 0 00006 #define JPEG_START 1 00007 #define JPEG_END 2 00008 #define JPEG_ERROR 3 00009 00010 class decodeMJPEG { 00011 public: 00012 decodeMJPEG(); 00013 void inputPacket(const uint8_t* buf, int len); 00014 virtual void outputJPEG(uint8_t c, int status = JPEG_NONE) = 0; 00015 protected: 00016 void input(uint8_t c); 00017 int m_seq; 00018 uint8_t m_mark; 00019 uint16_t m_seg_pos; 00020 uint16_t m_seg_len; 00021 bool m_bDHT; 00022 bool m_output_desable; 00023 }; 00024 00025 #endif // DECODE_MJPEG_H
Generated on Tue Jul 12 2022 21:43:28 by
1.7.2
