![]() |
PDK API Guide for J721E
|
Structure containing Channels configurations.
Data Fields | |
uint32_t | chId |
uint32_t | chType |
uint32_t | vcNum |
uint32_t | inCsiDataType |
Fvid2_Format | outFmt |
Udma_ChRxPrms | rxChParams |
uint8_t | ringOrderId |
uint32_t Csirx_ChCfg::chId |
Channel ID. It should be unique and start with '0' and continue without any gaps. It should be less than 'CSIRX_NUM_CH'.
uint32_t Csirx_ChCfg::chType |
Channel type See CSIRX_ChType for details.
uint32_t Csirx_ChCfg::vcNum |
Specify the virtual channel number to be used. Valid rage 0 - 3 when v2p0 support is disabled and 0 - 15 when v2p0 support is enabled
uint32_t Csirx_ChCfg::inCsiDataType |
Data Type as per FVID2_CSI2DF
Fvid2_Format Csirx_ChCfg::outFmt |
Specify the characteristics of streams that has to be received. Output format described using FVID2 frame format Fvid2_Format Valid member of this structure are width:
Input width, in pixels. WARNING - Sufficient buffer should be allocated to accommodate max line length.
height:
Expected number of lines, 0x0 for unknown WARNING - Sufficient buffer should be allocated to accommodate max lines.
pitch:
Pitch in bytes between two lines.
dataFormat:
Output Data format, valid options are:
FVID2_DF_YUV422I_UYVY
FVID2_DF_YUV422I_YUYV
FVID2_DF_YUV422I_YVYU
FVID2_DF_YUV422I_VYUY
ccsFormat:
Valid values are :'' FVID2_CCSF_BITS12_PACKED
FVID2_CCSF_BITS12_UNPACKED16
This valid only when inCsiDataType is 'FVID2_CSI2_DF_RAW12' and when chType is CSIRX_CH_TYPE_CAPT. It should be 'FVID2_CCSF_BITS12_UNPACKED16' for all other data types.
Unused Parameters:
.bpp - unused parameter for CSI2RX
For OTF mode, following parameters are not used: .bpp, .pitch
For loop-back mode, only .dataFormat is used. Rest of the parameters are unused.
Udma_ChRxPrms Csirx_ChCfg::rxChParams |
UDMA Rx channel configuration parameters
uint8_t Csirx_ChCfg::ringOrderId |
Ring bus order ID value to be programmed into the orderid field of the ring's RING_ORDERID register.