summaryrefslogtreecommitdiffstats
path: root/core/jni/android_hardware_camera2_CameraMetadata.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Frameworks/base: Consistency in core/jniAndreas Gampe2014-11-211-14/+12
| | | | | | | | Make consistent use of core_jni_helpers for registration. Translate some #ifdefs into const bools. Change-Id: I37639aa053dd50f003a552cbd8550dddecc811c5
* Fix clang warnings in core/jni.Dan Albert2014-11-201-4/+4
| | | | | | | There are a few bugs in here too (mostly people expecting + to concatenate C strings) :( Change-Id: I0a243c05c4ea8b56e84896f37814d0fbea4c39d5
* Frameworks/base: Wall Werror in core/jniAndreas Gampe2014-11-131-2/+1
| | | | | | | | | | | Turn on -Wall -Werror in core/jni. Fix warnings. Clang TODO: For GCC we need to turn off Wunused-but-set-variable in the GL bindings. However, Clang doesn't have that warning and thus complains about an unknown pragma. It is necessary to make the pragma #ifdef-ed on the compiler being GCC. Change-Id: I14cab48d45c2771eef0432082356c47ed44a3d7f
* camera2: Refactor CameraMetadata.Key out into 3 key classesIgor Murashkin2014-05-231-0/+119
| | | | | | | | | | | | | | | | | | | | Before: * CameraMetadata.Key<T> After: * CameraCharacteristics.Key<T> * CaptureResult.Key<T> * CaptureRequest.Key<T> CameraMetadata#get has been removed (each metadata subclass has its own #get now) due to java generic limitations (in particular a type bound <T1<T2> extends Key<T2>> is an illegal bound). CameraMetadataNative gets a new #dumpToLog function to dump the native metadata to logcat. Bug: 15091017 Change-Id: Ic56c54c0d184e209e20de374dc8a6d79527c209f
* camera2: Add HAL1 compatibility shim skeleton.Ruben Brunk2014-05-211-2/+2
| | | | | | | | | | | | | | | | This adds basic support for running the Camera2 API on a device running a camera HAL version lower than CAMERA_MODULE_API_VERSION_2_0. This CL includes support for: - N-way preview output streams - N-way jpeg output streams - CameraDevice emulation at the binder interface - Basic camera metadata querying in the CameraManager Bug: 15117269 Bug: 15116722 Change-Id: I8322955034c91f34bb348d4b28c2b774dbef38f6
* camera2: Plumb DngCreator to native library.Ruben Brunk2014-05-161-0/+26
| | | | Change-Id: Ic58bf6cf5086808b503460ef8e451fc0d6f1f850
* camera2: Update native<->managed camera metadata marshalersIgor Murashkin2014-05-131-3/+8
| | | | | | | | | | | | | | | | | | | | | | | * Improve existing marshalers: - each managed/native type combination can be queried marshal support - marshalers can recursively call other marshalers for nested types - support marshaling/unmarshaling generic classes by using super type tokens * Add new marshalers for: - ColorSpaceTransform - MeteringRectangle - Parcelable - Range<T> - ReprocessFormatsMap - RggbChannelVector - SizeF - StreamConfiguration - StreamConfigurationDuration Batteries included; so are unit tests. Bug: 14628001 Change-Id: I38d3e646ccfb3953898cd6f750c33e4097328482
* camera3: Update CameraMetadata vendor tag handling.Ruben Brunk2014-05-021-23/+48
| | | | | Bug: 12134423 Change-Id: I19380fb5acc3e23a6181d8f858c13457993480fc
* Revert "camera3: Update CameraMetadata vendor tag handling."Ruben Brunk2014-05-031-48/+23
| | | | | | This reverts commit e03a7eab1d08c821a516f1c07d29a77797acab68. Change-Id: I1682b5b0904974f488d3e51c3dbaa8f9f02ac71d
* camera3: Update CameraMetadata vendor tag handling.Ruben Brunk2014-04-291-23/+48
| | | | | Bug: 12134423 Change-Id: I1d1be6792b6a4c9f08e042a8b2c89146bde5665e
* camera2: Don't log vendor tag errors when camera HAL too oldIgor Murashkin2014-03-171-3/+8
| | | | Change-Id: Id7fe9464d7599a566cea976cddc62ad101cf4a10
* camera3: Pass vendor tags through binder.Ruben Brunk2014-03-131-0/+34
| | | | | | Bug: 12134423 Change-Id: Icef3fe9e67160767bdb8244ac49c85b68b497123
* Camera2: Immutable metadataEino-Ville Talvala2013-09-111-1/+19
| | | | | | | | | | | | Make all camera metadata immutable once created; requests are created using CameraRequest.Builder. - Separate CameraMetadata implementation from interface - Implement deep copying of metadata - Requests/results/properties have-a native implementation Bug: 10360518 Change-Id: Ia6300c237219d39f70c63156fa9ca666d951a36e
* Camera2 API: Rename package to android.hardware.camera2Eino-Ville Talvala2013-07-301-0/+541
Change-Id: I77b7939e199f9fe8e12a59393c24cff08097448c