mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-25 13:31:55 +00:00
Use direct submit decoding for MediaCodec. Based on my profiling of a few devices, dequeueInputBuffer and queueInputBuffer don't take much time anyway. It allows us to stop our semi-busy looping which saves power. The depacketizer can avoid expensive synchronization and additional context switching which costs time and CPU cycles.
This commit is contained in:
1 parent
899387caa1
commit
2ab67380d6
4 files changed
+56
-143
No files matched your search
Binary file not shown.
Reference in new issue
Block a user