![]() |
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include <U3VIO.h>
Public Member Functions | |
| tcU3VIO (tcSensorBoard *apSensorBoard, int32_t anCamLinkFPGAControlAddress, uint32_t anSgdmaCtrlAddr, uint32_t anSgdmaDescAddr, uint32_t anRespRegAddr) | |
| virtual | ~tcU3VIO () |
| virtual teNackCode | capture (tsCaptureRequest asRequest) |
| virtual teNackCode | setBpp (SocCamera::teBPPMode aeBppMode) |
| virtual void | sendUpdate (tsNewFrameMsg *apMsg) |
| void | epHalt (bool abHalt) |
| bool | halted () |
| void | stall (bool abStallAndWait) |
Public Member Functions inherited from tcIOChannel | |
| tcIOChannel (SocCamera::teIOChannels aeIOId, SocCamera::tcSensorBoard *apSensor) | |
| Construct a new tcIOChannel::tcIOChannel object. More... | |
| virtual | ~tcIOChannel () |
| virtual void | initialized () |
| SocCamera::teBPPMode | getBpp () |
| virtual void | processUpdate (tsNewFrameMsg *apMsg) |
| void | setEnable (bool abEnable) |
| tcImage * | grabImage () |
| SocCamera::teIOChannels | id () |
| virtual void | invalidateCache (void *apMem, size_t anSize) |
| virtual void * | memory () |
Public Member Functions inherited from tcIOCallback | |
| tcIOCallback () | |
| virtual | ~tcIOCallback () |
Friends | |
| class | tcU3VHandler |
| class | tcU3VDelegate |
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 implements the RAM-to-FX3 portion of the pipeline for outputting frames.
It consists of:
| tcU3VIO::tcU3VIO | ( | tcSensorBoard * | apSensorBoard, |
| int32_t | anCamLinkFPGAControlAddress, | ||
| uint32_t | anSgdmaCtrlAddr, | ||
| uint32_t | anSgdmaDescAddr, | ||
| uint32_t | anRespRegAddr | ||
| ) |
|
virtual |
|
virtual |
Start a capture with this request. If the requests number of frames is tsNewRequest::CANCEL_CAPTURE then the current capture is stopped if possible.
| asRequest | - the request for capture being made. |
Implements tcIOChannel.
| void SocCamera::tcU3VIO::epHalt | ( | bool | abHalt | ) |
| bool SocCamera::tcU3VIO::halted | ( | ) |
|
virtual |
Actually sends the frame by whatever means; called by the internal thread.
| apMsg |
Implements tcIOChannel.
|
virtual |
Sets the bits-per-pixel output of the camera.
| aeBppMode | - the bits per pixel mode. |
Implements tcIOChannel.
| void tcU3VIO::stall | ( | bool | abStallAndWait | ) |
|
friend |
|
friend |