commit | 38858f07809b4f089c4ba710f9b31eddfc83c1f3 | [log] [tgz] |
---|---|---|
author | bohu <bohu@google.com> | Tue May 17 23:04:08 2022 -0700 |
committer | Bo Hu <bohu@google.com> | Wed May 18 15:26:51 2022 +0000 |
tree | fa7118c885b68c2deaa4e36c108c1a2643bcaeb0 | |
parent | a707249b7241aaf7dc0c9c9415eb9837177f2ae9 [diff] |
codecs: get decoder output mode using pool id There are two modes of decoding: 1, decoding into bytebuffer 2, decoding into surface (host color buffer for emulator) previous way of getting this mode is not working anymore. now, change it to use the buffer pool id, which is either GRAPHIC(host color buffer) or LINEAR (bytebuffer). Bug: 232881288 Test: atest android.media.decoder.cts.ImageReaderDecoderTest Change-Id: Iff124e74fb95ebb4377a311d1224ef9bb944f195