Skip to content
Commit 534a9ba1 authored by Emilian Peev's avatar Emilian Peev
Browse files

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
parent 3f08df9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment