From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 9A1B248B0A for ; Tue, 2 Jan 2024 16:01:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F24D268CA61; Tue, 2 Jan 2024 18:01:18 +0200 (EET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 10C2868C929 for ; Tue, 2 Jan 2024 18:01:13 +0200 (EET) Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-28be8ebcdc1so4762185a91.0 for ; Tue, 02 Jan 2024 08:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704211271; x=1704816071; darn=ffmpeg.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=LT2fKkDbWxyvcAMOCwM4M9z7xLcAr71Brf22gCUpK18=; b=Bxv9uUu9iVbhK3gdF154rq8KWWu4kuwWkYMStsekmw2ki7TMsIUudkicy/5UX5KufX HEz+7/86PMi5TTueSyARXzKQNlwH0x03anEzNSPcAxzwXMV+mt/6/OPpBtswZTh6Pbkd wFWbXoPPScbNKjApigBrSs53XwF6yOdT0arjtV8K0wQqFOo/Nb8PEcJNNHycrhgRaNj/ VRNfzfC127AWVu5FnFtPzKybYaOvHS6SGztP2S9+lWAFwptTyf0vBY5OyNwV6jaMwaWv yDFRjIuJVKjqxBKPB3cyXOCCVSscbwpIkaM+zHvXbW9hpw9+3pYNqyJPEOgkM52haI/O 1HAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704211271; x=1704816071; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LT2fKkDbWxyvcAMOCwM4M9z7xLcAr71Brf22gCUpK18=; b=QzlkbNsbB0GN/ionMLBLsnentMV7eAGS4og63Hl9mBY6nKU5LxMs7FDRONJTM4dU1A +GFtUmOe2wbOjHmUFywIfC9IJbCZ5325hZfYZlpqu9O9Mf0BfdN76ajP1PAAW6YzICHq alpODHg4OPlHRjhpO2ZZG896+kv5LV+doToO6HQb/fVWeIyXWGWFUExcHfIsMXGDFt4e AdnGfDS3nGqvHY6Qxz9EjFXZ7KXnehc1QTQOOCVt8R5fHv42AJPp3pbMDAdmpYJ8ZM8k o42RZ+sB2FrXeFnEJ8jW18qKirCaowSepr0T7ALs1BVrmWVZjJT6HxEc/oQDhRznIyhR NHzg== X-Gm-Message-State: AOJu0Yy03jG7rAtO9kYaf5xYqBZ2T+HQhjbfaLPQ0ajj+OcSwU0zpmSG fRB861Tcyov+E1KEwe65mvHc4xmb4qYb8VSmEfkvRzYnBAw= X-Google-Smtp-Source: AGHT+IF2byKH5uBT20smk9OXjopmGPDkj72ylgWXz+EBOkUhGayvmPJNbcg8Sk3hcrS84surWXzrbeI6eEunPoVdTGc= X-Received: by 2002:a17:90a:5995:b0:28b:e74a:5051 with SMTP id l21-20020a17090a599500b0028be74a5051mr5416047pji.90.1704211270635; Tue, 02 Jan 2024 08:01:10 -0800 (PST) MIME-Version: 1.0 References: <20231229042358.3703640-1-haihao.xiang@intel.com> <420e30d448519c2ea033a07b67888ebae83c857d.camel@intel.com> In-Reply-To: <420e30d448519c2ea033a07b67888ebae83c857d.camel@intel.com> From: Dennis Mungai Date: Tue, 2 Jan 2024 19:00:58 +0300 Message-ID: To: FFmpeg development discussions and patches X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [FFmpeg-devel] [PATCH 1/2] doc/ffmpeg: update the documentation about qsv device creation 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Tue, 2 Jan 2024, 08:27 Xiang, Haihao, < haihao.xiang-at-intel.com@ffmpeg.org> wrote: > On Vr, 2023-12-29 at 12:23 +0800, Xiang, Haihao wrote: > > From: Haihao Xiang > > > > Signed-off-by: Haihao Xiang > > --- > > doc/ffmpeg.texi | 21 +++++++++++++++++++-- > > 1 file changed, 19 insertions(+), 2 deletions(-) > > > > diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi > > index ab17d1d687..c6c0606e8a 100644 > > --- a/doc/ffmpeg.texi > > +++ b/doc/ffmpeg.texi > > @@ -1406,16 +1406,33 @@ If not specified, @samp{auto_any} is used. > > platform-appropriate subdevice (@samp{dxva2} or @samp{d3d11va} or > > @samp{vaapi}) and then deriving a > > QSV device from that.) > > > > -Alternatively, @samp{child_device_type} helps to choose > platform-appropriate > > subdevice type. > > -On Windows @samp{d3d11va} is used as default subdevice type. > > +The following options are recognized: > > +@table @option > > +@item child_device > > +Specify a DRM render node on Linux or DirectX adapter on Windows > > +@item child_device_type > > +Choose platform-appropriate subdevice type. On Windows @samp{d3d11va} > is used > > +as default subdevice type. > > +@end table > > > > Examples: > > @table @emph > > +@item -init_hw_device qsv:hw,child_device=/dev/dri/renderD129 > > +Create a QSV device with @samp{MFX_IMPL_HARDWARE} on DRM render node > > /dev/dri/renderD129 > > + > > +@item -init_hw_device qsv:hw,child_device=1 > > +Create a QSV device with @samp{MFX_IMPL_HARDWARE} on DirectX adapter 1. > The > > subdevice > > +type is @samp{d3d11va} if @code{--enable-libvpl} is specified at > > configuration time, the > > +subdevice type is @samp{dxva2} if @code{--enable-libmfx} is specified at > > configuration time. > > + > > @item -init_hw_device qsv:hw,child_device_type=d3d11va > > Choose the GPU subdevice with type @samp{d3d11va} and create QSV device > with > > @samp{MFX_IMPL_HARDWARE}. > > > > @item -init_hw_device qsv:hw,child_device_type=dxva2 > > Choose the GPU subdevice with type @samp{dxva2} and create QSV device > with > > @samp{MFX_IMPL_HARDWARE}. > > + > > +@item -init_hw_device qsv:hw,child_device=1,child_device_type=d3d11va > > +Create a QSV device with @samp{MFX_IMPL_HARDWARE} on DirectX adapter 1 > with > > subdevice type @samp{d3d11va} > > @end table > > > > @item opencl > > Will apply the patchset > A small request: The docs mention the creation of either VAAPI or d3d11 devices and then deriving a Quicksync device from that. Can your patchset include a trivial example of that, preferably with hwmap? That would eliminate the ambiguity in that clause. > _______________________________________________ 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".