PDK API Guide for J721E
Vhwa_M2mLdcSl2AllocPrms Struct Reference

Detailed Description

Used for allocating SL2 memory.

struct Vhwa_m2mLdcSl2AllocPrms

Data Fields

uint32_t enableOutput [LDC_MAX_OUTPUT]
 
uint32_t outCcsf [LDC_MAX_OUTPUT]
 
uint32_t maxNumBlocks [LDC_MAX_OUTPUT]
 
uint32_t maxBlockWidth
 
uint32_t maxBlockHeight
 

Field Documentation

◆ enableOutput

uint32_t Vhwa_M2mLdcSl2AllocPrms::enableOutput[LDC_MAX_OUTPUT]

These parameters are used by the driver to allocate memory, used by all handles Ensure to allocate max of all handles requirement.Flag to indicate if the output is enabled, Memory is allocated for this output only if it is enabled, If memory is not allocated for a given output, it cannot be enabled later using IOCTL_VHWA_M2M_LDC_SET_CONFIG ioctl

◆ outCcsf

uint32_t Vhwa_M2mLdcSl2AllocPrms::outCcsf[LDC_MAX_OUTPUT]

Output storage format for both the outputs

◆ maxNumBlocks

uint32_t Vhwa_M2mLdcSl2AllocPrms::maxNumBlocks[LDC_MAX_OUTPUT]

Maximum number of block to be allocated in SL2 memory, Minimum 2 blocks are required for each output

◆ maxBlockWidth

uint32_t Vhwa_M2mLdcSl2AllocPrms::maxBlockWidth

Maximum output block width for both the outputs, Block size is same for all outputs

◆ maxBlockHeight

uint32_t Vhwa_M2mLdcSl2AllocPrms::maxBlockHeight

Maximum output block height for both the outputs, Block size is same for all outputs