diff options
| author | 2019-09-09 10:08:22 +0800 | |
|---|---|---|
| committer | 2019-09-20 00:32:58 +0000 | |
| commit | e409e38f7a874d02c5900f201ba38ca94837aea6 (patch) | |
| tree | 7b44ebabe1504f2c0c7d6ee53bf146e99462bbd8 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 323d89081945901f6aeba4845a8e1f376ee4ab47 (diff) | |
libgui: Set HDR metadataSize data type as uint32_t
sizeof(metadataSize) is different in 32-bit or 64-bit mode if data type
of metadataSize is size_t. Fix metadataSize in uint32_t for flatten and
unflatten.  In addition, we take hdr10plus array element size into
consideration when allocate memoery for flatten and unflatten.
b/127370432
Test: check size of metadataSize in flatten and unflatten in hdr10plus
playback.
Test: Check hdr10plus array content when array element size is
non-uint8_t such as uint32_t.
Change-Id: Id7a415887b43c440e3f23ea2f6b201d45271c160
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions