From patchwork Fri Nov 24 05:43:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Xiang, Haihao" X-Patchwork-Id: 44782 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:bca6:b0:181:818d:5e7f with SMTP id fx38csp1077182pzb; Thu, 23 Nov 2023 21:45:04 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJ9+Fcql9DuzYcD5abn2t5U2zdxH5W+EXaJxMKUBKDr9w75R3at+nxNblIdLLOXJZE2Hq4 X-Received: by 2002:a17:906:1da:b0:9be:466c:1824 with SMTP id 26-20020a17090601da00b009be466c1824mr1105359ejj.11.1700804703990; Thu, 23 Nov 2023 21:45:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700804703; cv=none; d=google.com; s=arc-20160816; b=ZDJAQS3OhIJZdS3/BUmKPlLkCOCNf5S1i8vq2+iSVP06oMhy7+Py/VBEVCmKFTpV1X VBI2JCMr2AJ4JmYCDzK4u2Cq/ki/eF/idWZQrYk466/dwwi3d88y5M47Gh5UYOOl5qrl 3R95MaSa7laeINsKY0eZZl0vlN+JKKQ44WqZmRM/gzUbNh5pgwBbsU56CiEUzKOZIGwj DHleWP9mzJMOTwhmv8/IMMpkxZuwxdTs5X0ocZAvIAdya3w0tJdX6CZr5mQzUJAZBUjo 2+NYOoXMUbqhkoLuqLg4/rum1DWaZPBet71AKzYekAPVYfMzGp3+vSP2LvaTr0BsZtY4 NvZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=bBjm83dWrXtykEsOPiBjlrVr1H75nlI+tOkxKo4ltHg=; fh=1kpmTRI1sW42eNCnNMby7VLIISQBX6KJuVYxOEG0t2A=; b=BZ6Z/IQIMTQEQU8eYq7fLeU0VberfolDiIaGLbbDpWIIYZdRdHjgRWiBIK/Rf7s6Uw nFc4RnFk3BZaizNyt7uZQ5Jck8ZOC0GSbsyUHc/aalqeMIiRlR6NFtngIjPdP0JG7a0a Ls3TfezIL6Gg2pge5mDsjUnzvITGu0kYr4piSwE0jEHw+6zrBJEtq+8CqoNkwsU59LvF OeEcHuendaVUI6emWx7xHoNvk2uo8HdWAPZ5CtAe9ggevw0j9i0iZ2IPdW2eQDEHuH18 Y94RPpDzueRbEVIMGVYWWcFatcLTseEIIPIpRM2kL6Fckn9+ie6MEIB5sqPqu0nNt7UV 3Lkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=Xzy3BibC; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id f20-20020a170906495400b009ff1968e15asi1404436ejt.621.2023.11.23.21.45.03; Thu, 23 Nov 2023 21:45:03 -0800 (PST) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=Xzy3BibC; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 724F368CF15; Fri, 24 Nov 2023 07:44:51 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.100]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B278D68CA2D for ; Fri, 24 Nov 2023 07:44:42 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700804687; x=1732340687; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=SOvVk9ORX6eDzCXkk/KmWv9iIoDRsiH48bqDuinxjWs=; b=Xzy3BibC6F6iNIFW9Nbv6se8oey/evwHk7jekWXOBu+S1X+ZxYbbQmdc Ps95ypgVdnFs7ga1/rENr2fqbb3FOR5msGPscvSTGkEMXlL/hY3tuMe2I ypIvR+qu8zNYnzu/FppRpqcs/AdC5CItjeRRR3jdaCkW8hi4xVlzFEGKB HIALyhYp1F2vMcgNXYRtDMdbqLrIOyQbR6I4/L5KcYDqGdQ5bRVntJUa0 7gfUxe0qeV0J0drlvY44G7foSpQsXsulwsp7niI2Bk8BoVLeCsSpt7XAO 6m+1QdDtPPld1bJB5eI5Ow+EW5lqPeP9/Iz+kRzWVIzRRxl4+4O9GgKB2 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="458858900" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="458858900" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 21:44:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10902"; a="890977575" X-IronPort-AV: E=Sophos;i="6.04,223,1695711600"; d="scan'208";a="890977575" Received: from xhh-dg264.sh.intel.com ([10.238.2.76]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Nov 2023 21:44:38 -0800 From: "Xiang, Haihao" To: ffmpeg-devel@ffmpeg.org Date: Fri, 24 Nov 2023 13:43:47 +0800 Message-Id: <20231124054348.3115276-2-haihao.xiang@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231124054348.3115276-1-haihao.xiang@intel.com> References: <20231124054348.3115276-1-haihao.xiang@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/3] doc/ffmpeg: Update the description about d3d11va X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Haihao Xiang Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: PJSGhfgo6hGL From: Haihao Xiang Signed-off-by: Haihao Xiang --- 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 +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.