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

Commit b5d563d8 authored by Sungtak Lee's avatar Sungtak Lee
Browse files

AImageReader: Add new interfaces

Add the below interfaces
- AImageReader_setDefaultBufferSize()
- AImageReader_setDefaultBufferDataSpace()
- AImageReader_setDefaultAHardwareBufferFormat()
- AImageReader_setMaxImages()

AImageReader does not reject a buffer any more due to the buffer format
being different from that of the reader. AImage now has format and
dataspace of the underlying buffer instead of those of the reader.

Bug: 201479783
Test: presubmit
Flag: EXEMPT ndk
Change-Id: If948f5309cbad8f050b4447730e2c6e41053bcc4
parent fb88eaf5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment