i420->NV12 vs i420->ARGB
nathanwhy opened this issue · 3 comments
nathanwhy commented
I just read the Boost Performance by Over 100x Using the Accelerate Framework.
Actually AVSampleBufferDisplayLayer
of PIP accepts two types of streams, RGBA and YUV-NV12.
Why not consider converting the stream directly to YUV-NV12? This might perform better than ARGB.
ipavlidakis commented
Hi @nathanwhy, do you have any resources that you can share about the support for YUV-NV12 on AVSampleBufferDisplayLayer
?
nathanwhy commented
testableapple commented
Hi @nathanwhy,
Thanks for your suggestion. We might consider leveraging it in the future, but for now, we are happy with our current solution and don't plan to change it anytime soon.
Kind regards,
Alexey