Introduce builder pattern in ImageWriter class
- allow ImageWriter to set usage flag on the buffer - allow app to provide HardwareBuffer.Format which is 1:1 mapping with the HAL PixelFormat - invovle dataspace setter into ImageWriter build pattern - allow app to override image width and height Bug: 213331412 Test: android.hardware.cts.DataSpaceTest, android.hardware.camera2.cts.ImageReaderTest, android.hardware.camera2.cts.ImageWriterTest Change-Id: Ie8e39a5daadf68b3809dd0035a902959dc18c9c3
Loading
Please register or sign in to comment