summaryrefslogtreecommitdiffstats
path: root/hardware.c
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-08-28 14:01:26 -0700
committerEino-Ville Talvala <etalvala@google.com>2012-08-28 14:22:53 -0700
commit2388a2dc91979364d96e49456b189f904f0267f3 (patch)
tree1bc5ab5323c5ad747670c94518970e4e1d44c277 /hardware.c
parentb8b6439598ecc5faecfce8d43f3418b057714b4c (diff)
downloadhardware_libhardware-2388a2dc91979364d96e49456b189f904f0267f3.zip
hardware_libhardware-2388a2dc91979364d96e49456b189f904f0267f3.tar.gz
hardware_libhardware-2388a2dc91979364d96e49456b189f904f0267f3.tar.bz2
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
Diffstat (limited to 'hardware.c')
0 files changed, 0 insertions, 0 deletions