From patchwork Mon Jun 29 15:21:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 20722 Delivered-To: andriy.gelman@gmail.com Received: by 2002:a25:80ca:0:0:0:0:0 with SMTP id c10csp2893754ybm; Mon, 29 Jun 2020 08:23:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUX7NKwVLhErVITuY7USEtEJ+7AMAMLGarZFdEAcOkY/vta2UGzEzqH9sVmyXcZSG4zHFZ X-Received: by 2002:a1c:e0c4:: with SMTP id x187mr16691421wmg.153.1593444180812; Mon, 29 Jun 2020 08:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593444180; cv=none; d=google.com; s=arc-20160816; b=GRGIGFCrR6UNHc1S105YSySiNOIpMOpg2ARFiQb8WOvM7qvmRp5uc3MBHtCg/G6+pP nD3YOMoR0bY1pbFBsWXLm20f6qjW8mDYRzqQln2hk2w+GutZvriWFwxhJcCuAR4FaHvb pmB00BWT63JaI2R/zWysoAk8YhKyRE7RzFZAV9LvRKXtNx4zqPgqXiaFyALzb4GpSDmw uQ1LoZ02r/p4JBplrLOQHmtjimlkVyAh6aKRVHX1/8elptpIIWvRE8xVGh/sZGLyo0Bc 7TeQxn8s8IyN6baoRKdHaV3PO32B3protif+RExxPe/ZxBKLO2kEFNBmJFXSE+px2xLt 76nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=mXzeJTJkIQTpBLs28GlSMChr0rOL5j8IOTTu01+JGXc=; b=kY0/bQ3+41xbTtg/3a3S4MrpxWashDd79BnQvZ/m5Fsrri4C1QIwgTcaKSYNqql5bj mXRUMbSLvzPT1S+kKWPyHppvcmR3a/OkDeJgg2OI84jCtxE71QuS9kVgVe+v4cFCVYfi iPhiuvLyMzQi9/9fo2EpotQ5Lqz/NNbkj0Mx4LF16TuETJRqE/PHv25FKKUpZEML++6f irWUxmsF3VLKjjzU72iQb2u67v+Rr5OA/10LMfBz9ody8iiwFFtImvzDSLZOVkcrNk7T ENr98Vw/GNNgO+9CrlV7yCUkfc9qUhsO12GMDNvdbmv0HRzEcShk53iqqqB9cMhrW9jB xjXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=bVU8MPkc; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id g9si243807wrb.65.2020.06.29.08.23.00; Mon, 29 Jun 2020 08:23: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=@gmail.com header.s=20161025 header.b=bVU8MPkc; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D48A668AAFB; Mon, 29 Jun 2020 18:22:28 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0C61D689E53 for ; Mon, 29 Jun 2020 18:21:22 +0300 (EEST) Received: by mail-pg1-f194.google.com with SMTP id l63so8425886pge.12 for ; Mon, 29 Jun 2020 08:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=07cbf7P/yDSS8S1ockMlbufflUBrlISAbZ8czadCRWI=; b=bVU8MPkcekstfSsoDrTVRCRj9SN9n2UGfXNJzZbWjD4QFvK64GiT95/U0OfOi79WPX T3XZ65L8I2G0jMDtBvQR9LoqxGfu+EJuCFVeP7HxVlo+08EXVCGo/WEFB3FFNqTC+XM3 U48DtXO1TvET8LI78SM1pLCfObx3pw1yB8k0WBCzqBfR+qsWMk+2pP7l3Ephnq9i8IWp GDWZkWq8TG8lHY13ZCxaq2wcnu7hkdTC1kSHnaqPoM9GqMWXthBeXZbBWFle72pPDjFw hNEyZNWWlk8wrGq5biFedcQ1G8/lkHuR7kKAeen3lWQOWJPagzT1fr/kxuaQlHwi1fJ0 MfYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=07cbf7P/yDSS8S1ockMlbufflUBrlISAbZ8czadCRWI=; b=cm8M8uiO2zY+5esp7c0p0A1kxEsumfyu4kE1u56/mItzyuqUJo+t/Pe+QXBqNJHVzX E2UT+/YkGbiNEMtxXedFG5Z8QAYu7wwHzeCa64HUWNJN274GYNVpsDD9bKhnLqfpL3pD 5O3ipfi5932EWRWDLGFp6Y063WmZB7zLfbo2iQPnkEH8ylpphbiKDl3Tp1x/Ey7b0/RR hYlfGFvfL27F5ueGQWwZQXN6KQiQiZYdaVUfS41/gdcaU75dk/d3I34NIncms/rg9w1M MgnJODgJS/IG0Tub4cD/0apSnkI4+hPCbzzPZUfhW8QGKBRPNyGgcl7yA2yOWcIUf0xU 9drw== X-Gm-Message-State: AOAM532j6b61LNmE8HYfzYZmPvEZZ1X0xHvoxhEqJyUqsiGqY+RpVZEr OEojppjvFrXTFgFwvLptPyNmGfVu X-Received: by 2002:a63:3c09:: with SMTP id j9mr8915047pga.206.1593444079741; Mon, 29 Jun 2020 08:21:19 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id z26sm91453pfr.187.2020.06.29.08.21.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2020 08:21:19 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Mon, 29 Jun 2020 23:21:03 +0800 Message-Id: <1593444063-27765-2-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1593444063-27765-1-git-send-email-lance.lmwang@gmail.com> References: <1593444063-27765-1-git-send-email-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/nvenc_hevc: add a53cc option for nvenc hevc X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: i0r41Xtrp+1I Content-Length: 1747 From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc_hevc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/nvenc_hevc.c b/libavcodec/nvenc_hevc.c index 45dda3d..6153f9a 100644 --- a/libavcodec/nvenc_hevc.c +++ b/libavcodec/nvenc_hevc.c @@ -132,6 +132,8 @@ static const AVOption options[] = { { "tc", "Use timecode (if available)", OFFSET(tc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE }, { "dpb_size", "Specifies the DPB size used for encoding (0 means automatic)", OFFSET(dpb_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, OFFSET(dpb_size), AV_OPT_TYPE_INT, { .i64 = 0 }, 0, INT_MAX, VE }, { "a53cc", "Use A53 Closed Captions (if available)", OFFSET(a53_cc), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, VE }, { NULL } };