From patchwork Fri Apr 22 05:36:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Wang, Fei W" X-Patchwork-Id: 35371 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b9e:b0:7d:cfb5:dc7c with SMTP id b30csp195075pzh; Thu, 21 Apr 2022 22:43:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0T6RwWPub4jVrrvYYGJhIgCdNYLjqVzGnqnRCeZdTR1uQZrQZW2LBnUCHjURpp0LdjgBk X-Received: by 2002:a17:906:9b8f:b0:6e0:6bcb:fc59 with SMTP id dd15-20020a1709069b8f00b006e06bcbfc59mr2635922ejc.624.1650606180378; Thu, 21 Apr 2022 22:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650606180; cv=none; d=google.com; s=arc-20160816; b=KCv0R0+bUG9QJLDK+3OhlDyY6VRNRiQ9xZ4DROLWsqcSHT26b31+ipbgo+5RJVmT/Z gxGMQyaoH3i9e3GeTXZOjKiJw4BU5fopRLoGvuki4OPxNaZyP7f6bBdiMf5VAplcD9ph dzPHyMAJwyQ1+TJMdMbH3mfWs2jeFviviSryQ32DibxfLxSq7HwenENJFPp4Gx+RiYkN KwKk6nOOLJumqOx1ot8Z7XYMcxbueMvUt0REZp5FhXNaZhSx5o1FoAEj/OUJYLKJrLO6 JpAc2XdEZpJChCkn0J79ExeFrrEBYufyKkYTv9SJpzNbWQpTAoMtbH+byVCy8AXPz0p2 odkw== 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=OCLX8mYQnLJRMdqQBmvEcm7O5XiCiLgXvJBsPZkF8NM=; b=SCyJcsf/H2dDNlrsWcvEFZdgNWmUBSorOSMCFt99JxV1iwp8/L+C5JoWiI9F4ut5Wf F//Uuy72cdoDfdJLseHpGguVGfZl9i3xdr8eJT3RrIFLsK57MXIQAN5H9hSx+0dxNZA+ xP6vVf2E2gxzBs1GRTcIv85NnQ2sHGspNdZfaSVL1uw0eCplXAKA46rigiPuKqrM6NOi xBf5Y16oxLHJUmNiaxXFD9/nysYUtnuitdsnm05D/uwsbUAGnX+mYa8mxx+tIsel4M7p inxSAFZn++tjkBavaCHiKGGRdeZfF9WjVJJk9XGr61ZoZchDiJZqHniZWJgt4qPpA4tQ vLqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel.com header.s=Intel header.b=YpqU1gUG; 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 b11-20020a056402084b00b0041d7943941asi5906616edz.238.2022.04.21.22.43.00; Thu, 21 Apr 2022 22:43:00 -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=YpqU1gUG; 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 C2BDB68B3DE; Fri, 22 Apr 2022 08:42:52 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 635D968B3C5 for ; Fri, 22 Apr 2022 08:42:45 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1650606170; x=1682142170; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9bIXngKWuq/yoHAFWnVXi4d4F+WaMwLsRXYwk6pQq9Q=; b=YpqU1gUGNUg8ZjhCKnnCtiywsFLAOo3IRvJwX5dWbcgONNBHyf9wv7qS sdKW+Y8M0ObXijcUNkAQsN33Hy4CAzjEPnB7sCtCXwhLLTZJxCp60k5dq LQqBXKmf++PlueLcY7mfbOpQheG1r5owr7+EMcrjioofS7JRw2iUkad01 308lnV6Lkcd564O8UsxPkkYSHXUPciCwtbRcyayOYma/yrLUoPKYm35CL 0exsg/Us8i/Fs32o+l/mqVZnKSLZXAGswDOJ40sucEVtlwMwlTJnLE+XO f8FADmP1bJCGmiMmgA3Q8cplPPFAEeDwNpIzNf0Q0QZhBIJJVr+Zz59B+ Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="325030589" X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="325030589" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2022 22:42:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,280,1643702400"; d="scan'208";a="556182274" Received: from t.sh.intel.com ([10.239.159.147]) by orsmga007.jf.intel.com with ESMTP; 21 Apr 2022 22:42:37 -0700 From: Fei Wang To: ffmpeg-devel@ffmpeg.org Date: Fri, 22 Apr 2022 13:36:15 +0800 Message-Id: <20220422053615.1638095-2-fei.w.wang@intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220422053615.1638095-1-fei.w.wang@intel.com> References: <20220422053615.1638095-1-fei.w.wang@intel.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v5 2/2] doc/vaapi_encode: add documentations for max_frame_size 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: Fei Wang , Linjie Fu Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: V/bUUdM+/shY From: Linjie Fu Add docs for max_frame_size option. Signed-off-by: Linjie Fu Signed-off-by: Fei Wang --- doc/encoders.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index aac9f25e55..d66713b69f 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -3630,6 +3630,11 @@ performance. This option doesn't work if driver doesn't implement vaSyncBuffer function. Please make sure there are enough hw_frames allocated if a large number of async_depth is used. +@item max_frame_size +Set the allowed max size in bytes for each frame. If the frame size exceeds +the limitation, encoder will adjust the QP value to control the frame size. +Invalid in CQP rate control mode. + @item rc_mode Set the rate control mode to use. A given driver may only support a subset of modes.