55fb035c11ce6e22e88d24ef9081c2bde88c26cd |
|
23-Nov-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Remove incorrect menu support from metadata factory The partial_metadata_factory method to create V4L2 controls incorrectly used V4L2_CTRL_TYPE_MENU - it assumed that all values between min and max were supported. Actually, each value must be queried using QUERY_MENU to confirm support. BUG: b/30921166 TEST: unit tests pass, android.hardware.camera2.cts.CaptureRequestTest#testSceneModes now passes. Change-Id: I763eb767e21c082a629d0ba91fdaaa0d6ce162f5
/hardware/libhardware/modules/camera/3_4/metadata/partial_metadata_factory.h
|
2491b37d8031e92fc8bc24be3007e79b493f3581 |
|
18-Nov-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Dynamic default metadata based on templates Instead of controls picking their own defaults, a delegate taking a mapping of template : desired default is taken instead. These defaults are honored if able. BUG: b/31017806 TEST: unit tests pass, multiple CTS tests fixed, test app runs. Change-Id: I8212580c9aee1d7fe223fa6b3ff17a6cfb97552f
/hardware/libhardware/modules/camera/3_4/metadata/partial_metadata_factory.h
|
f45f8d4fa12d73643507816cad120f5867710843 |
|
08-Sep-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Add StaticProperties and MetadataReader MetadataReader provides a clean wrapper around getting and translating certain metadata values in a nice form. StaticProperties will be used by Camera as the source of truth for metadata properties, extracted directly from a reader, rather than calling down into the device again. BUG: 31044638 TEST: unit tests pass Change-Id: I712a80f87e629a7288c678637de0eae0225acf96
/hardware/libhardware/modules/camera/3_4/metadata/partial_metadata_factory.h
|
abbf9cc0bd4160642c36f7bd47c0277a8bf17adf |
|
23-Aug-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Plug in metadata refactor. Replaces metadata usage in Camera/V4L2Camera with the new Metadata class. Switches Camera from camera_metadata_t to android::CameraMetadata where appropriate for ease of use/clarity of ownership. Also cleaned up some "error" logs that were potentially expected, leaving it to the caller to log if something goes wrong, since they were numerous and cluttering the log feed. BUG: https://b/30140438, https://b/29335262 TEST: unit tests pass, test picture program still works, tested setting a V4L2 control to a non-default value. Change-Id: I24e50c9b71736dfc576debf8d09dbe36b9bbf23a
/hardware/libhardware/modules/camera/3_4/metadata/partial_metadata_factory.h
|
cf5f57f263ab6e0a9c7e71bc18771c824e109f4d |
|
23-Aug-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Add states to metadata. States are dynamically changing values. For now none of them have implementations; they're all fixed values. BUG: 30140438 TEST: unit tests pass Change-Id: I60f97fce5db4542e6b77694bb323934e32eab9f6
/hardware/libhardware/modules/camera/3_4/metadata/partial_metadata_factory.h
|