UVC host library

Dependents:   LifeCam WebcamServer

uvc/myjpeg.h

Committer:
va009039
Date:
2012-08-15
Revision:
3:3eb41d749f9a
Parent:
0:b0f04c137829

File content as of revision 3:3eb41d749f9a:

#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