[DESCRIPTION]
录像打开EIS后,画面变得很暗.
[SOLUTION]
[MT6735/53,MT6755,MT6732/52]
1. 没开EIS, recording是动态帧率.
2. 打开EIS后, recording是固定帧率为30fps.
帧率固定以后,画面会变暗.
解决办法:
/vendor/mediatek/proprietary/custom/[platform]/hal/camera/camera_custom_eis.cpp
bool GetEisLinkWithDfr()
{
return true; // true : dynamic frame rate off when eis on; false : dynamic frame rate on when eis on
}
将return ture修改为false, 打开EIS后不会固定录像的帧率.
[MT6580]
alps\vendor\mediatek\proprietary\platform\mt6580\hardware\mtkcam\v1\hal\adapter\mtkdefault\MtkDefaultCamParameter.cpp
status_t CamAdapter::setParameters()
{
…
cam3aParam.u4ShotMode = mpParamsMgr->getShotMode();
cam3aParam.u4CamMode = mpParamsMgr->getHalAppMode();
cam3aParam.i4RotateDegree = mpParamsMgr->getInt(MtkCameraParameters::KEY_ROTATION);
////////将下面这行////
cam3aParam.bVideoStabilization = (mpParamsMgr->getVideoStabilization();
/////////////////改成/////
cam3aParam.bVideoStabilization = 0;