summaryrefslogtreecommitdiffstats
path: root/camera/inc
diff options
context:
space:
mode:
authorTyler Luu <tluu@ti.com>2012-06-21 11:26:44 -0500
committerDaniel Levin <dendy@ti.com>2012-11-26 20:06:57 +0200
commit8f5df432bc2159337cd595daa0609213a36e0a21 (patch)
tree4824ba8ef4e5b1a03359390b2b24377906a0bbbe /camera/inc
parentb189bb4e422ccb57c1a6465531ff39bafc985e16 (diff)
downloadhardware_ti_omap4-8f5df432bc2159337cd595daa0609213a36e0a21.zip
hardware_ti_omap4-8f5df432bc2159337cd595daa0609213a36e0a21.tar.gz
hardware_ti_omap4-8f5df432bc2159337cd595daa0609213a36e0a21.tar.bz2
CameraHal: Allocate buffers when source is set
- Allocate the buffers for a particular surface when it is set. This allows applications to set multiple surfaces before capturing or reprocessing, so they don't have to take the penalty of buffer allocation during. - Partialy revert change I0c1b8854. Depends on hardware/libhardware change I01831e05: http://review.omapzoom.org/#/c/28152/ Change-Id: I13aa2b19387e2a21f8ca08203b132154c14d481b Signed-off-by: Tyler Luu <tluu@ti.com> Signed-off-by: Vladimir Petrov <vppetrov@mm-sol.com>
Diffstat (limited to 'camera/inc')
-rw-r--r--camera/inc/CameraHal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/camera/inc/CameraHal.h b/camera/inc/CameraHal.h
index 19505aa..d750270 100644
--- a/camera/inc/CameraHal.h
+++ b/camera/inc/CameraHal.h
@@ -1313,8 +1313,7 @@ private:
/** Allocate image capture buffers */
status_t allocImageBufs(unsigned int width, unsigned int height, size_t length,
- const char* previewFormat, unsigned int bufferCount,
- unsigned int *max_queueable);
+ const char* previewFormat, unsigned int bufferCount);
/** Allocate Raw buffers */
status_t allocRawBufs(int width, int height, const char* previewFormat, int bufferCount);