From beb1416afd1d331b8e7e93d626f39267acce289a Mon Sep 17 00:00:00 2001 From: Eino-Ville Talvala Date: Fri, 14 Sep 2012 11:37:13 -0700 Subject: Revert "Revert "Camera2: Use FORMAT_ZSL until transition to new gralloc scheme."" The changes this commit depends on are now submitted. This reverts commit f54b1459cda7f585b4896671643b33bab8290964 Change-Id: If7f146ab7968d50fffd2174c2c5792bdc9d7724c --- services/camera/libcameraservice/camera2/ZslProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/camera/libcameraservice/camera2/ZslProcessor.cpp b/services/camera/libcameraservice/camera2/ZslProcessor.cpp index 58e820c..f17b5d3 100644 --- a/services/camera/libcameraservice/camera2/ZslProcessor.cpp +++ b/services/camera/libcameraservice/camera2/ZslProcessor.cpp @@ -157,7 +157,7 @@ status_t ZslProcessor::updateStream(const Parameters ¶ms) { // TODO: Sort out better way to select resolution for ZSL res = device->createStream(mZslWindow, params.fastInfo.arrayWidth, params.fastInfo.arrayHeight, - HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED, 0, + CAMERA2_HAL_PIXEL_FORMAT_ZSL, 0, &mZslStreamId); if (res != OK) { ALOGE("%s: Camera %d: Can't create output stream for ZSL: " -- cgit v1.1