ea42da480ddd116cb70f2c8a7642df7c12b996af |
|
17-Feb-2017 |
Ray Essick <essick@google.com> |
Merge "Media metrics for android.media.MediaRecorder"
|
9c47c97ecac581d66b6febafd156618247e86742 |
|
08-Feb-2017 |
Pawin Vongmasa <pawin@google.com> |
Enable full migration of OMX to Treble. 1. Toggling between Treble and non-Treble OMX will now be controlled by two properties: "persist.hal.binderization" and "persist.media.treble_omx". (Before this CL, this was controlled by "debug.treble_omx".) - If persist.media.treble_omx is not set, it will assume a default value of -1. - If persist.media.treble_omx is -1, persist.hal.binderization will be used to determine whether OMX will be created as a Treble or non-Treble service. - If persist.media.treble_omx is 1, OMX will be created as a Treble service. - If persist.media.treble_omx has any other value, OMX will be created as a non-Treble service. - persist.media.treble_omx can be changed without rebooting, but it will only take effect after media.codec and mediaserver processes are killed. 2. Remove all dependencies on non-Treble service. This was not done for MediaCodec, MediaPlayerService::Client, MediaRecorderClient, stagefright command, and omx_tests command. OMXClient and media.codec process will now pick the right version of OMX based on properties mentioned above. Before this CL, media.codec would always present the non-Treble version of OMX regardless of the flag. 3. Provide workarounds for some HIDL issues. - A sequence of nested binder and hwbinder calls require many threads to handle. (b/35283480) The workaround is to increase the number of threads in the thread pool of media.codec process. - android.hidl.base@1.0::IBase::unlinkToDeath takes a strong pointer instead of a weak pointer. (b/35233970) This causes an infinite recursion in the destructor of ServiceDeathNotifier in MediaPlayerService::Client and MediaRecorderClient. The workaround moves calls to unlinkToDeath() outside of the destructor. Test: Recorded and played videos with Camera app. Ran stagefright and omx_tests commands. Bug: 31399200 Change-Id: Id1940ed982838e10bf10fe8ed5b7bb912a5a2d3a
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
ac4e4189db77dc0af7671b162d11be5ccec69339 |
|
13-Feb-2017 |
Ray Essick <essick@google.com> |
Media metrics for android.media.MediaRecorder underlying collection of MediaRecorder metrics for getMetrics() API and for media metrics cloud analysis. Bug: 35150984 Test: hacked CTS, observation of 'dumpsys media.metrics' Change-Id: Ife2ab06158b0015549ed17d52d7f4c35781f5e0f
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
fe44e4f74fe2582cbf012687059278dbcbdaa6f7 |
|
04-Jan-2017 |
Hangyu Kuang <hkuang@google.com> |
media: Support recording exceeds filesize limit by splitting files. Test: Hacking camera app to record file larger than size limit. Bug:28150626 Change-Id: I500913ec96d8ef49a78989d3f973bc7e8d923cb7
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
61c2351da89cb281b2dfd56c6c6779ccb4bc1172 |
|
14-Dec-2016 |
Dan Willemsen <dwillemsen@google.com> |
Fix mismatched-tags error These are exposed when frameworks/av/include is moved from being a system include directory to a normal include directory. Test: m -j checkbuild Change-Id: Iaa8f3808d578ebedc75e863b9818cfbbec9080b2
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
addf2cbb120346ae42e78fa739245a353db5edad |
|
29-Sep-2016 |
Chong Zhang <chz@google.com> |
IOMX: consolidate createInputSurface APIs - Create GraphicBufferSource in IOMX regardless of persistency. - Remove createInputSurface on IOMXNode, only keep setInputSurface which accepts either a persistent or non-persistent surface. - Instead of holding a IGraphicBufferConsumer, hold IGraphicBufferSource across session as the persistent surface. - Fix up GraphicBufferSource to allow usage across sessions. GraphicBufferSource itself becomes agnostic to persistency. - Remove max encoder input buffers profiling code. bug: 31399200 Change-Id: I15ed52cc64509fd87736372a580abf7b51bf4de7
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
0bfa3eee31c9f99ec65158f810e65e12bae5ebf1 |
|
14-May-2016 |
Andy Hung <hunga@google.com> |
MediaPlayer/MediaRecorder: Do not notify client of audioserver death Handled internally within NuPlayer and MediaRecorder. Bug: 28768023 Change-Id: I26d94332a4668bf7a8ad54a7b25e6f0a3a6fe48d
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
6dc3a3e2292454f94c015da45f1ebfc6a493e736 |
|
30-Apr-2016 |
Marco Nelissen <marcone@google.com> |
Report other servers' deaths in OnErrorListener too otherwise applications will be unaware of those processes dying. Bug: 22775369 Change-Id: I48577f787a97ee7627ae8e7f32e2f21ace243ed0
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
d56db1d2bee182d1851097a9c712712fc094d117 |
|
18-Dec-2015 |
Eino-Ville Talvala <etalvala@google.com> |
Camera: Switch camera2 to auto-gen C++ binder interfaces - Move camera service AIDL files to frameworks/av - Build C++ interface stubs with AIDL tools - Add necessary native-side parcelables and update existing ones - Remove manually-written stubs, rearrange remaining manual stubs - Adjust implementations to work with auto-generated stubs - Adjust method signatures for auto-gen differences - Add rich error messages using binder::Status Bug: 25091611 Change-Id: I6f69f34b9d1a3f8d1fb7db87357363f8fa8483ff
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
d008275796ac4cccf85fefce53cef733a49bc1fa |
|
31-Aug-2015 |
Wonsik Kim <wonsik@google.com> |
Implement pause/resume functionality to MediaRecorder Bug: 20092236 Change-Id: Ia0e92ff246302fd5fdef53c4f961d6645cc26a86
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
8f469e18c307cb9dc0d16ed9225972aa8be4516f |
|
13-May-2015 |
Chong Zhang <chz@google.com> |
stagefright: rename usePersistentInputSurface to setInputSurface and clear persistent surface pointer when MediaRecorder is reset bug: 21045118 bug: 21045402 Change-Id: Ifd0d6deeb969f2252123929541b30b518cecbf9a
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
e2a2dfcbf0c9d6bb7139263ecf0d8e53b4ca1049 |
|
01-May-2015 |
Chong Zhang <chz@google.com> |
MediaRecorder: implement persistent input surface APIs Bug: 19127604 Bug: 19489395 Change-Id: I7dd8015a8fe029f9867fcdb52322629c77eff50b
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
be71aa29a3c86d2e01cd17839d2a72ab09a1bce5 |
|
28-Apr-2015 |
Svet Ganov <svetoslavganov@google.com> |
Respect the record audio app op - media Change-Id: I3a97977b6e9a09355e2008f780d22d480fb7308b
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
6d339f1f764bbd32e3381dae7bfa7c6c575bb493 |
|
18-Apr-2015 |
Lajos Molnar <lajos@google.com> |
libmediaplayerservice: fix warnings, make warnings errors, use clang Change-Id: I1b2f6b65c5abbc366068a60b8909104f31b94228
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
c6ac859f5a82ea8642bc6351a45508a15f224f32 |
|
08-Dec-2014 |
Marco Nelissen <marcone@google.com> |
Remove filename based writer constructors MediaPlayerService can't open files (it needs an already opened file descriptor), so these were just wasting space. Change-Id: I323044a6c1814a7bff952ed71b5c7792df2abf03
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
99617adda9bc46c43f511f0940bc735c73de61de |
|
13-Mar-2013 |
Mathias Agopian <mathias@google.com> |
remove uses of Surface in favor or IGraphicBufferProducer Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
ceb388d6c03c38b96dc41c0ea4804b749aa077c4 |
|
19-Feb-2013 |
Eino-Ville Talvala <etalvala@google.com> |
CameraService and Stagefright: Support AppOps 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
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
8ba01021b573889802e67e029225a96f0dfa471a |
|
18-Dec-2012 |
Andy McFadden <fadden@android.com> |
Rename ISurfaceTexture and SurfaceTexture 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
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
3cecf640c4daf2df616b278bd9986018c8182908 |
|
30-Jun-2011 |
James Dong <jdong@google.com> |
Do not support still image capture mode for timelapse video recording related-to-bug: 4973779 Change-Id: Ica665217ab10247b2242acc4e93d4fe9f83e3f45
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
b33f3407bab0970a7f9241680723a1140b177c50 |
|
02-Jul-2011 |
Pannag Sanketi <psanketi@google.com> |
Connect MediaRecorder Native to SurfaceMediaSource Making a connection from MediaRecorder Native layer to the SurfaceMediaSource for the purpose of encoding GL Frames. This will be called from the java side inside the Mobile Filter Framework. The mediarecorder native layer (client), when set the videosource to option VIDEO_SOURCE_FRAMES, asks the StageFrightRecorder on the mediaserver side to create a SurfaceMediaSource object and pass it back as a sp<ISurfaceTexture> object. Using that, the client side will dequeue and queue buffers. Connecting the GL Frames to the obtained sp<ISurfaceTexture> is not part of this CL. Related to bug id: 4529323 Change-Id: I651bec718dd5b935779e7d7a050b841c2d0b0fcd
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
4ca2c7c913f8bd4ada13aca56d36045d42d1e00f |
|
01-Jun-2011 |
Wu-cheng Li <wuchengli@google.com> |
Add framework support for camcorder zoom. The purpose of ICameraRecordingProxy and ICameraRecordingProxyListener is to allow applications using the camera during recording. Camera service allows only one client at a time. Since camcorder application needs to own the camera to do things like zoom, the media recorder cannot access the camera directly during recording. So ICameraRecordingProxy is a proxy of ICamera, which allows the media recorder to start/stop the recording and release recording frames. ICameraRecordingProxyListener is an interface that allows the recorder to receive video frames during recording. ICameraRecordingProxy startRecording() stopRecording() releaseRecordingFrame() ICameraRecordingProxyListener dataCallbackTimestamp() The camcorder app opens the camera and starts the preview. The app passes ICamera and ICameraRecordingProxy to the media recorder by MediaRecorder::setCamera(). The recorder uses ICamera to setup the camera in MediaRecorder::start(). After setup, the recorder disconnects from camera service. The recorder calls ICameraRecordingProxy::startRecording() and passes a ICameraRecordingProxyListener to the app. The app connects back to camera service and starts the recording. The app owns the camera and can do things like zoom. The media recorder receives the video frames from the listener and releases them by ICameraRecordingProxy::releaseRecordingFrame. The recorder calls ICameraRecordingProxy::stopRecording() to stop the recording. The call sequences are as follows: 1. The app: Camera.unlock(). 2. The app: MediaRecorder.setCamera(). 3. Start recording (1) The app: MediaRecorder.start(). (2) The recorder: ICamera.unlock() and ICamera.disconnect(). (3) The recorder: ICameraRecordingProxy.startRecording(). (4) The app: ICamera.reconnect(). (5) The app: ICamera.startRecording(). 4. During recording (1) The recorder: receive frames from ICameraRecordingProxyListener.dataCallbackTimestamp() (2) The recorder: release frames by ICameraRecordingProxy.releaseRecordingFrame(). 5. Stop recording (1) The app: MediaRecorder.stop() (2) The recorder: ICameraRecordingProxy.stopRecording(). (3) The app: ICamera.stopRecording(). bug:2644213 Change-Id: I15269397defc25cbbcae16abc071c8349c123122
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
5d6aca5d86e86af3f8f597be573d4563d69ceb85 |
|
27-Aug-2010 |
Nipun Kwatra <nkwatra@google.com> |
Added setAuxiliaryOutputFile to MediaRecorder and JNI added setAuxiliaryOutputFile to allow setting of an auxiliary output file. Also added the JNI support. Change-Id: I8c3335192bd6f7fcbfdfc8552cfd0848f2ad2a5d
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
4b79168835965cf0fc41ebe2a367e22b4cb20d08 |
|
11-Aug-2010 |
Jamie Gennis <jgennis@google.com> |
Change the framework to use the new camera preview path. This change makes the camera HAL interface take an ANativeWindow interface from which all the camera preview buffers will be allocated. The framework code running in application processes now passes a Surface object rather than an ISurface to the camera server via Binder when setting the preview surface. The camera server then forwards that Surface object (which implements the ANativeWindow interface) to the camera HAL, which uses it to communicate with SurfaceFlinger to allocate the camera preview buffers. Change-Id: Ie438f721559cd7de5e4f848a26d96360dda07b5f
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
0319aaecb03aa83924ab4e3d9c9bc657c2e8bc06 |
|
30-Jul-2010 |
Jean-Baptiste Queru <jbq@google.com> |
am 4506c62a: fix inaccurate copyrights Merge commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625' into gingerbread-plus-aosp * commit '4506c62abd5767d6d42a97e8e87793a1b3bcb625': fix inaccurate copyrights
|
01cff464978aa0f749f42650180b45ea56cb17de |
|
30-Jul-2010 |
Jean-Baptiste Queru <jbq@google.com> |
fix inaccurate copyrights Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
b914122eb9cb54bbeae4ec03bfebb194aecdccbd |
|
08-Jul-2010 |
James Dong <jdong@google.com> |
Add runtime dumpsys support for media recorder client Change-Id: I4c8a81720f3be2db54678a7e84fe12849255046b
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
37047fceba836f341d0108beed0991b0f8dfc543 |
|
26-Jun-2010 |
James Dong <jdong@google.com> |
Separate MediaRecorderClient with MediaPlayerClient - An alternative would be to define a common base class that both MediaRecorderClient and MediaPlayerClient can derive. But since the common code, onTransact() and notify() uses some Binder code, having a common base class may not gain us too much in terms of code reuse. Change-Id: Ibc06720278ad173fceacff3d267b7060856c6316
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
30ab66297501757d745b9ae10da61adcd891f497 |
|
17-Nov-2009 |
Andreas Huber <andih@google.com> |
Squashed commit of the following: commit 333057b355f8c260c549553b9a0634755c838b6a Author: Andreas Huber <andih@google.com> Date: Fri Nov 13 15:35:48 2009 -0800 Some more tweaks to AVC encoding on sholes. commit 9981d0ee52ec5b8b0182aae733d1571e3ebb8390 Author: Andreas Huber <andih@google.com> Date: Thu Nov 12 16:36:57 2009 -0800 Support for avc encoding, including sholes specific tweaks to pick the right colorspace for the camera to not require transcoding. commit 5ba0ebbbd4efca51f3ae1f60e2ca31e7d2cf136d Author: Andreas Huber <andih@google.com> Date: Wed Nov 11 09:50:03 2009 -0800 Enable actual (camera) video-only recording using h.263 or mpeg4 encoding. commit 3fd59c3526a37fe7c696f4a978925d1831c09313 Author: Andreas Huber <andih@google.com> Date: Tue Nov 10 14:57:48 2009 -0800 Allow switching between the PV recorder implementation and one supported by stagefright. This is controlled through the property "media.stagefright.enable-record".
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
dac6a31a33ba53fb93850670cdddd1e6515dadce |
|
29-Oct-2009 |
Gloria Wang <gwang@google.com> |
Dump media recorder PID in dumpsys media.player, and fix minor bugs.
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
c048cae0367db6fbb4fe1127be5011910713d4ad |
|
13-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake_rel/...@138607
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
89fa4ad53f2f4d57adbc97ae1149fc00c9b6f3c5 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
15f767b960b38059a74a42a33e16d8df2aec8bc1 |
|
04-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@135843
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
ad04d9201452001dbaac4349f084cc9316190b89 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@132589
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
99ffda877980468a9ae31e013cd10fb3645df1b0 |
|
03-Mar-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //depot/cupcake/@137055
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
7a2146d5807030b2629f347736be5301b61e8811 |
|
13-Feb-2009 |
The Android Open Source Project <initial-contribution@android.com> |
auto import from //branches/cupcake/...@131421
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|
7b5eb023f8d87cca6d830ae6c11c6aadbe02aca8 |
|
18-Dec-2008 |
The Android Open Source Project <initial-contribution@android.com> |
Code drop from //branches/cupcake/...@124589
/frameworks/av/media/libmediaplayerservice/MediaRecorderClient.h
|