1 // 2 // EXCameraPointTransformCalculator.h 3 // Exponent 4 // 5 // Created by Stanisław Chmiela on 30.10.2017. 6 // Copyright © 2017 650 Industries. All rights reserved. 7 // 8 9 #import <UIKit/UIKit.h> 10 #import <AVFoundation/AVFoundation.h> 11 12 @interface EXCSBufferOrientationCalculator : NSObject 13 14 + (CGAffineTransform)pointTransformForInterfaceOrientation:(UIInterfaceOrientation)orientation 15 forBufferWidth:(CGFloat)bufferWidth 16 andBufferHeight:(CGFloat)bufferHeight 17 andVideoWidth:(CGFloat)videoWidth 18 andVideoHeight:(CGFloat)videoHeight 19 andMirrored:(BOOL)mirrored; 20 21 @end 22