Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i420->NV12 vs i420->ARGB #398

Closed
nathanwhy opened this issue May 20, 2024 · 3 comments
Closed

i420->NV12 vs i420->ARGB #398

nathanwhy opened this issue May 20, 2024 · 3 comments

Comments

@nathanwhy
Copy link

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
Copy link
Collaborator

Hi @nathanwhy, do you have any resources that you can share about the support for YUV-NV12 on AVSampleBufferDisplayLayer?

@testableapple
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants