This commit is contained in:
John Varghese
2025-06-09 21:59:01 +05:30
parent 35e529e7e9
commit c104f055ee
4 changed files with 81 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
// MyStreamer.h
#pragma once
#include "OV2640.h"
#include "CStreamer.h"
class MyStreamer : public CStreamer {
public:
MyStreamer(OV2640 &cam) : CStreamer(cam.getWidth(), cam.getHeight()), m_cam(cam) {}
virtual ~MyStreamer() {}
virtual void streamImage(uint32_t curMsec) override;
private:
OV2640 &m_cam;
};