summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
Commit message (Collapse)AuthorAgeFilesLines
* Added encoding parameters set up for H263 video encoderJames Dong2010-06-291-17/+95
| | | | | | | | Also: - Allowed start() call when encoder already starts and stop() call when encoder has not started yet - Handled default value for audio/video sources/encoders and file output format Change-Id: I03b2f7d3cf570baa0fd011a8c0ad200f2f2a5da1
* Separate MediaRecorderClient with MediaPlayerClientJames Dong2010-06-284-5/+5
| | | | | | | | | | - An alternative would be to define a common base class that both MediaRecorderClient and MediaPlayerClient can derive. But since the common code, onTransact() and notify() uses some Binder code, having a common base class may not gain us too much in terms of code reuse. Change-Id: Ibc06720278ad173fceacff3d267b7060856c6316
* Provide progress status report during authoringJames Dong2010-06-252-16/+75
| | | | | | | | | - Track either the number of A/V frames authored, or the time elapsed - Track the completion of the authoring - Add multiple camera support for authoring by accepting a camera id parameter - Set file type based on the OUTPUT_FORMAT requested Change-Id: I0f9d31b3b7a8fa43eb53f572410fb0ebd4fa0bb7
* Enable passing parameters to the MediaWriter at runtime (at start() call).James Dong2010-06-252-4/+24
| | | | | | | | | | - estimate the moov box size for mp4 file writer based on the file size/duration limit and target bit rate. - can switch to use 64 bit file offset at runtime rebased Change-Id: Ibbe1f57e91ab2605820d5d96e8048d11e5559c53
* Track maximum amplitude and fix getMaxAmplitude()James Dong2010-06-242-1/+9
| | | | | | - only start to track the max amplitude after the first call to getMaxAmplitude() Change-Id: I64d3d9ca0542202a8535a211425e8bccceca50fc
* Remove most stagefright property overrides, remove VorbisPlayer and ↵Andreas Huber2010-06-238-848/+8
| | | | | | | VorbisMetadataRetriever as this functionality is now provided by stagefright. Change-Id: Ieafe75a4550c273ad59b4518d7cd4c0fce0f7cce related-to-bug: 2370115
* 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.