summaryrefslogtreecommitdiffstats
path: root/media
Commit message (Collapse)AuthorAgeFilesLines
* Implement parsing of vbv buffering info in RTSP.Andreas Huber2011-01-181-1/+11
| | | | | Change-Id: I7d871cafda2c4c65670a40ad9ab4f24317f8568a related-to-bug: 3351915
* integrate videoeditor preview player.Dharmaray Kundargi2011-01-161-0/+1
| | | | Change-Id: I83084f494605c8e6f4d198afa8c36f9e29579667
* Fixed thrashing in the cached buffer during 720p YT video streamingJames Dong2011-01-141-2/+2
| | | | | | bug - 3340194 Change-Id: Ic59bb18ab1731d7dd7cae7cc8aeb393900bce7f6
* Add audio encoding parameters checkJames Dong2011-01-122-18/+89
| | | | | | bug - 3345296 Change-Id: If3f33955f5473b0c5ad9c9b85f8b5cb21ddd7e65
* Merge "Fail to parse duration instead of asserting, if the server response ↵Andreas Huber2011-01-121-5/+7
|\ | | | | | | cannot be parsed." into honeycomb
| * Fail to parse duration instead of asserting, if the server response cannot ↵Andreas Huber2011-01-121-5/+7
| | | | | | | | | | | | | | be parsed. Change-Id: I42324468edca5ccce29486059091da8e64f36326 related-to-bug: 3338518
* | Publish MediaMetadataRetriever.java as public APIJames Dong2011-01-126-76/+5
| | | | | | | | | | | | | | | | | | | | | | | | o Removed setMode() methods and related mode constants o Removed some of the unused the metadata keys o Updated the javadoc o part of a multi-project change. bug - 2433195 Change-Id: I5ed167f1fd6a53cb143b7dc385b149431d434438
* | Merge "Speed up MP3Extractor using cached reads" into honeycombJames Dong2011-01-121-4/+33
|\ \
| * | Speed up MP3Extractor using cached readsJames Dong2011-01-121-4/+33
| |/ | | | | | | Change-Id: I53a5ed76bc2f76f0c184f3800b5448f677117ae3
* | Fix race in buffer ref counting.Glenn Kasten2011-01-121-10/+3
|/ | | | Change-Id: Id47c30469c3e3ec293ed2ef574a191275b5044d6
* Merge "Increase cache size and low-watermark threshold, also" into honeycombAndreas Huber2011-01-115-5/+49
|\
| * Increase cache size and low-watermark threshold, alsoAndreas Huber2011-01-115-5/+49
| | | | | | | | | | | | | | | | | | MediaPlayer now sends out MEDIA_INFO,MEDIA_INFO_VIDEO_TRACK_LAGGING messages to the JAVA client informing it how much (if at all) the video lags behind audio (arg2 is the media delay in ms). Change-Id: I6933f573d8597a35112e4b5ee0fcb826a7f6ddd1 related-to-bug: 3335220
* | Merge "Properly parse Matroska lacing flags and extract all frames contained ↵Andreas Huber2011-01-113-55/+284
|\ \ | | | | | | | | | in a block." into honeycomb
| * | Properly parse Matroska lacing flags and extract all frames contained in a ↵Andreas Huber2011-01-113-55/+284
| |/ | | | | | | | | | | | | block. Change-Id: I1aca46b2e28b9cad88bf4a296f675e81e66ee095 related-to-bug: 3331623
* | Merge "Fix uninitialized rect structure for retrieving rect cropping ↵James Dong2011-01-111-0/+2
|\ \ | | | | | | | | | information from decoder" into honeycomb
| * | Fix uninitialized rect structure for retrieving rect cropping information ↵James Dong2011-01-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from decoder o This patch is from NV. bug - 3333254 Change-Id: I02bc26af464ea0bc9ad9f2e111474e8398c67220
* | | Don't release the video recording frame after recording is stopped in ↵James Dong2011-01-101-1/+2
| |/ |/| | | | | | | | | | | | | CameraSourceTimeLapse.cpp bug - 3334999 Change-Id: I1c83080713696221048da9b1a9f8c2ee48849ade
* | Return a runtime error instead of asserting if the M4vH263Decoder fails in ↵Andreas Huber2011-01-101-1/+4
| | | | | | | | | | | | | | start() Change-Id: Ie704a72685f749613fa0ed5fa6f461abc0406371 related-to-bug: 3328200
* | Merge "NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications." into ↵Andreas Huber2011-01-104-14/+183
|\ \ | | | | | | | | | honeycomb
| * | NuPlayer now properly sends MEDIA_SET_VIDEOSIZE notifications.Andreas Huber2011-01-104-14/+183
| | | | | | | | | | | | | | | Change-Id: I99b4223ad6ecfd8839a3c0e737fef3165565d76d related-to-bug: 3336496
* | | Avoid deadlock in OMX::freeNode by making sure OMXCodecObserver does not ↵James Dong2011-01-102-5/+11
|/ / | | | | | | | | | | | | | | hold the last reference of OMXCodec object bug - 3336424 Change-Id: I4c79b66a900c527e3ae6a833f76d5da1b75c5a89
* | Awesomeplayer : Frame dropping logic changepmehendale2011-01-072-6/+13
|/ | | | | | | | | | | Changed late frame drop policy, now we are dropping only 1 in 8, late (> 40ms) frames. Dropping every late frame result in lot of noticible pauses, usually with peaky bitrate activity these pauses become more prominant. Dropping few frames is still required to allow overall playback chain, to regain the performance. Experimentally decided to drop Max one late frame in 8. Change-Id: If20848d619a76aaf8179b1e5c3155610e3bc85fd
* Add support for the "compilation" tag in mp3, mp4 and ogg, and also addMarco Nelissen2011-01-075-0/+17
| | | | | | | | | support for two common ways of specifying album artist in ogg files. b/3311831 (cherry-picked from GB because of weird automerger failure) Change-Id: Ibf12a3d6bc8bbc2ac5ea815de6b33414b8f53f0f
* Fix typo.Andreas Huber2011-01-061-1/+1
| | | | Change-Id: I2d7796425ea746432964ce48959b6c227d31df11
* If the stream for the new bandwidth doesn't have the segment we're looking ↵Andreas Huber2011-01-061-0/+13
| | | | | | | | for... go back to the previous bandwidth' stream. Change-Id: I3477cb6932102883509a7cbe9fb2b3bb02dac8c6
* Use NuPlayer for HTTP live streaming playback by default.Andreas Huber2011-01-062-4/+4
| | | | | | Reversed the property logic, set media.httplive.disable-nuplayer to true to revert Change-Id: I1057940667aaab56bb75c9ea15c2cdcab736f3c6
* Colorconverter may not support some src/dst bitmap configurations.Andreas Huber2011-01-062-27/+57
| | | | | | | Let it return an appropriate error code instead of asserting. Change-Id: I7fe0dfa169e1cbdecb04c5fcbe8501e73362d05e related-to-bug: 3328212
* If we failed to initialize the codec after transitioning to IDLE state, ↵Andreas Huber2011-01-061-1/+1
| | | | | | | | | don't assert during shutdown. Change-Id: I40ac44260fb136c15d6dcb9f5ad62211640c66ec related-to-bug: 3328222
* Remove support for obsolete PTP content providerMike Lockwood2011-01-063-541/+0
| | | | | | | This will be replaced by a new PTP host API in an upcoming commit. Change-Id: Ib914194e332b5c090cb8e34ed35bd691bc9f85d1 Signed-off-by: Mike Lockwood <lockwood@android.com>
* MTP: changes to use new usb_request support in libusbhostMike Lockwood2011-01-0613-91/+127
| | | | | Change-Id: Ic091eab166a66efcde0395dcebbbc513f2322fca Signed-off-by: Mike Lockwood <lockwood@android.com>
* Merge "Some more fixes regarding HTTP live in NuPlayer."Andreas Huber2011-01-056-23/+35
|\
| * Some more fixes regarding HTTP live in NuPlayer.Andreas Huber2011-01-056-23/+35
| | | | | | | | Change-Id: I9e29615fa8ee6c7bd4189373a75c20caef3fd2b1
* | Merge "Seek/Duration support for completed http live streams in NuPlayer."Andreas Huber2011-01-0514-44/+313
|\ \ | |/
| * Seek/Duration support for completed http live streams in NuPlayer.Andreas Huber2011-01-0514-44/+313
| | | | | | | | | | Change-Id: I55bbe75d87140c07b1927d14ad24130fce803463 related-to-bug: 3321475
* | Merge "Use video output if necessary for timelapse video recording"James Dong2011-01-051-9/+19
|\ \ | |/ |/|
| * Use video output if necessary for timelapse video recordingJames Dong2011-01-041-9/+19
| | | | | | | | Change-Id: I88d0cc824f0fbf8b2f392fbc23c69b5bfefda1b8
* | Merge "Properly shutdown the decoders on a reset() in NuPlayer's ↵Andreas Huber2011-01-045-61/+191
|\ \ | |/ |/| | | implementation."
| * Properly shutdown the decoders on a reset() in NuPlayer's implementation.Andreas Huber2011-01-045-61/+191
| | | | | | | | | | related-to-bug: 3321470 Change-Id: Ida6d2171c5a3a407188d4633602b764f8fe7086a
* | Merge "Remove captureFrame from MediaMetadataRetriever.java class It has ↵James Dong2011-01-041-1/+1
|\ \ | |/ |/| | | been replaced by getFrameAtTime() method"
| * Remove captureFrame from MediaMetadataRetriever.java classJames Dong2011-01-041-1/+1
| | | | | | | | | | | | It has been replaced by getFrameAtTime() method Change-Id: I9ed762e10e61dbc188e2a740e489a3e2ef9a6bb2
* | Make AwesomePlayer's reset process more verbose to track down ANRs.Andreas Huber2011-01-041-0/+14
|/ | | | | Change-Id: I8c9fa872263796ba61b3e8de6bc05d50f57833f5 related-to-bug: 3302399
* Fix build.Ying Wang2010-12-291-0/+2
| | | | | | | Due to a bug (fixed by 59163bf2f15e28712be6598144ae0fdb94dac52b), libstagefright_yuv.so was actually not prelinked. Change-Id: Idbc9b968708d0fc31a087d2e4f24398072d915e2
* Change libusbhost and libmtp from static to shared librariesMike Lockwood2010-12-291-1/+3
| | | | | Change-Id: Iccc67db32400cdeb88aa33261c9e0cf73db992ca Signed-off-by: Mike Lockwood <lockwood@android.com>
* Squashed commit of the following:Andreas Huber2010-12-2326-212/+631
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit eaeaa2672d4e0a82891493b2bde8bdd0c0e79a1b Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:26:48 2010 -0800 Remove lowest bandwidth stream if using the legacy player. Change-Id: I2f885e26344996de9152f8fda9fd6bdef89bf953 commit 7d652972615b2750fd8f1c21b9fab0e136df2b82 Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:14:36 2010 -0800 Don't clear the packet source's format for legacy discontinuities. Change-Id: I9bd5a21b9bd28043ad38bd0658ccc8eda3c1079a commit 2b18a45aac17cbfe1aa089d0f6510957d438dd64 Author: Andreas Huber <andih@google.com> Date: Thu Dec 23 10:13:55 2010 -0800 Use NuPlayer for HTTP live streaming based on runtime property. adb shell setprop media.httplive.enable-nuplayer true Change-Id: I22738df3403985dc8e6992b1ab5da5747309f773 commit 50d899fb7b9ea52c3994b0a58e993998d926aeed Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 16:25:22 2010 -0800 Make ACodec a lot less verbose. Change-Id: I94c7e499b61032321ffaf999f5ad2c913cde6a48 commit b19e1740cb4d02990a56844654b5d019987c6405 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 16:22:22 2010 -0800 Wait until we have fresh codec-specific-data before instantiating the decoders after a discontinuity involving a format change. Change-Id: I7bcf9b5ae3319f08bf8978a117e8ee5220902e37 commit 06428c006906c9099e430aface3b439ff1d36ecc Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 15:20:38 2010 -0800 Disable random seeks in the streaming tool for now. Change-Id: Ie86fde422dcfc4b2c7a01be51a193fda9c88cd71 commit e19db68f3bea8a61c191f60f6940f30e3a0d5f1b Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 15:20:27 2010 -0800 Tweak HTTP live parameters. Change-Id: If4b71e12485facc523a8a43d8213d0feb190daab commit 1e9942791538c2256b579d96c6c04264b0d8b087 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 14:48:23 2010 -0800 Enable http live streaming through NuPlayer for http URLs containing the string m3u8 Change-Id: I1691fe12ae8f1507fe3673313959cd50bc324624 commit 4c33f96a6e499ee0efe0e70b687094430cb7c1c0 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 14:40:27 2010 -0800 Support for HTTP live streaming in NuPlayer. Change-Id: Iacba1c3ebaeb8d3b972185deaf4cff18c8009c54 commit ddf705ce553708bc5b13d89a878484cf839bd674 Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 13:42:47 2010 -0800 StreamingSource now a subclass of abstract NuPlayer::Source Change-Id: Ia6c7c639628910b9d1f37decc55da48b07a70de3 commit 9e04a8406b1882a8e3fdeb7b4d52db5ae70b970a Author: Andreas Huber <andih@google.com> Date: Wed Dec 22 13:33:52 2010 -0800 Refactor media data sourcing to NuPlayer::Source. Change-Id: I1db9fb08c4e527bf7b19c29978cf342c2b0a0bc9 Change-Id: I9610a097481dda58f22142eacda3ac2dba0b63f9
* Distinguish discontinuities w/ a format change from those without.Andreas Huber2010-12-225-24/+63
| | | | | | Shutdown decoders as needed in anticipation of a format change, otherwise just flush. Change-Id: Ieb04f8aa8658569b091409c4903075fd496e5abb
* Better handling of forming absolute https URLs, runtime error on https:// ↵Andreas Huber2010-12-212-3/+4
| | | | | | access. Change-Id: I7f6275520b0bd070e645024dd151a8541b8787b2
* Merge "Squashed commit of the following:"Andreas Huber2010-12-2111-29/+172
|\
| * Squashed commit of the following:Andreas Huber2010-12-2111-29/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 63be8ceb8b2354fb997a277c0092abae015ecf10 Author: Andreas Huber <andih@google.com> Date: Fri Dec 17 13:45:34 2010 -0800 Enable handling of discontinuities that involve potential format changes. Change-Id: I21848a113db8764abb54bdcf302b0923253eaf4d commit d18a7f80ec09af382026809263dcbbfa9e7a9ec8 Author: Andreas Huber <andih@google.com> Date: Fri Dec 17 13:45:01 2010 -0800 Signal whether or not a format change occured as part of the discontinuity. Change-Id: I06e64f542f4369549c9cebbb892dc612346ae43d commit c400adbd5fdbd65cfef7aed9ec65bcaace4bb69b Author: Andreas Huber <andih@google.com> Date: Fri Dec 17 13:44:46 2010 -0800 A little more instrumentation of ACodec Change-Id: I07f4aeccbbd15cdd9f80f48c3f92ee984ef6d92b commit 1d802ee01f47b3cdc5b89502cec7fbb595e197a3 Author: Andreas Huber <andih@google.com> Date: Fri Dec 17 13:43:58 2010 -0800 Only sync audio/video queues if both types of media are actually present. Change-Id: Ic88edf9bb1ebd4034c08747cce9877a4e28e0d35 commit e402da39d9a4d8b75653a78f728e20a3ef0fb497 Author: Andreas Huber <andih@google.com> Date: Fri Dec 17 13:42:24 2010 -0800 Disable the random seek for now. Change-Id: Iddd597b546e2f229e88214f9bdd6452bb188105e Change-Id: I27c4d9ba916080be94ce6117dbb095e9022ed62b
* | Add more debugging code to track down hang during video recordingJames Dong2010-12-212-5/+20
|/ | | | | | bug - 3276561 Change-Id: I1e02590b23031f29bcbfc4a1064f039ed80cb862
* Merge "Backward-compatibility max file size support, ignoring 0 or negative ↵James Dong2010-12-201-1/+9
|\ | | | | | | file size limit"