查看linux静态库*.a中的函数和文件 拿appro 2a算法库开刀

查看linux静态库*.a中的函数和文件,这对某些时候是非常有用的,比如我现在正在尝试替换掉appro的2a算法库,这就需要了解appro的2a结构

windows下

dumpbin /exports libxxx.a

linux 下

nm -g --defined-only libxxx.a


下面是appro算法库中的文件

1、Appro_2a_lib.a

[root@localhost lib]# nm -g --defined-only Appro_2a_lib.a

ae_ti.o:
00000000 D AE_TI_AE
0000002c D AE_TI_IALG
000003d0 T AE_TI_alloc
00000bbc T AE_TI_control
000004a8 T AE_TI_free
0000057c T AE_TI_init
0000071c T AE_TI_process
00000000 T GET_AE_MEAN_VALUE

awb_ti.o:
00000000 D AWB_TI_AWB
0000002c D AWB_TI_IALG
00000000 T AWB_TI_alloc
00001358 T AWB_TI_control
000000b8 T AWB_TI_free
00000184 T AWB_TI_init
00000344 T AWB_TI_process

ae_appro.o:
00000000 D AE_APPRO_AE
0000002c D AE_APPRO_IALG
00000508 T AE_APPRO_alloc
000013a4 T AE_APPRO_control
000005d0 T AE_APPRO_free
00000698 T AE_APPRO_init
00000954 T AE_APPRO_process

awb_appro.o:
00000000 D AWB_APPRO_AWB
0000002c D AWB_APPRO_IALG
00000494 T AWB_APPRO_SetCalRange
00000000 T AWB_APPRO_alloc
00003d84 T AWB_APPRO_control
000000ac T AWB_APPRO_free
00001048 T AWB_APPRO_init
00001380 T AWB_APPRO_process
00001274 T AWB_GetAvergeGain
0000016c T Get_hist_info

2、 Appro_aew_control.a

[root@localhost lib]# nm -g --defined-only Appro_aew_control.a 

Appro_aew_control.o:
00005988 T AEWCheckTime
00000844 D AE_Frame_PRIO_INDEX
00008c48 D AE_Frame_PRIO_Tbl
000007bc D AE_Quality_PRIO_INDEX
000008cc D AE_Quality_PRIO_Tbl
00000000 D AE_Shutter_PRIO_Tbl
00000180 T ApproAEW_AWB_SETUP
000001f4 T ApproAEW_DCSUB_SETUP
000000f4 T ApproAEW_GAIN_SETUP
00000000 T ApproAEW_SHUTTER_SETUP
00000798 T ApproIMG_SetEngAwbCfg
00000278 T ApproIMG_SetNoiseFilter1
00000658 T ApproIMG_SetOtf
0000108c T ApproSend3A
00005c64 T CONTROL_DRIVER_Setup
000028ec T CONTROL_DRIVER_initial
00005b6c T CONTROL_DRIVER_process
00000020 C CTRL_DRV_SETUP
00000034 C DRIVER
00001a0c T GET_INDEX_LIST
0000361c T GetSaturationMatrix
00003bb4 T GetSaturationMatrix_Appro
00001f50 T GetSendWBGain
00002e54 T MatMult
000024a4 T Preview_Sending_Misc
00003070 T float2IntMat
00002d60 T printMat

Appro_aew_cal.o:
00000374 T Aew_Cal_Limit_parameter
000000c4 T Aew_Cal_LoadParm
00000620 T Aew_Cal_get_dfc_tbl
0000058c T Aew_Cal_read_parameter
00000000 T CheckSum

Appro_AutoIrisCtrl.o:
00000154 T Appro_AutoIrisCtrlEnd
00000170 T Appro_AutoIrisCtrlInit
00001f20 T Appro_AutoIrisCtrlRoutine
00000f48 T Appro_DoPwmCtrl
000002d4 T Appro_EnergyCheck
000023a0 T Appro_GetAutoIrisStatus
00000234 T Appro_ModifyRange
000000f0 T Appro_PwmSetPeriod
00000000 T Appro_SetAutoIrisCalData
00001e40 T Appro_SetAutoIrisTargetMean
00000000 B BypassBreakFlag
000000dc T Print_info
000000a4 T SetFlag
000000a8 D gDelayTbl
00000000 D gPulseTbl
00000038 D gPulseTbl_B
00000070 D gPulseTbl_S
00000168 C gPwmCfg

Appro_DRVfnDevicePIC.o:
000006d4 T DRVfnPicCheckDevice
00000b8c T DRVfnPicCheckDeviceR
00000d0c T DRVfnPicCheckID
000003b4 T DRVfnPicGetID
00000a8c T DRVfnPicReset
00000004 D IsPicFirstIn
00000000 B PIC_SCL
00000004 B PIC_SDA
00001110 T ReadHWKey

Appro_Chip.o:
000003b4 T Appro_ChipCheckRoutine
00000018 C ChipCheck_lock
00000000 B gPicFlg
00000004 B gPicStatus
00000000 T mutexCreate
000000a0 T mutexDelete
000000cc T mutexLock
000000f8 T mutexUnlock

Appro_Dbg.o:
000001f4 T APPRO_DBG_Init
00000004 B APPRO_DBG_MASK
000001c8 T APPRO_DBG_STOP
00000070 T APPRO_DBG_TSK
00000000 B IsRun_APPRO_DBG
00000000 T _APPRO_DBG

Appro_Hue.o:
000003cc T huerotatemat
0000021c T xformpnt
00000000 T xrotatemat
00000088 T yrotatemat
00000110 T zrotatemat
00000198 T zshearmat


下面是TI 算法库中的文件

1、alg_awb_ti.a

[root@localhost lib]# nm -g --defined-only alg_awb_ti.a 

awb_ti.o:
00000000 D AWB_TI_AWB
0000002c D AWB_TI_IALG
00000000 T AWB_TI_alloc
00000064 T AWB_TI_control
00000250 T AWB_TI_free
000000b4 T AWB_TI_init
00000124 T AWB_TI_process

check_expiration.o:
00000000 T check_expiration

RGB2RGB_stab.o:
00000000 T RGB2RGB_stab
00000004 C awb_count
00000030 C history_index
00000004 C prev_RGB2RGBIndex

TI_aaa_awb_v2848debug_IPNC.o:
00000000 T TI_AWBInit
00000408 T TI_AWB_do
00000188 T TI_AWB_stab

2、alg_flicker_detect_ti.a

[root@localhost lib]# nm -g --defined-only alg_flicker_detect_ti.a 

flicker_corr.o:
00000000 D Sinewave
00000000 T flicker_alloc
00000764 T flicker_detect
00000254 T flicker_init


你可能感兴趣的:(c,linux,算法,windows,list,float)