Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a301661 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera2: Use FORMAT_ZSL until transition to new gralloc scheme.

Until all HAL implementations move to the new format negotiation
scheme, use CAMERA2_HAL_PIXEL_FORMAT_ZSL to indicate ZSL mode.

Bug: 6243944
Change-Id: Idf5d9f42e203903ba906d5df156100646b27404c
parent 66466087
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -157,7 +157,7 @@ status_t ZslProcessor::updateStream(const Parameters &params) {
        // 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: "