TI J721E Imaging User Guide
app_hwa.h File Reference

Go to the source code of this file.

Data Structures

struct  App_M2mSdeSl2AllocPrms
 Init Parameters required to allocate SDE driver. This should be identical to Vhwa_m2mSdeSl2AllocPrms. It is defined locally for application to use the same params. More...
 
struct  App_M2mDofSl2AllocPrms
 Init Parameters required to allocate DOF driver This should be identical to Vhwa_m2mDofSl2AllocPrms. It is defined locally for application to use the same params. More...
 

Macros

#define APP_VHWA_SERVICE_NAME   "com.ti.vhwa_remote_service"
 
#define APP_DMPAC_SDE_SL2_FREE   (0x0001)
 
#define APP_DMPAC_DOF_SL2_FREE   (0x0002)
 
#define APP_DMPAC_SDE_SL2_REALLOC   (0x0003)
 
#define APP_DMPAC_DOF_SL2_REALLOC   (0x0004)
 
#define APP_VPAC_720_DMPAC_480   (0x0005)
 
#define APP_VPAC_650_DMPAC_520   (0x0006)
 
#define APP_SDE_DEFAULT_DIS_BUFF_DEPTH   (2U)
 
#define APP_SDE_SR_192   (2U)
 
#define APP_FVID2_CCSF_BITS12_UNPACKED16   ((uint32_t) 0x11U)
 
#define APP_DOF_DEFAULT_REF_BUFF_DEPTH   (2U)
 
#define APP_DOF_DEFAULT_CUR_BUFF_DEPTH   (2U)
 
#define APP_DOF_DEFAULT_FV_BUFF_DEPTH   (4U)
 

Functions

int32_t appFvid2Init (void)
 Performs initializations needed for Fvid2 must be called before capture, display and other HWA init. More...
 
int32_t appCsi2RxInit (void)
 Performs initializations needed for CSI2RX driver. More...
 
int32_t appCsi2TxInit (void)
 Performs initializations needed for CSI2TX driver. More...
 
int32_t appVhwaVpacInit (uint32_t vpacInst)
 Performs initializations needed for VHWA drivers. More...
 
int32_t appVhwaDmpacInit (void)
 
int32_t appCsi2RxDeInit (void)
 Performs de-initializations needed for CSI2RX driver. More...
 
int32_t appCsi2TxDeInit (void)
 Performs de-initializations needed for CSI2TX driver. More...
 
int32_t appFvid2DeInit (void)
 Performs de-initializations needed for Fvid2. More...
 
int32_t appVhwaVpacDeInit (void)
 Performs de-initializations needed for VHWA drivers. More...
 
int32_t appVhwaDmpacDeInit (void)
 
int32_t appVhwaRemoteServiceInit ()
 Performs registration of remote service for SL2. More...
 
int32_t appVhwaRemoteServiceDeInit ()
 Performs unregistration of remote service for SL2. More...
 
int32_t appVissRemoteServiceInit ()
 Performs registration of remote service for VISS node. More...
 
int32_t appVissRemoteServiceDeInit ()
 Performs unregistration of remote service for VISS node. More...
 

Macro Definition Documentation

◆ APP_VHWA_SERVICE_NAME

#define APP_VHWA_SERVICE_NAME   "com.ti.vhwa_remote_service"

Remote service name to free/reallocate DMAPC SL2

◆ APP_DMPAC_SDE_SL2_FREE

#define APP_DMPAC_SDE_SL2_FREE   (0x0001)

Remote service command to free SL2 for SDE

◆ APP_DMPAC_DOF_SL2_FREE

#define APP_DMPAC_DOF_SL2_FREE   (0x0002)

Remote service command to free SL2 for DOF

◆ APP_DMPAC_SDE_SL2_REALLOC

#define APP_DMPAC_SDE_SL2_REALLOC   (0x0003)

Remote service command to reallocate SL2 for SDE

◆ APP_DMPAC_DOF_SL2_REALLOC

#define APP_DMPAC_DOF_SL2_REALLOC   (0x0004)

Remote service command to reallocate SL2 for DOF

◆ APP_VPAC_720_DMPAC_480

#define APP_VPAC_720_DMPAC_480   (0x0005)

Remote service command to set VPAC to 720 MHz and DMPAC to 480 MHz

◆ APP_VPAC_650_DMPAC_520

#define APP_VPAC_650_DMPAC_520   (0x0006)

Remote service command to set VPAC to 650 MHz and DMPAC to 520 MHz

◆ APP_SDE_DEFAULT_DIS_BUFF_DEPTH

#define APP_SDE_DEFAULT_DIS_BUFF_DEPTH   (2U)

Identical to SDE_DEFAULT_DIS_BUFF_DEPTH

◆ APP_SDE_SR_192

#define APP_SDE_SR_192   (2U)

Identical to SDE_SR_192

◆ APP_FVID2_CCSF_BITS12_UNPACKED16

#define APP_FVID2_CCSF_BITS12_UNPACKED16   ((uint32_t) 0x11U)

Identical to FVID2_CCSF_BITS12_UNPACKED16

◆ APP_DOF_DEFAULT_REF_BUFF_DEPTH

#define APP_DOF_DEFAULT_REF_BUFF_DEPTH   (2U)

Identical to DOF_DEFAULT_REF_BUFF_DEPTH

◆ APP_DOF_DEFAULT_CUR_BUFF_DEPTH

#define APP_DOF_DEFAULT_CUR_BUFF_DEPTH   (2U)

Identical to DOF_DEFAULT_CUR_BUFF_DEPTH

◆ APP_DOF_DEFAULT_FV_BUFF_DEPTH

#define APP_DOF_DEFAULT_FV_BUFF_DEPTH   (4U)

Identical to DOF_DEFAULT_FV_BUFF_DEPTH