diff options
author | Emilian Peev <epeev@google.com> | 2020-10-14 16:37:09 -0700 |
---|---|---|
committer | Emilian Peev <epeev@google.com> | 2021-01-27 10:13:50 -0800 |
commit | 534a9ba1b52b5a518d24d7b492f731a2a5509a25 (patch) | |
tree | 50896de710dd514955a06b635cb990eb4011465e /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 3f08df9fe9a04f46107c9184d56ab712d9915d40 (diff) |
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
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions