27 bool Setup (
void)
override;
28 bool Start (
void)
override;
29 bool Stop (
void)
override;
33 void BufferReady (OMX_BUFFERHEADERTYPE *Buffer, quint64 Type);
40 bool LoadDrivers (
void);
41 bool LoadCameraSettings (
void);
42 bool ConfigureCamera (
void);
43 bool ConfigureVideoEncoder(
void);
44 bool ConfigureImageEncoder(
void);
46 void StartVideo (
void);
47 void ProcessVideoBuffer (OMX_BUFFERHEADERTYPE *Buffer);
48 bool EnableVideo (
bool Video);
49 void ProcessStillsBuffer(OMX_BUFFERHEADERTYPE *Buffer);
66 OMX_U32 m_cameraPreviewPort;
67 OMX_U32 m_cameraVideoPort;
68 OMX_U32 m_videoEncoderInputPort;
69 OMX_U32 m_videoEncoderOutputPort;
70 OMX_U32 m_imageEncoderOutputPort;
77 #endif // TORCPICAMERA_H
TorcPiCamera(const TorcCameraParams &Params)
bool EnableStills(uint Count) override
void BufferReady(OMX_BUFFERHEADERTYPE *Buffer, quint64 Type)
An OpenMax buffer is ready (full)
virtual ~TorcPiCamera()=default
bool Start(void) override
Start the camera.
bool Setup(void) override
void StartStill(void) override
Start capturing a still image buffer.
static bool gPiCameraDetected
void StreamVideo(bool Video) override