TIOVX User Guide
|
The CSIRX DRV instance configuration data structure used by the TIVX_KERNEL_CAPTURE kernel. More...
#include <video_io_capture.h>
Data Fields | |
uint32_t | enableCsiv2p0Support |
uint32_t | numDataLanes |
uint32_t | dataLanesMap [4] |
uint32_t | laneBandSpeed |
uint32_t | numPixels |
The CSIRX DRV instance configuration data structure used by the TIVX_KERNEL_CAPTURE kernel.
Definition at line 273 of file video_io_capture.h.
uint32_t tivx_capture_inst_params_t::enableCsiv2p0Support |
Flag indicating CSIV2P0 support
Definition at line 275 of file video_io_capture.h.
uint32_t tivx_capture_inst_params_t::numDataLanes |
Number of CSIRX data lanes
Definition at line 276 of file video_io_capture.h.
uint32_t tivx_capture_inst_params_t::dataLanesMap[4] |
Data Lanes map array; note: size from CSIRX_CAPT_DATA_LANES_MAX
Definition at line 277 of file video_io_capture.h.
uint32_t tivx_capture_inst_params_t::laneBandSpeed |
Data rates for lane band control.
Definition at line 278 of file video_io_capture.h.
uint32_t tivx_capture_inst_params_t::numPixels |
Number of pixels to output per clock cycle from the stream. This is stream specific configuration and this is specific to "stream0" i.e. it is common across all the channels going to DDR/Memory and all the opened driver instances for given CSI-RX port/instance.
The width of the pixel interface (32 bits) and the bits per pixel for the selected datatype will determine how many pixels can be output in a single cycle.
For example: Case 1: 2 channels - each RAW12 (bpp = 12 bits) capture, valid values are 0 (1 pixel per clock) & 1 (2 pixels per clock). 12 bits x 2 pixels per clock = 24 bits which is less than pixel interface bus width (32 bits) Case 2: 2 channels- one RAW12 (bpp = 12 bits) channel & one RGB888 (bpp = 24 bits) channel capture, valid values are 0 i.e. 1 pixel per clock (lowest of the two). RAW12: 12 bits x 2 pixels per clock = 24 bits which is less than pixel interface bus width (32 bits) RGB888: 24 bits x 1 pixel per clock = 24 bits which is less than pixel interface bus width (32 bits) Lowest of the two i.e. 1 pixel per clock is selected in this case to ensure proper operation of the module.
Valid values are 0, 1, 2. Default will be 1 pixel per clock (value of '00'). 00 -> 1 pixel per clock 01 -> 2 pixels per clock 10 -> 4 pixels per clock
Definition at line 279 of file video_io_capture.h.