summaryrefslogtreecommitdiffstats
path: root/camera/CameraMetadata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* CameraMetadata: Fix String tag update null character issueZhijun He2014-03-271-1/+2
| | | | | | | | String8.size() doesn't count the null character in whatever case. But camera metadata tag android.jpeg.gpsProcessingMethod need a null-terminited string. Bug: 13679912 Change-Id: I91e742702b16b9ab9b42f9822de189a9a96e8e53
* CameraMetadata: fix metadata alignment issueZhijun He2013-12-091-30/+107
| | | | | | | | | | | When camera metadata is passed through binder interface, there is no guarantee the destination address of the metadata copy is aligned to the alignment boundary required by metadata copy, which could cause metadata validation fail. this change aligns the start address of the metadata copy destination blob to address this issue. Bug: 12010193 Change-Id: I540c6b4c484fe87a1d625a362310f33a309c1772
* Camera HAL3/API1: Add support for the partial result quirk.Eino-Ville Talvala2013-11-061-1/+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
* Initial implementation of android.hardware.photography.CameraDevice (service)Igor Murashkin2013-06-201-0/+175
| | | | | | | | | | | * Verified preview streaming requests * Other things *should* work but unverified / unimplemented in client side Missing: * CameraService needs to return static camera info metadata Bug: 9213377 Change-Id: I71568560fcf18d0e2b408ed1c4d0066647314868
* camera: Use new camera_metadata structure validation functionsIgor Murashkin2013-05-021-0/+15
| | | | | | | | * Reject unvalidated metadata across binder boundaries * Sanity check in-process CameraMetadata when mutating data Bug: 8713951 Change-Id: I121d8e15f8fdc9cdbbaf27dfd947813e11831e1c
* Camera: Add input side to camera3 HAL deviceEino-Ville Talvala2013-03-271-12/+105
| | | | | | | | | | - Stream creation/deletion - Request submission - Request thread loop - Add get() to CameraMetadata to allow HAL submission while retaining ownership. Change-Id: I271f72bcbe9557eded43cbcbfe789109857f8144
* Camera: Add exists function to CameraMetadataIgor Murashkin2013-02-221-0/+5
| | | | Change-Id: I081f61417fca7c8408e9e767129647ddce5364ab
* Camera: Move CameraMetadata.h from service to client libraryIgor Murashkin2013-02-221-0/+298
Change-Id: I940ce86f318f37ae5b73f912a6e589415150125f