Added VideoLight camera flash mode.
Unlike the torch mode, it's enabled only while camera is active. Change-Id: Ib92349ac190586c5aa8e49a8fddbdf937e757fd0 Reviewed-by: Jonas Rabbe <jonas.rabbe@nokia.com> Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
committed by
Qt by Nokia
parent
9cf0b2b90d
commit
8477d735c9
@@ -149,6 +149,7 @@ public:
|
||||
FlashRedEyeReduction = QCameraExposure::FlashRedEyeReduction,
|
||||
FlashFill = QCameraExposure::FlashFill,
|
||||
FlashTorch = QCameraExposure::FlashTorch,
|
||||
FlashVideoLight = QCameraExposure::FlashVideoLight,
|
||||
FlashSlowSyncFrontCurtain = QCameraExposure::FlashSlowSyncFrontCurtain,
|
||||
FlashSlowSyncRearCurtain = QCameraExposure::FlashSlowSyncRearCurtain,
|
||||
FlashManual = QCameraExposure::FlashManual
|
||||
|
||||
@@ -610,7 +610,10 @@ void QCameraExposure::setAutoShutterSpeed()
|
||||
\value FlashAuto Automatic flash.
|
||||
\value FlashRedEyeReduction Red eye reduction flash.
|
||||
\value FlashFill Use flash to fillin shadows.
|
||||
\value FlashTorch Constant light source, useful for focusing and video capture.
|
||||
\value FlashTorch Constant light source. If supported,
|
||||
torch can be enabled without loading the camera.
|
||||
\value FlashVideoLight Constant light source, useful for video capture.
|
||||
The light is turned on only while camera is active.
|
||||
\value FlashSlowSyncFrontCurtain
|
||||
Use the flash in conjunction with a slow shutter speed.
|
||||
This mode allows better exposure of distant objects and/or motion blur effect.
|
||||
|
||||
@@ -78,9 +78,10 @@ public:
|
||||
FlashRedEyeReduction = 0x8,
|
||||
FlashFill = 0x10,
|
||||
FlashTorch = 0x20,
|
||||
FlashSlowSyncFrontCurtain = 0x40,
|
||||
FlashSlowSyncRearCurtain = 0x80,
|
||||
FlashManual = 0x100
|
||||
FlashVideoLight = 0x40,
|
||||
FlashSlowSyncFrontCurtain = 0x80,
|
||||
FlashSlowSyncRearCurtain = 0x100,
|
||||
FlashManual = 0x200
|
||||
};
|
||||
Q_DECLARE_FLAGS(FlashModes, FlashMode)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user