Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
05b15943
Commit
05b15943
authored
Sep 14, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7188 from valeriyvan:andfutheriosfixes
parents
d1492eef
5a71bde7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
cap_ios_abstract_camera.mm
modules/videoio/src/cap_ios_abstract_camera.mm
+10
-10
No files found.
modules/videoio/src/cap_ios_abstract_camera.mm
View file @
05b15943
...
...
@@ -323,7 +323,7 @@
NSError* error = nil;
AVCaptureDeviceInput *input = [AVCaptureDeviceInput deviceInputWithDevice:device error:&error];
if (!input) {
NSLog(@"error creating input %@", [error
localizedD
escription]);
NSLog(@"error creating input %@", [error
d
escription]);
}
// support for autofocus
...
...
@@ -333,7 +333,7 @@
device.focusMode = AVCaptureFocusModeContinuousAutoFocus;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for autofoc
os configuration %@", [error localizedD
escription]);
NSLog(@"unable to lock device for autofoc
us configuration %@", [error d
escription]);
}
}
[self.captureSession addInput:input];
...
...
@@ -379,13 +379,13 @@
- (void)createCaptureOutput;
{
[NSException raise:NSInternalInconsistencyException
format:@"You must override %
@ in a subclass", NSStringFromSelector(_cmd)
];
format:@"You must override %
s in a subclass", __FUNCTION__
];
}
- (void)createCustomVideoPreview;
{
[NSException raise:NSInternalInconsistencyException
format:@"You must override %
@ in a subclass", NSStringFromSelector(_cmd)
];
format:@"You must override %
s in a subclass", __FUNCTION__
];
}
- (void)updateOrientation;
...
...
@@ -436,7 +436,7 @@
device.focusMode = AVCaptureFocusModeLocked;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for locked focus configuration %@", [error
localizedD
escription]);
NSLog(@"unable to lock device for locked focus configuration %@", [error
d
escription]);
}
}
}
...
...
@@ -450,7 +450,7 @@
device.focusMode = AVCaptureFocusModeContinuousAutoFocus;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for autofocus configuration %@", [error
localizedD
escription]);
NSLog(@"unable to lock device for autofocus configuration %@", [error
d
escription]);
}
}
}
...
...
@@ -464,7 +464,7 @@
device.exposureMode = AVCaptureExposureModeLocked;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for locked exposure configuration %@", [error
localizedD
escription]);
NSLog(@"unable to lock device for locked exposure configuration %@", [error
d
escription]);
}
}
}
...
...
@@ -478,7 +478,7 @@
device.exposureMode = AVCaptureExposureModeContinuousAutoExposure;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for autoexposure configuration %@", [error
localizedD
escription]);
NSLog(@"unable to lock device for autoexposure configuration %@", [error
d
escription]);
}
}
}
...
...
@@ -492,7 +492,7 @@
device.whiteBalanceMode = AVCaptureWhiteBalanceModeLocked;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for locked white balance configuration %@", [error
localizedD
escription]);
NSLog(@"unable to lock device for locked white balance configuration %@", [error
d
escription]);
}
}
}
...
...
@@ -506,7 +506,7 @@
device.whiteBalanceMode = AVCaptureWhiteBalanceModeContinuousAutoWhiteBalance;
[device unlockForConfiguration];
} else {
NSLog(@"unable to lock device for auto white balance configuration %@", [error
localizedD
escription]);
NSLog(@"unable to lock device for auto white balance configuration %@", [error
d
escription]);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment