我的应用程序有很多相机逻辑功能。
到目前为止,我在 AVCaptureOutput 中使用了 CoreImage 过滤器并在 GLKView 中显示 CIImage。
现在我想将 CIImage 与 CIFilter 混合。但在“AVCaptureOutput-Loop”中,CoreImage 过滤器链永远不会结束。
所以我想用 GPUImage 来替换 CoreImage 函数。
没有GPUImageVideoCamera或GPUImageStillCamera有什么办法,让我有自己的AVCaptureOutput,例如:
CMSampleBufferRef or CVPixelBufferRef > GPUImage > filter and store the image for the next AVCaptureOutput call > Display in my GLKView
谢谢
PS:对不起我的英语不好;)