GPUImage3
GPUImage3 copied to clipboard
GPUImage 3 is a BSD-licensed Swift framework for GPU-accelerated video and image processing using Metal.
Is it possible to use an AVCaptureVideoPreviewLayer as a target of stillCamera or videoCamera?
When I'm trying to swap camera to the front, the preview is rotated upside down. Any solution?
add suport for *Position2D* uniform data type
Hi, I want to switch between filters but the camera just freeze. func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) { camera.removeAllTargets() currentFilter?.removeAllTargets() let filter = filters[indexPath.item] currentFilter = filter camera.addTarget(currentFilter)...
Old output:  New output: 
Old output:  New output: 
Use [buffer size](https://developer.apple.com/documentation/metal/mtlargument/1461986-bufferdatasize) and [offsets](https://developer.apple.com/documentation/metal/mtlstructmember/1461970-offset) directly from MTLAutoreleasedRenderPipelineReflection instead of manually calculating
validateFunctionArguments:3485: failed assertion `Fragment Function(vignetteFragment): argument uniform[0] from buffer(1) with offset(0) and length(40) has space for 40 bytes, but argument has a length(48).'
Fatal error in Source/PictureInput.swift: Unexpectedly found nil while unwrapping an Optional value
Trying to use GPUImage3 inside a ASNetworkImageNode's imageModificationBlock: ```swift node.imageModificationBlock = { image, _ in let luminance = Luminance() let exposure = ExposureAdjustment() exposure.exposure = -0.3 return image.filterWithPipeline { input,...