projects
/
GitHub
/
LineageOS
/
android_hardware_samsung_slsi_exynos5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c853be7
)
Reduce the number of advertised buffers needed from producer (hal) end
author
James Dong
<jdong@google.com>
Fri, 24 Aug 2012 21:42:26 +0000
(14:42 -0700)
committer
James Dong
<jdong@google.com>
Fri, 24 Aug 2012 21:45:07 +0000
(14:45 -0700)
o related-to-bug:
7046065
Change-Id: I4fd2dcaaff1a2d89d004f9f7033256b8cef456c1
libcamera2/ExynosCameraHWInterface2.cpp
patch
|
blob
|
blame
|
history
diff --git
a/libcamera2/ExynosCameraHWInterface2.cpp
b/libcamera2/ExynosCameraHWInterface2.cpp
index 9437a73f8890a8fc5948c40aa8b9df418b67221a..07e1de2c9928f428a1586b324ee428e544cdf62d 100644
(file)
--- a/
libcamera2/ExynosCameraHWInterface2.cpp
+++ b/
libcamera2/ExynosCameraHWInterface2.cpp
@@
-1342,7
+1342,7
@@
int ExynosCameraHWInterface2::allocateStream(uint32_t width, uint32_t height, in
*format_actual = HAL_PIXEL_FORMAT_YCbCr_420_SP; // NV12M
*usage = GRALLOC_USAGE_SW_WRITE_OFTEN;
- *max_buffers =
10
;
+ *max_buffers =
6
;
recordParameters.outputWidth = width;
recordParameters.outputHeight = height;