History log of /system/core/include/system/graphics.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f7c1c5de62c7bbc9932488ef7b87786975a282a 24-Mar-2016 Dan Stoza <stoza@google.com> graphics.h: Add android_hdr_t

Adds android_hdr_t, which specifies different types of high dynamic
range encodings to be used throughout the system.

Bug: 25684127
Change-Id: Ic92bb5dc64494e643b828a8e24af8760e74e2360
/system/core/include/system/graphics.h
bb1deda59b74392d0d771ea4e54ef6e61d5e598a 24-Mar-2016 Dan Stoza <stoza@google.com> graphics.h: Add android_color_transform_t

Adds android_color_transform_t, which specifies a range of color
transforms which may be applied to the whole display.

Bug: 22767098
Change-Id: Iaf03915c09ac0bdd18512b5f78c39da1705bda08
/system/core/include/system/graphics.h
88a5ad3f133ff6cdd2913326666be60122e4dc8b 24-Feb-2016 Lajos Molnar <lajos@google.com> keep legacy HAL_DATASPACE enums unchanged

Bug: 25975353
Change-Id: I092b568420aa605425c12de9b245bca7ed602f43
/system/core/include/system/graphics.h
9136922045978385be99b0171c2c873aa6c2e186 16-Jan-2016 Lajos Molnar <lajos@google.com> Expand HAL_DATASPACE to include range, standard and transfer bitfields

Bug: 25975353
Change-Id: Id2668508b523130e5fa3496440d9423682b31632
/system/core/include/system/graphics.h
9cf80c6b40370c2ae5b7d453a217540663f9f592 03-Feb-2016 Mattias Nissler <mnissler@google.com> graphics: Include stddef.h for size_t.

graphics.h uses size_t, but doesn't pull in a declaration. This results
in compile errors if code that includes graphics.h (such as
hardware/hardware.h) doesn't happen to have a size_t declaration from
elsewhere.

Change-Id: I0f3882c3dce20425697d25366d49930b2251ef7f
/system/core/include/system/graphics.h
48cd34080c3d4009eca0850001ed380112c8e6ee 17-Dec-2015 Dan Stoza <stoza@google.com> Name the pixel format and transform enums

Adds an actual enum name for the HAL_PIXEL_FORMAT_* and
HAL_TRANSFORM_* enums.

Change-Id: I8d03c3695e8956b3b525559edcb37213ade6a0de
/system/core/include/system/graphics.h
e49b696a35dc6fd9a7ca42855620f2f88dffa405 14-Jul-2015 Yin-Chia Yeh <yinchiayeh@google.com> graphics: update flexible YUV format gralloc requirement

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
/system/core/include/system/graphics.h
20651b5c7d73cb7b4fe3cf45b9b322eedd060c28 22-May-2015 Eino-Ville Talvala <etalvala@google.com> Graphics depth formats: Add confidence values

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
/system/core/include/system/graphics.h
e632c1bf0c26011c3929d62e99d1fdc07465002c 24-Apr-2015 Lajos Molnar <lajos@google.com> media: reserve color formats used by flex-YUV422/444 and RGB/A888

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
/system/core/include/system/graphics.h
9a5eeba5881e653d3cc24c8a70bf88dfb8bb00cc 20-Mar-2015 Yin-Chia Yeh <yinchiayeh@google.com> graphics: add android raw12 format

Change-Id: I1c528ecf62746aa96d6e132eaa874015d9d7c446
/system/core/include/system/graphics.h
03743414cb1651c9bcbc80de9edb0efca33f86b8 18-Feb-2015 Eino-Ville Talvala <etalvala@google.com> Add ANativeWindow dataSpace; update graphics formats, color spaces

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
/system/core/include/system/graphics.h
c73b73a3c9b1eb008446ca4e96598dc7bc56a937 25-Jul-2014 Zhijun He <zhijunhe@google.com> graphics: update raw10 to allow padding between rows

Change-Id: Ied1f42bb977212d9e5f3b2b2b3caa9c8c2caac5d
/system/core/include/system/graphics.h
72fce30eeb2a3eecaefc858ffb0a478a41196572 24-Jun-2014 Zhijun He <zhijunhe@google.com> graphics: add android raw10 format

Change-Id: Ib1b74b1664159190e417f2e68a5a13493d04adfc
/system/core/include/system/graphics.h
c2729741c284f1e1b368aa64fecfec33b3e39199 22-Feb-2014 Alex Ray <aray@google.com> am 4fc8231c: Merge "graphics: Add colorspace definitions" into klp-volantis-dev

* commit '4fc8231c187f3bc96e4633ee055efe5b10590d79':
graphics: Add colorspace definitions
c9f3bcf87b701af671a16a7846db6e96df3fd4a3 27-Nov-2013 Alex Ray <aray@google.com> graphics: Add colorspace definitions

Change-Id: I54230dc2c0e481228457e8a01a50d300c917e657
/system/core/include/system/graphics.h
535253eabe96c9de993205c39ee32174fe05be7a 05-Feb-2014 Ruben Brunk <rubenbrunk@google.com> camera3: Add opaque raw format.

Change-Id: I7abf0e63a0f74ede46e0fe4dd1285283355624b1
/system/core/include/system/graphics.h
96675ed91ffe1ff95e7b10edf2b285f46b6f5213 18-Sep-2013 Mathias Agopian <mathias@google.com> Fix rotation in camera2 API

Bug: 10804238
Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
/system/core/include/system/graphics.h
1e26356da14d78abd18eb66ddd980741e2207f1e 16-Aug-2013 Jesse Hall <jessehall@google.com> Replace sRGB_888 with sRGB_X_8888

Bug: 10357459
Change-Id: I23a3eca77acd8b4b40b1a67e7c050a7245b1821a
/system/core/include/system/graphics.h
6bac41f1bf9b651523a2f9f119c2adb0836eb6b7 26-Jul-2013 Mathias Agopian <mathias@google.com> get rid of HAL pixelformats 5551 and 4444

Change-Id: I047d948f2f3b5c681a0b187589775f92b4f01541
/system/core/include/system/graphics.h
8d9da28ab5f32e3cd83858a5b31f45bb5d03a1fd 26-Jul-2013 Mathias Agopian <mathias@google.com> add sRGB pixel formats to the HALs

Change-Id: I1d5f9dd14a6485dd3a29fb5960edfa79aa86da42
/system/core/include/system/graphics.h
e13f15ab55d957976bc66f314c3f58090e903207 19-Mar-2013 Alex Ray <aray@google.com> graphics: add Android flexible YCbCr format

Change-Id: I3f6676873febc793f7a4a5e06892cd9fadb35665
/system/core/include/system/graphics.h
d755b52b43913913e0915c50b5ff0d03c96eed49 11-Feb-2013 Igor Murashkin <iam@google.com> graphics.h: Remove unnecessary comments for Y8/Y16 formats

Change-Id: Ic80f6c4be7df9d9729334b97bb662eb2d0456c33
/system/core/include/system/graphics.h
9e00e66ebcea150e75536e065419128efd4ee5b8 01-Feb-2013 Igor Murashkin <iam@google.com> graphics.h: add new Y8, Y16 formats

Change-Id: I0cb3786d91f442b5f3b665dd78bf5f0dd4ae4cf0
/system/core/include/system/graphics.h
febe9d904fdae52172ea534393929918bf750446 22-Aug-2012 Jamie Gennis <jgennis@google.com> Add an IMPL_DEFINED pixel format.

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
/system/core/include/system/graphics.h
0a052487f42507af7a0dc2c144f9d11eb98aecfe 08-Jun-2012 Eino-Ville Talvala <etalvala@google.com> Add HAL_PIXEL_FORMAT_BLOB

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
/system/core/include/system/graphics.h
185b300d6a33673daa69fbea6056e91c4390e158 30-Apr-2012 Jamie Gennis <jgennis@google.com> graphics.h: clarify docs about stride for YV12

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
/system/core/include/system/graphics.h
0a85154c1621b40d384b3fd7d45f3a9c0141e5a6 11-Apr-2012 Eino-Ville Talvala <etalvala@google.com> Add new raw image sensor HAL pixel format.

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
/system/core/include/system/graphics.h
c9b06951e0349244fdca7401e7bcc54c538dce62 12-Aug-2011 Mathias Agopian <mathias@google.com> another attempt at fixing the SDK build.

Change-Id: I2b96cf7d046b694b232f0699257e4e0608fda660
/system/core/include/system/graphics.h
7934d18aa62af9ab6a7ad6059e03ab24cf5d5e67 12-Aug-2011 Mathias Agopian <mathias@google.com> really fix the SDK build and fix THE build

Change-Id: I994cccf01bcafedc9ea11648eafc20300c58878b
/system/core/include/system/graphics.h
33a1d436366163d396aa21a3d84099c57da4a50f 12-Aug-2011 Mathias Agopian <mathias@google.com> attempt to fix SDK build.

missing cdefs.h include

Change-Id: Ic7dfdfe74976a459f166a7576b077965cd1fda6a
/system/core/include/system/graphics.h
5c9be402a4d934b678fe6609b6cc4d488d6ddaa4 10-Aug-2011 Mathias Agopian <mathias@google.com> Add a priority constant in to the graphics HAL header

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
/system/core/include/system/graphics.h
da1a1f629b0f3b3a63d9951de4381a41bc31fb91 18-May-2011 Jamie Gennis <jgennis@google.com> fix a comment typo in system/graphics.h

Change-Id: Ia6471a1c005cdc13833e6b0444e758add5a990e0
/system/core/include/system/graphics.h
66ea3574b6383e4107c74a192cadda1427320375 01-May-2011 Iliyan Malchev <malchev@google.com> move non-HAL definitions to syste/core/include

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>
/system/core/include/system/graphics.h