From patchwork Wed May 27 04:20:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 19890 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 5AFF044B933 for ; Wed, 27 May 2020 07:20:52 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 359C268AB21; Wed, 27 May 2020 07:20:52 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f194.google.com (mail-pf1-f194.google.com [209.85.210.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CDDD568A60C for ; Wed, 27 May 2020 07:20:45 +0300 (EEST) Received: by mail-pf1-f194.google.com with SMTP id e11so10316673pfn.3 for ; Tue, 26 May 2020 21:20:45 -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; bh=4SCqC8ZoejSGz3yWQqPTeYttPcsqsP1mgHWt5Y5bHPg=; b=RxUjJQAhCv2Q/WabIFdfhWa0GjewrzFl1pKt+/yVhjAjPwtUpFgfMv2Oa41kemhp5k ArWwXB1kxAGGepNqyD8Y4jKWhn3OUPbUDtWt3EWgC2O10CkthlU/Mfz7kK+HzyeCcjU8 i+/9BBml206qvAa2hd91lttYJ35urvhzN0gISKUfr79Uk53J26ussbbGzfNn/M+wa/FB 7iu96YuANUASsGgOrPewrI/7cdG3pAbPYzws+ab+AYOS4SED7IdNeHnZqIM6pfWmfW71 x53kyvhkPWil6vc1FLpqJY9IomqhnZy7myB8MwFT8pxBwVMYhDiJADr80RcHZQUrTnO1 S1UA== 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; bh=4SCqC8ZoejSGz3yWQqPTeYttPcsqsP1mgHWt5Y5bHPg=; b=a5fH3FjgSLwOq+D1/8KYhiUALAHleNlR/fOVFI5LVcvZpx6pQoJDuEHbN3VGoN9SBL zXwRCMQUEv2ymQIDmw4Es5he52AzB06AOyy7QIdmpgiiZK24/+4/BGeyJqQa65VaxPBj batMkEs/t9IzfCZ884o368qBnIXKvHJwpMitBiSJnnZLspINGFCgnb8q4M0MCTX4CXAI /c7a+fcVV/Gi7FLmh6bVGsKBgeOq/zImSw1Dmls4eRTGsqOBmr9gWP0n8Ry2LksQ5m19 P8CggKACchS6NfwhjC6TdA6wxXGzVIKL+Ek8pcRGf3XZNwU5ipaid1Ir/QqF8l+HveOn YegA== X-Gm-Message-State: AOAM532o9xkd6fP6BQFq6nDfuyFJm5RGc3l9qU9X5KTr0N9so22RHIbS tmH4S6o+8V1JRQQFuuy2AiGEx5ik X-Google-Smtp-Source: ABdhPJySbnsJzuEAbSbqna8Fby7dWSco0zyheWPna65ue51UbMvnrwNyUK7OtUuk9kPnn9BxCjlA7g== X-Received: by 2002:a62:168b:: with SMTP id 133mr2105007pfw.137.1590553243755; Tue, 26 May 2020 21:20:43 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id v75sm1079169pjb.35.2020.05.26.21.20.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 May 2020 21:20:43 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 27 May 2020 12:20:39 +0800 Message-Id: <1590553239-30827-1-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 Subject: [FFmpeg-devel] [PATCH] doc: add dia_size option documentation 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" From: Limin Wang Signed-off-by: Limin Wang --- doc/codecs.texi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/doc/codecs.texi b/doc/codecs.texi index ece8d50edd..fd98db654b 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -646,6 +646,24 @@ noise preserving sum of squared differences @item dia_size @var{integer} (@emph{encoding,video}) Set diamond type & size for motion estimation. +@table @samp +@item (1024, INT_MAX): +full motion estimation(slowest) +@item (768, 1024]: +umh motion estimation +@item (512, 768]: +hex motion estimation +@item (256, 512]: +l2s diamond motion estimation +@item [2,256]: +var diamond motion estimation +@item (-1, 2): +small diamond motion estimation +@item -1: +funny diamond motion estimation +@item (INT_MIN, -1): +sab diamond motion estimation +@end table @item last_pred @var{integer} (@emph{encoding,video}) Set amount of motion predictors from the previous frame.