- 27 Jan, 2017 1 commit
-
-
Mark Stevens authored
-
- 14 Jul, 2015 1 commit
-
-
Yin-Chia Yeh authored
Require gralloc accept flexible YUV when SW READ/WRITE usage is set. Also decouple flexible YUV from camera usage flag. Bug: 22379456 Change-Id: I5a82a8360b08036c31dc03cd639d449ba1e3ed01
-
- 26 May, 2015 1 commit
-
-
Eino-Ville Talvala authored
Supplement the dense and sparse depth image formats with confidence values. For {HAL_PIXEL_FORMAT_Y_16, HAL_DATASPACE_DEPTH}, use the 3 MSBs for confidence. For {HAL_PIXEL_FORMAT_BLOB, HAL_DATASPACE_DEPTH}, add a 4th float value for confidence. Bug: 20123879 Change-Id: Idc27081efec682a712ce77ccfec59328f298b944
-
- 24 Apr, 2015 1 commit
-
-
Lajos Molnar authored
These are used by Image when MediaCodec produces a non-surface higher-resolution YUV image, or codec-specific ordered RGB/A image Change-Id: Ie5cd8236586b375cbc707d45584bd35415c274fc
-
- 06 Apr, 2015 2 commits
-
-
Eino-Ville Talvala authored
First stage of adding a new dataSpace field for ANativeWindow, for communicating format- (and endpoint-) dependent information about graphics buffers. For most formats, dataSpace describes the color space of the buffer, while format describes the memory layout. For some formats, the dataSpace may also specify that the buffer contains depth measurements, encoded images, or other kinds of information that is not necessarily a simple 2D image. Rename the existing colorspace enumeration to dataspace, with an added dataspace for depth, and sRGB gamma-corrected and linear colorspaces. Add in a definition for Android depth point clouds as a variable-length list of float-triplet coordinates, as the underlying layout of buffers with format HAL_PIXEL_FORMAT_BLOB and dataSpace of HAL_DATASPACE_DEPTH. Also remove now-unnecessary sRGB HAL graphics formats, and remove the alias RAW_SENSOR that was left in to ease transition to RAW16. Cherry pick of I8797f67fb9c2b18da5975f2145303ca0bf98e62d with the following diff to maintain source compatibility: @@ -58,6 +58,11 @@ enum { HAL_PIXEL_FORMAT_RGB_565 = 4, HAL_PIXEL_FORMAT_BGRA_8888 = 5, + // Deprecated sRGB formats for source code compatibility + // Not for use in new code + HAL_PIXEL_FORMAT_sRGB_A_8888 = 0xC, + HAL_PIXEL_FORMAT_sRGB_X_8888 = 0xD, + /* * 0x100 - 0x1FF * @@ -189,6 +194,9 @@ enum { */ HAL_PIXEL_FORMAT_RAW16 = 0x20, + // Temporary alias for source code compatibility; do not use in new code + HAL_PIXEL_FORMAT_RAW_SENSOR = HAL_PIXEL_FORMAT_RAW16, + /* * Android RAW10 format: * Change-Id: I5c5ba98b297436f950e06a181eb0ff955747680f (cherry picked from commit b93343d1) (cherry picked from commit b2edfa51)
-
Eino-Ville Talvala authored
First stage of adding a new dataSpace field for ANativeWindow, for communicating format- (and endpoint-) dependent information about graphics buffers. For most formats, dataSpace describes the color space of the buffer, while format describes the memory layout. For some formats, the dataSpace may also specify that the buffer contains depth measurements, encoded images, or other kinds of information that is not necessarily a simple 2D image. Rename the existing colorspace enumeration to dataspace, with an added dataspace for depth, and sRGB gamma-corrected and linear colorspaces. Add in a definition for Android depth point clouds as a variable-length list of float-triplet coordinates, as the underlying layout of buffers with format HAL_PIXEL_FORMAT_BLOB and dataSpace of HAL_DATASPACE_DEPTH. Also remove now-unnecessary sRGB HAL graphics formats, and remove the alias RAW_SENSOR that was left in to ease transition to RAW16. Cherry pick of I8797f67fb9c2b18da5975f2145303ca0bf98e62d with the following diff to maintain source compatibility: @@ -58,6 +58,11 @@ enum { HAL_PIXEL_FORMAT_RGB_565 = 4, HAL_PIXEL_FORMAT_BGRA_8888 = 5, + // Deprecated sRGB formats for source code compatibility + // Not for use in new code + HAL_PIXEL_FORMAT_sRGB_A_8888 = 0xC, + HAL_PIXEL_FORMAT_sRGB_X_8888 = 0xD, + /* * 0x100 - 0x1FF * @@ -189,6 +194,9 @@ enum { */ HAL_PIXEL_FORMAT_RAW16 = 0x20, + // Temporary alias for source code compatibility; do not use in new code + HAL_PIXEL_FORMAT_RAW_SENSOR = HAL_PIXEL_FORMAT_RAW16, + /* * Android RAW10 format: * Change-Id: I5c5ba98b297436f950e06a181eb0ff955747680f (cherry picked from commit b93343d1)
-
- 30 Mar, 2015 1 commit
-
-
Yin-Chia Yeh authored
Change-Id: I1c528ecf62746aa96d6e132eaa874015d9d7c446
-
- 24 Mar, 2015 1 commit
-
-
Eino-Ville Talvala authored
First stage of adding a new dataSpace field for ANativeWindow, for communicating format- (and endpoint-) dependent information about graphics buffers. For most formats, dataSpace describes the color space of the buffer, while format describes the memory layout. For some formats, the dataSpace may also specify that the buffer contains depth measurements, encoded images, or other kinds of information that is not necessarily a simple 2D image. Rename the existing colorspace enumeration to dataspace, with an added dataspace for depth, and sRGB gamma-corrected and linear colorspaces. Add in a definition for Android depth point clouds as a variable-length list of float-triplet coordinates, as the underlying layout of buffers with format HAL_PIXEL_FORMAT_BLOB and dataSpace of HAL_DATASPACE_DEPTH. Also remove now-unnecessary sRGB HAL graphics formats, and remove the alias RAW_SENSOR that was left in to ease transition to RAW16. Change-Id: I8797f67fb9c2b18da5975f2145303ca0bf98e62d
-
- 19 Mar, 2015 1 commit
-
-
Eino-Ville Talvala authored
First stage of adding a new dataSpace field for ANativeWindow, for communicating format- (and endpoint-) dependent information about graphics buffers. For most formats, dataSpace describes the color space of the buffer, while format describes the memory layout. For some formats, the dataSpace may also specify that the buffer contains depth measurements, encoded images, or other kinds of information that is not necessarily a simple 2D image. Rename the existing colorspace enumeration to dataspace, with an added dataspace for depth, and sRGB gamma-corrected and linear colorspaces. Add in a definition for Android depth point clouds as a variable-length list of float-triplet coordinates, as the underlying layout of buffers with format HAL_PIXEL_FORMAT_BLOB and dataSpace of HAL_DATASPACE_DEPTH. Also remove now-unnecessary sRGB HAL graphics formats, and remove the alias RAW_SENSOR that was left in to ease transition to RAW16. Cherry pick of I8797f67fb9c2b18da5975f2145303ca0bf98e62d with the following diff to maintain source compatibility: @@ -58,6 +58,11 @@ enum { HAL_PIXEL_FORMAT_RGB_565 = 4, HAL_PIXEL_FORMAT_BGRA_8888 = 5, + // Deprecated sRGB formats for source code compatibility + // Not for use in new code + HAL_PIXEL_FORMAT_sRGB_A_8888 = 0xC, + HAL_PIXEL_FORMAT_sRGB_X_8888 = 0xD, + /* * 0x100 - 0x1FF * @@ -189,6 +194,9 @@ enum { */ HAL_PIXEL_FORMAT_RAW16 = 0x20, + // Temporary alias for source code compatibility; do not use in new code + HAL_PIXEL_FORMAT_RAW_SENSOR = HAL_PIXEL_FORMAT_RAW16, + /* * Android RAW10 format: * Change-Id: I5c5ba98b297436f950e06a181eb0ff955747680f
-
- 04 Mar, 2015 1 commit
-
-
Eino-Ville Talvala authored
First stage of adding a new dataSpace field for ANativeWindow, for communicating format- (and endpoint-) dependent information about graphics buffers. For most formats, dataSpace describes the color space of the buffer, while format describes the memory layout. For some formats, the dataSpace may also specify that the buffer contains depth measurements, encoded images, or other kinds of information that is not necessarily a simple 2D image. Rename the existing colorspace enumeration to dataspace, with an added dataspace for depth, and sRGB gamma-corrected and linear colorspaces. Add in a definition for Android depth point clouds as a variable-length list of float-triplet coordinates, as the underlying layout of buffers with format HAL_PIXEL_FORMAT_BLOB and dataSpace of HAL_DATASPACE_DEPTH. Also remove now-unnecessary sRGB HAL graphics formats, and remove the alias RAW_SENSOR that was left in to ease transition to RAW16. Change-Id: I8797f67fb9c2b18da5975f2145303ca0bf98e62d
-
- 25 Jul, 2014 1 commit
-
-
Zhijun He authored
Change-Id: Ied1f42bb977212d9e5f3b2b2b3caa9c8c2caac5d
-
- 25 Jun, 2014 1 commit
-
-
Zhijun He authored
Change-Id: Ib1b74b1664159190e417f2e68a5a13493d04adfc
-
- 19 Feb, 2014 1 commit
-
-
Alex Ray authored
Change-Id: I54230dc2c0e481228457e8a01a50d300c917e657
-
- 06 Feb, 2014 1 commit
-
-
Ruben Brunk authored
Change-Id: I7abf0e63a0f74ede46e0fe4dd1285283355624b1
-
- 18 Sep, 2013 1 commit
-
-
Mathias Agopian authored
Bug: 10804238 Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
-
- 16 Aug, 2013 1 commit
-
-
Jesse Hall authored
Bug: 10357459 Change-Id: I23a3eca77acd8b4b40b1a67e7c050a7245b1821a
-
- 26 Jul, 2013 2 commits
-
-
Mathias Agopian authored
Change-Id: I047d948f2f3b5c681a0b187589775f92b4f01541
-
Mathias Agopian authored
Change-Id: I1d5f9dd14a6485dd3a29fb5960edfa79aa86da42
-
- 09 Apr, 2013 1 commit
-
-
Alex Ray authored
Change-Id: I3f6676873febc793f7a4a5e06892cd9fadb35665
-
- 11 Feb, 2013 1 commit
-
-
Igor Murashkin authored
Change-Id: Ic80f6c4be7df9d9729334b97bb662eb2d0456c33
-
- 08 Feb, 2013 1 commit
-
-
Igor Murashkin authored
Change-Id: I0cb3786d91f442b5f3b665dd78bf5f0dd4ae4cf0
-
- 22 Aug, 2012 1 commit
-
-
Jamie Gennis authored
This change adds a new HAL pixel format that indicates that the specific format is to be chosen by the gralloc implementation. Change-Id: I326b5ec7347a20863b42119431ef1e4d22480fec
-
- 13 Jun, 2012 1 commit
-
-
Eino-Ville Talvala authored
This format describes buffers that are not structured like normal image data, and can only be meaningfully understood by the endpoints. As an example, this format is used for transporting JPEG-compressed image buffers from the Camera HAL to the framework/apps. Buffers of this format must have a height of 1 and a width equal to their size in bytes. Otherwise their interpretation is up to the two endpoints. Bug: 6243944 Change-Id: Ia81015694cbf3a89e29bfbf3624c3ea2ef4f66fd
-
- 30 Apr, 2012 1 commit
-
-
Jamie Gennis authored
This change makes it clearer how to derive the stride of the Cr and Cb plane from the stride of the Y plane for the YV12 pixel format. Change-Id: I54a9a20f35224bd583e25c615014cc8d830a1dd0
-
- 24 Apr, 2012 1 commit
-
-
Jean-Baptiste Queru authored
Change-Id: I51a5eb98fb3fa3e09f2eb75de128068572081046
-
- 13 Apr, 2012 1 commit
-
-
Eino-Ville Talvala authored
This format is exposed outside of the HAL to applications. RAW_SENSOR is a single-channel 16-bit format, typically representing raw Bayer-pattern images from an image sensor, with minimal processing. The exact pixel layout of the data in the buffer is sensor-dependent, and needs to be queried from the camera device. Generally, not all 16 bits are used; more common values are 10 or 12 bits. All parameters to interpret the raw data (black and white points, color space, etc) must be queried from the camera device. This format assumes - an even width - an even height - a horizontal stride multiple of 16 pixels (32 bytes). Change-Id: I67fc72d1c2c899e258fcd53b3ab91b459e9210f0
-
- 12 Aug, 2011 3 commits
-
-
Mathias Agopian authored
Change-Id: I2b96cf7d046b694b232f0699257e4e0608fda660
-
Mathias Agopian authored
Change-Id: I994cccf01bcafedc9ea11648eafc20300c58878b
-
Mathias Agopian authored
missing cdefs.h include Change-Id: Ic7dfdfe74976a459f166a7576b077965cd1fda6a
-
- 10 Aug, 2011 1 commit
-
-
Mathias Agopian authored
this is needed if a display/gpu driver needs to create service threads that can block the main ui thread. to avoid priority inversions, these must run at HAL_PRIORITY_URGENT_DISPLAY Change-Id: I3af592e05a6d1b6f39a2b7885a7c842e54abfce2
-
- 18 May, 2011 1 commit
-
-
Jamie Gennis authored
Change-Id: Ia6471a1c005cdc13833e6b0444e758add5a990e0
-
- 03 May, 2011 1 commit
-
-
Iliyan Malchev authored
This patch moves camera- and graphics-related definitions out of the hardware HAL layer and into system/core. These definitions are used both by the HAL and by higher-level code as well. More functionality (e.g., audio definitions) will be moved here as well. Change-Id: I225f12374ce54fa393640dce53738267d0d703e9 Signed-off-by:
Iliyan Malchev <malchev@google.com>
-