summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Initial checkin for pause and resume controlJames Dong2010-06-116-23/+146
| | | | Change-Id: Ibdcf7bea5fb66baa81878704ba4091dfcfe382ee
* Fix a typo in NuCachedSource2 that would trigger an assert near the end of a ↵Andreas Huber2010-06-111-1/+1
| | | | | | stream. Change-Id: I963ad7074b830d553b67c8925efd5369d0b7a5b9
* Switch stagefright's approach to prefetching to the new model. The java ↵Andreas Huber2010-06-109-1260/+97
| | | | | | MediaPlayer is now notified about rebuffering start/end via info messages. Change-Id: If8185ba329ce8b6663b1ad39a4efb0ad3be81df2
* Merge "Switch LiveSource to use the new http data source instead of the old ↵Andreas Huber2010-06-102-9/+6
|\ | | | | | | one." into kraken
| * Switch LiveSource to use the new http data source instead of the old one.Andreas Huber2010-06-102-9/+6
| | | | | | | | Change-Id: I9623c480628c495dbfbe02bdc6372724a107e2e8
* | Merge "Initial check-in of new caching/prefetching data source ↵Andreas Huber2010-06-102-0/+551
|\ \ | | | | | | | | | implementation." into kraken
| * | Initial check-in of new caching/prefetching data source implementation.Andreas Huber2010-06-102-0/+551
| |/ | | | | | | Change-Id: I97a6e3f03c69c9b1219f1f06bd109c0102f2c504
* | Merge "Support "pausing" of MediaSources with the effect that they no longer ↵Andreas Huber2010-06-101-1/+19
|\ \ | | | | | | | | | pull on their upstream source until a subsequent read-with-seek." into kraken
| * | Support "pausing" of MediaSources with the effect that they no longer pull ↵Andreas Huber2010-06-101-1/+19
| |/ | | | | | | | | | | on their upstream source until a subsequent read-with-seek. Change-Id: Ie4153a10ab36c1135f5fcfb572958129d886bcc3
* | Merge "Initial check in of a new http data source implementation." into krakenAndreas Huber2010-06-102-0/+324
|\ \
| * | Initial check in of a new http data source implementation.Andreas Huber2010-06-102-0/+324
| |/ | | | | | | Change-Id: I17c358288ffe9ef690d702c58723c766d0a0cf21
* | Merge "Remove the lock/unlock workaround from CameraService" into krakenJames Dong2010-06-102-11/+34
|\ \ | |/ |/|
| * Remove the lock/unlock workaround from CameraServiceJames Dong2010-06-092-11/+34
| | | | | | | | | | | | bug - 2677772 Change-Id: I7c996daad8b3bfc89e9fa2d655dc18c9a5c68f2f
* | Merge "Apparently the TI video decoder only supports H.264 up to baseline ↵Andreas Huber2010-06-101-3/+4
|\ \ | |/ |/| | | profile/level 3, not level 3.x as previously assumed." into kraken
| * Apparently the TI video decoder only supports H.264 up to baseline ↵Andreas Huber2010-06-101-3/+4
| | | | | | | | | | | | profile/level 3, not level 3.x as previously assumed. Change-Id: I4a9aa80f392dbef72f81e25c67e5bd0654848b2c
* | Fix a potential(observed sometimes) media server crashJames Dong2010-06-091-1/+1
|/ | | | | | | | | | | | The problem is that we are referring an temp object returned from a function call. When the function call returned, the temp object is gone; and thus the reference may be invalidated. -- rebased bug - 2734946 Change-Id: I1993c4462df95610ca478f816adc30058af5850e
* allow re-targetting of surfacesMathias Agopian2010-06-081-1/+1
| | | | | | | | | Surfaces can now be parcelized and sent to remote processes. When a surface crosses a process boundary, it looses its connection with the current process and gets attached to the new one. Change-Id: I39c7b055bcd3ea1162ef2718d3d4b866bf7c81c0
* Remove some hard-coded encoding parametersJames Dong2010-06-084-27/+99
| | | | Change-Id: I7a8ccd5d57891a6a585c8da2ee53acb094955913
* Initial check-in for collecting stats from authoring engine at runtimeJames Dong2010-06-083-6/+138
| | | | Change-Id: I93a9d8bd260efc5e7fc135b726e3f1307c6df794
* Merge "Second part of speeding up video recording frame rate" into krakenJames Dong2010-06-082-32/+49
|\
| * Second part of speeding up video recording frame rateJames Dong2010-06-082-32/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Avoid copying the input recording frames to the encoder via OMX interface for TI video encoder This is a missing change for part one which help reduces the CPU load. 2. Release output buffers as early as possible. This is a little bit helpful, but not critical. TODO: We should save the underlying pointers allocated by the OMX component before we replace them and restore them before we call OMX_FreeBuffer()! Change-Id: Ib3a88978f4c3b1153808872eaa7ac4c265a811ff
* | Initial checkin of preliminary rtsp support for stagefright.Andreas Huber2010-06-0726-3/+4809
| | | | | | | | Change-Id: I0722aa888098c0c1361c97a4c1b123d910afc207
* | Merge "Initial checkin of preliminary support for "http live" streaming in ↵Andreas Huber2010-06-078-4/+622
|\ \ | |/ |/| | | stagefright." into kraken
| * Initial checkin of preliminary support for "http live" streaming in stagefright.Andreas Huber2010-06-078-4/+622
| | | | | | | | Change-Id: I20399f63d63af86a3ba22641c0e43385a108fb3f
* | Merge "Pass BluetoothDevice to the Bluetooth Headset calls." into krakenJaikumar Ganesh2010-06-071-7/+11
|\ \ | |/ |/|
| * Pass BluetoothDevice to the Bluetooth Headset calls.Jaikumar Ganesh2010-06-021-7/+11
| | | | | | | | | | | | | | This is to support multiple headsets at the same time, atleast at the framework level. Change-Id: I91d05c6c2828c9a09d00806d5e79f1e9c9c7cf84
* | Initial checkin of mpeg2 transport stream parser for stagefright.Andreas Huber2010-06-0715-3/+1613
| | | | | | | | Change-Id: I328ce77404daf7127933b48c9d58ed504fb8fc6f
* | Merge "Initial checkin of "foundation" library for future stagefright ↵Andreas Huber2010-06-0710-0/+1334
|\ \ | | | | | | | | | development." into kraken
| * | Initial checkin of "foundation" library for future stagefright development.Andreas Huber2010-06-0710-0/+1334
| | | | | | | | | | | | Change-Id: I11714dcaa647d0437a13e4c5b953b35e712da8f3
* | | Merge "Remove hard-coded pixel format for recording frames in CameraSource. ↵James Dong2010-06-071-10/+33
|\ \ \ | |/ / |/| | | | | Retrieve the pixel format from Camera HAL at runtime." into kraken
| * | Remove hard-coded pixel format for recording frames in CameraSource.James Dong2010-06-031-10/+33
| |/ | | | | | | | | | | Retrieve the pixel format from Camera HAL at runtime. Change-Id: I63f820f54c59c2019dfd195320b9928da3362536
* | Merge "Issue 2667801: [Audio Effect Framework] AudioFlinger, AudioMixer ↵Eric Laurent2010-06-049-29/+369
|\ \ | | | | | | | | | AudioTrack modifications." into kraken
| * | Issue 2667801: [Audio Effect Framework] AudioFlinger, AudioMixer AudioTrack ↵Eric Laurent2010-06-039-29/+369
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modifications. First drop of audio framework modifications for audio effects support. - AudioTrack/AudioRecord: Added support for auxiliary effects in AudioTrack Added support for audio sessions Fixed left right channel inversion in setVolume() - IAudioFlinger: Added interface methods for effect enumeraiton and instantiation Added support for audio sessions. - IAudioTrack: Added method to attach auxiliary effect. - AudioFlinger Created new classes to control effect engines in effect library and manage effect connections to tracks or output mix: EffectModule: wrapper object controlling the effect engine implementation in the effect library. There is one EffectModule per instance of an effect in a given audio session EffectChain: group of effects associated to one audio session. There is one EffectChain per audio session. EffectChain for session 0 is for output mix effects, other chains are attached to audio tracks with same session ID. Each chain contains a variable number of EffectModules EffectHandle: implements the IEffect interface. There is one EffectHandle object for each application controlling (or using) an effect module. THe EffectModule maintians a list of EffectHandles. Added support for effect modules and effect chains creation in PlaybackThread. modified mixer thread loop to allow track volume control by effect modules and call effect processing. -AudioMixer Each track now specifies its output buffer used by mixer for accumulation Modified mixer process functions to process tracks by groups of tracks with same buffer Modified track process functions to support accumulation to auxiliary channel Change-Id: I26d5f7c9e070a89bdd383e1a659f8b7ca150379c
* | am e896d416: am 2e3761ba: Merge "Changes to the prefetcher to allow for ↵Andreas Huber2010-06-031-12/+50
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle." into froyo Merge commit 'e896d41699ffe7be932102d7ccc9566f41ddb447' into kraken * commit 'e896d41699ffe7be932102d7ccc9566f41ddb447': Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle.
| * \ am 2e3761ba: Merge "Changes to the prefetcher to allow for bursts of data to ↵Andreas Huber2010-06-031-12/+50
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be transferred, hopefully allowing the radio to go to low-power mode while idle." into froyo Merge commit '2e3761ba43f634e97ac493f4b79e5e53954a1491' into froyo-plus-aosp * commit '2e3761ba43f634e97ac493f4b79e5e53954a1491': Changes to the prefetcher to allow for bursts of data to be transferred, hopefully allowing the radio to go to low-power mode while idle.
| | * \ Merge "Changes to the prefetcher to allow for bursts of data to be ↵Andreas Huber2010-06-031-12/+50
| | |\ \ | | | | | | | | | | | | | | | transferred, hopefully allowing the radio to go to low-power mode while idle." into froyo
| | | * | Changes to the prefetcher to allow for bursts of data to be transferred, ↵Andreas Huber2010-06-031-12/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hopefully allowing the radio to go to low-power mode while idle. Change-Id: I03dbdac3cd250340059ea43b341129b30acce4e2 related-to-bug: 2736779
* | | | | am c40209ac: am 28a92b2e: Merge "Fix a Javadoc to clarify when ↵James Dong2010-06-031-2/+6
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | | | | | | | | | | | | | setAudioStreamType() should be called." into froyo Merge commit 'c40209ac60a64a7c08b0d0028060d5308fd7a0b8' into kraken * commit 'c40209ac60a64a7c08b0d0028060d5308fd7a0b8': Fix a Javadoc to clarify when setAudioStreamType() should be called.
| * | | am 28a92b2e: Merge "Fix a Javadoc to clarify when setAudioStreamType() ↵James Dong2010-06-031-2/+6
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | should be called." into froyo Merge commit '28a92b2e76a13c18dc23e5239717b122a174182f' into froyo-plus-aosp * commit '28a92b2e76a13c18dc23e5239717b122a174182f': Fix a Javadoc to clarify when setAudioStreamType() should be called.
| | * | Fix a Javadoc to clarify when setAudioStreamType() should be called.James Dong2010-06-031-2/+6
| | |/ | | | | | | | | | | | | | | | bug - 2737926 Change-Id: I8718c3d1a544cf5cb1b7e98b6c24fe0e6d3574ba
* | | A debugging DataSource artifically limiting the available bandwidth.Andreas Huber2010-06-013-0/+137
| | | | | | | | | | | | Change-Id: I4ca75337a52599d211ea066fd94e649748df052d
* | | Merge "Avoid copying for input recording frames in CameraSource" into krakenJames Dong2010-05-281-25/+36
|\ \ \
| * | | Avoid copying for input recording frames in CameraSourceJames Dong2010-05-281-25/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the part one. - Let CameraSource be a MediaBufferObserver. It releases the recording frame when the ref count of a MediaBuffer containing the recording frame drops to 0. This reduces the CPU load from 90+% down to 50-60%. Part two is related to the avoidance of copying the input video frames to the video encoder. However, we are not able to use OMX_UseBuffer directly. Still work on the second part. Change-Id: I906f1d054ae8bdcf82e1617f1fc120152f2eb2eb
* | | | Better sniffing of MPEG4 content by checking for a compatible sub-brand.Andreas Huber2010-05-271-1/+79
|/ / / | | | | | | | | | | | | Change-Id: I076908822ad0e663b9932e61fb33edc12c2e1948 related-to-bug: 2673192
* | | Merge "After failing to create an AudioTrack, only stop the source if we ↵Andreas Huber2010-05-271-2/+6
|\ \ \ | | | | | | | | | | | | were the ones starting it." into kraken
| * | | After failing to create an AudioTrack, only stop the source if we were the ↵Andreas Huber2010-05-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | ones starting it. Change-Id: I1820c2634cfeb01af9eaf11b6473c5d7b87d1fa3 related-to-bug: 2716035
* | | | Remove the logic in CameraSource using CameraParameters class to find out ↵James Dong2010-05-271-24/+5
| | | | | | | | | | | | | | | | | | | | | | | | the buffer size. Change-Id: I76eea76bda49529d08b46241d3dded1a804f891c
* | | | Add support for gps altitude EXIF tags.Wu-cheng Li2010-05-271-5/+35
| | | | | | | | | | | | | | | | | | | | | | | | Also improve the precision of getLatLong(). Change-Id: Id2c60f0d1d19e9da173b5ec1228f03c2195e189f
* | | | Merge "Avoid repeatedly allocating and freeing memory in CameraSource" into ↵James Dong2010-05-261-1/+27
|\ \ \ \ | | | | | | | | | | | | | | | kraken
| * | | | Avoid repeatedly allocating and freeing memory in CameraSourceJames Dong2010-05-261-1/+27
| | | | | | | | | | | | | | | | | | | | Change-Id: Ia3760820da0559e4e908dedae1f1df05f9a6a242