#include <BufferedCameraLinkIO.h>
|
| | tcBufferedCameraLinkIO (tcSensorBoard *apSensor, int32 anCamLinkFPGAControlAddress, uint32 anSgdmaCtrlAddr, uint32 anSgdmaDescAddr, uint32 anRespRegAddr, uint32 anMuxRegAddr, uint32 anPacketizerAddr, tcPllReconfig *apReconfig=NULL) |
| |
| virtual | ~tcBufferedCameraLinkIO () |
| |
| virtual SocCamera::teNackCode | capture (tsCaptureRequest asRequest) |
| |
| virtual void | sendUpdate (tsNewFrameMsg *apMsg) |
| |
| virtual SocCamera::teNackCode | setBpp (SocCamera::teBPPMode aeBppMode) |
| |
| void | alwaysBuffer (int anAlwaysBuffer) |
| |
| virtual SocCamera::teNackCode | setOutputMode (tcCameraLinkIO::teOutputMode aeOutputMode) |
| |
| void | registerWatcher (tcBufferedCameraLinkWatcher *apWatcher) |
| |
| void | unregisterWatcher (tcBufferedCameraLinkWatcher *apWatcher) |
| |
| | tcCameraLinkIO (SocCamera::tcSensorBoard *apSensor, int32 anCamLinkFPGAControlAddress=0xFF240000, tcPllReconfig *apReconfig=NULL, const char *apFilename="pixel_clock_pll_table.txt") |
| |
| virtual | ~tcCameraLinkIO () |
| |
| void | setSerDebug (bool abOn) |
| |
| void | setTestPattern (bool abEnable) |
| |
| void | enableStreaming (bool abEnable) |
| |
| teOutputMode | getOutputMode () |
| |
| void | setPseudoSinglePort (bool abEnable) |
| |
| SocCamera::teNackCode | setPixelClock (double anFreqMHz) |
| |
| double | getPixelClock () |
| |
| int | setBackpressureRows (int rows) |
| |
| | 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 () |
| |
| | tcIOCallback () |
| |
| virtual | ~tcIOCallback () |
| |
◆ tcBufferedCameraLinkIO()
| tcBufferedCameraLinkIO::tcBufferedCameraLinkIO |
( |
tcSensorBoard * |
apSensor, |
|
|
int32 |
anCamLinkFPGAControlAddress, |
|
|
uint32 |
anSgdmaCtrlAddr, |
|
|
uint32 |
anSgdmaDescAddr, |
|
|
uint32 |
anRespRegAddr, |
|
|
uint32 |
anMuxRegAddr, |
|
|
uint32 |
anPacketizerAddr, |
|
|
tcPllReconfig * |
apReconfig = NULL |
|
) |
| |
Creates a CameraLink component that has a SGDMA engine attached for slow trickling out of RAM. Essentially, this means there are two modes of operation depending on the capture request:
1) Continuous capture (ie: <STRT>) stream directly through the CameraLink component. 2) Captures with a parameter (ie: <STRT 47>) will cause the capture to stream to RAM and when complete, this component will kick the SGDMA engine to trickle the data out the CameraLink component.
◆ ~tcBufferedCameraLinkIO()
| tcBufferedCameraLinkIO::~tcBufferedCameraLinkIO |
( |
| ) |
|
|
virtual |
◆ alwaysBuffer()
| void SocCamera::tcBufferedCameraLinkIO::alwaysBuffer |
( |
int |
anAlwaysBuffer | ) |
|
◆ capture()
Start a capture with this request. If the request's number of frames is tsNewRequest::CANCEL_CAPTURE then the current capture is stopped if possible.
- Parameters
-
| asRequest | - the request for capture being made. |
- Returns
- a nack code if the capture parameters are inelligable for this IOChannel.
Reimplemented from tcCameraLinkIO.
◆ registerWatcher()
◆ sendUpdate()
If this is called, a stream into memory is complete. This will then kick the SGDMA engine to transfer out of memory through the CameraLink component.
- Parameters
-
| apMsg | - the update message. |
Reimplemented from tcCameraLinkIO.
◆ setBpp()
Sets the bits-per-pixel output of the camera.
- Parameters
-
| aeBppMode | - the bits per pixel mode. |
- Returns
- the nack code for the operation
Reimplemented from tcCameraLinkIO.
◆ setOutputMode()
Toggles between the various camera link output modes (expanded, base).
- Parameters
-
| aeOutputMode | - the mode to move into. |
- Returns
- a nack code if the output mode is not supported.
Reimplemented from tcCameraLinkIO.
◆ unregisterWatcher()
The documentation for this class was generated from the following files: