summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/common
Commit message (Collapse)AuthorAgeFilesLines
* CameraService: trigger appropriate callbacks for burst capture.Jianing Wei2014-04-105-47/+71
| | | | | | | | | | | | | | | | | | | | * Instead of tracking CameraMetadata only, now we track both CameraMetadata and CaptureResultExtras, which is not part of the HAL metadata. This will enable the correct callback of onCaptureStarted and onResultReceived given burst requests. * Get last frame number in reply when submitting requests, canceling requests, and flushing device. For repeating requests, this frame number is the last frame number of the previous request. For non-repeating requests, this frame number is the expected last frame number of the current request. The goal is provide frame number to Java side in order to trigger onCaptureSequenceCompleted correctly. * Fix notifyError so that onDeviceError can be called correctly. Bug: 10749500 Change-Id: I2f3dda6c530090055d4a2ff9f0f087bbbe8d9257
* am 5c679d41: resolved conflicts for merge of 3d7c5002 to ↵Colin Cross2014-03-242-2/+4
|\ | | | | | | | | | | | | | | klp-modular-dev-plus-aosp * commit '5c679d41714e42f153f6aeb492df54510a195bc1': libcameraservice: build 64-bit libcameraservice: fix 64-bit print format warnings
| * libcameraservice: fix 64-bit print format warningsColin Cross2014-03-212-2/+4
| | | | | | | | | | | | | | Use PRId64 from inttypes.h to print nsecs_t (int64_t) Use %zu to print size_t Change-Id: I135620e0388db33587a8a7da393b48a45cb7275a
* | CameraService: Add support for burst capture and repeating burst.Jianing Wei2014-03-211-0/+11
|/ | | | | Bug: 10749500 Change-Id: I292a485b222e5cf97388d76bf0d956a6ac54bb2f
* Camera API2: Add support for partial result quirkEino-Ville Talvala2013-11-122-7/+12
| | | | | | | | | - Camera3Device: Include requestId in partial 3A results - FrameProcessorBase: Add support for partial result listeners - CameraDeviceClient: Listen and forward partial results to client Bug: 11115603 Change-Id: If1cc6bbc32932742ac142c058688761ebf6a8024
* Camera HAL3/API1: Add support for the partial result quirk.Eino-Ville Talvala2013-11-061-0/+9
| | | | | | | | | | | | | | | | | | - Camera2Client: - Detect partial result quirk - Camera3Device: - Accumulate all partial results together - Fire off 3A-only result once all 3A states are available - FrameProcessorBase: - Filter out partials, don't send to listeners - FrameProcessor: - Skip face detect on partials - Make sure to only handle a 3A update for a given frame once - Trigger AF notifications when AF mode or trigger changes, to properly detect all AF transitions. Bug: 11115603 Change-Id: Iea8aa73c568701562a46071f7ea100624251d10b
* camera2: Don't race while dumping last frame metadataIgor Murashkin2013-10-072-1/+10
| | | | | Bug: 11095203 Change-Id: Icfb31e1719634b62004d6c15a95a9316e9642e4c
* Camera API 2, Device 2/3: Implement idle and shutter callbacksEino-Ville Talvala2013-10-024-15/+25
| | | | | | | | | | | | | | | | | | - Update callback Binder interface - Rename frameId to be requestId to be consistent and disambiguate from frameNumber. - Implement shutter callback from HAL2/3 notify() - Add in-flight tracking to HAL2 - Add requestId to in-flight tracking - Report requestId from shutter callback - Implement idle callback from HAL3 process_capture_result - Add new idle tracker thread - Update all idle waiting to use the tracker - Add reporting from request thread, all streams to tracker - Remove existing idle waiting infrastructure Bug: 10549462 Change-Id: I867bfc248e3848c50e71527e3561fe92dc037958
* Camera: Don't overwrite the error statusZhijun He2013-09-151-1/+1
| | | | | Bug: 10749544 Change-Id: I6096effde03e18ee1b8c63cf3b36dce0344054c5
* Camera2: Add flush supportEino-Ville Talvala2013-08-231-0/+7
| | | | | | | | - On HAL2 devices, fall back to wait until idle - On HAL3 devices, call HAL flush method Bug: 9758581 Change-Id: Ie1c570a15f6590a1ee6c271e3b989c48079b468a
* Camera: fix the metadate parcel write issueZhijun He2013-07-311-4/+4
| | | | | | Also rename the frameId to requestId to make it less confusing. Change-Id: I14a20b6fcabb86294afb31fc0c56397e185c1373
* Camera: Rename new API to camera2, rearrange camera serviceEino-Ville Talvala2013-07-306-0/+972
- 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