Webcam Server.

Dependencies:   uvchost FatFileSystem mbed HTTPServer NetServicesMin

uvc/myjpeg.h

Committer:
va009039
Date:
2012-06-06
Revision:
0:2b4ea8a138e5

File content as of revision 0:2b4ea8a138e5:

#ifndef MYJPEG_H
#define MYJPEG_H
class myjpeg {
public:
    myjpeg(uint8_t* buf, int len, int capacity);
    void analytics();
    int insertDHT();
    int SOS_pos;
    int DHT_pos;
private:
    int getc();
    int getBE16();
    uint8_t* m_buf;
    int m_len;
    int m_pos;
    int m_capacity;
};

void QcamCopy(const char* destination, const char* source);

#endif //MYJPEG_H