History log of /hardware/libhardware/include/hardware/hardware.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3f5b522ac9a472de756c08b16f357acd6dc26e34 29-Aug-2012 Jesse Hall <jessehall@google.com> Encode header version in api versions

Change-Id: I0216bef3ba0cfaed2fe908f735e546d0734c0b13
/hardware/libhardware/include/hardware/hardware.h
2fe3ae5ec955773d389ef11c116848188dcf253f 27-Mar-2012 Dima Zavin <dima@android.com> hardware: add some guidance on providing version defines

Change-Id: I456cb209bc5d5eb739b6fd2e2f3e869caa363ff0
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
02a5801af9e08559757773f1d22a5ae14bf12928 21-Mar-2012 Dima Zavin <dima@android.com> hardware: add hardware_device_api_version() macro

Change-Id: I79c4d65f6bab227364d5f271df9bd7bc565857c2
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
65820e4d7a0b89108b194284b94f6f82d28a875c 21-Mar-2012 Dima Zavin <dima@android.com> libhardware: add current HAL version and a module version macro

Change-Id: I30c67a6c5231f8b270b57f78bd6322c201b90859
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
8dc4e710c0dfa66564c8cea0af53f7b4e8e0f80a 20-Mar-2012 Dima Zavin <dima@android.com> hardware: provide temp version defines for source compatibility

This allows all the existing modules to have source level
compatibility until they are fixed to use the new field names.

Since the binary compatibility has not been altered, we do not
need to force all the implementors to rev their version numbers.

This change should be reverted when all the clients have been updated.

Change-Id: Ie543d3a972d8abe03ca5123e3000966f048d1771
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
2b57780d88e32ce9fde32dc085aef2fa7fd478e1 20-Mar-2012 Dima Zavin <dima@android.com> hardware: rename version_major/minor to module/hal api version

The previous names and documentation were not clear as to how the
version fields should be used. As a result, they were often either
unused or used improperly.

It became clear that there were two version fields necessary. One
to version the implementing module and the other to version the
hw_module_t interface itself.

This change renames version_major and version_minor members of
hw_module_t to module_api_version and hal_api_version. It also
provides in-depth descriptions for all the fields and clarifies
the purpose of the version field in hw_device_t structure.

Change-Id: I3e33e5a922cdc17c5e3b1c30a00e211394f18e86
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
c12d0e9240db0fb53546fd08276454a2cca72492 15-Apr-2011 Iliyan Malchev <malchev@google.com> libhardware: break pixel formats out of hardware.h

These definitions now live under system/core/include/android/graphics.h

Change-Id: I65ca8226cb42387748c3aaa1432423153d1dad33
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/libhardware/include/hardware/hardware.h
54921de415cd91af21801115baa40e78fc4ea4be 18-Apr-2011 Dima Zavin <dima@android.com> libhardware: add concept of module classes

Needed for things like audio and audio effects. Provides a
new interface to loading modules named 'hw_get_module_by_class'.
This takes two parameters: 'class_id' and 'instance' which are
used to construct the filename for the module to be loaded. If
instance is NULL, then this function acts identically to
hw_get_module where 'class_id' == 'id' (and in fact the latter
implemented exactly this way).

For audio, this new mechanism allows us to load multiple audio
interfaces by doing:

hw_get_module_by_class("audio", "primary", &module);
hw_get_module_by_class("audio", "a2dp", &module);
hw_get_module_by_class("audio", "usb", &module);
...

In the future we will likely want to add the ability to load a set of
module instances based on a config file, which will have a standard
syntax and the mechanism will be provided by libhardware.

Change-Id: I9976cc6d59a85a414b18e7b398a36edfbce4abd8
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
2ec2193365ab26c6f77a2c5617887ced7a8d6711 23-Nov-2010 Jamie Gennis <jgennis@google.com> Update the docs for the private pixel formats.

Change-Id: I337d9e7ba7f3a625294398790844c6d15ee75237
/hardware/libhardware/include/hardware/hardware.h
2d1e978e3229bb524c6415580ad91fab051f944c 26-Oct-2010 Mathias Agopian <mathias@google.com> improve hardware.h documentation

Change-Id: I637a1d8924af144a9c2cc4645659e9d23e9527d6
/hardware/libhardware/include/hardware/hardware.h
a2df7ab5fe89fda56606f8151659db47e160a5b3 10-Sep-2010 Mathias Agopian <mathias@google.com> Fix (again) description of our interchange YV12 format

Change-Id: I8cd81654b51d50385cccec7b96f6e694fd372925
/hardware/libhardware/include/hardware/hardware.h
2250f45ff0e72121e1bab4db58759e2cd4a4f769 19-Aug-2010 Mathias Agopian <mathias@google.com> revert pixelformat hack

Change-Id: Ia5e01b2b2f205f48ede1d29275094a64221df2d4
/hardware/libhardware/include/hardware/hardware.h
67d822206387e19a080d94a35d0d720d6b2f78b1 31-Jul-2010 Mathias Agopian <mathias@google.com> temporary hack to allow compilation of adreno driver

Change-Id: Ib3c260df2c22e1c59c5380278ea470e34aedbd81
/hardware/libhardware/include/hardware/hardware.h
80107f8e92e25e62c945600325f3e846477bc855 07-Jul-2010 Mathias Agopian <mathias@google.com> Remove the YV16 format.

Change-Id: I12f72cf91a66d78499983221925ac68ca646efc8
/hardware/libhardware/include/hardware/hardware.h
6915eb345b6640a43b9c1241f7ad8ffa0463874a 02-Jul-2010 Mathias Agopian <mathias@google.com> remove h/w specific YUV formats from the HAL

we now only support 2 "standard" yuv format in the HAL.
there is a new reserved range 0x100-0x1FF for OEMs.

Change-Id: I171fb0f8d90ded64773ac9c1e5adcab1e1f25c7f
/hardware/libhardware/include/hardware/hardware.h
28147965b4f3b57893897924bdd2fc8fdc695f84 22-Jun-2010 Mathias Agopian <mathias@google.com> remove unused YUV formats

Change-Id: I328cac1ed8bb2acb105ee118d8a87bdb39a545e6
/hardware/libhardware/include/hardware/hardware.h
373a9c6efebc97ade940dc5996f24992cda450c7 15-Jun-2010 Mathias Agopian <mathias@google.com> Add some useful YUV formats. Add fourcc version of the definitions.

also removed incorrect 4:2:0 interleaved formats

Change-Id: Ib477de86504cc67861def16fc4dfdae0dd3eb59d
/hardware/libhardware/include/hardware/hardware.h
9e149fc6e112fe23e408ca972a948a1d9aadc9a8 18-Feb-2010 Mathias Agopian <mathias@google.com> fix typo
/hardware/libhardware/include/hardware/hardware.h
ad8322bfe4b210d0618b7a1792f4a07d1f8332c7 18-Feb-2010 Mathias Agopian <mathias@google.com> renumber the YCbCr constants to keep binary compatiblity with previous releases
/hardware/libhardware/include/hardware/hardware.h
662b534530eb09fc01907f0d0cef8776c862bf7e 17-Feb-2010 Mathias Agopian <mathias@google.com> add missing yuv constants
/hardware/libhardware/include/hardware/hardware.h
38a0138caf940ecec7b122debe507639c0071c08 16-Feb-2010 Dima Zavin <dima@android.com> hal: Add nv12_tiled/nv21 pixel format constants

Change-Id: I6a906cf9fb1539c1876f3737b409ed0598075c8e
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/libhardware/include/hardware/hardware.h
9d82c1a447a72a2c086b9cd34c5b73b163d7acbc 19-Aug-2009 Mathias Agopian <mathias@google.com> add typedefs to gralloc and hardware.h so it's more C friendly
/hardware/libhardware/include/hardware/hardware.h
7d512e3dc37cc921a3e0e541a0476a4168310ecc 08-Aug-2009 Mathias Agopian <mathias@google.com> add support for RGBX_8888
/hardware/libhardware/include/hardware/hardware.h
49b02f75eba649d696813bbfaeb87658d0e5b6c3 07-Jul-2009 Benny Wong <Benny.Wong@motorola.com> Color Format and Overlay Functions

Add hardware overlay related function declarations and more color format enums
/hardware/libhardware/include/hardware/hardware.h
a8a75166a2d3c7639a7432a67075c98796165206 10-Apr-2009 Mathias Agopian <mathias@google.com> Integrate from //sandbox/mathias/donut/...@145728

SurfaceFlinger rework for new EGL driver model support.
/hardware/libhardware/include/hardware/hardware.h
f53ebec38718ff5d6b2aff2fa62b92a75d007ca5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/libhardware/include/hardware/hardware.h
d51f49a11dad52e172e4d7f6fcdf571f24efbcd5 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/hardware/libhardware/include/hardware/hardware.h
a5d999ff17a84a33e9761eab958eac0267748aa9 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
/hardware/libhardware/include/hardware/hardware.h
b376203efb29c5f86ad8c8d40e90b74756669a1c 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/hardware/libhardware/include/hardware/hardware.h
51704bed795b5b0e5e3c7b792dcdc2bf2d96a9e9 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/hardware/libhardware/include/hardware/hardware.h