Message ID | 20231124054348.3115276-2-haihao.xiang@intel.com |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,1/3] lavu/hwcontext_d3d11va: Add option vendor_id | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On 2023-11-24 11:13 am, Xiang, Haihao wrote: > From: Haihao Xiang<haihao.xiang@intel.com> > > Signed-off-by: Haihao Xiang<haihao.xiang@intel.com> > --- > doc/ffmpeg.texi | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > index 68363ae045..5296b75a4e 100644 > --- a/doc/ffmpeg.texi > +++ b/doc/ffmpeg.texi > @@ -1165,6 +1165,21 @@ Choose the first device and use the primary device context. > > @item d3d11va > @var{device} is the number of the Direct3D 11 display adapter. > +If not specified, it will attempt to use the default Direct3D 11 display adapter > +or the first Direct3D 11 display adapter whose Harware VendorId is specified s/Harware/Hardware here and elsewhere. Regards, Gyan > +by @samp{vendor_id}. > + > +Examples: > +@table @emph > +@item -init_hw_device d3d11va > +Create a d3d11va device on the default Direct3D 11 display adapter. > + > +@item -init_hw_device d3d11va:1 > +Create a d3d11va device on the Direct3D 11 display adapter specified by index 1. > + > +@item -init_hw_device d3d11va:,vendor_id=0x8086 > +Create a d3d11va device on the first Direct3D 11 display adapter whose Harware VendorId is 0x8086. > +@end table > > @item vaapi > @var{device} is either an X11 display name, a DRM render node or a DirectX adapter index.
On Vr, 2023-11-24 at 11:25 +0530, Gyan Doshi wrote: > > > On 2023-11-24 11:13 am, Xiang, Haihao wrote: > > From: Haihao Xiang<haihao.xiang@intel.com> > > > > Signed-off-by: Haihao Xiang<haihao.xiang@intel.com> > > --- > > doc/ffmpeg.texi | 15 +++++++++++++++ > > 1 file changed, 15 insertions(+) > > > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > > index 68363ae045..5296b75a4e 100644 > > --- a/doc/ffmpeg.texi > > +++ b/doc/ffmpeg.texi > > @@ -1165,6 +1165,21 @@ Choose the first device and use the primary device > > context. > > > > @item d3d11va > > @var{device} is the number of the Direct3D 11 display adapter. > > +If not specified, it will attempt to use the default Direct3D 11 display > > adapter > > +or the first Direct3D 11 display adapter whose Harware VendorId is > > specified > > s/Harware/Hardware here and elsewhere. Thanks for catching this typo, I'll fix it in the new version. BRs Haihao > > Regards, > Gyan > > > > +by @samp{vendor_id}. > > + > > +Examples: > > +@table @emph > > +@item -init_hw_device d3d11va > > +Create a d3d11va device on the default Direct3D 11 display adapter. > > + > > +@item -init_hw_device d3d11va:1 > > +Create a d3d11va device on the Direct3D 11 display adapter specified by > > index 1. > > + > > +@item -init_hw_device d3d11va:,vendor_id=0x8086 > > +Create a d3d11va device on the first Direct3D 11 display adapter whose > > Harware VendorId is 0x8086. > > +@end table > > > > @item vaapi > > @var{device} is either an X11 display name, a DRM render node or a DirectX > > adapter index. > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 68363ae045..5296b75a4e 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -1165,6 +1165,21 @@ Choose the first device and use the primary device context. @item d3d11va @var{device} is the number of the Direct3D 11 display adapter. +If not specified, it will attempt to use the default Direct3D 11 display adapter +or the first Direct3D 11 display adapter whose Harware VendorId is specified +by @samp{vendor_id}. + +Examples: +@table @emph +@item -init_hw_device d3d11va +Create a d3d11va device on the default Direct3D 11 display adapter. + +@item -init_hw_device d3d11va:1 +Create a d3d11va device on the Direct3D 11 display adapter specified by index 1. + +@item -init_hw_device d3d11va:,vendor_id=0x8086 +Create a d3d11va device on the first Direct3D 11 display adapter whose Harware VendorId is 0x8086. +@end table @item vaapi @var{device} is either an X11 display name, a DRM render node or a DirectX adapter index.