summaryrefslogtreecommitdiffstats
path: root/services/camera/libcameraservice/device2/Camera2Device.h
Commit message (Collapse)AuthorAgeFilesLines
* Camera2Device: fix camera metadata leaksChien-Yu Chen2014-11-101-2/+2
| | | | | | bug 11132653 Change-Id: I5445b020c3aeaac9a556c023568adac635834356
* camera: Configure streams immediately when API2 does configurationIgor Murashkin2014-08-201-0/+2
| | | | | | | | | This makes the configuration more eager (no more waiting until the first request) and also allows any errors to immediately be sent back to the client. Bug: 16629195 Change-Id: I0c365bc8f760466916dcc089217a43c43f9f4c9d
* Camera2/3: Cleanup the jpeg buffer size calcaulation logicZhijun He2014-08-111-2/+2
| | | | | | | | | - Only one place calculating the jpeg size-the device layer, Camera2Device and Camera3Device. - Remove size argument for CameraDeviceBase and cleanup related code. Bug: 14327010 Change-Id: I45d2ab4859ee0cc9273e579254f0569108c748f1
* Camera HAL3: migrate from partial quirks to partial resultZhijun He2014-07-161-0/+4
| | | | | | | | | | - Enable the normal partial result path for HAL3.2, the quirk is only used for the HAL version lower than HAL3.2. The partial quirks is no longer supported for HAL3.2 or higher versions. - Add CameraDeviceBase getDeviceVersion API. - Fix some build warnings Change-Id: I7a1b03d4d5fd5258d2addfba4368bee2ba691337
* CameraService: trigger appropriate callbacks for burst capture.Jianing Wei2014-04-101-7/+10
| | | | | | | | | | | | | | | | | | | | * 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
* Merge "CameraService: Add support for burst capture and repeating burst."Jianing Wei2014-03-221-0/+2
|\
| * CameraService: Add support for burst capture and repeating burst.Jianing Wei2014-03-211-0/+2
| | | | | | | | | | Bug: 10749500 Change-Id: I292a485b222e5cf97388d76bf0d956a6ac54bb2f
* | camera3: Remove old vendor tag ops dependencies.Ruben Brunk2014-03-171-1/+0
|/ | | | | Bug: 12134423 Change-Id: I7acdf76d4c0674bdb1cc939592d4620687c785c3
* Camera API 2, Device 2/3: Implement idle and shutter callbacksEino-Ville Talvala2013-10-021-0/+4
| | | | | | | | | | | | | | | | | | - 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
* Camera2: Add flush supportEino-Ville Talvala2013-08-231-0/+5
| | | | | | | | - On HAL2 devices, fall back to wait until idle - On HAL3 devices, call HAL flush method Bug: 9758581 Change-Id: Ie1c570a15f6590a1ee6c271e3b989c48079b468a
* Camera: Rename new API to camera2, rearrange camera serviceEino-Ville Talvala2013-07-301-0/+345
- 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