summaryrefslogtreecommitdiffstats
path: root/camera/ICamera.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update calls to IInterface::asBinder()Marco Nelissen2014-11-141-4/+4
| | | | | | to use the new static version. Change-Id: I89a5988a0ac694ffc04d88cf939e8455bf925d4c
* Camera: Guard against asBinder() calls on NULL interfacesEino-Ville Talvala2014-11-071-1/+1
| | | | | Bug: 18207548 Change-Id: I9879c9b4c0282a6b96b77398f62beedc47f7f0a0
* Camera1: Set preview to be asynchronous, and remove dead codeEino-Ville Talvala2013-08-211-9/+9
| | | | | | | | | | | | | - Use the controlledByApp flag to make sure application-bound preview buffer queue is asynchronous as before - Remove setPreviewDisplay in service, since it is no longer in the binder interface - Rename setPreviewTexture to setPreviewTarget, to make it clear it's the only game in town now. Rename only on the binder level and service for now. Bug: 10312644 Change-Id: Icd33a462022f9729a63dc65c69b755cb7969857e
* camera: Make some binder interfaces compatible with AIDLIgor Murashkin2013-06-111-0/+2
| | | | | | | | | | | | | Done: * ICameraService * ICameraServiceListener Partial: * ICamera (disconnect only) * IProCameraUser (disconnect only) Bug: 9213377 Change-Id: I8e2e6e05cfd02ec36be1d5b2c551f10ffb43b5b4
* Camera: Add preview callback surface supportEino-Ville Talvala2013-04-171-0/+21
| | | | | | | | - Add call to set a preview callback surface - Implement support for HAL2/3 devices - Still need HAL1 implementation Change-Id: I0dc0bd72e43d871aa487858d1665c1efca633ffe
* remove uses of Surface in favor or IGraphicBufferProducerMathias Agopian2013-03-121-19/+0
| | | | Change-Id: I13d7a9553aa335bca790a3a59d389d7533c83d57
* Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-5/+6
| | | | | | | | | | 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
* fix libgui header locationMathias Agopian2012-02-271-0/+2
| | | | Change-Id: Iec71706cdd4f29c6904993648ce873e83ef9cafe
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-36/+36
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: I0122812ed6ff6f5b59fe4a43ab8bff0577adde0a
* frameworks/base: some camera-interface cleanupIliyan Malchev2011-03-281-36/+0
| | | | | | | | | Methods getNumberOfVideoBuffers() and getVideoBuffer() as well as struct image_rect_struct are no longer used (instead, the necessary information is passed through ANativeWindow.) Change-Id: If4b11446fc9ccbde1f6b45bc70c0d0b8e54376eb Signed-off-by: Iliyan Malchev <malchev@google.com>
* Application-managed callback buffer support for raw imageJames Dong2011-02-221-3/+5
| | | | | | bug - 3292153 Change-Id: I9789f7c5cde3a3889d7375e881181e9152d95fc2
* Add camera service support for SurfaceTexture.Jamie Gennis2011-01-061-0/+20
| | | | | | | This change enables the use of a SurfaceTexture in place of a Surface as the destination of camera preview frames. Change-Id: Ic70d404c8fe261e9d5da6f1de93d6babb5b191cb
* Camera framework change required for 0-memcpy recordingJames Dong2010-10-191-0/+54
| | | | | | bug - 3042125 Change-Id: I46eb7a10b5394086b353fd73e4503beceeed76f1
* Change the framework to use the new camera preview path.Jamie Gennis2010-08-231-5/+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
* Add some comments for zoom methods.Wu-cheng Li2010-03-291-1/+1
| | | | | | | Also change RuntimeException to IllegalArgumentException. bug:2458926 Change-Id: I87af31f5f3f10244131a1117bd1725c2d292b587
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-0/+379