summaryrefslogtreecommitdiffstats
path: root/cmds
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-042-2/+2
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* resolved conflicts for merge of 26f70db9 to masterAndreas Huber2011-11-081-1/+1
|\ | | | | | | Change-Id: Ib1536b1a4c9eeff80e0726b3e61cee12057cd120
| * Remove surface legacy APIs and code.Andreas Huber2011-10-281-1/+1
| | | | | | | | | | | | All surfaces are now supported through surface textures. Change-Id: I95dd823e7099c0c32a48a1121624149dcc29d9c6
* | Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-262-2/+2
|/ | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* NuPlayer is now taking on the task of streaming over RTSP.Andreas Huber2011-10-131-27/+1
| | | | Change-Id: Ie204db8810807f1e7981959e34dc0149e5d9563a
* Support for an MPEG2 Program Stream extractor.Andreas Huber2011-09-301-0/+1
| | | | Change-Id: I606d87c278f72b22a5b6d7ee57bce6b02e280d41
* Support AMR, G.711 and vorbis audio in ACodec and friends.Andreas Huber2011-09-281-5/+46
| | | | Change-Id: I08c03219bf2d60fc5c6e89957bd4b4c615570983
* Merge "Properly connect to surface flinger in our shell tools"Andreas Huber2011-09-263-3/+19
|\
| * Properly connect to surface flinger in our shell toolsAndreas Huber2011-09-203-3/+19
| | | | | | | | | | | | Also raise the layer to INT_MAX to float in front of the toolbar. Change-Id: I045a1c83924e6655f1734d15f2504b90312eec64
* | Add an option to dump the raw stream to a file in the stagefright cmdline tool.Andreas Huber2011-09-231-1/+46
|/ | | | Change-Id: Ie19eca2cdf162d6973037ec554ef5916243ea7d7
* Require INTERNET permission for network-based content.Dave Burke2011-09-021-2/+2
| | | | | | Bug #1870981 Change-Id: Ia3ad166390c4d60cea19c3783895b078a2c4c15f
* When encountering a discontinuity, flush(clear) all content enqueued up to thatAndreas Huber2011-08-251-10/+27
| | | | | | | point except previously enqueued discontinuities. Change-Id: Id04a559dc062fa4a5c80c599ad74bf81a543de01 related-to-bug: 5201378
* QueryCodecs() signature changeJean-Michel Trivi2011-07-221-1/+1
| | | | | | | Restore QueryCodecs() signature exactly as used by third-party libs. Add an alternative function to select HW only codecs. Change-Id: Ibb2cb4dd36fc0c6599eb93aa5751c216397e3b6f
* Merge "Add option to query hardware decoders only"Jean-Michel Trivi2011-07-181-1/+7
|\
| * Add option to query hardware decoders onlyJean-Michel Trivi2011-07-181-1/+7
| | | | | | | | | | | | | | | | | | Add an option to OMXCodec::QueryCodecs() to filter out software codecs. Update stagefright command line tool to list the roles of codecs. Change-Id: Icddb79118c30fe13cc3aea20f340174cc082c4e0
* | Include all supported mime types when querying decoder profile/level support.Andreas Huber2011-07-131-1/+3
|/ | | | Change-Id: Ia1c930eee489bfebb482ac5079bd6ac9354532f2
* Add support for some custom YUV420 color formats to recordvideo utilityJames Dong2011-07-071-8/+7
| | | | Change-Id: I2f0dfba466efb94b704dca761162d7c7457a43cf
* Merge "SF transactions are now O(1) wrt IPC instead of O(N)."Mathias Agopian2011-06-293-6/+6
|\
| * SF transactions are now O(1) wrt IPC instead of O(N).Mathias Agopian2011-06-293-6/+6
| | | | | | | | Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
* | Support for "streaming" non-transport streams by first converting them to ts ↵Andreas Huber2011-06-281-11/+165
|/ | | | | | packets. Change-Id: Ia753a1ab99039f54ce3678a38e997902372b5fa5
* Merge "Multiple changes to ACodec/codec tools:"Andreas Huber2011-06-281-7/+24
|\
| * Multiple changes to ACodec/codec tools:Andreas Huber2011-06-281-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure sf2 does not coalesce input buffers, generalize ACodec's codec instantiation based on OMXCodec's list of eligible component names. Some changes/additions to the "sf2" commandline tool Make surface options consistent with stagefright tool, i.e. use '-S' instead of '-s' New option '-R' renders surface-allocated buffers. Also fixes a longstanding bug introduced when generalizing from surfaces to native windows that never used surface-allocated buffers in sf2 even when the option was specified. Change-Id: I59fd533f0f6ef0337ebe2806ddc81a46878eb3ae
* | New option in the stagefright commandline tool.Andreas Huber2011-06-281-35/+42
|/ | | | | | | Use '-S' to allocate decoder buffers from a surface Use '-T' to allocate decoder buffers from a surface texture Change-Id: Ib71ea53d0fd1b2def08bfeac2fd8bcbdc1938161
* Reconstruct sync frame indication for content served by the MPEG2TSExtractorAndreas Huber2011-06-221-9/+38
| | | | | | Strip data up to the first IDR frame if necessary. Change-Id: I4a096785eb1a17b7484983788e223d188454771d
* Add an option to force to use HW codec in stagefright cmd toolJames Dong2011-06-131-2/+19
| | | | Change-Id: If6c277dd5a3f7a0b62acd6721343618b0be085fc
* Extract embedded cover art (aka poster frame) in mp4 filesJames Dong2011-05-261-4/+11
| | | | Change-Id: Ic9421ee27b9aa3b27df00878b887de20f25d232b
* update for new audio.h header locationDima Zavin2011-05-121-1/+1
| | | | | Change-Id: Ic4c62c4037800802427eb7d3c7f5eb8b25d18876 Signed-off-by: Dima Zavin <dima@android.com>
* audio/media: convert to using the audio HAL and new audio defsDima Zavin2011-04-271-2/+4
| | | | | Change-Id: Ibc637918637329e4f2b62f4ac7781102fbc269f5 Signed-off-by: Dima Zavin <dima@android.com>
* Get rid of the "pid" parameter from createSurfaceMathias Agopian2011-04-202-2/+0
| | | | Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
* - Add another parameter in notify() to be able to send timed text sampleGloria Wang2011-04-131-1/+1
| | | | | | | | through listener during video playback. - Add OnTimedTextListener in the MediaPlayer For feature request 800939. Change-Id: I65072c27acb4c0037109a72be38c73e9f667420f
* merge libsurfaceflinger_client into libguiMathias Agopian2011-03-251-3/+3
| | | | | | | | | | | | this is the first step in unifying surfacetexture and surface. for this reason the header files were not moved, as most of them will eventually go away. NOTE: currently we keep libsurfaceflinger_client.so as an empty library to workaround prebuilt binaries wrongly linking against it. Change-Id: I130f0de2428e8579033dc41394d093f4e1431a00
* Fix missing AOSP copyright headers for more filesJames Dong2011-03-172-0/+32
| | | | | | | | | | o Update the copyright date on InputDispatcher_test.cpp and InputReader_test.cpp because these two files were moved from other places to the current location, and were actually created in 2010. bug - 4119349 Change-Id: Ic93b81ddafb58e9e72a2e9e02ca3d9f173d6dca7
* Add the option '-S' to use surface allocated buffers in the stagefright ↵Andreas Huber2011-02-282-3/+62
| | | | | | cmdline tool. Change-Id: Ic84eeed1679d6bf68c92de0e20d30e7a3c4d410f
* Ignore format change message in sf2 instead of assertingAndreas Huber2011-02-041-0/+1
| | | | Change-Id: I2d7cdf371c07109398c53c7ffc37d7b10b6b6312
* Publish MediaMetadataRetriever.java as public APIJames Dong2011-01-121-4/+0
| | | | | | | | | | | | 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
* Squashed commit of the following:Andreas Huber2010-12-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Initial support for a true streaming player for mpeg2 transport streams.Andreas Huber2010-12-153-1/+612
| | | | Change-Id: I153eec439d260a5524b21270e16d36940ec3161a
* API Support for both synchronous and queued commands, optionally associated ↵Andreas Huber2010-12-061-1/+2
| | | | | | metadata. Change-Id: Idb90d64cb638942210c5822b3cba2f05b087d601
* Squashed commit of the following:Andreas Huber2010-12-061-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 9254c845d7c82976fd4b8be406ce4b17eeb0e119 Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 15:26:12 2010 -0800 Remove obsolete code from the cached data source. Change-Id: I794b986ac8977cbc834dff189221a636ba564e36 commit 2ee33711064c58c53ba65ed9e63dd4b01ec2380e Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 15:23:13 2010 -0800 LiveSource is dead, long live LiveSession. Change-Id: Ibcd0731ecf9c94f0b3e5db3d53d012d9da2a1c66 commit 9eabb2c3cd8571ab859bdeae0aa7f655c414d8fa Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 12:49:31 2010 -0800 Respect explicitly signalled discontinuities. Change-Id: I3c0c16a2de7a99742d25db7d1b2ff0258de52271 commit 7f7f7b6b906b6ece6e4d43af7fd5f494e805c5e5 Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 11:45:57 2010 -0800 Better protection against syncword emulation in AAC ADTS content. Change-Id: I867e80a4556dd46d24ab3e781177c248a5221719 commit fe765766582efcc350aed01135ea603576adccf6 Author: Andreas Huber <andih@google.com> Date: Fri Dec 3 09:15:59 2010 -0800 New implementation of http live driving code. Change-Id: I31ddf3d6a0d5929b121be704a2b9c3d6775f7737 Change-Id: Id8d1829c8fcb173756965013f848c1d426ef1048
* Prepare for publishing MediaMetadataRetriever as public APIJames Dong2010-12-031-3/+5
| | | | | | | | | | step one: o replaced captureFrame with getFrameAtTime o removed getMode bug - 2433195 Change-Id: I38a8cecef29014692f0b08b8818326e3ebb40a12
* Support streaming data across binder boundaries.Andreas Huber2010-11-232-0/+192
| | | | Change-Id: Ifbac61406dcb81343765f99ccba08bd90f9274cc
* Squashed commit of the following:Andreas Huber2010-11-222-2/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0870f7bdd10a7cd36087d723d1957d8e1b967ca7 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 12:57:04 2010 -0800 set_surface_crop doesn't seem to work right yet, stop using it in the SoftwareRenderer. Change-Id: If0a24f78b7810a6cecaa82eb4f23d0f90c22cc42 commit 4767b52bee3a54ae117a8708d6832276a44e6a6a Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 11:14:57 2010 -0800 info->mMediaBuffer may still be NULL at this point... Change-Id: I25a71569015b1bb87f1ea7efff7588958774426f commit 0cef79874e1f1ddb10b7402177a87d3cffc7de92 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 10:55:12 2010 -0800 QCOM's YVU420 color format conversion has now been tested. Change-Id: I7fef4b642a928af15d42f006f7cdc107d5ff1d67 commit 84fe05a6c969ede0ce8a85a530e110afca07c7a7 Author: Andreas Huber <andih@google.com> Date: Mon Nov 22 09:59:50 2010 -0800 Removed remaining traces of suspend/resume. Proper reporting of video dimensions based on cropping rectangle. Change-Id: Ib238b80cbc1f19e7d312f2422eb5e9ab6b06b1bc commit 50970cdc837c5c498bcf0cb61b436196ca9e2ef7 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:11:06 2010 -0800 Revamped Software Renderer respects the crop rectangle. Removed obsolete ADRENO support code. Change-Id: I984cbc8a99c4d97e09e7d1b1292099c88b9ae535 commit 8abbc6a5608bff650f968540f24a2eab75f254ed Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:10:41 2010 -0800 The metadata retriever now respects the crop rectangle while capturing a video frame. Change-Id: Id3377176060086d16717f62c77ce26fabe899050 commit 2d42e4466609d304e88bd2cdd6eb7b297340cc21 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 16:09:50 2010 -0800 Changed ColorConverter APIs to be more general. Clients can now refer to crop rectangles in both source and destination. Change-Id: Ief151d736818396d0389ec04e7df5650e3ad7c04 commit 273184303d54a54febd3e9c3dd4df30507ea78b5 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 15:04:06 2010 -0800 The stagefright commandline tool now writes the extracted video frame to /sdcard/out.jpg Change-Id: Ieb2ab3fda7a7cd9294beccb8db0eed75096eeef4 commit 2d43390328cadf4ba94c1c3c02e4fb30baa29690 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 14:36:55 2010 -0800 The AVC software decoder now properly advertises the cropping rectangle. Change-Id: Idb7a8a7e2fde5740f0fc34b7e8c92eca2577104b commit 9a7ed23c2fac8ce19dce7a34a603acee945a89f6 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 13:40:39 2010 -0800 OMXCodec now signals a format change if the cropping rectangle changes. ...and puts the cropping info into its output format. Change-Id: I3ffbd8e877ba286fe06a82c536ef20d92548d2e2 commit efe0323947029df1c502599ccc288c8d676dfd31 Author: Andreas Huber <andih@google.com> Date: Fri Nov 19 11:29:39 2010 -0800 Stagefright's MetaData object now supports rectangle items. Change-Id: I5667bb5ee6622c76104b99fb57f60abb802a8504 Change-Id: I27cb78f2c5e0353f95fdfc5cb53991949ed75b70
* Display AVC video sample profile and level for "stagefright" utilJames Dong2010-11-191-0/+15
| | | | Change-Id: I04b3f67d162cf3827bc74ad98cd1e1a0f5f14172
* Switch to use kKeyFrameRate for recordvideo utilityJames Dong2010-11-141-1/+1
| | | | Change-Id: I3f6abfed9c39223fe5c1a1b9c094b7ce8a8ca67f
* Added a commandline option "-x" to the stagefright commandline tool.Andreas Huber2010-11-091-4/+66
| | | | | | To display a histogram of decoding times and ideal frame rate distributions. Change-Id: Id8d70fd2960858c75f5f91ae9ebb9902ad5c37d3
* Remove one more opencore include pathJean-Baptiste Queru2010-10-181-1/+1
| | | | | Bug: 3101573 Change-Id: Id60845e4c46523e910504fe6e707f8247a3b6102
* Merge fb474872 from gingerbread-plus-aospJean-Baptiste Queru2010-10-181-3/+3
|\ | | | | | | Change-Id: I1bbb845a86a7b7df44ea175df3af22e5f47c44e3
| * Include the framework copy of the OpenMAX headers instead of referencing ↵Andreas Huber2010-10-151-3/+3
| | | | | | | | | | | | | | external/opencore. Change-Id: I762f59acf5e1f770e4d7c2d89af362bfffebefa6 related-to-bug: 3101573
* | Add two more options to "recordvideo" utilityJames Dong2010-10-061-49/+43
| | | | | | | | | | | | o also removed unused code Change-Id: I49471b0ac1cf70b5eedcde78a21e7770c312c5d6
* | Add a video record utilityJames Dong2010-09-302-0/+334
|/ | | | Change-Id: I3aa7cadf399aa319ee9ca3f391fd8599742bfb7e