commit | 4b3ebec6aa3496d0ec2828ef34e5c23b9ebf67df | [log] [tgz] |
---|---|---|
author | Chih-Yu Huang <akahuang@google.com> | Tue Oct 13 16:22:58 2020 +0900 |
committer | Chih-yu Huang <akahuang@google.com> | Thu Oct 15 03:04:25 2020 +0000 |
tree | 329e7b671ac6c95e4b6d3d913d41694141a1aad4 | |
parent | bea48ae9008f4ea00f654eb842a8543f426457f3 [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)