Loading
ImageWriter: Convert Blob native format to respective public value
The result of the surface format query is the underlying native pixel format which in some cases might be different from the public advertised value. The native allocation estimation expects the public ImageFormat so the queried format must be converted where necessary. Bug: 170900000 Test: atest cts/tests/camera/src/android/hardware/camera2/cts/ImageWriter.java#testWriterReaderBlobFormats Change-Id: If509c112f9caf2f0d00f165200f5a8559896121d