1 ExecuteProcessRequest哪里调用
camx调用到chi中,然后从chi_override_process_request() 一路调用下来,如果AdvancedFeatureEnabled()使能了,最后执行Feature2Wrapper::ExecuteProcessRequest()
HALDevice::ProcessCaptureRequest() @camxhaldevice.cpp
GetCHIAppCallbacks()->chi_override_process_request(reinterpret_cast<const camera3_device*>(&m_camera3Device),
reinterpret_cast<camera3_capture_request_t*>(pRequest), NULL);
chi_override_process_request() @chxextensioninterface.cpp
ExtensionModule* pExtensionModule = ExtensionModule::GetInstance();
return pExtensionModule->OverrideProcessRequest(camera3_device, capture_request, priv);
ExtensionModule::OverrideProcessRequest(camera3_device,pCaptureRequest,VOID* pPriv) @chxextensionmodule.cpp
logicalCameraId = GetCameraIdfromDevice(camera3_device);
m_pSelectedUsecase[logicalCameraId]->ProcessCaptureRequest(pCaptureRequest);
Usecase::ProcessCaptureRequest(camera3_capture_request_t* pRequest) @chxusecase.cpp
ExecuteCaptureRequest(pRequest);
AdvancedCameraUsecase::ExecuteCaptureRequest(camera3_capture_request_t* pRequest) @chxadvancedcamerausecase.cpp
pFeature->ExecuteProcessRequest(pRequest);//如果AdvancedFeatureEnabled()返回true
Feature2Wrapper::ExecuteProcessRequest(camera3_capture_request_t* pRequest) @chifeature2wrapper.cpp