How to directly rotate CVImageBuffer image in IOS 4 without converting to UIImage?
vImage is a pretty fast way to do it. Requires ios5 though. The call says ARGB but it works for the BGRA you get from the buffer. This also has the advantage that you can cut out a part of the buffer and rotate that. See my answer here – (unsigned char*) rotateBuffer: (CMSampleBufferRef) sampleBuffer … Read more