微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 录像打开EIS后画面变的突然很暗

录像打开EIS后画面变的突然很暗

时间:10-02 整理:3721RD 点击:
[DESCRIPTION]
录像打开EIS后,画面变得很暗.
[SOLUTION]
[mt6735/53,MT6755,MT6732/52]
1. 没开EIS, recording是动态帧率.
2. 打开EIS后, recording是固定帧率为30fps.
帧率固定以后,画面会变暗.
解决办法:

  1. /vendor/mediatek/proprietary/custom/[platform]/hal/CAMERA/camera_custom_eis.cpp
  2. bool GetEisLinkWithDfr()
  3. {
  4. return true; // true : dynaMIC frame rate off when eis on; false : dynamic frame rate on when eis on
  5. }

复制代码

将return ture修改为false, 打开EIS后不会固定录像的帧率.
[MT6580]

  1. alps\vendor\mediatek\proprietary\platform\mt6580\hardware\mtkcam\v1\hal\adapter\mtkdefault\MtkDefaultCamParameter.cpp
  2. status_t CamAdapter::setParameters()
  3. {
  4. ...
  5. cam3aParam.u4ShotMode = mpParamsMgr->getShotMode();
  6. cam3aParam.u4CamMode = mpParamsMgr->getHalAppMode();
  7. cam3aParam.i4RotateDegree = mpParamsMgr->getInt(MtkCameraParameters::KEY_ROTATION);

复制代码

////////将下面这行////

  1. cam3aParam.bVideoStabilization = (mpParamsMgr->getVideoStabilization();

复制代码

/////////////////改成/////

  1. cam3aParam.bVideoStabilization = 0;

复制代码

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top