SIGN UP

VIVideoPreprocessDelegate

Methods

preprocessVideoFrame:rotation:

- (void)preprocessVideoFrame:(CVPixelBufferRef)pixelBuffer
                    rotation:(VIRotation)rotation

Triggered when new video frame is available for preprocessing.

Parameters

  • pixelBuffer:

    CVPixelBufferRef

    Video frame.

  • rotation:

    VIRotation

    Video frame rotation.