summaryrefslogtreecommitdiffstats
path: root/cmds/stagefright
Commit message (Collapse)AuthorAgeFilesLines
* stagefright: warnings be gone, some are now errors, use clangLajos Molnar2015-04-171-1/+1
| | | | Change-Id: I81f438ae444f04c12ae27ae4ef6d073033de172c
* stagefright: don't use ALooperRoster mutex for reply handlingLajos Molnar2015-03-101-6/+6
| | | | | | | | Change replyID-s from uint32_t to an object Move reply handling into the loopers (to reuse a common mutex) Bug: 19607784 Change-Id: Iaa035b846c424c5687ed17ce1079b325e86c54be
* media: switch to new AMessage handlingLajos Molnar2015-03-052-13/+13
| | | | | Bug: 19607784 Change-Id: I94cddcb81f671422ad4982a23dc4acfe57a9f1aa
* am e91c3dd0: am 6a025acb: am ec0472ba: Merge "Move AString\'s StringPrintf ↵Elliott Hughes2015-02-041-1/+1
|\ | | | | | | | | | | | | out of the way." * commit 'e91c3dd028c6cf551e905c5d2cfb5d1fc0c8bcb7': Move AString's StringPrintf out of the way.
| * Move AString's StringPrintf out of the way.Elliott Hughes2015-02-041-1/+1
| | | | | | | | | | | | | | | | | | We should come back and replace AString with std::string and switch to the "real" StringPrintf family, but this fixes the ODR violation that was preventing us from booting. Bug: 19265750 Change-Id: I798eb9ca5dd634e44625af5e583439ef9f0cdc35
* | Remove filename based writer constructorsMarco Nelissen2014-12-104-4/+40
| | | | | | | | | | | | | | MediaPlayerService can't open files (it needs an already opened file descriptor), so these were just wasting space. Change-Id: I323044a6c1814a7bff952ed71b5c7792df2abf03
* | Clean up makefile to fix build.Dan Albert2014-12-021-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | mediafilter was defining LOCAL_NDK_STL_VARIANT, but never setting LOCAL_SDK_VERSION, so it was a no-op. Since the project was still manually setting the stlport include path, it was getting the stlport headers with precedence over libc++, which breaks the world. Once that is fixed, the project has never linked libRScpp, which is required (I'm not sure how this part has ever worked). Change-Id: Iac70c86bc150eea08329812c0d5744434318d28e
* | am d0e12a16: am 902dc42d: am 07715ac3: Merge "C++11 compatibility."Dan Albert2014-11-201-1/+2
|\ \ | |/ | | | | | | * commit 'd0e12a161471823d1ab269cb608be3f3b0a71ed1': C++11 compatibility.
| * C++11 compatibility.Dan Albert2014-11-201-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix string literal concatenation to not be interpreted as UD literals. * Add constexpr compatibility for non-integral static members. * Use __typeof__ instead of typeof (should become decltype once this actually becomes C++11). * Add an appropriate cast for atomic_uintptr_t, since moving to C++11 means moving from <stdatomic.h> to <atomic>, which has better typechecking (hooray for not macros!). Bug: 18466763 Change-Id: I9561dcb2526578687819ff85421ba80d8e1a9694
* | am 8c5ee61a: am d86450b9: am c80b9b83: Merge "Fix struct vs. class mismatches"Chih-hung Hsieh2014-11-171-1/+1
|\ \ | |/ | | | | | | * commit '8c5ee61a057e3b87e8f0800b284642bf3b107fd0': Fix struct vs. class mismatches
| * Fix struct vs. class mismatchesBernhard Rosenkränzer2014-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | Fix something being declared a struct and forward-declared a class and vice versa. gcc doesn't care, clang complains about the mismatch. Change-Id: I7a7a8e9040e3c86fa1d73eb112631ea140861657 Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
* | stagefright test: MediaFilter native testDavid Smith2014-09-115-0/+927
| | | | | | | | | | Bug: 17203044 Change-Id: I16e30e04a5a1b6ed483b2d43de7c24cc0695485a
* | stagefright test: add surface playback flags -R,TDavid Smith2014-07-161-10/+39
|/ | | | | | | -R renders video output to the surface ASAP -T renders video output to the surface using frame timestamps Change-Id: I232f19587036edc12e86b4f1dea4d12accef3834
* stagefright: update ACodec to use CodecBase enumerations directlyLajos Molnar2014-07-071-14/+8
| | | | | Bug: 11784825 Change-Id: I9f322b78b52bfcc5040fda951486df4354cdba4f
* GLConsumer: Stop using default constructor paramsDan Stoza2014-06-241-1/+3
| | | | | | | | Removes the dependency on default constructor parameters for GLConsumer so that a different constructor prototype can safely be added. Change-Id: I0da924bbd4c141edbf305598c1be8bc575654680
* Remove warnings in recordvideoAndy Hung2014-05-051-5/+9
| | | | | Change-Id: I2ed72836210fd3a02c7bceeb5fccadf8dcb92fbc Signed-off-by: Andy Hung <hunga@google.com>
* Fix audioloop test programAndy Hung2014-05-051-62/+108
| | | | | Change-Id: Ic31966095d719cf2b33322675d7d0a2e6a203268 Signed-off-by: Andy Hung <hunga@google.com>
* am 3c782246: am b1d2b51c: am 761636f3: Merge "Do not force all command-line ↵Glenn Kasten2014-04-301-16/+0
|\ | | | | | | | | | | | | apps to be 32-bit only" * commit '3c782246d5ee9869f2167a00df748eac1b9e9153': Do not force all command-line apps to be 32-bit only
| * Do not force all command-line apps to be 32-bit onlyGlenn Kasten2014-04-301-16/+0
| | | | | | | | | | | | | | This is a partial revert of >Change-Id: I9ac557a8d02bbf6986a9b5c3cdce23d400b306a3 Change-Id: I214e1bd117dd40150ac5f7447f12c72c61f09a2f
* | 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
* | Use symbolic constants from <system/audio.h>Glenn Kasten2014-03-251-1/+1
| | | | | | | | | | | | | | | | AUDIO_INTERLEAVE_* AUDIO_STREAM_MIN AUDIO_SESSION_ALLOCATE Change-Id: I31dd6f327204685e50716079ce21c4ba206dff11
* | resolved conflicts for merge of 3c780188 to masterGlenn Kasten2014-03-141-0/+16
|\ \ | |/ | | | | Change-Id: Ic579d346c27ff05ea6444faaa60fa6caaec86fbf
| * mediaserver and associated services are 32-bit onlyGlenn Kasten2014-03-121-0/+16
| | | | | | | | | | | | also 32-bit only command-line apps Change-Id: I9ac557a8d02bbf6986a9b5c3cdce23d400b306a3
* | fix the build by fixing more warnings.Andreas Huber2014-02-112-3/+3
| | | | | | | | Change-Id: Ied0ec39eb83b101582702d1e30c21643ccf6353e
* | resolved conflicts for merge of 566be7c3 to masterNarayan Kamath2014-02-115-22/+29
|\ \ | |/ | | | | Change-Id: I7b1cc71057b2bd4f771e7bcf508a8c3abd6017ce
| * Make frameworks/av 64-bit compatibleKévin PETIT2014-02-115-15/+21
| | | | | | | | | | | | | | | | | | | | | | | | 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-046-6/+18
| | | | | | | | | | | | to media code Change-Id: I9f74a86e70422187c9cf0ca1318a29019700192d
* | Print statistics after ctrl-CMarco Nelissen2013-12-051-16/+43
|/ | | | | And exit cleanly when no audio or video track is found. Change-Id: I3e030d60c774ad3ede839cba999ab32dd86bab5a
* Fix build.Ying Wang2013-08-141-0/+1
| | | | Change-Id: If87636a654c8cfb2449e246df213fb24b08b4ad3
* Restore stagefright command line tool.Andreas Huber2013-08-131-0/+2
| | | | Change-Id: Ia17f48522f601d6a057ef3e1e8cd01f80a5c9951
* 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.
* Remove "LOCAL_MODULE_TAGS := debug" for stagefright testsMike Lockwood2013-06-061-4/+0
| | | | Change-Id: I53815d2f6d7dfe7eebb26c3802eb3d195244aab1
* New HLS implementation supporting independent stream sources, audio-only streamsAndreas Huber2013-05-311-40/+12
| | | | | | and more. Change-Id: Icfc45a0100243b2f7a14a9e65696be45b67d6495
* am a768b4f8: am 8f1efee1: Merge "MediaMuxer prefer not to use the ↵ztenghui2013-04-151-1/+1
|\ | | | | | | | | | | | | MPEG4Writer in real time recording mode." into jb-mr2-dev * commit 'a768b4f838f93823f661422d8193ebbff64b1b5a': MediaMuxer prefer not to use the MPEG4Writer in real time recording mode.
| * Merge "MediaMuxer prefer not to use the MPEG4Writer in real time recording ↵ztenghui2013-04-151-1/+1
| |\ | | | | | | | | | mode." into jb-mr2-dev
| | * 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
* | | am e63f850b: am da0dc0af: Add liblogYing Wang2013-04-091-2/+1
|\ \ \ | |/ / | | | | | | | | | * commit 'e63f850b179a43a344d438f202ad34ec7566f955': Add liblog
| * | Add liblogYing Wang2013-04-091-2/+1
| |/ | | | | | | | | Bug: 8580410 Change-Id: If493d87d60d71be664ad75b140c62acadb75b0d0
* | am 6bc010e3: am 9e36b5a5: Merge "Add the presentation rotation support" into ↵ztenghui2013-03-201-3/+12
|\ \ | |/ | | | | | | | | | | jb-mr2-dev * commit '6bc010e3062b50d5cf9605dd5ffaa0904772312e': Add the presentation rotation support
| * Add the presentation rotation supportztenghui2013-03-151-3/+12
| | | | | | | | | | | | bug:7991013 Change-Id: I10cb034b432876c724baa4974efcb3d67b8a99b6
* | Turn off debug tags in stagefright modules.Dan Morrill2013-03-191-7/+9
|/ | | | | | | | | LOCAL_MODULE_TAGS := debug causes the module to be included in every userdebug build, regardless of whether it's specified as a dep by the device config. This CL switches them all to optional (i.e. default behavior) so that we can do (userdebug) device builds without pulling these in. Change-Id: I4b7b65afea61865dd38b3af55550fb8f10edf66d
* Clean up the native code to match Java updateztenghui2013-03-081-1/+2
| | | | | | | | | 1. Add flags to match the java side change. 2. Update the interface. bug:7991013 Change-Id: I8ffe84c466b2a68e2e1e48b35b78db9e44640265
* CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-251-1/+2
| | | | | | | | | | | | | Camera: - Signal to AppOpsService when camera usage starts and stops - Listen to permissions revocations and act on them - Currently just kill camera connection when permissions lost Stagefright: - Pass on client name, UID to camera as needed Bug: 8181262 Change-Id: I9e33c9d05e9daa77dbb2d795045d08eb887ec8f0
* replace getISurfaceTexture by getIGraphicBufferProducerMathias Agopian2013-02-191-1/+1
| | | | Change-Id: I723a3863558126f2635a544a39bb3ec88d499c60
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-154-8/+10
| | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
* Add a test utility for MediaMuxer.ztenghui2013-02-132-0/+318
| | | | | | | | | | | This test/utility copy samples from one video and mux into another video. It support trimming, cutting audio or video track. It can run simply as command line like: adb shell muxer -a -v -s 1000 -e 8000 "/sdcard/DCIM/Camera/VID_*.mp4" bug:7991013 Change-Id: I8a2eeff3cabd001b6b2a7062d991dd076edbf22e