GPUImageVideoCamera addTatget 后会修改 后面的target的 InputRotation
- (void)addTarget:(id<GPUImageInput>)newTarget atTextureLocation:(NSInteger)textureLocation;
{
[superaddTarget:newTarget atTextureLocation:textureLocation];
[newTarget setInputRotation:outputRotationatIndex:textureLocation];
}
GPUIamge filter的回调
// [progressFilter setFrameProcessingCompletionBlock:^(GPUImageOutput *gpuImageOutput, CMTime time) {
// CVPixelBufferRef pixel = [gpuImageOutput framebufferForOutput].pixelBuffer;
// CGSize originalSize = CGSizeMake(CVPixelBufferGetWidth(pixel), CVPixelBufferGetHeight(pixel));
// }];
另附一张 花椒的处理流程