FMX.Media.TVideoCaptureQuality
Delphi
TVideoCaptureQuality = (PhotoQuality, HighQuality, MediumQuality, LowQuality, CaptureSettings);
C++
enum class DECLSPEC_DENUM TVideoCaptureQuality : unsigned char { PhotoQuality, HighQuality, MediumQuality, LowQuality, CaptureSettings };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | FMX.Media.pas FMX.Media.hpp |
FMX.Media | FMX.Media |
Description
Enumerates the possible quality options of captured video data.
TVideoCaptureQuality defines the following values:
Value | Meaning |
---|---|
|
The captured data has high resolution photo quality. |
|
The captured data has high resolution (depending on the device). |
|
The captured data has medium resolution (depending on the device). |
|
The captured data has low resolution (depending on the device). |
|
This option allows you to set a customized capture data resolution. |
To change the quality of the captured video data, set the TCameraComponent.Quality or TVideoCaptureDevice.Quality properties to one of the above values.
PhotoQuality
, HighQuality
, MediumQuality
and LowQuality
are preset resolutions and are automatically calculated based on the device.
CaptureSettings
allows you to set a customized configuration with the TCameraComponent.CaptureSetting property from the TCameraComponent.AvailableCaptureSettings of the camera component or TVideoCaptureDevice.CaptureSetting property from the TVideoCaptureDevice.AvailableCaptureSettings.