summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
Commit message (Collapse)AuthorAgeFilesLines
* Added support for audio sessions in MediaPlayer and AudioTrack.Eric Laurent2010-06-222-19/+36
| | | | | | Audio sessions are used to associate audio effects to particular instances (or groups) of MediaPlayers or AudioTracks. Change-Id: Ib94eec43241cfcb416590f435ddce7ab39a07640
* Check and clip some video encoding parameters against media profiles before ↵James Dong2010-06-172-0/+82
| | | | | | passing them to video encoder Change-Id: I69e0e7411806a4ece6c0bf0e02c74eaaf48a17ac
* Remove hard-coded number of audio channels in AudioSourceJames Dong2010-06-141-1/+1
| | | | Change-Id: I5f362252c25e2251bbfa9818b711ee23b4975248
* Initial checkin for pause and resume controlJames Dong2010-06-112-0/+9
| | | | Change-Id: Ibdcf7bea5fb66baa81878704ba4091dfcfe382ee
* Remove the lock/unlock workaround from CameraServiceJames Dong2010-06-091-8/+17
| | | | | | bug - 2677772 Change-Id: I7c996daad8b3bfc89e9fa2d655dc18c9a5c68f2f
* Remove some hard-coded encoding parametersJames Dong2010-06-082-2/+33
| | | | Change-Id: I7a8ccd5d57891a6a585c8da2ee53acb094955913
* Initial checkin of preliminary rtsp support for stagefright.Andreas Huber2010-06-071-2/+7
| | | | Change-Id: I0722aa888098c0c1361c97a4c1b123d910afc207
* Properly handle start code in H264/AVC encoder outputJames Dong2010-05-201-0/+1
| | | | | | | | - Some H264/AVC encoder output start code in each output buffer, and others don't. This patch always strips the start code first so that the sample contains the correct size. - Also properly initialize the interleave duration. Change-Id: I692043ce7e38f0215e1097aad9e847a57907b6e4
* Workaround for preview frame rate setting and encoder profile and level ↵James Dong2010-05-201-2/+2
| | | | | | | | | settings on passion 1. QCOM camera HAL does not honor the preview frame rate set request. see bug - 2701282 2. QCOM video encoder has lots of 0-length output buffers if the default level setting is changed. see bug - 2660974 Change-Id: Id01d94bb77dc242c4712d56a91b0d69a96ba6c2f
* Detect and handle premature termination of a recording sessionJames Dong2010-05-141-6/+1
| | | | Change-Id: Ifb83b19f3e68580345b23efed5d5956fb81baeb8
* Handle recording file size and/or duration limitJames Dong2010-05-141-0/+15
| | | | Change-Id: Ib9ed1f3ebd8fef550cc130a7ef11f2905fa9aedc
* am 1d628c5d: merge from open-source masterThe Android Open Source Project2010-05-141-1/+1
|\ | | | | | | | | | | | | Merge commit '1d628c5d3dd7998b29c339292a2dc391015d0782' into kraken * commit '1d628c5d3dd7998b29c339292a2dc391015d0782': Accept media files by file extension in case insensitive manner.
| * merge from open-source masterThe Android Open Source Project2010-05-141-1/+1
| |\ | | | | | | | | | Change-Id: I934cf85c4673f9ca3a9549c2074907ad572310f4
| | * Accept media files by file extension in case insensitive manner.Atsushi Eno2010-03-191-1/+1
| | | | | | | | | | | | Change-Id: I8e246010c96802ae87960797607fc8f8f2ab6031
* | | Remove dummy surface in CameraSourceJames Dong2010-05-131-2/+2
| | | | | | | | | | | | | | | | | | bug - 2680919 Change-Id: Ia0308cf57fd67058b4dd0e042b3ce97f13df475f
* | | Added initial validation on video/audio encoding parameters before/at start()James Dong2010-05-112-22/+174
| | | | | | | | | | | | Change-Id: I1a40dd247202f70e3e5429d74533d349b88f1d54
* | | am 71bd9fc8: am 100ef9be: Merge "Disable vorbis seek when streaming from ↵Andreas Huber2010-05-062-1/+31
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | localhost." into froyo Merge commit '71bd9fc81e3154b9cad22ca7ff2d9c6ed6fdbe6c' into kraken * commit '71bd9fc81e3154b9cad22ca7ff2d9c6ed6fdbe6c': Disable vorbis seek when streaming from localhost.
| * | Disable vorbis seek when streaming from localhost.Andreas Huber2010-05-062-1/+31
| | | | | | | | | | | | | | | Change-Id: Icda523ae1c89e26482f1c1767fe3a8b9222bb30f related-to-bug: 2654400
* | | Support audio and video track interleaving in the recorded mp4 fileJames Dong2010-05-052-5/+19
| | | | | | | | | | | | Change-Id: Ifa27eb23ee265f84fe06773b29b0eb2b0b075b60
* | | Merge "Support AAC recording" into krakenJames Dong2010-05-042-33/+214
|\ \ \
| * | | Support AAC recordingJames Dong2010-05-032-33/+214
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Extend the audio recording to AAC format - Add support for setting some recording parameters - Add stss box to the meta data in the recorded file Change-Id: I41167bfd9d70ef9cd33906f8437b39c232b6d3b7
* | | | am 8ea45aad: am e083d0a2: Merge "Support for Ogg Vorbis decoding in ↵Andreas Huber2010-05-041-7/+35
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | | | | stagefright." into froyo Merge commit '8ea45aad100ee25067b2e83703454c71a968ba4f' into kraken * commit '8ea45aad100ee25067b2e83703454c71a968ba4f': Support for Ogg Vorbis decoding in stagefright.
| * | Support for Ogg Vorbis decoding in stagefright.Andreas Huber2010-05-041-7/+35
| | | | | | | | | | | | | | | | | | | | | Set the magic property media.stagefright.enable-vorbis to true to use the new implementation instead of the standalon vorbis player for file-based playback. HTTP streaming of vorbis content will always go through stagefright. Change-Id: Ie3843a99fadb22372f89540d0f8d65196e0c2af8 related-to-bug: 2654400
* | | Use timestamp from camera driver for CameraSourceJames Dong2010-04-283-3/+45
| | | | | | | | | | | | Change-Id: I09ddec69997c43b8f17fdd21304c76cb4c5ab8cf
* | | am 6852b198: am d3d445b1: Merge "Use PV_PLAYER to handle RTSP streaming" ↵James Dong2010-04-141-0/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | into froyo Merge commit '6852b198fbedd9378ed79ca6528a4d6f33b0b677' into kraken * commit '6852b198fbedd9378ed79ca6528a4d6f33b0b677': Use PV_PLAYER to handle RTSP streaming
| * | Use PV_PLAYER to handle RTSP streamingJames Dong2010-04-141-0/+5
| | | | | | | | | | | | | | | | | | bug - 2594865 Change-Id: Ice5b89b1d53bbc4da033892fe545bdf51ac7267f
* | | Remove legacy NO_OPENCORE code bypass from MediaPlayerService.Andreas Huber2010-04-091-4/+0
|/ / | | | | | | Change-Id: I72db73c91673e0d7f1090e3b033ae915337dc16e
* | Fix build. I screwed up a merge.Dave Sparks2010-03-021-1/+1
| |
* | Add locking to signal in AudioCache::notify(). Bug 2317844.Dave Sparks2010-03-021-1/+2
| |
* | Add some space and total memory amount to the memory dump from the media ↵James Dong2010-02-251-1/+3
| | | | | | | | server process.
* | Implement legacy behaviour for MediaPlayer's behaviour of starting from the ↵Andreas Huber2010-02-181-0/+2
| | | | | | | | | | | | start of the media on a start() call instead of resuming at the current position, if previously reached the end of the stream. Also properly report number of frames played to audio flinger. Finally, delay spawing the queue thread until actually used. related-to-bug: 2453220
* | Merge "Replace Tremor with Tremolo (an ARM optimised version of the Tremor ↵Gloria Wang2010-02-121-8/+1
|\ \ | | | | | | | | | library for doing Ogg Vorbis decompression)"
| * | Replace Tremor with Tremolo (an ARM optimised version of the Tremor library ↵Gloria Wang2010-02-121-8/+1
| | | | | | | | | | | | for doing Ogg Vorbis decompression)
* | | New API on java's MediaPlayer to suspend/resume a session.Andreas Huber2010-02-124-0/+28
|/ / | | | | | | related-to-bug: 2231576
* | split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-113-16/+16
| |
* | Fixing AMR recording code.Andreas Huber2010-02-101-0/+5
| |
* | Implementation of stagefright-enabled MediaPlayerService::decode functionalityAndreas Huber2010-02-102-7/+89
| | | | | | | | related-to-bug: 2359268
* | Merge "Properly implement asynchronous preparation of media playback."Andreas Huber2010-02-081-21/+2
|\ \
| * | Properly implement asynchronous preparation of media playback.Andreas Huber2010-02-081-21/+2
| | | | | | | | | | | | related-to-bug: 2413002
* | | Use Tremor for sim-eng, and Tremolo for other targets.Gloria Wang2010-02-081-1/+9
|/ /
* | Revert "Replace Tremor with Tremolo (an ARM optimised version of the Tremor ↵Gloria Wang2010-02-051-1/+1
| | | | | | | | | | | | library for doing Ogg Vorbis decompression)" This reverts commit 2f46c062b05254671aec96a98b431f91ae7b270c.
* | Replace Tremor with Tremolo (an ARM optimised version of the Tremor library ↵Gloria Wang2010-02-041-1/+1
| | | | | | | | for doing Ogg Vorbis decompression)
* | Don't use MemoryDealer in MetadataRetrieverClient as it's not necessary.Mathias Agopian2010-01-292-17/+8
| | | | | | | | Use a MemoryHeapBase directly instead.
* | Simplify the MemoryDealer implementationMathias Agopian2010-01-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | At some point the implementation became complicated because of SurfaceFlinger's special needs, since we are now relying on gralloc we can go back to much simpler MemoryDealer. Removed HeapInterface and AllocatorInterface, since those don't need to be paramterized anymore. Merged SimpleMemory and Allocation. Made SimplisticAllocator non virtual. Removed MemoryDealer flags (READ_ONLY, PAGE_ALIGNED) Removed a lot of unneeded code.
* | Support the specification of additional HTTP headers in the creation of a ↵Andreas Huber2010-01-281-2/+2
| | | | | | | | | | | | DataSource. related-to-bug: 2393577
* | API Extension: Support for optionally specifying a map of extra request ↵Andreas Huber2010-01-2812-22/+46
| | | | | | | | | | | | | | | | headers when specifying the uri of media data to be played. related-to-bug: 2393577 Original change by Andrei Popescu <andreip@google.com>
* | Fix issue 2285561: New AudioFlinger and audio driver API needed for A/V syncEric Laurent2010-01-262-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Added getRenderPosition() API to IAudioFlinger to retreive number of audio frames written by AudioFlinger to audio HAL and by DSP to DAC. Added getRenderPosition() API to AudioHardwareInterface to retreive number of audio frames written by DSP to DAC. Exposed AudioTrack::getPosition() to AudioSink() to make it available to media player. Removed excessive log in AudioHardwareGeneric.
* | Support for audio recording into AMR NB/WB files as well as audio tracks in ↵Andreas Huber2010-01-262-6/+107
| | | | | | | | | | | | MPEG4 files. related-to-bug: 2295449
* | Special-case .wmv and .wma metadata retrieval and playback to use PV if ↵Andreas Huber2010-01-211-0/+13
| | | | | | | | | | | | available. related-to-bug: 2381874
* | b/2353646Marco Nelissen2010-01-122-69/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | Fix music visualizations to also work with audiotrack callbacks, which stagefright uses. This slightly changes the way the data is stored, since before we were relying on the buffers being written always being at least 4K, whereas the callbacks are generally for smaller amounts of data. Now we append all the data to a big circular buffer, then return chunks of that buffer for visualization. When there are multiple things playing at the same time, this will give the wrong result, but (1) that was the case before as well, and (2) will be fixed once we start visualizing the mixer output instead of the mixer inputs.