From patchwork Mon Dec 26 02:59:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Almer X-Patchwork-Id: 1928 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.89.21 with SMTP id n21csp853351vsb; Sun, 25 Dec 2016 19:06:49 -0800 (PST) X-Received: by 10.28.103.3 with SMTP id b3mr19262292wmc.24.1482721609124; Sun, 25 Dec 2016 19:06:49 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id q2si44540903wji.208.2016.12.25.19.06.48; Sun, 25 Dec 2016 19:06:49 -0800 (PST) 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; 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 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 2E1BB689A30; Mon, 26 Dec 2016 05:06:44 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qt0-f195.google.com (mail-qt0-f195.google.com [209.85.216.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1458A687EC4 for ; Mon, 26 Dec 2016 05:06:37 +0200 (EET) Received: by mail-qt0-f195.google.com with SMTP id 3so13355498qtr.2 for ; Sun, 25 Dec 2016 19:06:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=TxV8Qlq+REzG06peNMkVD+Rg8HMaiQV7uVnGzVXMfMI=; b=kaqxg+Yle0pSFj2u1lJyXnJ0XNVRfREeoFx3DyldpbGNXG58Br9Cn+6L2a/uKkSGlb GmcuW0TLJLm7tOS2HOtS1pSttYfAFoZjsQ3aNhLYIT3RMZ9dk9Zy/cTKKjv2qOSf/hCN 7yv8/xjdb5WiIKoylY/UMwF0LIJ5NtLhTk6vjmJ5FR5AXLohTIQzybRDvJeWq+459L40 t9qfkE8ldYJ+Pryw16LkJPzeicp9RR0UlyS3Pvd49iUM/EGh5fIelbMWlEyX6OuxEhZ2 JwMyegtPjfZ3mbFaNqldzAPMgIviv1y8WeZHBat+WBxg8ozxr9pHylUIO/n3LXyBtZyQ 2oKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=TxV8Qlq+REzG06peNMkVD+Rg8HMaiQV7uVnGzVXMfMI=; b=ProseycRa30orNi7X9eqdAhsORETBlhl2iqKaS6ISEOtvmVqdp5RB3A+GIPmSFVwIY kOlnmt9ybqlGZtf52rbPaHpIPrEzjEDinvv+02gQeUxXwq2k6jMmm9IOQz3k1WiUEZgA TKxhk5JmKSoKVaY/BdRCkhjuvLRrw0uioKVPV5gIVJCR33lcdmuB6DaFBXaGKP5HIlP5 eXmLAMumodEej84OjeDDGxE56cOkGY5gWaTUYIfJq+DonRv8BzthkyQbDZ5AOt1kj0SI 44Cyp2IjrytduCFI5k4/UqjGrbe9UgWaJS1AcCU1WNrWtsP6/XmtG7nkFrUZ9Zrf4QFF W12g== X-Gm-Message-State: AIkVDXL0vlOS9pNBcrfAPtIQDvcY37XVeb7eK4xd8FLBIDhb91qVB3Z38Fyk+0yxUE085Q== X-Received: by 10.200.51.6 with SMTP id t6mr14475435qta.75.1482721220691; Sun, 25 Dec 2016 19:00:20 -0800 (PST) Received: from localhost.localdomain ([181.22.42.158]) by smtp.gmail.com with ESMTPSA id 53sm25487413qtm.5.2016.12.25.19.00.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Dec 2016 19:00:20 -0800 (PST) From: James Almer To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Dec 2016 23:59:38 -0300 Message-Id: <20161226025938.6660-2-jamrial@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161226025938.6660-1-jamrial@gmail.com> References: <20161226025938.6660-1-jamrial@gmail.com> Subject: [FFmpeg-devel] [PATCH 2/2] fate: add yuv422p12 median prediction ffhuff test 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: James Almer --- The bug fixed by the previous patch can be also reproduced using yuv422p10. tests/fate/vcodec.mak | 3 ++- tests/ref/vsynth/vsynth1-ffvhuff422p12median | 4 ++++ tests/ref/vsynth/vsynth2-ffvhuff422p12median | 4 ++++ tests/ref/vsynth/vsynth3-ffvhuff422p12median | 4 ++++ tests/ref/vsynth/vsynth_lena-ffvhuff422p12median | 4 ++++ 5 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 tests/ref/vsynth/vsynth1-ffvhuff422p12median create mode 100644 tests/ref/vsynth/vsynth2-ffvhuff422p12median create mode 100644 tests/ref/vsynth/vsynth3-ffvhuff422p12median create mode 100644 tests/ref/vsynth/vsynth_lena-ffvhuff422p12median diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index a51f16c..b2ab09d 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -163,10 +163,11 @@ fate-vsynth%-ffv1-v3-rgb48: ENCOPTS = -level 3 -pix_fmt rgb48 -strict -2 \ -sws_flags neighbor+bitexact fate-vsynth%-ffv1-v3-rgb48: DECOPTS = -sws_flags neighbor+bitexact -FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16 +FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff422p12median ffvhuff444p16 fate-vsynth%-ffvhuff444: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p fate-vsynth%-ffvhuff420p12: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv420p12le fate-vsynth%-ffvhuff422p10left: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv422p10le -pred left +fate-vsynth%-ffvhuff422p12median:ENCOPTS = -vcodec ffvhuff -pix_fmt yuv422p12le -pred median fate-vsynth%-ffvhuff444p16: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p16le -pred plane FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv diff --git a/tests/ref/vsynth/vsynth1-ffvhuff422p12median b/tests/ref/vsynth/vsynth1-ffvhuff422p12median new file mode 100644 index 0000000..00fbb42 --- /dev/null +++ b/tests/ref/vsynth/vsynth1-ffvhuff422p12median @@ -0,0 +1,4 @@ +ec0bfc1827c605744343f9a43950e52d *tests/data/fate/vsynth1-ffvhuff422p12median.avi +16377468 tests/data/fate/vsynth1-ffvhuff422p12median.avi +30158648597626fcd62e4d484ab3c91f *tests/data/fate/vsynth1-ffvhuff422p12median.out.rawvideo +stddev: 1.84 PSNR: 42.80 MAXDIFF: 29 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth/vsynth2-ffvhuff422p12median b/tests/ref/vsynth/vsynth2-ffvhuff422p12median new file mode 100644 index 0000000..6e28101 --- /dev/null +++ b/tests/ref/vsynth/vsynth2-ffvhuff422p12median @@ -0,0 +1,4 @@ +7f5d06ee194e0d11af7c074513713a9e *tests/data/fate/vsynth2-ffvhuff422p12median.avi +12300372 tests/data/fate/vsynth2-ffvhuff422p12median.avi +a2a42106efee207fd76b32908d05bd5c *tests/data/fate/vsynth2-ffvhuff422p12median.out.rawvideo +stddev: 0.39 PSNR: 56.23 MAXDIFF: 9 bytes: 7603200/ 7603200 diff --git a/tests/ref/vsynth/vsynth3-ffvhuff422p12median b/tests/ref/vsynth/vsynth3-ffvhuff422p12median new file mode 100644 index 0000000..6203520 --- /dev/null +++ b/tests/ref/vsynth/vsynth3-ffvhuff422p12median @@ -0,0 +1,4 @@ +f150723812124a617abeeb162c0cc106 *tests/data/fate/vsynth3-ffvhuff422p12median.avi +203188 tests/data/fate/vsynth3-ffvhuff422p12median.avi +975a9ed50959f5997874c8b2860519a3 *tests/data/fate/vsynth3-ffvhuff422p12median.out.rawvideo +stddev: 2.12 PSNR: 41.59 MAXDIFF: 26 bytes: 86700/ 86700 diff --git a/tests/ref/vsynth/vsynth_lena-ffvhuff422p12median b/tests/ref/vsynth/vsynth_lena-ffvhuff422p12median new file mode 100644 index 0000000..65b20a5 --- /dev/null +++ b/tests/ref/vsynth/vsynth_lena-ffvhuff422p12median @@ -0,0 +1,4 @@ +8366a0f7a1b87774d5b1fdfdcf9ced73 *tests/data/fate/vsynth_lena-ffvhuff422p12median.avi +12182440 tests/data/fate/vsynth_lena-ffvhuff422p12median.avi +5f581c9df94c98eca3297c33eb8271e7 *tests/data/fate/vsynth_lena-ffvhuff422p12median.out.rawvideo +stddev: 0.33 PSNR: 57.53 MAXDIFF: 6 bytes: 7603200/ 7603200