5.3.4.144. Function video_hwaccel_str_to_enum

5.3.4.144.1. Function Documentation

enum video_codec_hwaccel_e video_hwaccel_str_to_enum(const char *str)

Convert a string into an video_codec_hwaccel_e enum value

Parameters

str – String that can be “NONE”, “CUDA” or “VIDEOTOOLBOX”

Returns

Corresponding enum value.