diff options
Diffstat (limited to 'camera/libcameraservice/CameraHardwareStub.h')
-rw-r--r-- | camera/libcameraservice/CameraHardwareStub.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/camera/libcameraservice/CameraHardwareStub.h b/camera/libcameraservice/CameraHardwareStub.h index cdd6011..0d26d47 100644 --- a/camera/libcameraservice/CameraHardwareStub.h +++ b/camera/libcameraservice/CameraHardwareStub.h @@ -30,6 +30,7 @@ namespace android { class CameraHardwareStub : public CameraHardwareInterface { public: virtual sp<IMemoryHeap> getPreviewHeap() const; + virtual sp<IMemoryHeap> getRawHeap() const; virtual status_t startPreview(preview_callback cb, void* user); virtual void stopPreview(); @@ -93,7 +94,8 @@ private: CameraParameters mParameters; - sp<MemoryHeapBase> mHeap; + sp<MemoryHeapBase> mPreviewHeap; + sp<MemoryHeapBase> mRawHeap; sp<MemoryBase> mBuffers[kBufferCount]; FakeCamera *mFakeCamera; |