summaryrefslogtreecommitdiffstats
path: root/tests/camera2/camera2_utils.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: Rename SurfaceTextureClient to SurfaceMathias Agopian2013-02-151-1/+1
| | | | Change-Id: Iff197c557c06673a1ad85a9bbd36caa38efb88b7
* Rename ISurfaceTexture and SurfaceTextureAndy McFadden2012-12-181-1/+1
| | | | | | | | | | The C++ class names don't match what the classes do, so rename ISurfaceTexture to IGraphicBufferProducer, and SurfaceTexture to GLConsumer. Bug 7736700 Change-Id: I7fc8474c1d0d95658609b69cdb0af412d69a42c4
* Camera2: Automated tests for testing HAL2.0 interfaceIgor Murashkin2012-11-061-0/+21
| | | | Change-Id: I1f1afd5afc346d5493d5019af35c3026efcf19b5
* Camera2: Use HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINEDEino-Ville Talvala2012-08-281-5/+4
| | | | | | | | | | | | | | | | | | 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
* Update ANativeWindow clients for syncJamie Gennis2012-06-181-18/+5
| | | | | | | This change updates uses of ANativeWindow to use the new ANW functions that accept and return Sync HAL fence file descriptors. Change-Id: I8ea699ba0a9b5c4b4316f9428cbd565976899991
* I am a HAL of constant structure.Eino-Ville Talvala2012-05-171-23/+35
| | | | | Bug: 6243944 Change-Id: I126313f75f5f7165d3ca96f52054866c4fb6bee0
* Substantial cleanup of camera2 HAL, and some initial unit testsEino-Ville Talvala2012-05-081-0/+583
- 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