commit | 486aa5da58d96c08f453f28935e3080fc8a4f2df | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Tue Oct 13 16:22:58 2020 +0900 |
committer | Wonsik Kim <wonsik@google.com> | Thu Feb 11 15:15:47 2021 -0800 |
tree | c00b5f9187a8c4e4531ca87d36db819d43c5c897 | |
parent | 7e7b547d07934755c61820d0d011c016ab8f5c8a [diff] |
C2AllocatorGralloc: Convert C2Rect to Rect correctly The field of C2Rect is (left, top, width, height), and the field of Rect is (left, top, right, bottom). This CL fixes the conversion from C2Rect to Rect. Bug: 170697563 Test: android.media.cts.MediaCodecBlockModelTest#testDecodeShortAudio Change-Id: I74c7197587fbdaa0916046d1a9fad24d00e4f7a3 (cherry picked from commit 3d0e82ce1b1d1c594fee6796f49509bef5be9ca2)