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
Loading
Please register or sign in to comment