camera 3 hal 不支持 soc

camera hal  change from libcamera2 camera3hal.

 631 void Aiq3AThread::messageThreadLoop()    

 654  {      case MESSAGE_ID_NEW_STAT:
 655             if (handleNewStat(msg.data.stats) != NO_ERROR)
 656                 LOGE("Error handling new stats");
 657             break;   
 670 }       


===============================

Aiq3AThread::handleNewStat 

----->

475         status = m3AControls->apply3AProcess(m3ASetting->get3ARunning( ),           ======>       Aiq3AThread.cpp
 476                     getFrameSyncForStatistics(&capture_timestamp), exp_id);

                             ------->

                                        1522     status |= run3aMain();         ======>       Aiq3A.cpp

                                         ------> 2446     ret |= runAeMain();    

                                                     ----------> mSensorCI->storeAutoExposure((i==0),        ======>      Aiq3A.cpp
                                                                      new_xxx->exposures[i].xxx_exposure->coarse_integration_time,
                                                                      new_xxx->exposures[i].xxx_exposure->fine_integration_time,
                                                                      new_xxx->exposures[i].xxx_exposure->analog_gain_code_global,
                                                                      new_xxx->exposures[i].xxx_exposure->digital_gain_global);

=====================

 822 int IPU2HwSensor::storeAutoExposure(bool clearOldValues,
 823                              unsigned short coarse_integration_time,
 824                              unsigned short fine_integration_time,
 825                              unsigned short analog_gain_global,
 826                              uint16_t digital_gain_global)
 827 {
 835     struct atomisp_exposure newAutoExposure;
 837
 838     newAutoExposure.integration_time[0] = coarse_integration_time;
 839     newAutoExposure.integration_time[1] = fine_integration_time;
 840     newAutoExposure.gain[0] = analog_gain_global;
 841     newAutoExposure.gain[1] = digital_gain_global;
 842
 843  mAutoExposure.push_back(newAutoExposure);                                                                                                                     
 844
 845     return NO_ERROR;
 846 }

=======================
 848 int IPU2HwSensor::applyExposure(unsigned int exp_id)
 849 {
 853     struct atomisp_exposure exposure;
 854
 857     exposure = mAutoExposure[0];
  907 }     





  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值