仅分析hal和kernel层代码
Hal:
A:\project\T19_MP\mtk6737_blf\alps\vendor\mediatek\proprietary\hardware\mtkcam\legacy\platform\mt6735m\core\featureio\drv\lens\mcu_drv.cpp
A:\project\T19_MP\mtk6737_blf\alps\vendor\mediatek\proprietary\hardware\mtkcam\legacy\platform\mt6735m\core\featureio\drv\lens\lens_drv.cpp
A:\project\T19_MP\mtk6737_blf\alps\vendor\mediatek\proprietary\hardware\mtkcam\legacy\platform\mt6735m\core\featureio\drv\lens\lens_drv.h
A:\project\T19_MP\mtk6737_blf\alps\vendor\mediatek\proprietary\custom\mt6735\hal\D2\lens\lens_para_DW9714AF.cpp 为例
A:\project\T19_MP\mtk6737_blf\alps\vendor\mediatek\proprietary\custom\mt6735\hal\D2\lens\lenslist.cpp
Kernel:
A:\project\T19_MP\mtk6737_blf\alps\kernel-3.18\drivers\misc\mediatek\lens\main(main2或sub)\main_lens.c
A:\project\T19_MP\mtk6737_blf\alps\kernel-3.18\drivers\misc\mediatek\lens\main(main2或sub)\common\dw9714af\DW9714AF.c为例
A:\project\T19_MP\mtk6737_blf\alps\kernel-3.18\drivers\misc\mediatek\lens\main(main2或sub)\inc\lens_info.h
A:\project\T19_MP\mtk6737_blf\alps\kernel-3.18\drivers\misc\mediatek\lens\main(main2或sub)\inc\lens_list.h
lens的调用流程与camera的流程几乎完全一致,差异在于lenslist.cpp中并不需要对应。
调用流程:
&nbs