commit | 7b3f96f8214b5f19b6f2092fd6b7bf184026b283 | [log] [tgz] |
---|---|---|
author | Harish Mahendrakar <hmahendrakar@google.com> | Wed May 08 17:54:15 2024 -0700 |
committer | Harish Mahendrakar <hmahendrakar@google.com> | Thu May 09 16:28:26 2024 -0700 |
tree | 08ce334e6c255a8aab5087ca82661301bf023bde | |
parent | 591bc3abbf385a1094ae4e37c7f82e10c3e36227 [diff] |
Codec2CommonUtils: Reduce android_get_device_api_level() calls Instead of calling android_get_device_api_level() for every frame, it is now called once and stored in a static variable. Bug: 246792159 Test: Decode 10-bit clip and confirm android_get_device_api_level() is called only once. Change-Id: I10402a3f729910e87fc74d48e0afa0830c7873ba