feature2-ExecuteProcessRequest哪里调用

本文详细追踪了在CamX系统中,ExecuteProcessRequest函数从HALDevice层开始,经过Chi接口扩展,最终在高级功能启用时由Feature2Wrapper处理的调用过程。
摘要由CSDN通过智能技术生成

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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值