summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCameraHWInterface.h
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-02-24 02:37:42 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-02-24 02:37:42 -0800
commitcb301f250da295926b7b3ac64be564fb2f4f0ac0 (patch)
tree7fb5694c021d125dbdb755672f043e8388c4081f /libcamera/SecCameraHWInterface.h
parent609f668560e9d7f818d4bb32004546706c9c0860 (diff)
parent5efdae1f12dd66b9a93ce27953bab8b77927e3b7 (diff)
downloaddevice_samsung_crespo-cb301f250da295926b7b3ac64be564fb2f4f0ac0.zip
device_samsung_crespo-cb301f250da295926b7b3ac64be564fb2f4f0ac0.tar.gz
device_samsung_crespo-cb301f250da295926b7b3ac64be564fb2f4f0ac0.tar.bz2
am 5efdae1f: am fcba3707: Merge "libcamera: Add checking of preview sizes on setting parameters" into gingerbread
* commit '5efdae1f12dd66b9a93ce27953bab8b77927e3b7': libcamera: Add checking of preview sizes on setting parameters
Diffstat (limited to 'libcamera/SecCameraHWInterface.h')
-rw-r--r--libcamera/SecCameraHWInterface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcamera/SecCameraHWInterface.h b/libcamera/SecCameraHWInterface.h
index e309ae5..97c0a35 100644
--- a/libcamera/SecCameraHWInterface.h
+++ b/libcamera/SecCameraHWInterface.h
@@ -157,6 +157,8 @@ private:
int *pdwJPEGSize, void *pVideo,
int *pdwVideoSize);
void setSkipFrame(int frame);
+ bool isSupportedPreviewSize(const int width,
+ const int height) const;
/* used by auto focus thread to block until it's told to run */
mutable Mutex mFocusLock;
mutable Condition mFocusCondition;
@@ -206,6 +208,8 @@ private:
int mPostViewWidth;
int mPostViewHeight;
int mPostViewSize;
+
+ Vector<Size> mSupportedPreviewSizes;
};
}; // namespace android