summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/device1
Commit message (Collapse)AuthorAgeFilesLines
* Camera: Added null check for memory referenceSuman Mukherjee2015-10-301-0/+4
| | | | | | | | Null memory reference in releaseRecordingFrame will cause crash in cfuzz tool. Added Null check for memory reference Change-Id: Id15fc55cc89b6039a36c1c3c7e4b55c0ae5aa296
* Camera: Support obtaining camera memory from MemoryHeapIonEthan Chen2015-10-301-0/+21
| | | | | | * Exynos 5 devices want the ION file descriptor from MemoryHeapIon Change-Id: I9e445cf24c15713f713181667e7b7caa1a96592e
* camera: Allow hardware/camera.h header to be overriddenEthan Chen2015-10-301-1/+1
| | | | Change-Id: I715ba261de0b01e61cbfe7cacd567a9f511fb8cb
* camera: update CameraModuleChien-Yu Chen2015-03-241-1/+1
| | | | | | | | | | 1. Add more accessor methods to CameraModule to prevent exposing raw module pointer 2. Use KeyedVector to replace array Bug: 19897963 Change-Id: I111cc093f09f5fb3c4b13693d5d0687e1f441058
* camera: implement flashlight for HAL v1 devicesChien-Yu Chen2015-03-031-2/+1
| | | | | | | | | Implement flashlight for HAL v1 devices and remove CameraHardwareInterface's dependency on CameraService to avoid circular dependency. Bug: 2682206 Change-Id: Id5bbccef085b607a6189763fd7fbe2e3f26868c8
* CameraService: intercept Camera moduleYin-Chia Yeh2015-02-031-9/+8
| | | | | | | | Wrap camera module returned from HAL so get_camera_info returns static_camera_characteristics processed by framework, which generates keys added after HAL3.2 is released. Change-Id: Ief423a1571cf06c7ef80b98b403a33969baf95f6
* C++11 compatibility.Dan Albert2014-11-201-1/+1
| | | | | | | | | | | | | | * Fix string literal concatenation to not be interpreted as UD literals. * Add constexpr compatibility for non-integral static members. * Use __typeof__ instead of typeof (should become decltype once this actually becomes C++11). * Add an appropriate cast for atomic_uintptr_t, since moving to C++11 means moving from <stdatomic.h> to <atomic>, which has better typechecking (hooray for not macros!). Bug: 18466763 Change-Id: I9561dcb2526578687819ff85421ba80d8e1a9694
* CameraService: Clean up availability listeners and HAL error codesEino-Ville Talvala2014-07-281-2/+2
| | | | | | | | | | | - Refactor where availability listeners are called to centralize behavior, ensuring that all client creation/destruction invokes the listeners - Clean up some of the client hierarchy - Filter error codes from key HAL calls to ensure proper reporting Bug: 16514157 Bug: 16483222 Change-Id: I59875a865b6a508b47423946c78862da8df34cd1
* av: native_window_set_buffers_geometry is deprecated.Pierre Couillaud2014-07-071-2/+7
| | | | | | | | | | | | | native_window_set_buffers_geometry is deprecated, but __set_buffers_geometry is still used for device1 camera support. replace deprecated call with its equivalent combination of native_window_set_buffers_dimensions and native_window_set_buffers_format. Change-Id: I4940367dcae6049451508bfdfc11c16907ec1afc Signed-off-by: Pierre Couillaud <pierre@broadcom.com>
* cameraservice: Implement HAL1 and higher HAL API coexistenceZhijun He2014-06-191-2/+16
| | | | | | | A higher hal version device like HAL3.2 can be opened as HAL1.0 device if HAL supports it. This only applies to camera API1. Change-Id: I4ae9f59f4317158cc1bd7ed7726e4032cdd1fa07
* Camera: Rename new API to camera2, rearrange camera serviceEino-Ville Talvala2013-07-301-0/+691
- Support API rename from photography to camera2 - Reorganize camera service files - API support files to api1/, api2/, api_pro/ - HAL device support files into device{1,2,3}/ - Common files into common/ - Camera service remains at top-level Change-Id: Ie474c12536f543832fba0a2dc936ac4fd39fe6a9