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,
|
FlashRedEyeReduction = QCameraExposure::FlashRedEyeReduction,
|
||||||
FlashFill = QCameraExposure::FlashFill,
|
FlashFill = QCameraExposure::FlashFill,
|
||||||
FlashTorch = QCameraExposure::FlashTorch,
|
FlashTorch = QCameraExposure::FlashTorch,
|
||||||
|
FlashVideoLight = QCameraExposure::FlashVideoLight,
|
||||||
FlashSlowSyncFrontCurtain = QCameraExposure::FlashSlowSyncFrontCurtain,
|
FlashSlowSyncFrontCurtain = QCameraExposure::FlashSlowSyncFrontCurtain,
|
||||||
FlashSlowSyncRearCurtain = QCameraExposure::FlashSlowSyncRearCurtain,
|
FlashSlowSyncRearCurtain = QCameraExposure::FlashSlowSyncRearCurtain,
|
||||||
FlashManual = QCameraExposure::FlashManual
|
FlashManual = QCameraExposure::FlashManual
|
||||||
|
|||||||
@@ -610,7 +610,10 @@ void QCameraExposure::setAutoShutterSpeed()
|
|||||||
\value FlashAuto Automatic flash.
|
\value FlashAuto Automatic flash.
|
||||||
\value FlashRedEyeReduction Red eye reduction flash.
|
\value FlashRedEyeReduction Red eye reduction flash.
|
||||||
\value FlashFill Use flash to fillin shadows.
|
\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
|
\value FlashSlowSyncFrontCurtain
|
||||||
Use the flash in conjunction with a slow shutter speed.
|
Use the flash in conjunction with a slow shutter speed.
|
||||||
This mode allows better exposure of distant objects and/or motion blur effect.
|
This mode allows better exposure of distant objects and/or motion blur effect.
|
||||||
|
|||||||
@@ -78,9 +78,10 @@ public:
|
|||||||
FlashRedEyeReduction = 0x8,
|
FlashRedEyeReduction = 0x8,
|
||||||
FlashFill = 0x10,
|
FlashFill = 0x10,
|
||||||
FlashTorch = 0x20,
|
FlashTorch = 0x20,
|
||||||
FlashSlowSyncFrontCurtain = 0x40,
|
FlashVideoLight = 0x40,
|
||||||
FlashSlowSyncRearCurtain = 0x80,
|
FlashSlowSyncFrontCurtain = 0x80,
|
||||||
FlashManual = 0x100
|
FlashSlowSyncRearCurtain = 0x100,
|
||||||
|
FlashManual = 0x200
|
||||||
};
|
};
|
||||||
Q_DECLARE_FLAGS(FlashModes, FlashMode)
|
Q_DECLARE_FLAGS(FlashModes, FlashMode)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user