NCS 概念
NCS: Non-Camera Service
- camxsettings.xml
CamX Hardware Independent Settings Definition File
<setting>
<Name>Enable NCS service as part of the pipeline</Name>
<Help>Enables/Disable NCS service</Help>
<VariableName>enableNCSService</VariableName>
<VariableType>BOOL</VariableType>
<SetpropKey>persist.vendor.camera.enableNCSService</SetpropKey>
<DefaultValue>TRUE</DefaultValue>
<Dynamic>FALSE</Dynamic>
</setting>
关于NCS的流程介绍
. If NCS is enabled, camera chiEntry will via chiOpenContext to create NCS Singleton object when the device boot up. If the service created succeed, then it will initial NCS service object and add NCS Service object to HWEnvironment. NCS service object will be got from HwEnvironment during CamX creates pipelines, NCS service will be registered according to sensor type. Such as establish link with Gyro for Camera CAF, CAE FD etc.
总结
知识点 慢慢积累