summaryrefslogtreecommitdiffstats
path: root/include/camera/CameraHardwareInterface.h
Commit message (Collapse)AuthorAgeFilesLines
* frameworks/base: switch CameraService to a HAL moduleIliyan Malchev2011-05-031-266/+0
| | | | | | | | | | | | | | | This patch changes CameraService to load a camera HAL module, instead of linking directly against a library that implements the CameraHardwareInterface class. CameraHardwareInterface no longer defines the API to the camera HAL. Instead, this is now in HAL header hardware/camera.h. We keep CamerHardwareInterface as a class local to CameraService, which wraps around the new HAL calls. In the future, we may remove this class entirely and have CameraService call the HAL methods directly. Change-Id: I5c61ac40078fc0b50bbac5881a556fe6c8837641 Signed-off-by: Iliyan Malchev <malchev@google.com>
* frameworks/base: some camera-interface cleanupIliyan Malchev2011-03-281-54/+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>
* We requires camera hal's implementation should not track the ref count of ↵James Dong2010-12-101-1/+19
| | | | | | | | any outstanding video frames and ignore releaseRecordingFrame() call after it receives disableMsgType(CAMERA_MSG_VIDEO_FRAME). Change-Id: I2ecb9b3b11dab6bf868ccf8effda1b8df5bcde3c
* remove support for PUSH_BUFFER surfaces and overlaysMathias Agopian2010-12-081-8/+0
| | | | | | | the same functionality is now supported through the h/w composer HAL, and YUV support in the GPU. Change-Id: I8146605449954b8e8fd7f78810b7d873c2d8f5bf
* am fb6f4505: am 589e8381: Merge "Improve camera documentation." into gingerbreadWu-cheng Li2010-11-191-1/+3
|\ | | | | | | | | * commit 'fb6f4505ba5c227cebb73f1269b0af5d92e6e5e6': Improve camera documentation.
| * Improve camera documentation.Wu-cheng Li2010-11-191-1/+3
| | | | | | | | | | bug:3212606 Change-Id: Iee7106e4665c08a4c75471114010b75d63ac74ce
* | Camera hal change for 0-memcpy in media recording frameworkJames Dong2010-10-191-51/+76
| | | | | | | | | | | | | | | | o document the camera hal to clarify the reviewer's questions. bug - 3042125 Change-Id: I3edf701d084933ee8d1e3b054d222e8c9dfc42a5
* | 0-memcpy video recording frameworkJames Dong2010-10-071-0/+53
| | | | | | | | | | | | Part II: proposed camera hal change Change-Id: I51663cf5de2b00f71e4ff1828080094676065444
* | Fix the CameraHardwareInterface::setPreviewWindow comment.Jamie Gennis2010-09-251-1/+1
| | | | | | | | Change-Id: Ied7eb7872e581e23d9f6f02a551320cdd675e51e
* | Change the framework to use the new camera preview path.Jamie Gennis2010-08-231-2/+3
|/ | | | | | | | | | | | 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
* Handle the camera open failure better.Wu-cheng Li2010-08-191-0/+1
| | | | | | Check if camera hardware is NULL to avoid mediaserver crash. Change-Id: Ibde0251f30bdb6b36a5d5380222d7be25ec9449c
* Change camera interface to support multiple cameras.Chih-Chung Chang2010-06-111-2/+9
| | | | Change-Id: Ie88fe706d2278acf762eca87780de349434778a4
* split libsurfaceflinger_client and libcamera_client out of libuiMathias Agopian2010-02-111-0/+221