From patchwork Mon Aug 1 16:50:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Cooper X-Patchwork-Id: 49 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.140.67 with SMTP id o64csp2809079vsd; Mon, 1 Aug 2016 09:51:40 -0700 (PDT) X-Received: by 10.194.115.4 with SMTP id jk4mr57452445wjb.109.1470070300371; Mon, 01 Aug 2016 09:51:40 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id t206si16783352wmb.142.2016.08.01.09.51.39; Mon, 01 Aug 2016 09:51:40 -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=@google.com; 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 312CA689DD8; Mon, 1 Aug 2016 19:51:21 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3C0EF689D71 for ; Mon, 1 Aug 2016 19:51:07 +0300 (EEST) Received: by mail-pa0-f47.google.com with SMTP id b2so1743196pat.0 for ; Mon, 01 Aug 2016 09:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=/PM1oU5e5Fgnxl4AnZ5N/JfdfnehGw+FLbfqjXy5C4k=; b=Ml0r4AE2mlOAtsg42bCYrPfBad/ypgZ98AfEKtZK3BJODGcDwkXnn1/T0TsznqdIhl 5PF6CgK5UJrI5B16bxcCwS5C6YWe5/Q0M4smqr1/RRLMoYFEgAgl3sVlL8s/xOwbYhsb DmfEw0je4kLFmSmoEVEHpU83Z0ENUxVJGjWzjQWPGwj1N5eOZytt/b5pJW0duDry4BAi axbzKVyYc6Geeji39wJJuziJr3tPZi399AIqjI16PzTERZHwBrkXDFMp1ixToP9SpUAP xRDV/yMtl6y1kQPUL+QVK1P1UESAyqzOf+JWulMrRybu66b/1q7TRCvPULLAjk9rNXPC f2Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/PM1oU5e5Fgnxl4AnZ5N/JfdfnehGw+FLbfqjXy5C4k=; b=ELwN17yWG+Hyk9i6XeArPEUa69xlIMY7wYvXRNwsIpH25+KSg8+6kEYp8enNjyZw9I 1yVV6xmM3BIGQcREyg7bdGmXgWz6/AGwm95AhJM3JYxBgfoPUfqp2vAVWFizOR4kpml7 qKFH73NDVpQrC3bl/PC/y5f0Pw4JqXDEY/uAwPD/1kyvP5Ge3baHYBacdE3X6NXFdTdn 0v2QdsGUGFB1D1v2lMrQ63fmc2SmbGWXh+kijHjyvRSRZGOnzydipzzLRrvinqEWuPR4 3gUAsf5q5B24srIvhLAhZk8ngz0XdZAsBTgJJJ4ivo9J4B2DHcgglBQb+A2spK6NVt6S AA/g== X-Gm-Message-State: AEkoouszW284C46bWAso/fqkquY6JPfv2E9Cm1n6Z0Yzb21v3yPjnVmd+fSSv41f3RJQPALX X-Received: by 10.66.24.148 with SMTP id u20mr3873772paf.72.1470070266405; Mon, 01 Aug 2016 09:51:06 -0700 (PDT) Received: from pinkiepie.mtv.corp.google.com ([172.27.82.120]) by smtp.gmail.com with ESMTPSA id s1sm46841211paz.47.2016.08.01.09.51.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Aug 2016 09:51:05 -0700 (PDT) From: Lucas Cooper To: ffmpeg-devel@ffmpeg.org Date: Mon, 1 Aug 2016 09:50:59 -0700 Message-Id: <1470070259-7332-1-git-send-email-bobobo@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 Subject: [FFmpeg-devel] [PATCH] Add stats_version documentation to PSNR filter 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: Lucas Cooper MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- doc/filters.texi | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index c47dfee..923d481 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -10692,13 +10692,31 @@ The description of the accepted parameters follows. If specified the filter will use the named file to save the PSNR of each individual frame. When filename equals "-" the data is sent to standard output. + +@item stats_version +Specifies which version of the stats file format to use. Details of +each format are written below. +Default value is 1. @end table The file printed if @var{stats_file} is selected, contains a sequence of key/value pairs of the form @var{key}:@var{value} for each compared couple of frames. -A description of each shown parameter follows: +If a @var{stats_version} greater than 1 is specified, a header line precedes +the list of per-frame-pair stats, with key value pairs following the frame +format with the following parameters: + +@table @option +@item psnr_log_version +The version of the log file format. Will match @var{stats_version}. + +@item fields +A comma separated list of the per-frame-pair parameters included in +the log. +@end table + +A description of each shown per-frame-pair parameter follows: @table @option @item n