Colorwaver
Colorwaver copied to clipboard
perf: Run `getColors` algorithm directly on `CVPixelBuffer` instead of costly `UIImage` conversion
Creates a custom implementation of getColors to get the colors directly on the CVPixelBuffer we already stream, instead of converting CMSampleBuffer -> CVPixelBuffer -> CGImage -> UIImage every time.
This should make the Frame Processor Plugin a lot faster.