How to convert YUV420 data to CMSampleBuffer? of kCVPixelFormatType_32BGRA

the YUV420 data is obtained by pulling the data. How to transfer the CMSampleBuffer, that needs to be converted to kCVPixelFormatType_32BGRA?

Mar.14,2021
Menu