diff options
| author | Eino-Ville Talvala <etalvala@google.com> | 2012-06-13 16:50:24 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-06-13 16:50:24 -0700 |
| commit | b59676547f6336f586ee736f4203ad9c477c76ea (patch) | |
| tree | efa3f88360776d6aa6b85418a48750d2943a7fb2 /include | |
| parent | 66086a586f80e394674eb171d683d0d9677e3abf (diff) | |
| parent | 0a052487f42507af7a0dc2c144f9d11eb98aecfe (diff) | |
| download | system_core-b59676547f6336f586ee736f4203ad9c477c76ea.tar.gz system_core-b59676547f6336f586ee736f4203ad9c477c76ea.tar.bz2 system_core-b59676547f6336f586ee736f4203ad9c477c76ea.zip | |
Merge "Add HAL_PIXEL_FORMAT_BLOB"
Diffstat (limited to 'include')
| -rw-r--r-- | include/system/graphics.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/system/graphics.h b/include/system/graphics.h index 24e2bfb2..e0ad257f 100644 --- a/include/system/graphics.h +++ b/include/system/graphics.h @@ -109,6 +109,21 @@ enum { */ HAL_PIXEL_FORMAT_RAW_SENSOR = 0x20, + /* + * Android binary blob graphics buffer format: + * + * This format is used to carry task-specific data which does not have a + * standard image structure. The details of the format are left to the two + * endpoints. + * + * A typical use case is for transporting JPEG-compressed images from the + * Camera HAL to the framework or to applications. + * + * Buffers of this format must have a height of 1, and width equal to their + * size in bytes. + */ + HAL_PIXEL_FORMAT_BLOB = 0x21, + /* Legacy formats (deprecated), used by ImageFormat.java */ HAL_PIXEL_FORMAT_YCbCr_422_SP = 0x10, // NV16 HAL_PIXEL_FORMAT_YCrCb_420_SP = 0x11, // NV21 |
