Camera flash control - version for iOS/OS X

AVCaptureDevice has API to work with camera flash on both iOS and OS X
(quite limited on OS X though) - so camera flash control can be implemented
in AVFoundation plugin.

Task-number: QTBUG-37996
Change-Id: Ie9aaed09a709e7d09ccc1cedded93a69fea93975
Reviewed-by: Yoann Lopes <yoann.lopes@theqtcompany.com>
This commit is contained in:
Timur Pocheptsov
2015-03-31 09:20:50 +02:00
parent d9a988971f
commit 6187b72c51
5 changed files with 317 additions and 2 deletions

View File

@@ -41,7 +41,8 @@ HEADERS += \
avfcameraexposurecontrol.h \
avfcamerautility.h \
avfcameraviewfindersettingscontrol.h \
avfimageencodercontrol.h
avfimageencodercontrol.h \
avfcameraflashcontrol.h
OBJECTIVE_SOURCES += \
avfcameraserviceplugin.mm \
@@ -62,7 +63,8 @@ OBJECTIVE_SOURCES += \
avfcameraexposurecontrol.mm \
avfcamerautility.mm \
avfcameraviewfindersettingscontrol.mm \
avfimageencodercontrol.mm
avfimageencodercontrol.mm \
avfcameraflashcontrol.mm
ios {