commit | 67514c248c39f89f6e581d022270efbeb8ab3242 | [log] [tgz] |
---|---|---|
author | Marissa Wall <marissaw@google.com> | Mon Nov 25 11:15:08 2019 -0800 |
committer | Marissa Wall <marissaw@google.com> | Mon Nov 25 12:15:18 2019 -0800 |
tree | 66e27a7d5307adcdb703a595c79e7403d16b0739 | |
parent | 6eeaf925f30c271c7b04c3d7151d1f429e660002 [diff] |
gralloc: support codec2 via GraphicBufferAllocator/Mapper Codec2 is moving to GraphicBufferAllocator/Mapper. This patch cleans up GBA/M so codec2 can use it. - Since the graphic buffer id isn't used by GBA/M, deprecate the old allocate function. - Include Rect so clients aren't required to include Rect. Bug: 145139476 Test: Cherry pick ag/9741096 and run android.media.cts.MediaMetadataRetrieverTest#testThumbnailVP9Hdr Change-Id: I3c0a03b771423f23741731e725a2846709ffc5da