Loading evs/1.0/default/EvsCamera.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -286,7 +286,7 @@ unsigned EvsCamera::increaseAvailableFrames_Locked(unsigned numToAdd) { buffer_handle_t memHandle = nullptr; status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, mUsage, mUsage, &memHandle, &mStride, 0, "EvsCamera"); if (result != NO_ERROR) { ALOGE("Error %d allocating %d x %d graphics buffer", result, mWidth, mHeight); Loading evs/1.0/default/EvsDisplay.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,8 @@ Return<void> EvsDisplay::getTargetBuffer(getTargetBuffer_cb _hidl_cb) { GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); status_t result = alloc.allocate(mBuffer.width, mBuffer.height, mBuffer.format, 1, mBuffer.usage, &handle, &mBuffer.stride, mBuffer.usage, &handle, &mBuffer.stride, 0, "EvsDisplay"); if (result != NO_ERROR) { ALOGE("Error %d allocating %d x %d graphics buffer", Loading Loading
evs/1.0/default/EvsCamera.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -286,7 +286,7 @@ unsigned EvsCamera::increaseAvailableFrames_Locked(unsigned numToAdd) { buffer_handle_t memHandle = nullptr; status_t result = alloc.allocate(mWidth, mHeight, mFormat, 1, mUsage, mUsage, mUsage, &memHandle, &mStride, 0, "EvsCamera"); if (result != NO_ERROR) { ALOGE("Error %d allocating %d x %d graphics buffer", result, mWidth, mHeight); Loading
evs/1.0/default/EvsDisplay.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -149,7 +149,8 @@ Return<void> EvsDisplay::getTargetBuffer(getTargetBuffer_cb _hidl_cb) { GraphicBufferAllocator& alloc(GraphicBufferAllocator::get()); status_t result = alloc.allocate(mBuffer.width, mBuffer.height, mBuffer.format, 1, mBuffer.usage, &handle, &mBuffer.stride, mBuffer.usage, &handle, &mBuffer.stride, 0, "EvsDisplay"); if (result != NO_ERROR) { ALOGE("Error %d allocating %d x %d graphics buffer", Loading