Commit 5c13ffb7 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #8060 from Legoless:master

parents a446cb27 576d43d1
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
@class CvAbstractCamera; @class CvAbstractCamera;
@interface CvAbstractCamera : NSObject CV_EXPORTS @interface CvAbstractCamera : NSObject
{ {
UIDeviceOrientation currentDeviceOrientation; UIDeviceOrientation currentDeviceOrientation;
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
@class CvVideoCamera; @class CvVideoCamera;
@protocol CvVideoCameraDelegate <NSObject> CV_EXPORTS @protocol CvVideoCameraDelegate <NSObject>
#ifdef __cplusplus #ifdef __cplusplus
// delegate method for processing image frames // delegate method for processing image frames
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
@end @end
@interface CvVideoCamera : CvAbstractCamera<AVCaptureVideoDataOutputSampleBufferDelegate> CV_EXPORTS @interface CvVideoCamera : CvAbstractCamera<AVCaptureVideoDataOutputSampleBufferDelegate>
{ {
AVCaptureVideoDataOutput *videoDataOutput; AVCaptureVideoDataOutput *videoDataOutput;
...@@ -129,14 +129,14 @@ ...@@ -129,14 +129,14 @@
@class CvPhotoCamera; @class CvPhotoCamera;
@protocol CvPhotoCameraDelegate <NSObject> CV_EXPORTS @protocol CvPhotoCameraDelegate <NSObject>
- (void)photoCamera:(CvPhotoCamera*)photoCamera capturedImage:(UIImage *)image; - (void)photoCamera:(CvPhotoCamera*)photoCamera capturedImage:(UIImage *)image;
- (void)photoCameraCancel:(CvPhotoCamera*)photoCamera; - (void)photoCameraCancel:(CvPhotoCamera*)photoCamera;
@end @end
@interface CvPhotoCamera : CvAbstractCamera CV_EXPORTS @interface CvPhotoCamera : CvAbstractCamera
{ {
AVCaptureStillImageOutput *stillImageOutput; AVCaptureStillImageOutput *stillImageOutput;
} }
......
...@@ -15,10 +15,10 @@ class OSXBuilder(Builder): ...@@ -15,10 +15,10 @@ class OSXBuilder(Builder):
def getToolchain(self, arch, target): def getToolchain(self, arch, target):
return None return None
def getBuildCommand(self, arch, target): def getBuildCommand(self, archs, target):
buildcmd = [ buildcmd = [
"xcodebuild", "xcodebuild",
"ARCHS=%s" % arch, "ARCHS=%s" % archs[0],
"-sdk", target.lower(), "-sdk", target.lower(),
"-configuration", "Release", "-configuration", "Release",
"-parallelizeTargets", "-parallelizeTargets",
...@@ -39,8 +39,8 @@ if __name__ == "__main__": ...@@ -39,8 +39,8 @@ if __name__ == "__main__":
parser.add_argument('--without', metavar='MODULE', default=[], action='append', help='OpenCV modules to exclude from the framework') parser.add_argument('--without', metavar='MODULE', default=[], action='append', help='OpenCV modules to exclude from the framework')
args = parser.parse_args() args = parser.parse_args()
b = OSXBuilder(args.opencv, args.contrib, args.without, b = OSXBuilder(args.opencv, args.contrib, False, False, args.without,
[ [
("x86_64", "MacOSX") (["x86_64"], "MacOSX")
]) ])
b.build(args.out) b.build(args.out)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment