diff options
author | Tyler Luu <tluu@ti.com> | 2012-06-01 19:04:53 -0500 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-10-10 18:55:50 +0300 |
commit | f25f76de80ce7ff4f942d53867277815ef767f21 (patch) | |
tree | c0857def9d5801f16d8ce9f38e4b509ad4d9fa5d /camera/OMXCameraAdapter/OMXCameraAdapter.cpp | |
parent | 5a1fc91d12042c7ccd09008cb264b40c89634230 (diff) | |
download | hardware_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