summaryrefslogtreecommitdiffstats
path: root/camera/OMXCameraAdapter/OMXCameraAdapter.cpp
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2012-06-01 19:04:53 -0500
committerDaniel Levin <dendy@ti.com>2012-10-10 18:55:50 +0300
commitf25f76de80ce7ff4f942d53867277815ef767f21 (patch)
treec0857def9d5801f16d8ce9f38e4b509ad4d9fa5d /camera/OMXCameraAdapter/OMXCameraAdapter.cpp
parent5a1fc91d12042c7ccd09008cb264b40c89634230 (diff)
downloadhardware_ti_omap4-f25f76de80ce7ff4f942d53867277815ef767f21.zip
hardware_ti_omap4-f25f76de80ce7ff4f942d53867277815ef767f21.tar.gz
hardware_ti_omap4-f25f76de80ce7ff4f942d53867277815ef767f21.tar.bz2
camera: bsa: Calculate height for allocation
For allocating buffer list, calculate the height from stride, size, and format instead of using the passed height value. Image buffers were originally allocated from just size parameter when we were using MemoryManager. Now, ANW just uses width, height, and format. Change-Id: I1c743798426ea1e529e7c9ff6f09530e07bc1b86 Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Diffstat (limited to 'camera/OMXCameraAdapter/OMXCameraAdapter.cpp')
0 files changed, 0 insertions, 0 deletions