diff options
| author | 2021-12-06 16:37:50 -0800 | |
|---|---|---|
| committer | 2022-01-11 20:43:23 -0800 | |
| commit | aba398d87d91afcdbc8a8ff766af86c3b6dc9c25 (patch) | |
| tree | d19cdda46fed05173940ee50d99b03d6285f6338 /libs/androidfw/LocaleDataTables.cpp | |
| parent | 943415466f1cfeabc4c86e9c7bf913bffda28d39 (diff) | |
Introduce Builder in ImageReader class for setup and construct an
ImageReader instance.
- Builder pattern allows the app to provide HardwareBuffer.Format
constant which is 1:1 mapping with the HAL PixelFormat
- create an JNI binding for PublicFormat.cpp functions and directly map
imageFormat to the pairings of hardwareBufferformat and dataspace
in the ImageReader class.
- involve dataspace setting option into ImageReader
Bug: 205734633
Test: android.hardware.camera2.cts.ImageReaderTest pass
Change-Id: Idd4c610a710d123615449af76763f1c04afb2bda
Diffstat (limited to 'libs/androidfw/LocaleDataTables.cpp')
0 files changed, 0 insertions, 0 deletions