summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* stagefright: add flexible YUV supportLajos Molnar2014-07-251-0/+3
| | | | | Bug: 10706245 Change-Id: Icd246f22edfc67ed5240d59f5a5bde3e5f749465
* stagefright: add ABuffer.CreateAsCopyLajos Molnar2014-07-251-0/+3
| | | | | Bug: 10706245 Change-Id: I8c4e96a2581a039e9e8237c3e09e2c22226da055
* Merge "CamcorderProfiles: add high speed profile constants" into lmp-devZhijun He2014-07-241-0/+8
|\
| * CamcorderProfiles: add high speed profile constantsZhijun He2014-07-231-0/+8
| | | | | | | | Change-Id: I8f783466f8c2560820db14488acc1a309d27ab0f
* | audio flinger: add patch connection between hw modulesEric Laurent2014-07-241-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for audio device connections between different audio hw modules. The patch is performed by creating a bridge between the playback thread connected to the sink device and the record thread connected to the source device using a pair of specialized PlaybackTrack and RecordTrack. - Added PatchTrack and PatchRecord classes. - Added TrackBase type to indicate more clearly the track behavior. - A TrackBase can allocate the buffer or reuse an existing one. - Factored some code in openOutput() and openInput() for internal use by PatchPanel. Bug: 14815883. Change-Id: Ib9515fcda864610458a4bc81fa8f59096ff4d7db
* | Merge "MediaRecorder: constants for webm recordering" into lmp-devLajos Molnar2014-07-221-0/+5
|\ \
| * | MediaRecorder: constants for webm recorderingRobert Shih2014-07-221-0/+5
| | | | | | | | | | | | | | | Bug: 16329805 Change-Id: Idcd603545352e36a88589d3e23ccf1ee37704695
* | | Merge "StagefrightRecorder: webm (video only) support" into lmp-devRobert Shih2014-07-221-0/+3
|\ \ \ | |/ /
| * | StagefrightRecorder: webm (video only) supportRobert Shih2014-07-221-0/+3
| | | | | | | | | | | | | | | Bug: 16329805 Change-Id: I8a0ecd100fca397add97a1416125bcc6aeb86364
* | | Merge "MediaWriter: make get/setStartTimeOffsetMs virtual" into lmp-devRobert Shih2014-07-222-2/+5
|\ \ \ | |/ /
| * | MediaWriter: make get/setStartTimeOffsetMs virtualRobert Shih2014-07-172-2/+5
| | | | | | | | | | | | | | | Bug: 16329805 Change-Id: Ib971dd95b54829438c8af97528f9e00b87ab3f1e
* | | update battery stats for video/audioChong Zhang2014-07-221-0/+7
| |/ |/| | | | | | | | | Bug: 12979595 Change-Id: Iafd93046a4fd9f22bcd66084deace746a7ca5d3c
* | audio_attributes_t for SoundPoolJean-Michel Trivi2014-07-202-5/+67
| | | | | | | | | | | | | | | | | | | | | | Add support for the audio_attributes_t structure in the SoundPoool constructor. Remove SRC quality which was never implemented. Remove stream types. Add file to contain audio helper functions related to policy. Change-Id: I1720ff15e7b23ea7b713a4395fdfac26dc3fd4da
* | Add MediaCodecList capabilitiesLajos Molnar2014-07-183-1/+19
| | | | | | | | | | Bug: 12065651 Change-Id: Icfb73c0009621cd747e113d8a0cd84c966bf055d
* | stagefright: add nonblocking MediaBufferGroup.acquire_buffer methodLajos Molnar2014-07-171-3/+6
| | | | | | | | | | Bug: 15699665 Change-Id: I31c1ab4413c62ff3dd4e0d5b06a398064b4aaddd
* | stagefright: add nonblocking read option to MediaBufferLajos Molnar2014-07-171-0/+5
| | | | | | | | | | Bug: 15699665 Change-Id: I2aaddc4c937cf5c1e36386bafd7d396d5781bf6d
* | Merge "Move AudioRecord frame count calculations to server" into lmp-devGlenn Kasten2014-07-171-0/+1
|\ \
| * | Move AudioRecord frame count calculations to serverGlenn Kasten2014-07-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Buffer frame count and notification frame count are now calculated by server instead of by client. The server has more information and can do a better job. Also fix a few bugs: - If a fast track was re-created, even with same pipe depth, it would fail. Now it can correctly re-create a fast track provided the pipe depth is same. - Notification frame count for fast tracks was calculated by client as 1/2 of the total frame count, which is a large value due to the pipe. Now the notification frame count is set by server to the HAL frame count. This should reduce latency for fast tracks. - EVENT_OVERRUN were happening frequently when there was sample rate conversion, because the client didn't know about the sample rate conversion, and under-estimated the necessary buffer size. Now since server calculates the buffer sizes, EVENT_OVERRUN is unlikely. - RecordThread::createRecordTrack_l was checking for mono and stereo for fast tracks. This is not necessary, and now we can handle a multi-channel fast track. Bug: 7498763 Change-Id: I0c581618e8db33084d5ff9ed50a592990c9749e8
* | | Merge "Add audio_input_flags_t to IAudioPolicyService::getInput" into lmp-devGlenn Kasten2014-07-172-5/+7
|\ \ \ | |/ /
| * | Add audio_input_flags_t to IAudioPolicyService::getInputGlenn Kasten2014-07-172-5/+7
| | | | | | | | | | | | Change-Id: I9f37be05f8dc7b85a8827a94e76ca0f45453e170
* | | Merge "Add audio_input_flags_t to IAudioFlinger::openInput" into lmp-devGlenn Kasten2014-07-171-1/+2
|\ \ \ | |/ / | | / | |/ |/|
| * Add audio_input_flags_t to IAudioFlinger::openInputGlenn Kasten2014-07-171-1/+2
| | | | | | | | | | | | | | For backward compatibility, until flags are correctly calculated, we will assume that the request is for a low latency input stream. Change-Id: I76746834e870df00833dc77cbdaa2edd2ffeec95
* | Merge "Camera HAL3: migrate from partial quirks to partial result" into lmp-devZhijun He2014-07-171-1/+7
|\ \ | |/ |/|
| * Camera HAL3: migrate from partial quirks to partial resultZhijun He2014-07-161-1/+7
| | | | | | | | | | | | | | | | | | | | - Enable the normal partial result path for HAL3.2, the quirk is only used for the HAL version lower than HAL3.2. The partial quirks is no longer supported for HAL3.2 or higher versions. - Add CameraDeviceBase getDeviceVersion API. - Fix some build warnings Change-Id: I7a1b03d4d5fd5258d2addfba4368bee2ba691337
* | GenericSource: implement getTrackCount/getTrackInfoRobert Shih2014-07-161-0/+7
|/ | | | | Bug: 15153976 Change-Id: I0204c4188d485cda026497469c7cde24f7bd5c95
* stagefright: add MediaCodec.reset()Lajos Molnar2014-07-151-0/+9
| | | | | Bug: 12034929 Change-Id: I326f1356df89474aa088c1c87f8505b33654139d
* camera2: Set orientation flags for hardware composer.Ruben Brunk2014-07-141-0/+49
| | | | | Bug: 15116722 Change-Id: I3fcc9aea38afcbd665f86c511a9929fe9a6a3a8f
* Merge "MediaCodec: change onError cb to return CodecException"Chong Zhang2014-07-111-1/+1
|\
| * MediaCodec: change onError cb to return CodecExceptionChong Zhang2014-07-111-1/+1
| | | | | | | | | | Bug: 11990118 Change-Id: I3278aecb20df88c42fa2709a66e6166eb3cbe56f
* | Merge "MediaCodec async callbacks"Chong Zhang2014-07-101-0/+19
|\ \ | |/
| * MediaCodec async callbacksChong Zhang2014-07-111-0/+19
| | | | | | | | | | | | Bug: 11990118 Change-Id: I6fe4b407d9c85cddec8d958620d5d356735273cf
* | stagefright: Pass audio aac sub formats in offloadinfoaarti jadhav-gaikwad2014-07-111-0/+3
|/ | | | | | | | Pass audio aac sub formats in offloadinfo according to aac profile. Audio HAL can take decision about offload using DSP capabilities Change-Id: If269a3654b5d2b09c183212b0646ef03e06f2d8f
* stagefright: add indexed buffer and format getters to MediaCodecLajos Molnar2014-07-111-0/+15
| | | | | | | | | | These are designed to be called from the same thread as the one calling dequeue?Buffer, and use a mutex to avoid switching context. All other calls of MediaCodec are designed to be blocking and synchronous. Bug: 14297827 Change-Id: If341c6e4407ca6f10f5e0d47008dddc0e20b0a50
* Merge "handle emulation_prevention_three_bytes for AVC"Chong Zhang2014-07-081-3/+19
|\
| * handle emulation_prevention_three_bytes for AVCChong Zhang2014-07-081-3/+19
| | | | | | | | | | bug: 15917805 Change-Id: I824fe7eea807f8faba6b149c31890b7a5df87825
* | Merge "AString: add startsWithIgnoreCase and endsWithIgnoreCase"Lajos Molnar2014-07-081-0/+2
|\ \
| * | AString: add startsWithIgnoreCase and endsWithIgnoreCaseLajos Molnar2014-06-181-0/+2
| | | | | | | | | | | | Change-Id: I340159aa14d4d3d28ea675c6c5b8a82f7e731069
* | | stagefright: update ACodec to use CodecBase enumerations directlyLajos Molnar2014-07-071-15/+0
| | | | | | | | | | | | | | | Bug: 11784825 Change-Id: I9f322b78b52bfcc5040fda951486df4354cdba4f
* | | stagefright: update MediaCodec to use CodecBase instead of ACodecLajos Molnar2014-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | MediaCodec still creates an ACodec instance in init() Bug: 11784825 Change-Id: Ifba1e1582c788056c0e59afdf68cd3a504ab3679
* | | stagefright: create CodecBase interface (abstract class)Lajos Molnar2014-07-073-28/+123
| | | | | | | | | | | | | | | | | | | | | This abstracts out the ACodec dependency in MediaCodec. Bug: 11784825 Change-Id: I0aa8b56c6414865fd4b0646e2c5bd1b62d030682
* | | Merge "IAudioFlinger::openRecord now suggests notificationFrames"Glenn Kasten2014-07-021-0/+1
|\ \ \
| * | | IAudioFlinger::openRecord now suggests notificationFramesGlenn Kasten2014-07-031-0/+1
| | | | | | | | | | | | | | | | Change-Id: I08885cc381d03c522a23289e74f0e1ed46563863
* | | | Merge "Add new API AudioRecord::notificationFrames()"Glenn Kasten2014-07-021-0/+5
|\ \ \ \ | |/ / /
| * | | Add new API AudioRecord::notificationFrames()Glenn Kasten2014-07-031-0/+5
| | | | | | | | | | | | | | | | Change-Id: I27fb888f01ed547242ffaa8d4626d38c7999ad53
* | | | audio: deprecate audio_stream_frame_size()Eric Laurent2014-07-031-1/+1
| | | | | | | | | | | | | | | | | | | | Bug: 15000850. Change-Id: I955a6efa620b8f70fa5193c7853cbe88e879c9c3
* | | | Merge "Remove obsolete IAudioFlinger::channelCount()"Glenn Kasten2014-07-021-3/+0
|\ \ \ \ | |/ / / |/| | |
| * | | Remove obsolete IAudioFlinger::channelCount()Glenn Kasten2014-06-021-3/+0
| | | | | | | | | | | | | | | | Change-Id: Ie623edae2e795f9155f1f452fe4e6c7217a4a4c8
* | | | Support for audio attributes on audio output of media playerJean-Michel Trivi2014-07-012-4/+10
| | | | | | | | | | | | | | | | Change-Id: Iae4995c98e64add1ab9e6c8ae6501515032755f5
* | | | Merge "Add HEVC encoder support to ACodec"Rachad2014-06-271-0/+1
|\ \ \ \ | |_|_|/ |/| | |
| * | | Add HEVC encoder support to ACodecRachad2014-06-261-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 14571712 Change-Id: Idaec2394d569541f3963befe722f46f6b0007937