• Home
  • History
  • Annotate
  • only in /system/core/include/system/
History log of /system/core/include/system/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7cd3e0a3a2f9b104cd6c04f699ae62c4577787e2 12-Dec-2011 Jesse Hall <jessehall@google.com> Document ANativeWindow's buffer refcounting

Change-Id: I5454e90afd1a1b7d4a75c503f8dca712dba33790
indow.h
baad2843a1af443aa251be510c4476159d064d20 12-Oct-2011 Wu-cheng Li <wuchengli@google.com> Update camera documentation about face detection.

bug:5169599
Change-Id: I5280137cee5401fadec36cae732ecb78a2d44dc3
amera.h
8d43cb6edb5c0d9ebb1fa0586b738d7832a288b4 07-Oct-2011 Wu-cheng Li <wuchengli@google.com> Allow CAMERA_CMD_SET_DISPLAY_ORIENTATION to change during preview.

bug:5422679
Change-Id: Ia4a09328bd9e1d36af680be4d065bc08cf0dec0f
amera.h
c9b06951e0349244fdca7401e7bcc54c538dce62 12-Aug-2011 Mathias Agopian <mathias@google.com> another attempt at fixing the SDK build.

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

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

missing cdefs.h include

Change-Id: Ic7dfdfe74976a459f166a7576b077965cd1fda6a
raphics.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
raphics.h
319f4e2793e691a7aeabad09e463ac09df562ed4 03-Aug-2011 Mathias Agopian <mathias@google.com> fix a typo that prevented api_connect/api_disconnect to work

also make the original connect/disconnect inlines be no-ops.

Change-Id: Ic723e21455491c63ccbbcd01d3a47cd7ed788319
indow.h
a43546a874890064606489f2125181a5f65adacd 02-Aug-2011 Wu-cheng Li <wuchengli@google.com> Change CAMERA_MSG_METADATA_FACE to CAMERA_MSG_PREVIEW_METADATA.

bug:4460717

Change-Id: Icb9c54fa35a1af7c4f761d1a25061e6993cfc4af
amera.h
ed7f9aaf76d58ac1a4a34838ab5f4d6899714056 02-Aug-2011 Mathias Agopian <mathias@google.com> Merge "connect/disconnect is now deprecated."
8ad545297cdb180893c4f957682857953c0d3c5f 30-Jul-2011 Mathias Agopian <mathias@google.com> connect/disconnect is now deprecated.

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
indow.h
3ac91d178bfbc38fbeb4743f9fbe5619e8e744d0 30-Jul-2011 Wu-cheng Li <wuchengli@google.com> Change int to int32_t in camera_frame_metadata and camera_face.

bug:4460717
Change-Id: I5c7e4ed117c2b481fb0f7d9db418f98b7459adde
amera.h
9d5bfd35414f2be2f1ea8a2cabee8f407d3e38c0 27-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera frame metadata and face detection structs.

bug:4460717
Change-Id: Ib72abfba080529472cf3fecb712043403bf7295f
amera.h
c349636c7cec0abe3a92c220a6d828edbd21208b 26-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Merge "Fix bug 4319552 Use commonly defined channel mask values in native"
4518e6a2996da0fa00ef427a79227b90ccf94ce0 26-Jul-2011 Wu-cheng Li <wuchengli@google.com> Merge "Add camera face detection enums."
de19ea26025927fe95ec96818a13dd58bec91cf6 21-Jul-2011 Wu-cheng Li <wuchengli@google.com> Add camera face detection enums.

bug:4460717
Change-Id: Id5cadcd7cdab9a9978569caf27d2ef2747fa6570
amera.h
6d4f39754bff9c1dcb8023839ea583b6d0723b14 26-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4319552 Use commonly defined channel mask values in native

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
udio.h
33fad99acfaffb775ce0792b06ba97bb6cacce1a 25-Jul-2011 Jean-Michel Trivi <jmtrivi@google.com> Fix bug 4211099 channel constants and 7.1 mask

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
udio.h
5100916182b05971975f8d8fe65a1255e2c5ac96 20-Jul-2011 Mathias Agopian <mathias@google.com> support for "Add an ANativeWindow API for SurfaceFlinger to suggest an optimal buffer orientation"

Bug: 4487161
Change-Id: I36708fd155415adbb666137692252381c19abcf6
indow.h
ae3736a3d1418eb1a1e57895ce410256d7106aa3 14-Jul-2011 Mathias Agopian <mathias@google.com> Add lock/unlock perform codes

these will be used to implement lock/unlock on
surfacetexture.

Change-Id: I75f8d8dd136433bd5d61610caeb763d836f8b4e7
indow.h
42cc1edfe7edf613e17bff97f30ff124ada05136 14-Jul-2011 Mathias Agopian <mathias@google.com> Add setScalingMode to ANativeWindow

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
indow.h
5423e9e4ce52a45ac42419f1467e79ba9e62298f 12-Jul-2011 Jamie Gennis <jgennis@google.com> ANativeWindow: add more connectable APIs

This change adds three new possible values for the 'api' argument to
native_window_connect: CPU, MEDIA and CAMERA.

Change-Id: I9305a5c0c87ab06a2c2bd7c585f54c7c7470408a
Bug: 5020877
indow.h
208ec5ec564597bdf8b478a424cc9ccc09547bac 07-Jul-2011 Jamie Gennis <jgennis@google.com> ANativeWindow: add setters for dimensions and fmt

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
indow.h
1f311f2f160853bebab70d31dabf17aa1a83f2a6 02-Jul-2011 Glenn Kasten <gkasten@google.com> Merge "Bug 4571308 Timestamps are not always monotonic"
c322f67140d52014c47dff41d03a601b251f56ed 27-Jun-2011 Glenn Kasten <gkasten@google.com> Bug 4571308 Timestamps are not always monotonic

Change-Id: Ia4e89a286a514d91d76268235c716e328cd3d0c2
indow.h
da382248758eacd9f91d6f0a50dff3f021791c24 17-Jun-2011 Eric Laurent <elaurent@google.com> Fixed some audio helper functions

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
udio.h
28e08dc58148dba98feefbadc9657840fe141084 14-Jun-2011 Dima Zavin <dima@android.com> core: move audio_policy.h here from hardware

Change-Id: I6b8c04c975e01f2502d766ed2b9353d3c83193b3
Signed-off-by: Dima Zavin <dima@android.com>
udio_policy.h
9714b27bb41d999cb61b22833d3f253552b3c82b 26-May-2011 Eric Laurent <elaurent@google.com> Added PCM formats to audio.h

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
udio.h
1ffdb38213d177a83d74e1dc3bf41237dcbe8c9a 24-May-2011 tedbo <tedbo@google.com> Fix broken comment on closing #endif in window.h

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

Change-Id: Ia6471a1c005cdc13833e6b0444e758add5a990e0
raphics.h
e8e4be57aa45f621d231a40801a4dea877be09d5 12-May-2011 Dima Zavin <dima@android.com> move core audio definitions under system/core

Change-Id: I58b7324edff834b3afa4d9c86452e66f8c29c63b
Signed-off-by: Dima Zavin <dima@android.com>
udio.h
0ab886bdabd167b32aad90ce5d4e00ce8392858c 01-May-2011 Iliyan Malchev <malchev@google.com> move ANativeWindow and friends under system/core

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>
indow.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>
amera.h
raphics.h