NewChromantics / PopH264

Low-level, minimal H264 decoder & encoder library for windows, hololens/uwp, ios/tvos/macos, linux, android/quest/magic leap. CAPI for use with c#, unreal, swift
http://poph264.com/
Mozilla Public License 2.0
84 stars 15 forks source link

Android performance lower than iOS performance #61

Open krzysztof-chwiolka opened 2 years ago

krzysztof-chwiolka commented 2 years ago

I have been running our performance metrics and I noticed a large discrepancy in the performance between iOS and android devices.

Android testing device: Note 8 iOS testing device iPhone 11

it took between 22/71ms for the Note 8 to draw the first frame it took between 4/16ms for the iPhone 11 to draw the first frame it also took around 11/24ms for the iPhone 8 to draw the first frame

This was on a block of frame at 3/5mb per output frame.

So any further optimisations on android end would be great to see.

SoylentGraham commented 2 years ago

In dc4c20e4911f3bb458eb3c488e7f6b80d67cba01 we updated the makefile and I found I was NOT applying -O3 So performance may have significantly improved re: frame copying (at least) here