summaryrefslogtreecommitdiffstats
path: root/include/system
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add camera focus move message.Wu-cheng Li2011-11-291-0/+9
|/ | | | | bug:5534973 Change-Id: I45213b1a4db3dbcfc0ab124689f27a88335fb26b
* Update camera documentation about face detection.Wu-cheng Li2011-10-131-2/+1
| | | | | bug:5169599 Change-Id: I5280137cee5401fadec36cae732ecb78a2d44dc3
* Allow CAMERA_CMD_SET_DISPLAY_ORIENTATION to change during preview.Wu-cheng Li2011-10-071-2/+2
| | | | | bug:5422679 Change-Id: Ia4a09328bd9e1d36af680be4d065bc08cf0dec0f
* another attempt at fixing the SDK build.Mathias Agopian2011-08-111-4/+6
| | | | Change-Id: I2b96cf7d046b694b232f0699257e4e0608fda660
* really fix the SDK build and fix THE buildMathias Agopian2011-08-111-1/+1
| | | | Change-Id: I994cccf01bcafedc9ea11648eafc20300c58878b
* attempt to fix SDK build.Mathias Agopian2011-08-111-0/+2
| | | | | | missing cdefs.h include Change-Id: Ic7dfdfe74976a459f166a7576b077965cd1fda6a
* Add a priority constant in to the graphics HAL headerMathias Agopian2011-08-091-0/+14
| | | | | | | | | 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
* fix a typo that prevented api_connect/api_disconnect to workMathias Agopian2011-08-031-4/+4
| | | | | | also make the original connect/disconnect inlines be no-ops. Change-Id: Ic723e21455491c63ccbbcd01d3a47cd7ed788319
* Change CAMERA_MSG_METADATA_FACE to CAMERA_MSG_PREVIEW_METADATA.Wu-cheng Li2011-08-021-4/+5
| | | | | | bug:4460717 Change-Id: Icb9c54fa35a1af7c4f761d1a25061e6993cfc4af
* Merge "connect/disconnect is now deprecated."Mathias Agopian2011-08-011-21/+39
|\
| * connect/disconnect is now deprecated.Mathias Agopian2011-07-291-21/+39
| | | | | | | | | | | | | | | | | | | | | | these hooks are replaced by api_connect/api_disconnect which serve exactly the same purpose than before. the old hooks are deprecated because they won't be called from the gl driver anymore, but instead will be called by our EGL wrapper. to maintain binary compatibility it was necessary to introduce these new hooks. Change-Id: I11756a5d99e3ea3d6fb61b943f82037932dfa56a
* | Change int to int32_t in camera_frame_metadata and camera_face.Wu-cheng Li2011-07-301-7/+7
|/ | | | | bug:4460717 Change-Id: I5c7e4ed117c2b481fb0f7d9db418f98b7459adde
* Add camera frame metadata and face detection structs.Wu-cheng Li2011-07-291-11/+80
| | | | | bug:4460717 Change-Id: Ib72abfba080529472cf3fecb712043403bf7295f
* Merge "Fix bug 4319552 Use commonly defined channel mask values in native"Jean-Michel Trivi2011-07-261-20/+18
|\
| * Fix bug 4319552 Use commonly defined channel mask values in nativeJean-Michel Trivi2011-07-251-20/+18
| | | | | | | | | | | | | | | | | | | | | | The native channel mask values are equal to the Java values, which differ from other standards simply for legacy reasons. It is preferrable to use commonly used values, and translate from the Java constants to the common values when specifying a Java mask. The new definitions uses the same values and ordering as in OpenSL ES and other standards. Change-Id: I879f64b281714c60684cd8b36fe6ae648a555121
* | Merge "Add camera face detection enums."Wu-cheng Li2011-07-251-6/+44
|\ \ | |/ |/|
| * Add camera face detection enums.Wu-cheng Li2011-07-261-6/+44
| | | | | | | | | | bug:4460717 Change-Id: Id5cadcd7cdab9a9978569caf27d2ef2747fa6570
* | Fix bug 4211099 channel constants and 7.1 maskJean-Michel Trivi2011-07-241-3/+22
|/ | | | | | | | | Add definitions for the side and elevated channels. Ccorrect definition of 7.1 mask which uses the side channels rather than the front half-pan channels. Change-Id: I5b6f601f6404d782dc46ef47efac9cc8441fef90
* support for "Add an ANativeWindow API for SurfaceFlinger to suggest an ↵Mathias Agopian2011-07-191-0/+58
| | | | | | | optimal buffer orientation" Bug: 4487161 Change-Id: I36708fd155415adbb666137692252381c19abcf6
* Add lock/unlock perform codesMathias Agopian2011-07-131-1/+5
| | | | | | | these will be used to implement lock/unlock on surfacetexture. Change-Id: I75f8d8dd136433bd5d61610caeb763d836f8b4e7
* Add setScalingMode to ANativeWindowMathias Agopian2011-07-131-23/+48
| | | | | | | | Also cleanup the header a bit. Give fixed values to enum because these can never change. And try to make all comments C (as opposed to C++) Change-Id: Ie0914ccd81a0231f32e8c21a8ff730985c5c3607
* ANativeWindow: add more connectable APIsJamie Gennis2011-07-121-1/+17
| | | | | | | | This change adds three new possible values for the 'api' argument to native_window_connect: CPU, MEDIA and CAMERA. Change-Id: I9305a5c0c87ab06a2c2bd7c585f54c7c7470408a Bug: 5020877
* ANativeWindow: add setters for dimensions and fmtJamie Gennis2011-07-071-8/+42
| | | | | | | | | | | This change adds two new 'perform' setters to set the dimensions and pixel format of the buffers that will be dequeued from the ANativeWindow. These new setters provide the same functionality as _SET_BUFFERS_GEOMETRY, but allow the format and dimensions to be set independently. The _SET_BUFFERS_GEOMETRY setter is still supported to maintain backwards compatibility. Change-Id: Ib49b7798ffebe61eff2c8e4202fc3048cfec7bdd
* Merge "Bug 4571308 Timestamps are not always monotonic"Glenn Kasten2011-07-011-2/+4
|\
| * Bug 4571308 Timestamps are not always monotonicGlenn Kasten2011-06-271-2/+4
| | | | | | | | Change-Id: Ia4e89a286a514d91d76268235c716e328cd3d0c2
* | Fixed some audio helper functionsEric Laurent2011-06-161-6/+24
|/ | | | | | | | | Make sure audio_is_valid_format() is true only for formats supported by AudioTrack and AudioRecord. Generalized audio_is_linear_pcm(). Added audio_bytes_per_sample() function. Change-Id: If588af6c08f09796ab04bccbbd6e720f1e914412
* core: move audio_policy.h here from hardwareDima Zavin2011-06-131-0/+106
| | | | | Change-Id: I6b8c04c975e01f2502d766ed2b9353d3c83193b3 Signed-off-by: Dima Zavin <dima@android.com>
* Added PCM formats to audio.hEric Laurent2011-05-261-2/+8
| | | | | | | | Added formats for 32 bit PCM audio to allow direct use of common audio formats defined in audio.h by audio effect API defined in audio_effect.h Change-Id: I5d58c2db8325ca625ab6d2b10cc0d422ba119ca5
* Fix broken comment on closing #endif in window.htedbo2011-05-241-1/+1
| | | | | | | | The closing #endif comment is missing the comment delimiters. This change adds them and fixes a compile warning about extra tokens after endif. Change-Id: If8295aa6fbb2b21c2b56fe57a467dcde79c65de3
* fix a comment typo in system/graphics.hJamie Gennis2011-05-181-4/+3
| | | | Change-Id: Ia6471a1c005cdc13833e6b0444e758add5a990e0
* move core audio definitions under system/coreDima Zavin2011-05-121-0/+393
| | | | | Change-Id: I58b7324edff834b3afa4d9c86452e66f8c29c63b Signed-off-by: Dima Zavin <dima@android.com>
* move ANativeWindow and friends under system/coreIliyan Malchev2011-05-021-0/+457
| | | | | | | | | | | | | | | | | This patch moves the definition of ANativeWindow from frameworks/base into system/core. We move ANativeWindow for two reasons. Firstly, the native-window interface may need to be used by lower-level code than the framework. Such code (such as the camera HAL) is not allowed to use definitions from frameworks/base, since the latter is stacked on top of the former. Thus moving (the interface definition) ANativeWindow under system/core lowers the level at which we can work with windows. Secondly, this enables an implementation of ANativeWindow that lies outside of frameworks, enabling quick initial bringup of graphics. Change-Id: I851b9bb2834bcec73255b5af82f66411e54bb1a5 Signed-off-by: Iliyan Malchev <malchev@google.com>
* move non-HAL definitions to syste/core/includeIliyan Malchev2011-05-022-0/+236
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>