mtk6572平台camera video 报错问题

来源:互联网 发布:旋转矩阵计算器 编辑:程序博客网 时间:2024/05/22 06:11

“很抱歉,图库停止运行”,android jerry bean 的版本把camera 合到了gallery2里面后,这个问题就常有发生,个人觉得不是什么好事。

出现这个问题之前,就有好几个同事出现,每个人的情况都不一样,后来到我了,是由于FindFullScreenRatio返回的屏幕的比例的问题,修改后就好,但是进入录像又还是有这个

打log发现是内存方面的问题。

log如下:

01-01 00:18:03.041: E/ImgSensorDrv(140): [setScenario]Err(  595):[setScenario]: Sensor clock too slow = 52 1248

01-01 00:18:03.041: E/SensorHal(140): [setConf]Err(  536):SENSOR_DEV_MAIN  SetConf crop width or height incorrect, srcW =0, srcH =0, cropW =0, cropH = 0 

01-01 00:18:03.041: E/iio/camio(140): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!
01-01 00:18:03.041: E/iio/camio(140): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!
01-01 00:18:03.041: E/iio/camio(140): iio/camio[mediatek/platform/mt6572/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, sendCommand, line0731] ERROR: CamIOPipe sendCommand NOT SUPPORT!

01-01 00:18:03.067: E/ion(140): ioctl c0144900 failed with code -1: Invalid argument
01-01 00:18:03.067: E/Drv/IMem(140): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocVirtBuf, line0324] ERROR: ion_alloc_mm fail

01-01 00:18:03.107: E/Drv/IMem(140): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocM4UMemory, line0704] ERROR: m4u_alloc_mva fail:[4]

01-01 00:18:03.210: E/ion(140): ioctl c0144900 failed with code -1: Invalid argument
01-01 00:18:03.210: E/Drv/IMem(140): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocVirtBuf, line0324] ERROR: ion_alloc_mm fail
01-01 00:18:03.210: E/MtkCam/HwBuffhandler(140): (2776)[virtual void HwBuffer::createBuffer()] mpIMemDrv->allocVirtBuf() error (virtual void HwBuffer::createBuffer()){#53:mediatek/platform/mt6572/hardware/camera/core/hwscenario/HwBuffHandler.cpp}


01-01 00:18:03.248: I/M4U_L(140):  ioctl MTK_M4U_T_ALLOC_MVA fail! 14, Bad address 
01-01 00:18:03.248: E/Drv/IMem(140): Drv/IMem[mediatek/platform/mt6572/hardware/camera/core/drv/imem/imem_drv.cpp, allocM4UMemory, line0704] ERROR: m4u_alloc_mva fail:[4]
0

只贴了错误的log。但是不知道修改哪里??研究中。



原创粉丝点击