Lcd companion boards support (VKLCD50RTA & VKLCD70RT)
Embed:
(wiki syntax)
Show/hide line numbers
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 14:32:42 by 1.7.2