VideoAccelerationType enum

@brief Video Acceleration type

Used as value in #CAP_PROP_HW_ACCELERATION and #VIDEOWRITER_PROP_HW_ACCELERATION

@note In case of FFmpeg backend, it translated to enum AVHWDeviceType (https://github.com/FFmpeg/FFmpeg/blob/master/libavutil/hwcontext.h)

Inheritance
Available extensions

Values

VIDEO_ACCELERATION_NONE → const VideoAccelerationType

!< Do not require any specific H/W acceleration, prefer software processing. !< Reading of this value means that special H/W accelerated handling is not added or not detected by OpenCV.

const VideoAccelerationType(0)
VIDEO_ACCELERATION_ANY → const VideoAccelerationType

!< Prefer to use H/W acceleration. If no one supported, then fallback to software processing. !< @note H/W acceleration may require special configuration of used environment. !< @note Results in encoding scenario may differ between software and hardware accelerated encoders.

const VideoAccelerationType(1)
VIDEO_ACCELERATION_D3D11 → const VideoAccelerationType

!< DirectX 11

const VideoAccelerationType(2)
VIDEO_ACCELERATION_VAAPI → const VideoAccelerationType

!< VAAPI

const VideoAccelerationType(3)
VIDEO_ACCELERATION_MFX → const VideoAccelerationType

!< libmfx (Intel MediaSDK/oneVPL)

const VideoAccelerationType(4)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromValue(int value) VideoAccelerationType

Constants

values → const List<VideoAccelerationType>
A constant List of the values in this enum, in order of their declaration.