Post

Replies

Boosts

Views

Activity

Reply to Disabling tone mapping in iOS camera AVCaptureDevice
Ah, well that I would not have guessed, thanks! However, while it works the first time I call it, if I try going back to auto exposure (with the following code): camera.exposureMode = .continuousAutoExposure; camera.isSubjectAreaChangeMonitoringEnabled = true; camera.setExposureTargetBias(0, completionHandler: nil); if (camera.activeFormat.isGlobalToneMappingSupported) { camera.isGlobalToneMappingEnabled = false; // enables local tone mapping }and then go back to my custom exposure mode (setting isSubjectAreaChangeMonitoringEnabled to false and calling camera.setExposureModeCustom(...), plus setting camera.isGlobalToneMappingEnabled to true again), the unwanted tone mapping returns (i.e. isn't diabled by setting camera.isGlobalToneMappingEnabled to true). Any ideas why it would work on the first call but not on subsequent calls? Is it just buggy?
Topic: Media Technologies SubTopic: Audio Tags:
Apr ’20