2388a2dc91979364d96e49456b189f904f0267f3 |
|
28-Aug-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED Align camera2's management of platform-opaque formats with rest of framework. Instead of using CAMERA2_PIXEL_FORMAT_OPAQUE, use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED as the format for both the camera HAL and for gralloc, and depend on the gralloc usage flags to let the gralloc module select the appropriate real format for specific stream endpoints. Add a new gralloc usage for ZSL mode, where the camera service will hold a streaming circular buffer of opaque full-resolution images during camera preview. Since this is an opaque format that needs to be optimized for 30fps operation, need gralloc to be aware of this use case. Bug: 6243944 Change-Id: If7f2516649381ce9bcffe4e319b63cbc068f643f
/hardware/libhardware/tests/camera2/camera2.cpp
|
b8b6439598ecc5faecfce8d43f3418b057714b4c |
|
24-Aug-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Make static_camera_characteristics const. Disallow modification to static characteristics structure, and clarify ownership and lifetime of the structure. Also update test code accordingly. Bug: 6243944 Change-Id: I6921d6889937212867efb99aa3881ab3ffc4f6f9
/hardware/libhardware/tests/camera2/camera2.cpp
|
dde2a9d4b5129fa836d211a75f0040bf552c94c9 |
|
26-Aug-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Revert "Camera2: Make static_camera_characteristics const." Needs a third change that's not yet done with review. This reverts commit c9ec8a656b59912f496880d3a63c0decd490f09d Change-Id: Ic3e465e1308cbf107a250ec17b73a59a35e52f9f
/hardware/libhardware/tests/camera2/camera2.cpp
|
d959ec5297c19b9b8f1760c9237030bf931b5803 |
|
24-Aug-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Make static_camera_characteristics const. Disallow modification to static characteristics structure, and clarify ownership and lifetime of the structure. Also update test code accordingly. Bug: 6243944 Change-Id: Ib8de5e9d6580187b21a5ae9a28a3d24f1d083f7b
/hardware/libhardware/tests/camera2/camera2.cpp
|
5d64b230dc7c262575dd790299cfb667af66e014 |
|
30-Jul-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Test logging changes Change-Id: Idcde83d46da438726c5186cbcf8109a22aef997f
/hardware/libhardware/tests/camera2/camera2.cpp
|
fa7a91d3d2a7f99612446f61beb29cc9e215d0ba |
|
22-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add JPEG capture test. Bug: 6243944 Change-Id: Ifdf16f34b13df1e5bfe501eb7e6083862c71240a
/hardware/libhardware/tests/camera2/camera2.cpp
|
895ed341ba7e956eed1d81a75366597fa89d3081 |
|
21-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Update test code for metadata changes - New resolution handling - Don't do long exposures in tests Bug: 6243944 Change-Id: Ia8362a50c8c4a2230d892e571b31e513c67ab84d
/hardware/libhardware/tests/camera2/camera2.cpp
|
6adfd6b8ce32f042d001296f08e5b439af2635c1 |
|
15-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Add test for construct_default_request. Bug: 6243944 Change-Id: I59b03d7ebece2a4b7672b265bd9f960b3faea621
/hardware/libhardware/tests/camera2/camera2.cpp
|
e6a3c3c1135d8c097be5e82103abdd832c02de7c |
|
12-May-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: Match updated camera_metadata methods. Bug: 6243944 Change-Id: Ib691ef513b4811ca1290f0a9a4e3c1ce1e3f0945
/hardware/libhardware/tests/camera2/camera2.cpp
|
567b4a24fa9fedf0086af5e0bb8e45bd3294bc9d |
|
23-Apr-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Substantial cleanup of camera2 HAL, and some initial unit tests - Clean up const/struct usage in HAL - Add user pointer to notify callback - Revamp allocate_stream, now it picks its own ID. - Much simpler stream interface - Merged request/reprocess input queues - Frame queue interface no longer a mirror of request queue - Added triggers/notifications - Added default request creation - Lots of comments Unit tests added: - Lots of utility code to speed up test writing - Basic open/close - Capturing 1 raw buffer (request input, frame output, buffer output) - Capturing a burst of 10 raw buffers Bug: 6243944 Change-Id: I490bd5df81079a44c43d87b02c9a7f7ca251f531
/hardware/libhardware/tests/camera2/camera2.cpp
|
fed0c0244b569e0bae4280af145a94ef3b1a1468 |
|
22-Mar-2012 |
Eino-Ville Talvala <etalvala@google.com> |
Revise camera HAL 2, and add unit test skeleton. - Add missing method in stream_ops (set_buffers_geometry) - Remove extra method in stream_ops (set_swap_interval) - Document metadata queue protocol - Change metadata queue methods to be set/get through function calls only, instead of a struct member in the HAL device ops. - Change vendor extension tag query methods to be retrieved by a get call, instead of a struct member in the HAL device ops. - Add basic gtest unit test skeleton, which currently just returns static info from all camera devices. Change-Id: I94117097b0243023ad60638070cc7f0cefec18e6
/hardware/libhardware/tests/camera2/camera2.cpp
|