commit | 0362b5aae6ef86362a90de747fcd864d34ce11c9 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Thu May 25 15:47:16 2017 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Thu May 25 15:47:16 2017 -0700 |
tree | ee74f9a6fceec9dcfc891e05290c373b93064266 | |
parent | 73e915617b67d794a7c4b8b9c180229a2226ab3a [diff] |
msm8998: Optimize startup by not loading a library to check a constant The camera HAL needs to know the stride padding value for buffers. This is found by dlopening a graphics utility library, calling one method in it, and then closing the library. Since this value is a constant, just hard code the value returned. Test: Camera CTS passes Bug: 38202666 Change-Id: Ia421e48408658fccd3febbd468e09e47bbca07d8