PDK API Guide for J721E
Vhwa_M2mVissParams Struct Reference

Detailed Description

Connfiguration parameters of VISS.

struct Vhwa_M2mVissParams

Data Fields

uint32_t inputMode
 
Fvid2_Format inFmt
 
Vhwa_M2mVissOutputParams outPrms [VHWA_M2M_VISS_MAX_OUTPUTS]
 
uint32_t enableGlbce
 
uint32_t enableNsf4
 
uint32_t edgeEnhancerMode
 
uint32_t enableDpc
 
uint32_t chromaMode
 

Field Documentation

◆ inputMode

uint32_t Vhwa_M2mVissParams::inputMode

VISS Mode, decides the number of inputs, Refer Vhwa_M2mVissInputMode for valid values

◆ inFmt

Fvid2_Format Vhwa_M2mVissParams::inFmt

Input Frame format, describing input frames storage format Used for configuring input frame format for all three inputs Frame size for all three inputs are used from this format Used in all VISS Mode Vhwa_M2mVissInputMode

Following parametes are used from this width = width of the input frame, max width supports is 4096 pixels height = height of the input frame pitch = line offset for the input data, used based on the data format dataFormat = Input DataFormat, only Bayer formats supports as of now sfcc = Storage format

In case of multi-exposure input, the only parameter that can change among exposure is pitch/line offset. In this case pitch[n] is used to specify pitch of n exposures.

◆ outPrms

Output Frame Parameters, used to enable output and also to describe output frames storage format. Output format can be indexede using index VhwaM2mViss_OutputIdx and be enabled in the output outPrms structure. the same instance has fvid2_format which describes the storage format for the corresponding output.

Following parametes are used from this width = width of the output frame, must be same as input frame width height = height of the input frame must be same as input frame height pitch = line offset for the input data, used based on the data format dataFormat = DataFormat, Supported data formats Output0: YUV420, Grey, RAW, Luma Only Output1: RAW, Chroma Only Output2: YUV420, YUV422, RGB, Grey, RAW, Luma only, RED Output3: RAW, Chroma Only, Green Output4: Saturation, RAW, BLUE sfcc = Storage format

Not used for describing frame format for H3A output, H3A outputs 8bit linear data. Driver internally ignores H3A output format

◆ enableGlbce

uint32_t Vhwa_M2mVissParams::enableGlbce

Flag to include GLBCE in the pipeline

◆ enableNsf4

uint32_t Vhwa_M2mVissParams::enableNsf4

Flag to include NSF4 in the pipeline

◆ edgeEnhancerMode

uint32_t Vhwa_M2mVissParams::edgeEnhancerMode

Enables Edge Enhancer on Luma12 output, Mainly used in calculating vertical blanking, Refer Vhwa_M2mVissEdgeEnhancerMode For valid values

◆ enableDpc

uint32_t Vhwa_M2mVissParams::enableDpc

Enable DPC Mainly used in calculating vertical blanking

◆ chromaMode

uint32_t Vhwa_M2mVissParams::chromaMode

Chroma Mode, 0: 420 1: 422 Used only when CHROMA_ONLY output format selected. to determine chroma downsampling, Refer Fcp_ChromaMode for valid values