[FFmpeg-cvslog] doc/ffmpeg: Document device selection for Vulkan

Mark Thompson git at videolan.org
Sun Feb 9 22:37:32 EET 2020


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Sun Feb  9 19:15:53 2020 +0000| [48b102c5a60642687574413bf149273e43224b57] | committer: Mark Thompson

doc/ffmpeg: Document device selection for Vulkan

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=48b102c5a60642687574413bf149273e43224b57
---

 doc/ffmpeg.texi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index dd461c02fc..29753f06ca 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1029,6 +1029,20 @@ Choose the GPU device on the second platform supporting the @emph{cl_khr_fp16}
 extension.
 @end table
 
+ at item vulkan
+If @var{device} is an integer, it selects the device by its index in a
+system-dependent list of devices.  If @var{device} is any other string, it
+selects the first device with a name containing that string as a substring.
+
+Examples:
+ at table @emph
+ at item -init_hw_device vulkan:1
+Choose the second device on the system.
+
+ at item -init_hw_device vulkan:RADV
+Choose the first device with a name containing the string @emph{RADV}.
+ at end table
+
 @end table
 
 @item -init_hw_device @var{type}[=@var{name}]@@@var{source}



More information about the ffmpeg-cvslog mailing list