summaryrefslogtreecommitdiffstats
path: root/camera/Camera.cpp
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-03-28 16:10:12 -0700
committerIliyan Malchev <malchev@google.com>2011-03-28 16:28:57 -0700
commit108dddf924d714c811dd565b8f4c7a0178cca2f2 (patch)
tree84d71d367dfb079a12738ca5f6c3edc4bd13aab1 /camera/Camera.cpp
parentb1d3d37c7990d22d0659e4c8c9aac56d4c09b6ea (diff)
downloadframeworks_av-108dddf924d714c811dd565b8f4c7a0178cca2f2.zip
frameworks_av-108dddf924d714c811dd565b8f4c7a0178cca2f2.tar.gz
frameworks_av-108dddf924d714c811dd565b8f4c7a0178cca2f2.tar.bz2
frameworks/base: some camera-interface cleanup
Methods getNumberOfVideoBuffers() and getVideoBuffer() as well as struct image_rect_struct are no longer used (instead, the necessary information is passed through ANativeWindow.) Change-Id: If4b11446fc9ccbde1f6b45bc70c0d0b8e54376eb Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'camera/Camera.cpp')
-rw-r--r--camera/Camera.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/camera/Camera.cpp b/camera/Camera.cpp
index e288312..5eb48da 100644
--- a/camera/Camera.cpp
+++ b/camera/Camera.cpp
@@ -205,22 +205,6 @@ status_t Camera::startPreview()
return c->startPreview();
}
-int32_t Camera::getNumberOfVideoBuffers() const
-{
- LOGV("getNumberOfVideoBuffers");
- sp <ICamera> c = mCamera;
- if (c == 0) return 0;
- return c->getNumberOfVideoBuffers();
-}
-
-sp<IMemory> Camera::getVideoBuffer(int32_t index) const
-{
- LOGV("getVideoBuffer: %d", index);
- sp <ICamera> c = mCamera;
- if (c == 0) return 0;
- return c->getVideoBuffer(index);
-}
-
status_t Camera::storeMetaDataInBuffers(bool enabled)
{
LOGV("storeMetaDataInBuffers: %s",