This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CVPixelBuffer+Rotate.swift | |
// | |
// Abstract: | |
// This CVPixelBuffer extension provides a method that will rotate an | |
// ARGB pixel buffer by a multiple of 90 degrees using the high performance | |
// Accelerate framework provided on Apple platforms. This method is | |
// designed to be compatible with Core Video APIs on iOS, which may require | |
// the pixel buffer to be memory aligned and backed by an IOSurface. | |
// |