summaryrefslogtreecommitdiffstats
path: root/libcamera/SecCamera.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcamera/SecCamera.h')
-rw-r--r--libcamera/SecCamera.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libcamera/SecCamera.h b/libcamera/SecCamera.h
index 9c3bf2d..8b9548d 100644
--- a/libcamera/SecCamera.h
+++ b/libcamera/SecCamera.h
@@ -2,6 +2,7 @@
**
** Copyright 2008, The Android Open Source Project
** Copyright 2010, Samsung Electronics Co. LTD
+** Copyright 2011, The CyanogenMod Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
@@ -81,8 +82,8 @@ namespace android {
#error "Please define the Camera module"
#endif
-#define S5K4ECGX_PREVIEW_WIDTH 720
-#define S5K4ECGX_PREVIEW_HEIGHT 480
+#define S5K4ECGX_PREVIEW_WIDTH 1280
+#define S5K4ECGX_PREVIEW_HEIGHT 720
#define S5K4ECGX_SNAPSHOT_WIDTH 2560
#define S5K4ECGX_SNAPSHOT_HEIGHT 1920
@@ -146,7 +147,7 @@ namespace android {
#define BPP 2
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
-#define MAX_BUFFERS 9 // 11
+#define MAX_BUFFERS 4
/*
* V 4 L 2 F I M C E X T E N S I O N S
*