diff options
author | Iliyan Malchev <malchev@google.com> | 2011-03-28 16:10:12 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2011-03-28 16:28:57 -0700 |
commit | 108dddf924d714c811dd565b8f4c7a0178cca2f2 (patch) | |
tree | 84d71d367dfb079a12738ca5f6c3edc4bd13aab1 /services/camera/libcameraservice/CameraService.h | |
parent | b1d3d37c7990d22d0659e4c8c9aac56d4c09b6ea (diff) | |
download | frameworks_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 'services/camera/libcameraservice/CameraService.h')
-rw-r--r-- | services/camera/libcameraservice/CameraService.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/services/camera/libcameraservice/CameraService.h b/services/camera/libcameraservice/CameraService.h index 1c43b00..28e8cc0 100644 --- a/services/camera/libcameraservice/CameraService.h +++ b/services/camera/libcameraservice/CameraService.h @@ -99,8 +99,6 @@ private: virtual status_t startPreview(); virtual void stopPreview(); virtual bool previewEnabled(); - virtual int32_t getNumberOfVideoBuffers() const; - virtual sp<IMemory> getVideoBuffer(int32_t index) const; virtual status_t storeMetaDataInBuffers(bool enabled); virtual status_t startRecording(); virtual void stopRecording(); @@ -152,7 +150,7 @@ private: // convert client from cookie static sp<Client> getClientFromCookie(void* user); // handlers for messages - void handleShutter(image_rect_type *size); + void handleShutter(void); void handlePreviewData(const sp<IMemory>& mem); void handlePostview(const sp<IMemory>& mem); void handleRawPicture(const sp<IMemory>& mem); |