ef52310613342dd51a928af92e3287f6783ae8c7 |
|
22-Nov-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Correctly process streams The reference implementation stream validation/setting was all out of whack, particularly the handling of "reuse" streams. This CL does away with that, and plugs in the static_properties/request_tracker validation/tracking of configured streams. Implementation specific features, such as gralloc flags, are moved down into the V4L2Camera class out of the Camera class. BUG: https://b/33057320, https://b/31044638 TEST: unit tests pass, some previously failing CTS tests are passing (and no regressions), simple test camera preview app runs. Change-Id: Ie8568239a1348dac45bf829ef928e500e01fdcda
/hardware/libhardware/modules/camera/3_4/static_properties.cpp
|
e31e1f33b482b7459b63bf1f2198556020c95332 |
|
17-Nov-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Only provide templates for supported capabilities Plugs in the StaticProperties class for ease of accessing the static metadata. Expands StaticProperties to handle checking template support. Test: Unit tests pass, test app runs, fixes 2 failing CTS tests on rpi3 BUG: b/32951283 Change-Id: I3077a3507751c3072b88f7d91902bdaa5b53c30e
/hardware/libhardware/modules/camera/3_4/static_properties.cpp
|
ffb9b72e4e29f28c8b0aa86da91e770654eafef4 |
|
09-Sep-2016 |
Ari Hausman-Cohen <arihc@google.com> |
Add configs & validation to static properties Static properties read and validate stream configurations, stall durations, and reprocess formats. Static properties can be used to validate a given camera3_stream_configuration_t to check if the streams all work together as defined by the metadata properties. BUG: 31044638 TEST: unit tests pass Change-Id: I2c8eecb680cd86fbe0340c07e4d73bd25429b4e9
/hardware/libhardware/modules/camera/3_4/static_properties.cpp
|
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/static_properties.cpp
|