摄像头开启之后出现不定时的顿卡,logcat输出的日志
08-15 17:26:43.990 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 1
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:43.990 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 1
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.007 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 1
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.023 214 3951 E CameraHal_Marvin:
08-15 17:26:44.029 214 3952 E CameraHal_Marvin: CAMERIC-MI-IRQ: CamerIcMiIrq: MP buffer skipped (reused),pDrvCtx->invalFrame === 1,g_miFrameNum == 1;numFramesToSkip == 1
08-15 17:26:44.074 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 2
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.074 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 2
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.090 214 3951 E CameraHal_Marvin:
08-15 17:26:44.095 214 3952 E CameraHal_Marvin: CAMERIC-MI-IRQ: CamerIcMiIrq: MP buffer skipped (reused),pDrvCtx->invalFrame === 2,g_miFrameNum == 2;numFramesToSkip == 0
08-15 17:26:44.107 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 3
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.107 214 3951 E CameraHal_Marvin:
08-15 17:26:44.162 214 3952 E CameraHal_Marvin: CAMERIC-MI-IRQ: CamerIcMiIrq: MP buffer skipped (reused),pDrvCtx->invalFrame === 3,g_miFrameNum == 3;numFramesToSkip == 0
08-15 17:26:44.174 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 4
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.174 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin: CAMERIC-ISP-IRQ:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin:
08-15 17:26:44.190 214 3951 E CameraHal_Marvin: CamerIcIspIrq: data loss first,g_ispFrameNum == 4
硬件改动 更换了2G内存条,在更换之前是 512M, 更换之后出现顿卡,
修改位置1:camsys_marvin.c:下
static int camsys_mrv_clkin_cb(void *ptr, unsigned int on) {
camsys_dev_t camsys_dev = (camsys_dev_t)ptr;
camsys_mrv_clk_t clk = (camsys_mrv_clk_t)camsys_dev->clk;
unsigned long isp_clk;
if (on == 1) {
isp_clk = 210000000;
} else {
isp_clk = 420000000; //改成600000000
}
位置2:
dts中找到clk_ddr_dvfs_table
freq-table = <
...
SYS_STATUS_ISP 533000//改为ddr所支持的最大频率
原作者:yi_tianchou
|