kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange to RGB

I have CVPixelBuffer's in kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange, which is 10 bit HDR. I need to convert these to RGB and display in MTKView. I need to know the correct pixel format to use, the BT2020 conversion matrix, and displaying the 10 bit RGB pixel buffer in MTKView.

do you solved it?

kCVPixelFormatType_420YpCbCr10BiPlanarVideoRange to RGB
 
 
Q