summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright/stagefright.cpp
Commit message (Collapse)AuthorAgeFilesLines
* am e80631aa: am 839d11d1: Merge changes I0a744dc7,Id993a70dMark Salyzyn2014-04-151-9/+7
|\ | | | | | | | | | | * commit 'e80631aa1992ca50af679cd6a018c0ffda7f9b17': media: use size_t for integer iterator to Vector::size() media: 64 bit compile issues
| * media: 64 bit compile issuesMark Salyzyn2014-04-151-9/+7
| | | | | | | | | | | | | | | | - change internal sized types to use stdint.h - printf & scanf formats - size_t or unsigned int for iterators Change-Id: Id993a70d8bf54c667c5d652b34179a2c727ed446
* | Remove deprecated BufferQueue constructorDan Stoza2014-04-071-3/+5
| | | | | | | | | | Bug: 13415624 Change-Id: I16e874c376d2f84d270f6a8c733618719cf49901
* | resolved conflicts for merge of 566be7c3 to masterNarayan Kamath2014-02-111-8/+10
|\ \ | |/ | | | | Change-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce
| * Make frameworks/av 64-bit compatibleKévin PETIT2014-02-111-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | Contains the necessary changes to make frameworks/av build and work on a 64-bit machine. Signed-off-by: Craig Barber <craig.barber@arm.com> Signed-off-by: Kévin PETIT <kevin.petit@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com> Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Change-Id: I725feaae50ed8eee25ca2c947cf15aee1f395c43
* | FINAL ATTEMPT: HTTP services are now provided from JAVA and made available ↵Andreas Huber2014-02-041-1/+3
|/ | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* Fix build.Ying Wang2013-08-141-0/+1
| | | | Change-Id: If87636a654c8cfb2449e246df213fb24b08b4ad3
* Fix build. last attempt.Ying Wang2013-08-061-1/+1
| | | | Change-Id: Ib955134f90b78cfc0d31272021ad5907a41df708
* always pass the BufferQueue explicitely to consumersMathias Agopian2013-07-121-1/+2
| | | | Change-Id: Ic2d9a9cf184a482b3c78a481ed693ee32df5ca13
* Adds VP9 decoding support for stagefright.hkuang2013-06-241-1/+1
| | | | | | | | | | | | | Also change the VP8 encoder role name from video_encoder.vpx to video_encoder.vp8 for future VP9 encoder support. Requires the change in frameworks/native and media_codecs.xml corresponding to the device. VP9 decoding test will be added to cts repo later.
* New HLS implementation supporting independent stream sources, audio-only streamsAndreas Huber2013-05-311-40/+12
| | | | | | and more. Change-Id: Icfc45a0100243b2f7a14a9e65696be45b67d6495
* MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.ztenghui2013-04-151-1/+1
| | | | | | | | By default, MPEG4Write will keep running in real time recording mode. bug:8598944 Change-Id: Idf7fbd4e0feb7763660a74279ba8817b79098aaf
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-2/+2
| | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
* HLS now properly publishes its "seekable" flags after connectionAndreas Huber2013-02-061-1/+2
| | | | | | | has successfully completed and a sufficient amount of data fetched, and only then signals that preparation is completed. Change-Id: I7684a14238b826909f518f2af506966e522dfcfc
* Merge "Remove unnecessary parameter"Glenn Kasten2012-12-211-2/+1
|\
| * Remove unnecessary parameterGlenn Kasten2012-12-181-2/+1
| | | | | | | | | | | | Just get the parameter on server side Change-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15
* | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-1/+1
|/ | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I64520a55f8c09fe6215382ea361c539a9940cba5
* stop using a deprecated SurfaceTextureClient ctor"Jamie Gennis2012-12-121-1/+1
|
* Revert "stop using a deprecated SurfaceTextureClient ctor"Jamie Gennis2012-12-121-1/+1
| | | | | | This reverts commit aef79b0676d8f0ee8ef637ec8be5ba73225b038d Change-Id: I5f6cf4d6d5dc895a9426f212dfc8a25b4bf2d23a
* stop using a deprecated SurfaceTextureClient ctorJamie Gennis2012-12-111-1/+1
| | | | Change-Id: I792277b0d711da22f6b2abb7f1d837450d6af8e2
* Stagefright command line tool: input file name lastJean-Michel Trivi2012-11-121-3/+3
| | | | | | | Show in usage that the source file name comes last, and is preceded by the options. Change-Id: I8407fc36c8d19785cb2e6e1f7b7a352a8d86f889
* Use new surface flinger API.Jeff Brown2012-08-241-1/+0
| | | | Change-Id: I594c6e15db5f617d2feaac1a65b5316daa3812d0
* Fixed incorrect codec type in the output for profiles/levels in cmd stagefrightJames Dong2012-04-271-7/+4
| | | | | | o related-to-bug: 6401068 Change-Id: Icdc2cfa37ed053f53d1466d8b068f1d9973ed82f
* Add option to stagefright for writing decoded PCMMarco Nelissen2012-04-271-1/+25
| | | | | b/774846 Change-Id: I8edce3e7d60b3f56b4eb1ed75ca80285c5ae3972
* Add profile/level dump for encoders in cmd stagefrightJames Dong2012-04-251-40/+49
| | | | | | o related-to-bug: 6401068 Change-Id: I51e3eeb026aa75c4492d421f5f239dc9072a9c8b
* Better error logging during meta data retrieval. Fixed the stagefrightAndreas Huber2012-04-111-1/+12
| | | | | | | | commandline tool to open the file to extract thumbnails from itself since mediaserver may not have permission to open files. Change-Id: Iabe16b3248e9bb0f266b0866a8d2ccba2ab7d2a8 related-to-bug: 6321237
* stagefright: remove dependency on skiaColin Cross2012-03-241-12/+4
| | | | | | | skia is only used to write a jpeg file, link directly to libjpeg instead. Change-Id: Iea8f4a2347c38328776541d2b74bcbdea3f62041
* fix libgui header locationMathias Agopian2012-02-271-3/+1
| | | | Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
* 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
* Merge "Properly connect to surface flinger in our shell tools"Andreas Huber2011-09-261-1/+9
|\
| * Properly connect to surface flinger in our shell toolsAndreas Huber2011-09-201-1/+9
| | | | | | | | | | | | 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
* 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
* SF transactions are now O(1) wrt IPC instead of O(N).Mathias Agopian2011-06-291-2/+2
| | | | Change-Id: I57669852cbf6aabae244ea86940a08a5a27ffc43
* 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
* Add the option '-S' to use surface allocated buffers in the stagefright ↵Andreas Huber2011-02-281-2/+61
| | | | | | cmdline tool. Change-Id: Ic84eeed1679d6bf68c92de0e20d30e7a3c4d410f
* 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-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
* Squashed commit of the following:Andreas Huber2010-11-221-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* Squashed commit of the following:Andreas Huber2010-09-271-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 29a4d3effb05a2e074cb0693316ab1977baeb0b6 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 12:01:32 2010 -0700 Fully working implementation of MPEG2TSWriter (for AAC and AVC sources). Change-Id: I8a32a47565b647bf6c078c520e39565e08ea0d84 commit f4dec4c3899f3be393508e180d6c07e249d3335e Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 10:36:31 2010 -0700 More reliable identification of MPEG2 transport streams. Don't keep scanning forever in case the stream does not have both audio and video tracks. Change-Id: Icc5b4e8be145b2805e8776559546a6818342aea7 commit 4fe3cc942f9b3d3cf54138b828c41214aa916dd2 Author: Andreas Huber <andih@google.com> Date: Mon Sep 27 08:23:39 2010 -0700 test code Change-Id: I16560a17661407d06497f99ff88230724bb898af commit 64d988b24f49f179a90fa677be11c823959e734b Author: Andreas Huber <andih@google.com> Date: Thu Sep 23 14:42:52 2010 -0700 First shot at supporting writing to an MPEG2 transport stream. Change-Id: Ie537939a99fa3ddc0c7661c47c18277584817c74 Change-Id: If78fd034af8f6e8ceac8dbeff96d5ecb3f6b96dc