#include <CameraLinkIO.h>
◆ teOutputMode
Camera link output mode format. Compbined with bits per pixel defines output serialization mode.
Enumerator |
---|
eeExpanded | |
eeBase | |
eeMedium | |
eeFull | |
◆ tcCameraLinkIO()
tcCameraLinkIO::tcCameraLinkIO |
( |
SocCamera::tcSensorBoard * |
apSensor, |
|
|
int32 |
anCamLinkFPGAControlAddress = 0xFF240000 , |
|
|
tcPllReconfig * |
apReconfig = NULL , |
|
|
const char * |
apFilename = "pixel_clock_pll_table.txt" |
|
) |
| |
◆ ~tcCameraLinkIO()
tcCameraLinkIO::~tcCameraLinkIO |
( |
| ) |
|
|
virtual |
◆ 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.
- Parameters
-
asRequest | - the request for capture being made. |
- Returns
- a nack code if the capture parameters are inelligable for this IOChannel.
Implements tcIOChannel.
Reimplemented in SocCamera::tcBufferedCameraLinkIO.
◆ enableStreaming()
void tcCameraLinkIO::enableStreaming |
( |
bool |
abEnable | ) |
|
Enable/disable the reset bit to enable streaming.
- Parameters
-
abEnable | - true to DISABLE the reset bit; false to enable it. |
◆ getOutputMode()
◆ getPixelClock()
double tcCameraLinkIO::getPixelClock |
( |
| ) |
|
Get the configured pixel clock frequency.
- Returns
- the pixel clock frequency in MHz.
◆ numTransferred()
uint32 tcCameraLinkIO::numTransferred |
( |
| ) |
|
|
protected |
Reads the number of frames transferred out the camera link; this is an FPGA register.
- Returns
- the number of frames output since the last reset.
◆ resetCamLink()
void tcCameraLinkIO::resetCamLink |
( |
bool |
abSet | ) |
|
|
protected |
Reset or un-reset the CameraLink component.
- Parameters
-
abSet | - true to place the component in reset; false to take it out. |
◆ sendUpdate()
◆ setBackpressureRows()
int tcCameraLinkIO::setBackpressureRows |
( |
int |
rows | ) |
|
Set the number of rows to buffer before applying backpressure
- Parameters
-
rows | number of rows, to apply 0-14, 15 = no backpressure |
- Returns
- non-zero on error
◆ setBpp()
◆ setOutputMode()
Toggles between the various camera link output modes (expanded, full, medium, base).
- Parameters
-
aeOutputMode | - the mode to move into. |
- Returns
- a nack code if the output mode is not supported.
Reimplemented in SocCamera::tcBufferedCameraLinkIO.
◆ setPixelClock()
teNackCode tcCameraLinkIO::setPixelClock |
( |
double |
anFreqMHz | ) |
|
Reconfigure the output clock to the specified frequency (closest fastest).
- Parameters
-
anFreqMHz | - the desired frequency to set. |
- Returns
- the nack code for the operation.
◆ setPseudoSinglePort()
void tcCameraLinkIO::setPseudoSinglePort |
( |
bool |
abEnable | ) |
|
Enable/Disable the pseudo-single port mode feature for a CIS2521 camera link output.
- Parameters
-
abEnable | - true to enable the mode; false to disable it. |
◆ setSerDebug()
void tcCameraLinkIO::setSerDebug |
( |
bool |
abOn | ) |
|
◆ setTestPattern()
void tcCameraLinkIO::setTestPattern |
( |
bool |
abEnable | ) |
|
Set the enable for the test pattern bit.
- Parameters
-
abEnable | - true to enable test pattern, false to disable. |
◆ mhCLComponent
tcFPGARegister<uint32> tcCameraLinkIO::mhCLComponent |
|
protected |
The documentation for this class was generated from the following files: