summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* stagefright: MediaFilter and SimpleFilter(s)David Smith2014-08-221-0/+162
| | | | | | | | MediaFilter implements CodecBase and provides video filtering support via filter modules which extend SimpleFilter. Bug: 17203044 Change-Id: Ifb30c501e2901c44999d95d7d150e863b2bd06c6
* move cache prefill to GenericSource's message handlerChong Zhang2014-08-211-5/+1
| | | | | | | | | | | | This allows prepareAsync to be terminated by reset promptly. It also makes it easier to do buffer update as GenericSource can access the cache status now. Bug: 16892748 Bug: 17182378 Change-Id: Ia55c04a810fd805041cb2025f6739afa5120b5ed
* camera: Fix setParameters for Preview FPS single/range valuesIgor Murashkin2014-08-181-0/+203
| | | | | | | | | | | | | As a workaround, duplicate CameraParameters into CameraParameters2 to prevent ABI break for some camera HALs that directly link into CameraParameters. CameraParameters2 implements the real fixes needed in the framework, while CameraParameters is left in to satisfy older camera HALs. Bug: 12609188 Bug: 16654949 Change-Id: I82ea6f5de2183dd046d4bf5683600c97f37ab4da
* stagefright/media: add support for codec features with text valueLajos Molnar2014-08-141-0/+1
| | | | | Bug: 11990470 Change-Id: I7600d999c5f4b6821d825d25fa7e8a2bb5a80c46
* Merge "MediaCodecList: handle errors gracefully" into lmp-devLajos Molnar2014-08-121-0/+1
|\
| * MediaCodecList: handle errors gracefullyLajos Molnar2014-08-121-0/+1
| | | | | | | | | | | | | | | | | | Handle missing OMX codecs, and codecs that do not load. Fix NULL dereference when initializing codec with no type. Bug: 16907578 Bug: 16905025 Change-Id: I5d103db36ebb029d1aab03222bf6e9324beb1566
* | MediaCodecList: don't return referencesLajos Molnar2014-08-121-2/+2
|/ | | | Bug: 16905025 Change-Id: I5b42b294f0cc785b8e4dda0e82c8f8377a46f487
* Merge "Extend downsampling ratios greater than 2:1" into lmp-devAndy Hung2014-08-111-0/+29
|\
| * Extend downsampling ratios greater than 2:1Andy Hung2014-08-111-0/+29
| | | | | | | | | | | | | | | | | | Also improve robustness to choice of sampling rate or buffer size such that increasing either by 10x does not cause overflow. Bug: 12979141 Bug: 15933066 Change-Id: If7989bd745d1bee3bdf811b8b7c978543ccafb65
* | Merge "Added Tunneled video playback support to ACodec" into lmp-devRachad2014-08-092-0/+7
|\ \ | |/ |/|
| * 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-056-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | 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