Fix ImageWriter builder pattern APIs
- fix getFormat() mismatch by fix the way of reading dataspace value in the android_media_ImageWriter#Image_getFormat function. - fix getDataSpace() mismatch when the Image is dequeued from ImageWriter. - skip usage bit setup if image format is opaque. Bug: 215717202 Bug: 215718355 Test: android.hardware.cts.DataSpaceTest,android.hardware.camera2.cts.ImageWriterTest,android.hardware.camera2.cts.ImageReaderTest Change-Id: I375739322c3fdad2dc23be3558f4bd8cd396d8b6
Loading
Please register or sign in to comment