summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice
Commit message (Collapse)AuthorAgeFilesLines
* Fix some missing checks against missing codecsJames Dong2012-10-111-14/+14
| | | | | | o related-to-bug: 6971073 Change-Id: Ia6d926663231f9a9ef31c82c85c70595c4a30ebe
* Cleaner Wifi Display shutdown process, avoid crashing HDCP on exit.Andreas Huber2012-09-272-0/+15
| | | | | Change-Id: Ie54ee3edd672ec629360b4ecc5df2f85ecbaa45f related-to-bug: 7247584
* Remove legacy code and APIs in wifi display related code.Andreas Huber2012-09-212-29/+0
| | | | Change-Id: Ia010e7a00534f9356b3247369d0ffd65591d91aa
* HDCP module binderizedAndreas Huber2012-09-195-2/+26
| | | | Change-Id: I866768b1e3f3b232f1934a35b65f66befc12f3f6
* Fixed a native crash due to deref of a NULL pointerJames Dong2012-09-141-1/+2
| | | | | | | | We only checked the mNativeWindow against NULL, but did not check the native window object itself against NULL. o related-to-bug: 7153683 Change-Id: I430d344dc09a2fc337bf51001551627056713773
* Various improvements to the wifi display implementation.Andreas Huber2012-09-121-0/+1
| | | | | | | | Using a MediaPuller now, audio and video on their separate threads. No more flushing the RTP stream on audio tracks, since it wastes too much of a full size UDP packet. Change-Id: I53346b4aea739c3142da13bd179428503a3c98b0
* Add a permission for controlling wifi display.Jeff Brown2012-09-071-0/+9
| | | | Change-Id: I321b6c1a0223e0c3d5df04fde7a13ab91c08c7bc
* Add a small hook to support gapless in AAH.John Grossman2012-09-061-5/+12
| | | | Change-Id: Ie07eca6b45142bdd83412ee0e38d732a4c355630
* Merge "Update remote display API." into jb-mr1-devJeff Brown2012-09-063-4/+4
|\
| * Update remote display API.Jeff Brown2012-09-053-4/+4
| | | | | | | | | | | | | | | | | | | | | | Renamed disconnect() to dispose() to emphasize the fact that this method is intended to clean up the IRemoteDisplay completely, not just temporarily disconnect the current client (which might be useful someday). Other minor tweaks. Change-Id: I1209639eb0cd8af09c724206642d7e52aab48257
* | Merge "To support .mxmf which is specified in Android CDD." into jb-mr1-devMarco Nelissen2012-09-051-0/+1
|\ \
| * | To support .mxmf which is specified in Android CDD.Dongwon Kang2012-09-051-0/+1
| | | | | | | | | | | | | | | | | | Bug: 7082658 Change-Id: I21269d72d1d21627c6adb2e6fbcb078d0eda6020 Tested: checked MediaScanner scans .mxmf and Music app plays .mxmf file.
* | | Merge "Fragmented mp4 extractor" into jb-mr1-devMarco Nelissen2012-09-051-0/+4
|\ \ \ | |_|/ |/| |
| * | Fragmented mp4 extractorMarco Nelissen2012-09-051-0/+4
| | | | | | | | | | | | | | | | | | | | | Still experimental. Set property "media.stagefright.use-fragmp4" to true to enable. Change-Id: I210b9c5b5164b5c5eefc31309845ee881ac7db8e
* | | Expose an IRemoteDisplay to trigger wifi display connections setup and feedback.Andreas Huber2012-09-053-30/+17
| | | | | | | | | | | | Change-Id: I7602cda0e38073c9f0e63fa4de238ca0d4b4ce8e
* | | Implement remote display service stubs.Jeff Brown2012-09-052-0/+13
|/ / | | | | | | Change-Id: I582ed000026bba6d116db8304e15a3c52f8a9a01
* | Add setVideoScalingMode support to NuPlayerJames Dong2012-09-043-2/+46
| | | | | | | | | | | | o related-to-bug: 7089195 Change-Id: Ic30d9312673f2d5837c779e023ac64468ecd4951
* | Support for acting as a wifi display sink.Andreas Huber2012-09-041-2/+2
| | | | | | | | Change-Id: I0beac87025b93c60164daa865c89f16b72197a47
* | Merge "Improvements to our MPEG2 Transport Stream parser" into jb-mr1-devAndreas Huber2012-09-041-2/+20
|\ \ | |/ |/|
| * Improvements to our MPEG2 Transport Stream parserAndreas Huber2012-08-311-2/+20
| | | | | | | | | | | | | | | | Verifies the continuity counter Parses and associates PCR time with streams Allows for a absolute time anchor to be signalled via discontinuity. Change-Id: I4bc88c78382c9cc6380f28df584cc6c254e0a8f9
* | Merge "Move fragmented mp4 parser to libstagefright" into jb-mr1-devMarco Nelissen2012-08-317-2429/+5
|\ \
| * | Move fragmented mp4 parser to libstagefrightMarco Nelissen2012-08-317-2429/+5
| |/ | | | | | | | | and rename it from Parser to FragmentedMP4Parser Change-Id: I986f50d0c5c93648aac675d6160e18623b031541
* | Add support for mpeg2 transport streams to the RTSP implementation.Andreas Huber2012-08-312-5/+75
|/ | | | Change-Id: I409d7133a53a71e62523b1acc2b03302fcf824a5
* Only run the wifi display RTSP server on demand, and only on the wifi directAndreas Huber2012-08-304-10/+14
| | | | | | interface. Change-Id: I7d3c44cb79cd40e73499f2d7ccf35c69b628e6d7
* Merge "Initial checkin of support for acting as a wifi display source" into ↵Andreas Huber2012-08-295-31/+169
|\ | | | | | | jb-mr1-dev
| * Initial checkin of support for acting as a wifi display sourceAndreas Huber2012-08-295-31/+169
| | | | | | | | Change-Id: I08f17efa0c7d007e17408feb7d4fbef0a19f531a
* | Preliminary support for HDCP as a binder service for wifi display support.Andreas Huber2012-08-292-0/+149
|/ | | | Change-Id: Ie0de1c086c629a668d1c7863992eef56fb94157c
* Fixed a potential/rare race condtion in MediaPlayerService::Client::notify() ↵James Dong2012-08-261-2/+10
| | | | | | | | | | | method o The mClient could be disconnected before the notify message is sent out. Use a local reference could help resolve this issue. o related-to-bug: 6782035 Change-Id: Ia2047bd7f2666100fed83c6e5417a3bf2e20cd2c
* Add a missing NULL check.John Grossman2012-08-231-1/+2
| | | | | | | | | Don't crash if its time to start the next media player in a media player chain, but the current player's client has a NULL mAudioOutput, as is the case when the low level player implements MediaPlayerHWInterface. Change-Id: If555da3a46960cbee91ff26e5b1fd05e52c8ef28
* Use the correct data offset by remembering the offset of the enclosing 'moof'Andreas Huber2012-08-132-8/+15
| | | | | | container. Change-Id: I2f0f92dabe31341a6a91d435943e4a65e34884ba
* Merge changes Ibe7e6d4b,Icf8904db into jb-mr1-devJohn Grossman2012-08-136-216/+480
|\ | | | | | | | | | | * changes: Move the AAH RTP code out of framework and into vendor. Add the ability to dynamicaly register MediaPlayer types.
| * Move the AAH RTP code out of framework and into vendor.John Grossman2012-08-132-67/+1
| | | | | | | | | | | | | | | | | | | | Relocate the AAH RTP code from framework/av into vendor/google_devices/phantasm. This change is the deletion, there will be a separate CL which re-introduces on the vendor side of things. Change-Id: Ibe7e6d4b633a3886b87a615691a2692f2382af6c Signed-off-by: John Grossman <johngro@google.com>
| * Add the ability to dynamicaly register MediaPlayer types.John Grossman2012-08-136-214/+544
| | | | | | | | | | | | | | | | | | | | | | | | Add the ability to dynamically register low level MediaPlayer factories which will be probed at setDataSource time to determine the proper MediaPlayerBase to instantiate. This change is in preparation for moving libaah_rtp out of frameworks/base and into phantasm platform directory. Change-Id: Icf8904db3ab9e3c85df6e780d5546d9988cb9076 Signed-off-by: John Grossman <johngro@google.com>
* | Signal end of stream if no more fragments are going to be available.Andreas Huber2012-08-092-1/+15
|/ | | | Change-Id: I16696740d3551aa8a5ba904ec757c64b0ecd1307
* Fix static sample table processing, add support for h.263 video.Andreas Huber2012-08-093-55/+49
| | | | Change-Id: I5628d3437b5e6f8836d78557fd07ab87e5a914e3
* Handle empty stsc boxMarco Nelissen2012-08-081-2/+9
| | | | Change-Id: I867e2499fac3045075654aaaecf44327753327fd
* experimental support for fragmented mp4 playback in nuplayerAndreas Huber2012-08-0320-47/+2654
| | | | | | cherry picked from change 170999 Change-Id: I407775f0290154ad4961134839a15c9f296424c0
* Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-devEd Heyl2012-07-291-2/+5
|\ | | | | | | | | | | | | Conflicts: services/audioflinger/AudioFlinger.cpp Change-Id: If27e4ff35de1e182394cc149e1557a49f0f7c95b
| * NuPlayer: Prevents creation of Video Decoder when we use Music PlayerHaynes Mathew George2012-07-251-2/+5
| | | | | | | | | | | | | | | | | | | | | | - Prevents instantion of Video Decoder when we use applications like Music Player which do not support Video Playback - Adds a check to prevent scanning for sources when it is either an Audio only clip or a video only clip or an AV clip played with a Music Player. Change-Id: I74dd9bc53e54fd4f3682536c987289ac252690b0 Signed-off-by: Arvind Thatikonda <arvindt@codeaurora.org>
| * Merge from jb-dev for "sample video corruption in MediaCodec mode." DO NOT MERGEEdwin Wong2012-07-172-2/+2
| | | | | | | | | | | | | | jb-dev commit: fa2b8f243eb048fb2b8e5a14356190f69eb31a36 Change-Id: I4f08b9c8e9682a998db01c509a390e51bae60c2d related-to-bug: 6732061
* | Codecs: Add MetaDataMode support to software video encoders.Eino-Ville Talvala2012-07-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This support is needed to enable efficient video recording with emulator and camera HAL 2. - Update SoftAVCEncoder and SoftMPEG4Encoder to support MetaDataMode extension. - Allow CameraSource to handle opaque pixel formats, so that MetaDataMode can be used. - Remove hardware codec restriction for MetaDataMode Bug: 6243944 Change-Id: I970eb3d55542a413b6d75a78f76d3a8583155601
* | Added a callback in nuplayer via informational event to signal the start of ↵James Dong2012-07-203-3/+20
| | | | | | | | | | | | video rendering Change-Id: Id7b9b82d4e5467ad8701bfbad4dcc5070f3703cf
* | Fixed sample video corrupted in MediaCodec mode.Edwin Wong2012-07-132-2/+2
|/ | | | | Change-Id: I50c5660072d40f6e297e58fd026ea04c89d6a70a related-to-bug: 6732061
* Add NOTICE and MODULE_LICENSE_APACH2 to libs build under /frameworks/av/James Dong2012-06-134-0/+380
| | | | | Change-Id: I0a3af3e2abdedebd5934f3d941d01c32cfc75e26 related-to-bug: 6647465
* Fix gapless for deep buffersMarco Nelissen2012-06-111-0/+1
| | | | | | | Forward current flags to next output. b/6645676 Change-Id: I584f7a67472d99cbd6bc38f3fe84763331d115d1
* Fix gapless playbackMarco Nelissen2012-06-111-38/+47
| | | | | | | | | | | | On some devices the actual framecount per buffer of an AudioTrack will be different than what was requested, which prevented the track from being reused. Now we create a new AudioTrack with the requested parameters, and then compare it to the track we already have. If they match, we throw away the new track and reuse the existing one. b/6644559 Change-Id: Id3e8c4460436f52e59b98ecaeb01c94f02877c1d
* For an RTSP live stream we won't map rtp time to normal play time,Andreas Huber2012-05-211-8/+3
| | | | | | | since we don't have the information necessary. Change-Id: I3119fcc061c4b6756a69c6139ffdf013d806fee1 related-to-bug: 6528548
* Buffer at least 2 secs worth of data at startup of after a seek beforeAndreas Huber2012-05-172-0/+42
| | | | | | | resuming starting RTSP playback. Change-Id: I060c6c7fd627ab7ebd5c095ddcfdb4cc0f637aad related-to-bug: 6364126
* Merge "Use new sd card mount point for dumpsys" into jb-devMarco Nelissen2012-05-071-2/+2
|\
| * Use new sd card mount point for dumpsysMarco Nelissen2012-05-071-2/+2
| | | | | | | | | | | | b/6455962 Change-Id: I5c9f8c16c50587b25cafab03c48662e63855868e