From e2ad6734eccc4b9ea7857c747ff9469a9c11ba09 Mon Sep 17 00:00:00 2001 From: James Dong Date: Mon, 18 Oct 2010 20:42:51 -0700 Subject: Camera framework change required for 0-memcpy recording bug - 3042125 Change-Id: I46eb7a10b5394086b353fd73e4503beceeed76f1 --- include/camera/Camera.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/camera/Camera.h') diff --git a/include/camera/Camera.h b/include/camera/Camera.h index f7b3b42..171a3b6 100644 --- a/include/camera/Camera.h +++ b/include/camera/Camera.h @@ -200,6 +200,15 @@ public: // send command to camera driver status_t sendCommand(int32_t cmd, int32_t arg1, int32_t arg2); + // return the total number of available video buffers. + int32_t getNumberOfVideoBuffers() const; + + // return the individual video buffer corresponding to the given index. + sp getVideoBuffer(int32_t index) const; + + // tell camera hal to store meta data or real YUV in video buffers. + status_t storeMetaDataInBuffers(bool enabled); + void setListener(const sp& listener); void setPreviewCallbackFlags(int preview_callback_flag); -- cgit v1.1