OSDN Git Service
(root)
/
android-x86
/
hardware-libhardware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f86dbb
)
Add RAW_SENSOR to gralloc sample
author
Eino-Ville Talvala
<etalvala@google.com>
Fri, 13 Apr 2012 17:08:47 +0000
(10:08 -0700)
committer
Eino-Ville Talvala
<etalvala@google.com>
Mon, 7 May 2012 18:01:17 +0000
(11:01 -0700)
Change-Id: I0621bd70896385c3d522d283a1be714f5f29df3b
modules/gralloc/gralloc.cpp
patch
|
blob
|
history
diff --git
a/modules/gralloc/gralloc.cpp
b/modules/gralloc/gralloc.cpp
index
a6b4edd
..
99aeb01
100644
(file)
--- a/
modules/gralloc/gralloc.cpp
+++ b/
modules/gralloc/gralloc.cpp
@@
-219,6
+219,7
@@
static int gralloc_alloc(alloc_device_t* dev,
case HAL_PIXEL_FORMAT_RGB_565:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
+ case HAL_PIXEL_FORMAT_RAW_SENSOR:
bpp = 2;
break;
default: