Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
3.6.3
-
None
-
Samsung Galaxy Tab 3, Android 4.4.2
Description
The problem is reproduced using the following code:
camera.getPicture(onSuccess, onFail, {
quality: 25,
encodingType: Camera.EncodingType.JPEG,
targetWidth: 768,
targetHeight: 1024,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: Camera.PictureSourceType.CAMERA,
saveToPhotoAlbum: true
});
When user is trying to zoom-in then app is crashed. If reduce quality to 10, it is crashed when tapping on Take Photo button.
Here is a snippet from error log:
E/MrvlCameraEngine(15185): Error: Faild to allocate buffer[12582976] with error[-2] ( vendor/marvell/generic/cameraengine/samsung/src/cameraengine/ansi_c/general/cam_osal.c, CAM_MVMalloc, 386 )
E/MrvlCameraEngine(15185): Error: Faild to allocate buffer[12582976] with error[-22] ( vendor/marvell/generic/cameraengine/samsung/src/cameraengine/ansi_c/general/cam_osal.c, CAM_MVMalloc, 421 )
E/MrvlCameraEngine(15185): Error: no enough memory[12582976] afford image post processing( vendor/marvell/generic/cameraengine/samsung/src/cameraengine/ansi_c/ppu/cam_ppu_gcu.c, _gcu_yuv_rszrot_roi, 956 )!
E/MrvlCameraEngine(15185): Error Code: CAM_ERROR_OUTOFMEMORY, vendor/marvell/generic/cameraengine/samsung/src/cameraengine/ansi_c/general/cam_ppu_wrapper.c - 928
The same code throws no errors on Asus Transformer Pad, Asus MemoPad HD 7 or any other devices available to me.