summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | Correct MediaCodec + Surface behaviorAndy McFadden2013-03-052-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Assorted tweaks: - Allow signalEndOfInputStream() before ACodec is in Executing state (added message to two more states). - Return an error if signalEndOfInputStream() is called a second time on the same stream. - Require AndroidOpaque color format in createInputSurface(). - Disallow dequeueInputBuffer() after an input surface has been created (boolean flag in MediaCodec tracks it). - Discard input surface when encoder is re-configure()ed (drop OMXNodeInstance's ref when we go back to Loaded). Bug 7991062 Change-Id: Iff30f3036e14eb5a2f6536910dcf11aba33031ee
| * | | Merge "Add template class SingleStateQueue" into jb-mr2-devGlenn Kasten2013-03-062-0/+132
| |\ \ \ | | |/ / | |/| |
| | * | Add template class SingleStateQueueGlenn Kasten2013-03-052-0/+132
| | | | | | | | | | | | | | | | Change-Id: If7e2bc9b2a216524ee9cbb68682e2634933b4973
| * | | Merge "Implement Surface input to MediaCodec." into jb-mr2-devAndy McFadden2013-03-054-0/+65
| |\ \ \ | | |/ / | |/| |
| | * | Implement Surface input to MediaCodec.Andy McFadden2013-03-044-0/+65
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Also, renamed a CHECK_INTERFACE macro that was clashing with the Binder version. Bug 7991062 Change-Id: If5e6ed0a06d9f67975497676e4b05abe3aa3d6c0
| * | Miscellaneous cleanupGlenn Kasten2013-03-041-1/+1
| |/ | | | | | | | | | | | | | | | | | | Abbreviation framesReady to fRdy for new systrace. Put inline const on one line. Use local copy of mState in state. Improve logging. Line length 100. Change-Id: I8201c3ce0e53fd464fd33d02544e52c342d40b68
| * media.log cleanupGlenn Kasten2013-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove almost all of the specific logs, but leave the media.log logging infrastructure in place for the next time we need it. Re-apply a few good changes that were reverted earlier: - check logf format vs. argument list compatibility - distinguish potentially modified and actually modified tracks in FastMixer - fix benign bug where sq->end() was called more than once - fix a build warning Bug: 6490974 Change-Id: I02d3e83646c738acaebb415bd0d6b548638b4ef5
| * ProCamera: Add CpuConsumer asynchronous mode supportIgor Murashkin2013-02-281-0/+7
| | | | | | | | | | | | Bug: 8290146 Bug: 8291751 Change-Id: I25423a2b8a70ac7169911b1c7b482aa17190fe0f
| * Camera: Drop ProCamera connections when a Camera connection happensIgor Murashkin2013-02-284-3/+88
| | | | | | | | | | | | | | * Also adds an ICameraServiceListener with available/not available statuses Bug: 8291653 Change-Id: I24680f1a2dc109510caf451cf7c7bd180b670d84
| * Merge "camera_client: refactor Camera/ProCamera commonalities into ↵Igor Murashkin2013-02-274-106/+170
| |\ | | | | | | | | | BasicCamera" into jb-mr2-dev
| | * camera_client: refactor Camera/ProCamera commonalities into BasicCameraIgor Murashkin2013-02-264-106/+170
| | | | | | | | | | | | Change-Id: Ie10a4094522d49683657665fe94ab0b7ccd280e9
| * | Revert "Logging to investigate a crash"Glenn Kasten2013-02-271-11/+1
| |/ | | | | | | This reverts commit f0ff908da019a44115109f1b4d1b6864b35a8a29.
| * CameraService and Stagefright: Support AppOpsEino-Ville Talvala2013-02-257-14/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * ProCamera: Fix waitForFrameBuffer not handling multiple outstanding framesIgor Murashkin2013-02-221-3/+14
| | | | | | | | | | | | | | | | | | | | | | If the CpuConsumer triggered multiple onFrameAvailable callbacks in between a single waitForFrameBuffer call, the old code would only handle 1 callback. This meant on two subsequent waitForFrameBuffer calls the second would always timeout when two buffers were already available to be unlocked. Bug: 8238112 Change-Id: Ibefca35005ac5c408e5ada97ec4a4344a9e3e497
| * ProCamera: add waitForFrameBuffer/waitForFrameResult blocking callsIgor Murashkin2013-02-221-1/+44
| | | | | | | | Change-Id: I851d41aeecaa15245d5b9d622132e8706d6e292c
| * ProCamera: Add getInfo for getting static metadata (and a test)Igor Murashkin2013-02-222-1/+6
| | | | | | | | Change-Id: I3b87dfbc621d98bf41f37a892a1012baf85b5166
| * Camera: ProCamera - implement onResultReceived callback for metadata callbacksIgor Murashkin2013-02-222-6/+18
| | | | | | | | Change-Id: I46775402b007244bc383d6343a620eebbd492aad
| * Camera: ProCamera - add createStreamCpu and unit testIgor Murashkin2013-02-221-12/+74
| | | | | | | | Change-Id: I468172dbfdd78510b273bf9d119c950cbeda7ea3
| * Camera: Change ProCamera to take IGraphicBufferProducerIgor Murashkin2013-02-221-4/+5
| | | | | | | | Change-Id: Iec62eead6d179aa5486f7719143340976bb76e7d
| * Camera: ProCamera2Client - add createStream (service is stubbed) and unit testIgor Murashkin2013-02-222-1/+11
| | | | | | | | Change-Id: I1ae7ba9b24f5883c214c19a7ed0eaf0c802d69c1
| * Camera: ProCamera - add createStream stub and unit test for itIgor Murashkin2013-02-221-0/+41
| | | | | | | | Change-Id: Ic05130e63f4f2c0c3278ba348b192992169f105f
| * Camera: ProClient add asynchronous locks and suchIgor Murashkin2013-02-222-2/+13
| | | | | | | | Change-Id: I551e5e5e76d9be733fab5224beaa7309268c0f38
| * Camera: Add ProCamera private binder interface for an API2-light functionalityIgor Murashkin2013-02-224-1/+313
| | | | | | | | Change-Id: I2af7a807c99df75ea659e6e6acc9c4fca6a56274
| * Camera: Add unit test infrastructure for libcameraclientIgor Murashkin2013-02-221-1/+1
| | | | | | | | Change-Id: I957538663ae8332d26f3640c63a75efc79f4ac5c
| * Camera: Add exists function to CameraMetadataIgor Murashkin2013-02-221-0/+6
| | | | | | | | Change-Id: I081f61417fca7c8408e9e767129647ddce5364ab
| * Camera: Move CameraMetadata.h from service to client libraryIgor Murashkin2013-02-221-0/+171
| | | | | | | | Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f
| * Merge "Revert "Temporary additional logging to investigate bug""Glenn Kasten2013-02-151-2/+2
| |\
| | * Revert "Temporary additional logging to investigate bug"Glenn Kasten2013-02-151-2/+2
| | | | | | | | | | | | | | | | | | This reverts commit 32584a7d672864b20ab8b83a3cb23c1858e908b7 Change-Id: I9dc680578b955b1af462eeb7a49d61a0d45eb81b
| * | Merge "Temporary additional logging to investigate bug"Glenn Kasten2013-02-151-2/+2
| |\ \ | | |/
| | * Temporary additional logging to investigate bugGlenn Kasten2013-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug appears related to continuing to use an invalid buffer provider in fast mixer after track destruction, so focus the added logs in that area. Also includes a bug fix: was calling log in an unsafe place near Threads.cpp AudioFlinger::PlaybackThread::createTrack_l line 1250. Details: - include caller pid or client pid where appropriate - increase log buffer size - log mFastIndex when AudioMixer sees an invalid bufferProvider. - log both potentially modified and actually modified tracks in FastMixer. - fix benign bug where sq->end() was called more than once. - log StateQueue push() call and return. - increase StateQueue size from 4 to 8 entries - log mixer->enable(), bufferProvider, and currentTrackMask - log buffer provider addresses - increase fast mixer log buffer again - check logf format vs. argument list compatibility - add logging to AudioMixer - add checking of magic field in AudioMixer to detect overwrites - add bool AudioMixer::enabled() - increase log buffer sizes yet again - enable assertion checking without ALOGV - improve a few log messages - check for corruption in more places - log in all the process hooks - add new mixer APIs so we can check for corruption of mixer state - fix a build warning Bug: 6490974 Change-Id: Ib0c4a73dcf606ef9bd898313b3b40ef61ab42f51
| * | Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-154-13/+13
| |/ | | | | | | Change-Id: I4e8a8b20914cb64edc37abe68233fbc9f2b5d830
| * Add support for fragmented mp4 to MPEG4ExtractorMarco Nelissen2013-02-151-0/+2
| | | | | | | | | | | | | | This makes FragmentedMP4Extractor obsolete. It will be removed in a separate change. Change-Id: Ida74c07ccf84983e20a1320ee24ffc7a5c083859
| * Revert "Temporary additional logging to investigate bug"Glenn Kasten2013-02-141-2/+2
| | | | | | | | | | | | This reverts commit 639482c24c911b125398b31883ba6d55faebe28b Change-Id: I11f2829072ab11e18b0663024f27bf31192f1d39
| * Temporary additional logging to investigate bugGlenn Kasten2013-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug appears related to continuing to use an invalid buffer provider in fast mixer after track destruction, so focus the added logs in that area. Also includes a bug fix: was calling log in an unsafe place near Threads.cpp AudioFlinger::PlaybackThread::createTrack_l line 1250. Details: - include caller pid or client pid where appropriate - increase log buffer size - log mFastIndex when AudioMixer sees an invalid bufferProvider. - log both potentially modified and actually modified tracks in FastMixer. - fix benign bug where sq->end() was called more than once. - log StateQueue push() call and return. - increase StateQueue size from 4 to 8 entries - log mixer->enable(), bufferProvider, and currentTrackMask - log buffer provider addresses - increase fast mixer log buffer again - check logf format vs. argument list compatibility - add logging to AudioMixer - add checking of magic field in AudioMixer to detect overwrites - add bool AudioMixer::enabled() Bug: 6490974 Change-Id: I1f3f18aa62d9fbd35bc32285b669f5ba40efe28e
| * Add the native MediaMuxer support.ztenghui2013-02-122-0/+185
| | | | | | | | | | | | | | | | | | MediaAdapter: a helper class to convert the push model to pull model. MediaMuxer: the real muxer. bug:7991013 Change-Id: If3b79551bc6332bc81f5c2740885e579a5c4abf9
| * Add support for querying if a stream is active remotelyJean-Michel Trivi2013-02-112-1/+8
| | | | | | | | | | | | Bug 7485803 Change-Id: I0744374f130fd2dd0714102354cffed2fa915361
| * Allow for dynamic reconfiguration of the video bitrate usedAndreas Huber2013-02-072-0/+9
| | | | | | | | | | | | to encode video while running as a wfd source. Change-Id: I44f7b2350c88fc5807047c61bfe594ef8fa79275
| * Merge "Add media.log service based on NBLog"Glenn Kasten2013-02-011-0/+45
| |\
| | * Add media.log service based on NBLogGlenn Kasten2013-01-251-0/+45
| | | | | | | | | | | | Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
| * | Plumbing to reflect minor changes in the HDCP module API that allow forAndreas Huber2013-01-302-5/+21
| |/ | | | | | | | | | | support of _decryption_ modules in addition to what we already supported. Change-Id: Ic37b87dc170ba8def3817991d25df798f21e950b
| * Add non-blocking event logger NBLogGlenn Kasten2013-01-251-0/+188
| | | | | | | | Change-Id: I6c136cf3d7f46a8af84c69ecfc199dab394c10dc
| * Merge "Start isolating control block accesses in a proxy"Glenn Kasten2012-12-213-45/+189
| |\
| | * Start isolating control block accesses in a proxyGlenn Kasten2012-12-123-45/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The proxy object will eventually be the only code that understands the details of the control block. This should make it easier to change the control block in the future. Initial set of control block fields that are isolated: - sample rate - send level - volume Prepare for streaming/static separation by adding a union to the control block for the new fields. Fix bug in handling of max sample rate on a track. It was only checking at re-configuration, not at each mix. Simplify OutputTrack::obtainBuffer. Change-Id: I2249f9d04f73a911a922ad1d7f6197292c74cd92
| * | Merge "Remove unnecessary parameter"Glenn Kasten2012-12-212-6/+4
| |\ \
| | * | Remove unnecessary parameterGlenn Kasten2012-12-182-6/+4
| | |/ | | | | | | | | | | | | | | | Just get the parameter on server side Change-Id: I433a63104dbb257e0d862be2ab61847cb36d1c15
| * | Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-1811-28/+28
| |/ | | | | | | | | | | | | | | | | | | 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
| * am 76143093: am f0ff908d: Logging to investigate a crashGlenn Kasten2012-12-101-1/+11
| |\ | | | | | | | | | | | | * commit '761430930a7335d714af0f7c1d497feb8f9f0a5a': Logging to investigate a crash
| | * am f0ff908d: Logging to investigate a crashGlenn Kasten2012-12-101-1/+11
| | |\ | | | | | | | | | | | | | | | | * commit 'f0ff908da019a44115109f1b4d1b6864b35a8a29': Logging to investigate a crash
| | | * Logging to investigate a crashGlenn Kasten2012-12-071-1/+11
| | | | | | | | | | | | | | | | | | | | Bug: 6490974 Change-Id: Ib926a9258bde4ee05ed42eea662dff68e426a997
| * | | Respect sample aspect ratio in NuPlayer.Andreas Huber2012-12-051-0/+2
| | | | | | | | | | | | | | | | | | | | related-to-bug: 7569402 Change-Id: I302de95d83b180bd2dc72ddd0c69a665dbce2527