summaryrefslogtreecommitdiffstats
path: root/include/system
Commit message (Collapse)AuthorAgeFilesLines
* audio: add definitions for new audio devicesEric Laurent2014-05-201-3/+34
| | | | Change-Id: I7bbc564a81fd693fa7e6bcb3a817986b50568147
* Add channel count functions for audio masksAndy Hung2014-05-161-0/+16
| | | | | | | | audio_channel_count_from_in_mask audio_channel_count_from_out_mask Change-Id: Ic519f2c3f85d14acb9526cc8812360fcbd15346d Signed-off-by: Andy Hung <hunga@google.com>
* Remove AUDIO_CHANNEL_OUT_SURROUNDGlenn Kasten2014-04-291-4/+0
| | | | Change-Id: Id163902dd2c83200201012ffb704d338e81ea471
* Add AUDIO_CHANNEL_OUT_5POINT1_SIDE and AUDIO_CHANNEL_OUT_QUAD_SIDEGlenn Kasten2014-04-291-0/+20
| | | | | | | | for use by downmix effect Also add documentation about platform convention for interleaving. Change-Id: I44f837e876c6e8f5f70a726d797631ffa556cf9f
* Rename AUDIO_CHANNEL_OUT_QUAD and AUDIO_CHANNEL_OUT_5POINT1Glenn Kasten2014-04-291-0/+2
| | | | | | | | | to AUDIO_CHANNEL_OUT_QUAD_BACK and AUDIO_CHANNEL_OUT_5POINT1_BACK respectively, for consistency with terminology used in downmix effect For the time being, preserve the old names to avoid changing existing code. Change-Id: I11131e3f66087090a590c93921092ca4fc78cf1c
* am d2674cba: am 0a04c556: am 19759a08: Merge "audio: fix ↵Rom Lemarchand2014-04-241-6/+10
|\ | | | | | | | | | | | | audio_is_bluetooth_sco_device()" * commit 'd2674cbad9dac54ae23d1bbcdf137d75d582258f': audio: fix audio_is_bluetooth_sco_device()
| * audio: fix audio_is_bluetooth_sco_device()Eric Laurent2014-04-241-6/+10
| | | | | | | | | | Bug: 14268964 Change-Id: Ia2a185c5e0939930c5114209651a1e0db6c36ef3
* | Usb Capture ImplementationPaul McLean2014-04-231-4/+19
| | | | | | | | Change-Id: I0b5166cc380419455373d590b9a6c4b21bf6634c
* | audio_is_valid_format is true for all PCM formatsGlenn Kasten2014-03-071-2/+10
| | | | | | | | Change-Id: I733f3208315816575f6d4f7722e906ab50b161af
* | Update audio_bytes_per_sample for PCM 24 bit packedAndy Hung2014-03-071-0/+3
| | | | | | | | | | Change-Id: Ic79f604893f5c4f2e8e35189d6638b5b160435ed Signed-off-by: Andy Hung <hunga@google.com>
* | Merge "Adding opus to list of audio formats"Lajos Molnar2014-03-031-0/+1
|\ \
| * | Adding opus to list of audio formatsVignesh Venkatasubramanian2014-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Adding opus to the list of audio formats enum. This CL is part of adding Opus decoding support to android. Change-Id: I41decf426ed3f76c10b27f247b1264010689c759
* | | am 4fc8231c: Merge "graphics: Add colorspace definitions" into klp-volantis-devAlex Ray2014-02-221-0/+130
|\ \ \ | | | | | | | | | | | | | | | | * commit '4fc8231c187f3bc96e4633ee055efe5b10590d79': graphics: Add colorspace definitions
| * | | graphics: Add colorspace definitionsAlex Ray2014-02-181-0/+130
| | |/ | |/| | | | | | | Change-Id: I54230dc2c0e481228457e8a01a50d300c917e657
* | | camera3: Add opaque raw format.Ruben Brunk2014-02-061-6/+36
| | | | | | | | | | | | Change-Id: I7abf0e63a0f74ede46e0fe4dd1285283355624b1
* | | Add 24-bit packed to audio_format_tGlenn Kasten2014-01-311-0/+4
| |/ |/| | | | | Change-Id: I08c38ee3ade7b24dc9e2b3ed2b7037c42521a555
* | Miscellaneous updates to <system/audio.h>Glenn Kasten2014-01-151-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add single-precision floating-point PCM format: - AUDIO_FORMAT_PCM_SUB_FLOAT - AUDIO_FORMAT_PCM_FLOAT Add symbols to replace hard-coded constants in code: - AUDIO_IO_HANDLE_NONE - AUDIO_IN_ACOUSTICS_NONE - AUDIO_INTERLEAVE_* - AUDIO_STREAM_MIN Update comments. Fix whitespace in switch statement. Change-Id: I61862c188ebac06657b5d9887164edc24b8ab8f5
* | Add AUDIO_SESSION_ALLOCATEGlenn Kasten2014-01-141-0/+7
|/ | | | Change-Id: I045f2f04520bc474666c43a0ff1568f0fab3567c
* move sync headers from include to libsyncRom Lemarchand2014-01-031-1/+0
| | | | | | Make sw_sync.h private Change-Id: I0b120ebe81fd4a191b7aa4b6a8de4f64d16e2b3e
* Fix rotation in camera2 APIMathias Agopian2013-09-172-1/+6
| | | | | Bug: 10804238 Change-Id: I093945789d9c6d373392fc9dfd18ec2c6058d3b9
* Add HOTWORD audio source to audio.hEric Laurent2013-09-091-0/+5
| | | | | | | | | - This is a complimentary change to the one adding this new source to MediaRecorder.java Bug: 10640877. Change-Id: Ie213e82b5a60dad2a277cef367c2f5e4df70df06
* Add helpers for audio remote submix devices.Jeff Brown2013-08-161-1/+5
| | | | | Bug: 10265163 Change-Id: Iea7ecab4f2a655b719ff14b04c757d6dbd7a7ef3
* Replace sRGB_888 with sRGB_X_8888Jesse Hall2013-08-161-1/+1
| | | | | Bug: 10357459 Change-Id: I23a3eca77acd8b4b40b1a67e7c050a7245b1821a
* Add audio_input_flags_tGlenn Kasten2013-08-021-0/+10
| | | | Change-Id: Ie65398cc67218cc63be4baa8a2a61d0ea591a2a3
* Window: Add query for consumer usage bits.Eino-Ville Talvala2013-07-301-1/+7
| | | | | Bug: 9592202 Change-Id: Ied2fdb985dc59dd9c0f26c515353abdc37f0eb77
* get rid of HAL pixelformats 5551 and 4444Mathias Agopian2013-07-261-2/+0
| | | | Change-Id: I047d948f2f3b5c681a0b187589775f92b4f01541
* Merge "add sRGB pixel formats to the HALs"Mathias Agopian2013-07-261-1/+28
|\
| * add sRGB pixel formats to the HALsMathias Agopian2013-07-251-1/+28
| | | | | | | | Change-Id: I1d5f9dd14a6485dd3a29fb5960edfa79aa86da42
* | Merge "Valid channel mask must have at least one channel"Glenn Kasten2013-07-241-4/+4
|\ \
| * | Valid channel mask must have at least one channelGlenn Kasten2013-07-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Also: - Use correct type name audio_channel_mask_t - Use the parameter name 'channelMask' instead of the more ambiguous 'channels' Change-Id: I22bc1821a1bded0e69fe7d99e7b981ff60d77cee
* | | thread_defs: remove trailing whitespaceAlex Ray2013-07-231-8/+8
| |/ |/| | | | | Change-Id: Idba19c64dfde67c40a98c29f68d5e8d4e555a4cf
* | fix windows buildColin Cross2013-07-231-3/+6
| | | | | | | | | | | | | | | | thread_defs.h gets included by the windows host libandroidfw build, which does not have sys/cdefs.h or BEGIN_DECLS. Switch to using extern "C" manually. Change-Id: I363e6f2d3a64c5efeff54049a2e5dab080fd4715
* | cutils: add thread_defs headerAlex Ray2013-07-231-0/+74
|/ | | | Change-Id: I3b70054d9f9740a5980df514221de07df55e7176
* Add defines for audio offload and non-blocking writeRichard Fitzgerald2013-06-271-1/+33
| | | | | | | | | | | - Defines audio output flags for offloaded playback of compressed streams, and non-blocking HAL write()/drain() - Adds audio_offload_info_t to pass additional information about a compressed stream when offloading Change-Id: I4592d0877edd39e68d0c1035d0652adbd397bf3a Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com> Signed-off-by: Eric Laurent <elaurent@google.com>
* graphics: add Android flexible YCbCr formatAlex Ray2013-04-091-0/+54
| | | | Change-Id: I3f6676873febc793f7a4a5e06892cd9fadb35665
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-1/+0
| | | | Change-Id: Ie745d9adf5465834bb8bf751a2f88b19435fdf46
* am 1b69da3e: am 6711f76d: Merge "graphics.h: Remove unnecessary comments for ↵Igor Murashkin2013-02-111-12/+2
|\ | | | | | | | | | | | | | | Y8/Y16 formats" into jb-mr1-aah-dev # Via Android (Google) Code Review (1) and others * commit '1b69da3ef0f505b885f8621ca2dad44d46aa824e': graphics.h: Remove unnecessary comments for Y8/Y16 formats
| * graphics.h: Remove unnecessary comments for Y8/Y16 formatsIgor Murashkin2013-02-111-12/+2
| | | | | | | | Change-Id: Ic80f6c4be7df9d9729334b97bb662eb2d0456c33
* | am fbb4a5ac: am fba6c12a: Merge "graphics.h: add new Y8, Y16 formats" into ↵Igor Murashkin2013-02-111-0/+58
|\ \ | |/ | | | | | | | | | | | | jb-mr1-aah-dev # Via Android (Google) Code Review (1) and others * commit 'fbb4a5ac1b771b2df0786bb5587c7ed0d5f82089': graphics.h: add new Y8, Y16 formats
| * graphics.h: add new Y8, Y16 formatsIgor Murashkin2013-02-081-0/+58
| | | | | | | | Change-Id: I0cb3786d91f442b5f3b665dd78bf5f0dd4ae4cf0
* | audio: added input device for front + back micEric Laurent2013-01-221-0/+1
|/ | | | | | | | Added a value to audio_channel_mask_t enum for front + back mic combination to allow parsing of audio_policy.conf file by audio policy manager. Change-Id: I8412b4d3cfc03323eff867563a1a73322019c0f3
* Remove force use definition for remote audio submixJean-Michel Trivi2012-10-111-1/+0
| | | | | | | | Obsolete. Bug 7318180 Change-Id: I3421ca554a4131d606bdee698aeb7b2091a5d966
* audio policy: add forced uses for systemEric Laurent2012-10-091-0/+2
| | | | | | | | | | | The volume and routing policy of AUDIO_STREAM_ENFORCED_AUDIBLE is now controlled by AudioService by means of new forced use type AUDIO_POLICY_FORCE_FOR_SYSTEM with config AUDIO_POLICY_FORCE_SYSTEM_ENFORCED. Bug 7032634. Change-Id: Ib1834ec507f3aa726895b8fd3e8a91cc9cc601a7
* Move dequeue-buffer-and-wait out-of-lineJesse Hall2012-10-011-11/+2
| | | | | | | | | The dequeueBuffer_DEPRECATED function also waits for the buffer fence, so we can just call that. That way the wait call is compiled into our code (instead of driver code) and we can see/modify it for debugging. Bug: 7217641 Change-Id: Ie2ea85ed1543a4ff7986d0162aee773e93591309
* ANW: fix my fix for a file descriptor leakJamie Gennis2012-09-201-1/+1
| | | | Change-Id: Ief7b973fbdb76920abed19707963a0c3d306af31
* ANW: fix an fd leakJamie Gennis2012-09-201-3/+2
| | | | Change-Id: Id44cae6732c6694d2f470cbdfa5f59e7474f704f
* audio: new audio devices enum valuesEric Laurent2012-09-071-19/+41
| | | | | | | | | | | | | | | Each audio device is identified by a bit in a 32 bit field with 16 bits for output devices and 16 bits for input devices. The number of output devices is now exhausted. In order to add new devices a new convention for audio device identification is defined, allowing 31 different input and output devices: Bit 31 of the bit field is reserved and when set indicates an input device. Also added new output device for wifi display and new input devices for digital and analog docks, USB and wifi display send. Change-Id: I849bec0b6d46e082e325a3f08890d313c8dc763b
* Device and mode definitions for remote submixJean-Michel Trivi2012-09-062-10/+26
| | | | | | | | | | | | | | | | A remote submix is an audio mix of audio streams that are not going to be played directly through the platform mix, but rather will be mixed together to be handled in a different manner. This mix can be obtained by recording it through the AUDIO_IN_REMOTE_SUBMIX and presenting it remotely (as opposed to local playback == on the device itself). All changes marked "temporary" will be overriden by the changes to update the audio device definitions for the 2.0 API. Change-Id: I9c6da607fc50b7b8545d189ac5b083107369cfb5
* Add an IMPL_DEFINED pixel format.Jamie Gennis2012-08-221-0/+16
| | | | | | | 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
* Added a cmd for configuring number of video buffers for camera, if supportedJames Dong2012-08-011-0/+11
| | | | | | o currently, only available in Camera2 Change-Id: Id9bf157496209af9be65d147e70aa4830158c88d