diff options
author | hoony.yu <hoony.yu@samsung.com> | 2010-09-07 23:56:11 -0700 |
---|---|---|
committer | Maarten Hooft <mthooft@google.com> | 2010-09-14 22:09:54 -0700 |
commit | f5bc9d8908c7612b8240a46fba560a1ecf05f2ae (patch) | |
tree | 9bf3ba9d55c0398b6014703874024d34806b50d5 /libcamera/SecCameraHWInterface.h | |
parent | 17fee1bcd52aac003ef69816ba61992680bd3035 (diff) | |
download | device_samsung_crespo-f5bc9d8908c7612b8240a46fba560a1ecf05f2ae.zip device_samsung_crespo-f5bc9d8908c7612b8240a46fba560a1ecf05f2ae.tar.gz device_samsung_crespo-f5bc9d8908c7612b8240a46fba560a1ecf05f2ae.tar.bz2 |
S5PC11X: OVERLAY: Added overlay feature.
- add liboverlay source.
- add overlay option in BoardConfig.mk
- add overlay renderer on libcamera
- change the mode of video0,2
Change-Id: Icd392a80c0baa7b6e608a9b0cf57abfd74ae9f01
Diffstat (limited to 'libcamera/SecCameraHWInterface.h')
-rw-r--r-- | libcamera/SecCameraHWInterface.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h index 9e4fb79..4cf446c 100644 --- a/libcamera/SecCameraHWInterface.h +++ b/libcamera/SecCameraHWInterface.h @@ -42,6 +42,10 @@ public: virtual bool msgTypeEnabled(int32_t msgType); virtual status_t startPreview(); +#if defined(BOARD_USES_OVERLAY) + virtual bool useOverlay(); + virtual status_t setOverlay(const sp<Overlay> &overlay); +#endif virtual void stopPreview(); virtual bool previewEnabled(); @@ -175,6 +179,10 @@ private: int mRawFrameSize; int mPreviewFrameRateMicrosec; +#if defined(BOARD_USES_OVERLAY) + sp<Overlay> mOverlay; + bool mUseOverlay; +#endif // protected by mLock sp<PreviewThread> mPreviewThread; |