summaryrefslogtreecommitdiffstats
path: root/include/camera/ICamera.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/camera/ICamera.h')
-rw-r--r--include/camera/ICamera.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/camera/ICamera.h b/include/camera/ICamera.h
index 6fcf9e5..e41e900 100644
--- a/include/camera/ICamera.h
+++ b/include/camera/ICamera.h
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2008 The Android Open Source Project
+ * Copyright (C) 2010, Code Aurora Forum. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -52,6 +53,9 @@ public:
// preview are handled.
virtual void setPreviewCallbackFlag(int flag) = 0;
+ // get the recording buffer information from HAL layer.
+ virtual status_t getBufferInfo(sp<IMemory>& Frame, size_t *alignedSize) = 0;
+
// start preview mode, must call setPreviewDisplay first
virtual status_t startPreview() = 0;