summaryrefslogtreecommitdiffstats
path: root/include/media
Commit message (Collapse)AuthorAgeFilesLines
...
| * Added Tunneled video playback support to ACodecRachad2014-08-082-0/+7
| | | | | | | | | | Bug:16132368 Change-Id: I88d2d66b8548fc203f4a2c4797196af15e56ff38
* | NuPlayer: getSelectedTrackRobert Shih2014-08-081-1/+2
|/ | | | Change-Id: If5251f89b881e7f268e11a06cd3685d794c958b6
* Merge "AAC decoder: add support for controlling presentation parameters" ↵Jean-Michel Trivi2014-08-081-1/+10
|\ | | | | | | into lmp-dev
| * AAC decoder: add support for controlling presentation parametersJean-Michel Trivi2014-08-081-1/+10
| | | | | | | | | | | | | | | | | | Control the dowmixing of the AAC decoder Control the DRC processing of the AAC decoder Bug 16740915 Change-Id: I9b06ea8785f56213ea120ed85eeb360c88223297
* | Merge "Clarify and implement MediaCodec status codes" into lmp-devAndy Hung2014-08-072-2/+53
|\ \
| * | Clarify and implement MediaCodec status codesAndy Hung2014-08-072-2/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify MediaCodec status codes in MediaError.h When appropriate, return OMX error codes for status. Optionally return a status code from CreateByType() and CreateByComponentName(). Bug: 12034929 Bug: 13976475 Change-Id: I7463dd08d101074f730481b26127a69c9186c97e
* | | stagefright: support flexible YUV formatLajos Molnar2014-08-071-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | - Report flexible format for standard OMX formats that are flexible. - Accept flexible format when specifying video port formats. Bug: 10706245 Change-Id: I9e82bc895bb0d5d606eb05fdf83bec766eaa2046
* | | media/playerservice: add getCodecList() to MediaPlayerServiceLajos Molnar2014-08-071-0/+2
| | | | | | | | | | | | | | | Bug: 11990470 Change-Id: I8fa45946fd9b76f9b975fc59062819c57e6881ef
* | | stagefright: rework media codec list and infosLajos Molnar2014-08-074-36/+198
| | | | | | | | | | | | | | | | | | | | | | | | This is in preparation of serving the codec list and codec infos from the mediaserver Bug: 11990470 Change-Id: Ib8e2708679c9ce461a4ba179974a740cdcdf2731
* | | stagefright: add AString parceling, and equal/compareIgnoreCaseLajos Molnar2014-08-071-0/+7
| | | | | | | | | | | | | | | Bug: 11990470 Change-Id: If43ada5d2e768931f4409e499eaa268edade0500
* | | stagefright: move ARRAY_SIZE to foundationLajos Molnar2014-08-061-0/+2
| | | | | | | | | | | | | | | Bug: 11990470 Change-Id: Ifae790b774a0fb210acbe33a1310d3d6ba46e7fa
* | | Merge "some fixes for crash when extractor creation fails" into lmp-devChong Zhang2014-08-062-1/+9
|\ \ \
| * | | some fixes for crash when extractor creation failsChong Zhang2014-08-062-1/+9
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | - prefetch data for sniffing - notify error instead of crashing if extractor is NULL Bug: 16818302 Change-Id: I56ff4996d99ac2811d19d141f7ff7acdd7c1da17
* | | AudioSystem: add API to query audio HW sync sourceEric Laurent2014-08-062-0/+7
|/ / | | | | | | | | | | | | | | | | | | | | Add a method to query from the audio HAL the HW sync source used for a given audio session. Modify audio policy to select a direct output with HW sync when requested. Bug: 16132368. Change-Id: I03038f9188f2d389f8a5fd76a671854013a4513e
* | Merge "AAC encoder: add support for SBR mode selection" into lmp-devJean-Michel Trivi2014-08-051-1/+1
|\ \ | |/
| * AAC encoder: add support for SBR mode selectionJean-Michel Trivi2014-08-051-1/+1
| | | | | | | | Change-Id: Ibc07bff7710398929c135f38324dd29857fa0ea6
* | Add sound trigger control by audio policyEric Laurent2014-08-052-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Audio policy: - Added active capture indication to sound trigger service: recognition stops if concurrent capture is not supported. - Added generation of reserved I/O handle and session ID for utterance capture. Sound trigger service - Added sound model update callback handling. - Added service state callback - Simplified callback shared memory allocation. Bug: 12378680. Change-Id: Ib0292c2733e6df90fdae480633dd9953d0016ef1
* | Merge "MediaCodecSource: stop puller from caller's thread instead of looper" ↵Chong Zhang2014-08-011-2/+1
|\ \ | | | | | | | | | into lmp-dev
| * | MediaCodecSource: stop puller from caller's thread instead of looperChong Zhang2014-08-041-2/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently CameraSource/AudioSource's stop() and read() are both called from the puller's looper. This works if source operates normally (i.e. read() returns regularly before source is stopped), as the stop() will eventually be handled by the looper. However, if for some reason the source hang, it will get stuck in read(), and the stop() will never be processed, which could lead to ANR (in addition to the source hang). We need to move the source's stop out of the puller's looper. It also can't be on MediaCodecSource's looper, because the source's stop synchrounously waits for all outstanding buffers to return, these are only returned when MediaCodecSource's looper processes the buffer. This change moves the stop to MediaCodecSource::stop, after encoder is shutdown. Bug: 16522726 Change-Id: Ie91f563c5d8a98ab091bf1945af4e51f662b9403
* | Allow device to be unprovisionedJeff Tinker2014-08-011-0/+2
|/ | | | | bug: 12247651 Change-Id: I564ac8de3da2430342a028f4058e2c5ac2d85d5e
* Merge "stagefright: MediaCodec async operations." into lmp-devLajos Molnar2014-07-301-0/+2
|\
| * stagefright: MediaCodec async operations.Lajos Molnar2014-07-301-0/+2
| | | | | | | | | | | | | | | | | | | | In async mode: - codec must be restarted after flush - dequeueIn/OutputBuffers fail - getIn/OutputBuffers fail Bug: 11990118 Change-Id: If2d6a76ab499ee9ed4a11486fb537acbc52e66f6
* | stagefright: enable decoder color format selectionLajos Molnar2014-07-301-1/+1
|/ | | | | Bug: 10706245 Change-Id: I9a77631bfae0358be229b079228c1fcae0e77faf
* handle rotation in NuPlayerChong Zhang2014-07-301-0/+1
| | | | | Bug: 16653284 Change-Id: I54165041da5a13498d627eee1b3ec59ef3c923b0
* Merge "Add isSafeArraySize for new array size checks" into lmp-devAndy Hung2014-07-291-0/+27
|\
| * Add isSafeArraySize for new array size checksAndy Hung2014-07-301-0/+27
| | | | | | | | Bug: 15328708 Change-Id: I9dfca30745c3e4dda91c3894363462f8631c41a1
* | audio policy: pass session ID to capture activity methodsEric Laurent2014-07-282-6/+12
| | | | | | | | | | | | | | | | Indicate the audio session ID when calling getInput(), startInput(), stopInput(), releaseInput(). Bug: 12378680. Change-Id: I763793752f93e2f4e1445a5ab217c895af011038
* | rename AudioSystem::newAudioSessionId()Eric Laurent2014-07-282-7/+7
| | | | | | | | | | | | | | | | | | Rename AudioSystem::newAudioSessionId() to AudioSystem::newAudioUniqueId() as it can be used also for I/O handles. Bug: 12378680. Change-Id: I611ea3b5eb57a4b0774437f477ee87dc4ccc2cc2
* | AudioFlinger: update openInput() and openOutput()Eric Laurent2014-07-281-14/+14
|/ | | | | | | | | | Add parameters to openInput() and openOutput(): device address, input source. Allow caller to specify a given I/O handle Group parameters in a struct audio_config. Bug: 12378680. Change-Id: I7e9af74c0d996561cc13cbee7d9012d2daf33025
* 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
* | 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
* | 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
* | Add audio_input_flags_t to IAudioPolicyService::getInputGlenn Kasten2014-07-172-5/+7
| | | | | | | | Change-Id: I9f37be05f8dc7b85a8827a94e76ca0f45453e170
* | 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
* 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
* Merge "MediaCodec: change onError cb to return CodecException"Chong Zhang2014-07-111-1/+1
|\