commit | f954040ee1fdeaeb11d2a91125f12e28d79925e8 | [log] [tgz] |
---|---|---|
author | Ram Mohan <ram.mohan@ittiam.com> | Thu May 18 20:08:55 2023 +0530 |
committer | Dichen Zhang <dichenzhang@google.com> | Wed May 24 17:43:38 2023 +0000 |
tree | e3181b0b87032ae1281820ea0598de4babb8fc85 | |
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