diff options
| author | 2023-05-18 20:08:55 +0530 | |
|---|---|---|
| committer | 2023-05-24 17:43:38 +0000 | |
| commit | f954040ee1fdeaeb11d2a91125f12e28d79925e8 (patch) | |
| tree | e3181b0b87032ae1281820ea0598de4babb8fc85 /services/surfaceflinger/RegionSamplingThread.cpp | |
| parent | 2aae677f5a53ce018d86e29e77ac0bb6c0f551db (diff) | |
ultrahdr: Avoid possible failure during gainmap compression
Allocating memory for compressed gainmap is always tricky because
the size is dependent on the data and quality factor. Too less a size
can cause intermittent errors. Avoid alloc altogether and remove
memcpy
Bug: 283503763
Test: ./libultrahdr_test
Change-Id: Ib57bac8bb25a2d00582c65067608a591f43cdc3a
Diffstat (limited to 'services/surfaceflinger/RegionSamplingThread.cpp')
0 files changed, 0 insertions, 0 deletions