Message ID | 20230906060052.698620-13-haihao.xiang@intel.com |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4f16:b0:149:dfde:5c0a with SMTP id gi22csp2311544pzb; Tue, 5 Sep 2023 23:03:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEgpCcgNMaopJ72ZWF6ixydNAwBgWCqDnrGIWyb4LdydV7ptMUcgUJlW7uGtpOOaYtJSgot X-Received: by 2002:a17:906:5346:b0:99d:de25:89bb with SMTP id j6-20020a170906534600b0099dde2589bbmr1445706ejo.0.1693980198484; Tue, 05 Sep 2023 23:03:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693980198; cv=none; d=google.com; s=arc-20160816; b=Kd2SBxw81gJgbpgg/C2AktAnuyPSZSOQLey8Y5BXrjvV3rvt6f7hFuj3MMME7R5wIk P2d1s02VaJguG6hIFalzFB5wZm9hlD6TP8ZlaC3yaBz5ZlQF+RcAsTuDfY2fZx71Zyqh VIJPvTSaZZfw1XQhpNh2BRll+hWzHJJAjckkZfYBhp8xcTPJ5AGiAnYDECaNYW1YoQTS bpxTdoD08gnBPtqHHcP1EUa5H0qhKuqec257eFstZJwaTZykXqwf9KCq7jz7D5T53Iph xgaMiw8gNQgXErkMv8PrBg0OQYSF1llmO2hhLQVDU5ZYbCRKdOLi65Zbk8IEe8XJ1Xeg 2lWw== 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=u7OhlVfAM67qJWHiWSRgTgHbEwH2VB7Ppy0xSCgfsgM=; fh=1kpmTRI1sW42eNCnNMby7VLIISQBX6KJuVYxOEG0t2A=; b=zU0LSfbj0bYeEedwNU9oSpLqGGlbaYBthSOJcaZT6GSe9PZmY18PovxsQFIRIxPWqY 8LNelP3b/1S7LjbdYp5SB739ZNsGWW+74Ig+Nh+rgS6zDD6RNk2qViNtB1nXDn4ChKcz jPR2BOM1AqQyNEQ55AHG7M83pWpth7DBDJMFChz9Tbcq2Gfqwokc9dzgZrZmkHiR5ASA mTGGq4EmLZlS5jDOE7sXwv4f4Pw74miDGlDK/rOejol4czSmnn900YmzGS+7Eyt3Dm16 UTdx2+gMClCIO46XoPoQbDtqJOEpiLnu8H+xkKsP4JRLyXkkdCGx+o6CVP6ZEx3rCJhc z7YA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b="Bv3O2/8b"; 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: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id g24-20020a170906395800b0099bc0530efesi8854173eje.453.2023.09.05.23.03.18; Tue, 05 Sep 2023 23:03:18 -0700 (PDT) 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="Bv3O2/8b"; 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 5359B68C888; Wed, 6 Sep 2023 09:01:40 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9587F68C80A for <ffmpeg-devel@ffmpeg.org>; Wed, 6 Sep 2023 09:01:33 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1693980093; x=1725516093; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=UY7SPJZIHV3V4D4ZxplWAwEK9rHHV89VzDb9vqqvEog=; b=Bv3O2/8bG+mEFlS3xBUgJpiNZ/+JnXxIXNMsqDTGAEfqe+8FviR0KvLh 4n72tspUlkDjeD1kLnL/E28tixMra3xiFyvrwjf5VBoDZ2ssKxAktcH5t 81BoXokyII8Xydzw/q/AQ//zzdD2QW2AmIlEhKtZKCQvn9tYPmDUhhn7o lv/Kp/0TjM+u3hF9pYlSm5WRCq7A00YdAu2M5DeNx8xQTB8XEUvQAA21Z EWIJvewqXKfoK6ShF2VvpJbBdMuTbYlH8xpxI0SoEvoj+nx1IX2J2hke0 n1AQCcuN+YRHu+7fVg/y6vi4XuxEsBF8Ibf83AYmPkMgmWH+09OhgNpAw w==; X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="374372473" X-IronPort-AV: E=Sophos;i="6.02,231,1688454000"; d="scan'208";a="374372473" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 23:01:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10824"; a="734919106" X-IronPort-AV: E=Sophos;i="6.02,231,1688454000"; d="scan'208";a="734919106" Received: from xhh-dg264.sh.intel.com ([10.238.2.76]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Sep 2023 23:01:24 -0700 From: "Xiang, Haihao" <haihao.xiang-at-intel.com@ffmpeg.org> To: ffmpeg-devel@ffmpeg.org Date: Wed, 6 Sep 2023 14:00:52 +0800 Message-Id: <20230906060052.698620-13-haihao.xiang@intel.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230906060052.698620-1-haihao.xiang@intel.com> References: <20230906060052.698620-1-haihao.xiang@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 13/13] lavfi/vaapi_vpp: use dynamic frame pool for output link with libva2 X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Haihao Xiang <haihao.xiang@intel.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: N62+4wyO0K4t |
Series |
[FFmpeg-devel,01/13] lavu/hwcontext_qsv: update AVQSVFramesContext to support dynamic frame pools
|
expand
|
diff --git a/libavfilter/vaapi_vpp.c b/libavfilter/vaapi_vpp.c index cf2592e068..818bc7d58a 100644 --- a/libavfilter/vaapi_vpp.c +++ b/libavfilter/vaapi_vpp.c @@ -199,7 +199,10 @@ int ff_vaapi_vpp_config_output(AVFilterLink *outlink) output_frames->width = ctx->output_width; output_frames->height = ctx->output_height; - output_frames->initial_pool_size = 4; + if (CONFIG_VAAPI_1) + output_frames->initial_pool_size = 0; + else + output_frames->initial_pool_size = 4; err = ff_filter_init_hw_frames(avctx, outlink, 10); if (err < 0)