summaryrefslogtreecommitdiffstats
path: root/media/libmedia/IMediaRecorder.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added setAuxiliaryOutputFile to MediaRecorder and JNINipun Kwatra2010-08-311-0/+17
| | | | | | | added setAuxiliaryOutputFile to allow setting of an auxiliary output file. Also added the JNI support. Change-Id: I8c3335192bd6f7fcbfdfc8552cfd0848f2ad2a5d
* Change the framework to use the new camera preview path.Jamie Gennis2010-08-231-4/+4
| | | | | | | | | | | | 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
* Fix all fd leaks in authoring engineJames Dong2010-08-111-0/+2
| | | | Change-Id: I17798543f9dd41cc8bef6f6086e66932f9f97be8
* resolved conflicts for merge of 27eecb70 to gingerbreadJean-Baptiste Queru2010-07-301-1/+1
|\ | | | | | | Change-Id: If064f2f4950fc1a4ff38e6927fe2120af76b26f1
| * fix inaccurate copyrightsJean-Baptiste Queru2010-07-291-1/+1
| | | | | | | | Change-Id: I33b0f68f2da34ca4728211d83159cf32a127f6dd
* | Separate MediaRecorderClient with MediaPlayerClientJames Dong2010-06-281-4/+4
|/ | | | | | | | | | - 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
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-2/+2
|
* Renamed all android.hardware.IMedia* strings to android.media.IMedia*niko2009-06-221-1/+1
| | | | | | | | | | The android.hardware.ICamera string have not been changed (but is looks like the camera service and client one should undergo the same procedure) The implementation of the interface must provide a unique string for it's interface name. Currently all these strings in the media framework start with 'android.hardware' when it should really be 'android.media', the interface token has nothing to do with hardware.
* some work to try to reduce the code size of some native librariesMathias Agopian2009-05-261-6/+0
| | | | | | | | | | | | | | | | | - make sure that all binder Bn classes define a ctor and dtor in their respective library. This avoids duplication of the ctor/dtor in libraries where these objects are instantiated. This is also cleaner, should we want these ctor/dtor to do something one day. - same change as above for some Bp classes and various other non-binder classes - moved the definition of CHECK_INTERFACE() in IInterface.h instead of having it everywhere. - improved the CHECK_INTERFACE() macro so it calls a single method in Parcel, instead of inlining its code everywhere - IBinder::getInterfaceDescriptor() now returns a "const String16&" instead of String16, which saves calls to String16 and ~String16 - implemented a cache for BpBinder::getInterfaceDescriptor(), since this does an IPC. HOWEVER, this method never seems to be called. The cache makes BpBinder bigger, so we need to figure out if we need this method at all.
* move libbinder's header files under includes/binderMathias Agopian2009-05-201-1/+1
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-0/+17
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+417
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-397/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-21/+1
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-1/+21
|
* auto import from //branches/cupcake/...@131421The Android Open Source Project2009-02-131-4/+25
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-0/+376