Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7b3f96f8 authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

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
parent 591bc3ab
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment