DJI VideoFrameYUV to CIImage conversion
问题 I have problem with VideoFrameYUV to CIImage conversion. I have tried HW accelerated method with: CVPixelBufferRef pixelBuffer = frame->cv_pixelbuffer_fastupload; CIImage *ciImage = [CIImage imageWithCVPixelBuffer:pixelBuffer]; but CIImage is always NULL . I have tried SW way: CVPixelBufferRef pixelBuffer = NULL; CVReturn resulst = CVPixelBufferCreate(kCFAllocatorDefault, frame-> width, frame -> height, kCVPixelFormatType_420YpCbCr8Planar, NULL, &pixelBuffer); if (kCVReturnSuccess !=