stream-video-swift
stream-video-swift copied to clipboard
i420->NV12 vs i420->ARGB
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.