Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include <MemoryIO.h>
Additional Inherited Members | |
Protected Member Functions inherited from tcIOChannel | |
void | invalidateCache (tsNewFrameMsg *apMsg) |
void | invalidateCache () |
void | Report (const char *fmt,...) |
This method routes text to stderr. More... | |
void | ReportError (const char *fmt,...) |
Protected Attributes inherited from tcIOChannel | |
std::string | m_name |
SocCamera::teIOChannels | meIOId |
SocCamera::tcSensorBoard * | mpSensor |
SocCamera::teBPPMode | meBppMode |
int64 | mnImgCount |
std::list< tsNewFrameMsg > | mlUpdates |
tcMutex | mcMutex |
tcCondition | mcCond |
void * | mpMemory |
tcIOChannelThread | mcThread |
tsNewFrameMsg | msLastUpdate |
bool | mbSimRAM |
Static Protected Attributes inherited from tcIOChannel | |
static uint32 | CAPTURE_START_ADDR = (0x20000000) |
static uint32 | MEMORY_BLOCK_SIZE = (0x20000000) |
static bool | CMEM_USED = (true) |
static bool | MMAP_USED = (true) |
This class is used to control output to a filesystem. It has facilities to change filename, path and other options.
tcMemoryIO::tcMemoryIO | ( | SocCamera::tcSensorBoard * | apSensor | ) |
|
virtual |
|
virtual |
start capture
Start a capture with this request. If the requests number of frames is tsNewRequest::CANCEL_CAPTURE then the current capture is stopped if possible.
Stopping this and starting causes the frame index to reset. This
asRequest | - the request for capture being made. |
asRequest |
Implements tcIOChannel.
|
inline |
uint32_t tcMemoryIO::getCurrentFrameIndex | ( | ) |
Returns the current frame index number.
|
inline |
void tcMemoryIO::issueWriteError | ( | SocCamera::teNackCode | aeError | ) |
void tcMemoryIO::registerWatcher | ( | tcMemoryIOWatcher * | apWatcher | ) |
Register a callback which is executed when a file is saved and closed.
|
virtual |
|
virtual |
Sets the bits-per-pixel output of the camera.
aeBppMode | - the bits per pixel mode. |
Implements tcIOChannel.
|
inline |
|
inline |
void tcMemoryIO::unregisterWatcher | ( | tcMemoryIOWatcher * | apWatcher | ) |
Unregister a callback.