Skip to content

PlayerHwAccel

property

Delphi
property PlayerHwAccel: THwAccel read GetPlayerHwAccel write SetPlayerHwAccel default DEF_PlayerHwAccel;
C++Builder
__property THwAccel PlayerHwAccel = {read=GetPlayerHwAccel, write=SetPlayerHwAccel, default=5};
C#
public THwAccel PlayerHwAccel { get; set; }
VB.NET
Public Property PlayerHwAccel As THwAccel
C++/Qt
THwAccel GetPlayerHwAccel ();
void SetPlayerHwAccel (THwAccel Value);

Enables the hardware acceleration of video decoding during the playback.

hw_Auto (default): the acceleration is chosen by TVideoGrabber for the decoder in use

Also used by the MJPEG decoder of the video capture devices (MJPG video format): GPU decoding when the GPU has an MJPEG decoder. hw_Auto: GPU from 1280x720 (smaller pictures in software), hardware decoders of Intel GPUs only; hw_Cuda, hw_QuickSync, hw_Dxva2, hw_d3d11: GPU at any size, any GPU decoder (hw_Cuda: NVIDIA GPU first, hw_QuickSync: Intel GPU first); hw_None: software decoding.

The possible values are enumerated here: THwAccel