From patchwork Wed Oct 16 01:43:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 15780 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 821F64480CE for ; Wed, 16 Oct 2019 04:43:15 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6089268A3C3; Wed, 16 Oct 2019 04:43:15 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 95A6768A3AB for ; Wed, 16 Oct 2019 04:43:08 +0300 (EEST) Received: by mail-pf1-f170.google.com with SMTP id y5so13645816pfo.4 for ; Tue, 15 Oct 2019 18:43:08 -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=QcvLKFYhIaBXh6jZq7xQmoV+vYwBYxDUvi/tS5jSUtI=; b=Gic6ZPsXG17dRmJ72sgkN1og9vU9S3uU2yW7uKxG0Uwtq5LEsFWkAzM9lYLb1LU3i2 0CbWjM9Zxjp6mCbmrg2u8t6IQIurdF1TrI3eIRdQfBz7/1fP7qwJ0d2JTCMbWCsuDsTS nAsxXYqNq4iQsOadvSbvwwMbJtenSja33Q4srMkCSgAmFAh4rnSDA5jlFBF7LH7g2lPF OkBKi9UnFbyOSXc7tMxq+PB0UlToRWrekBx0L5oYqHWTV6uwf9okmk2HBX3nyrdQaArH HwadD8asZy0lJq04JnI1obEd0sIq3kP++S6EwZ+FPnem6Dkas4xLF9sU2LOfjfwqptQC Cd7Q== 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=QcvLKFYhIaBXh6jZq7xQmoV+vYwBYxDUvi/tS5jSUtI=; b=f21uaEujOh1BP4KIgugysa6dte96gdDQBzCxKwLHjc0ER1ovx+Su5MbcESrhyM7DT5 GykBLbOOW8V8WMvPc2xA/yBNxCC99UtGLe4XSd25RfXn5FumhKO/f8MLlPZG1y2ksvXO 7dApAQddb5xSHNPa2y6tk5ebYvfCkm56/Ps953jbPGnCKjGy0pZgXFXZniXK02ARRYbp 5UAJgUggnEcLN9+XCAnYWuzkL1C/na7rejsEakoouxuspm2BJ16+ZOiQYUGcgvWBVbGh 2dpSubM/WUItuaKJrTpYmyUrIK35CIeWDI0Ftjjt+J8frWPtmcnYot7HABamis2Rg7UP JBQw== X-Gm-Message-State: APjAAAWRmHceRku75MpZo8CraFqwIDfcb+0NrqoRZiG3jCSqwjxOlAKV ZrJ8GJ5zMkz2YI48+72Tus47ia4/J7g= X-Google-Smtp-Source: APXvYqxyUtzEM1oF0ki14JQMxpAojzOXIXBNPNaleT2WQHRAFZFwZNZM3seIMOaEzrEMyxVsvjHkmQ== X-Received: by 2002:a17:90a:326b:: with SMTP id k98mr1789092pjb.34.1571190186431; Tue, 15 Oct 2019 18:43:06 -0700 (PDT) Received: from vpn.localdomain ([47.90.99.151]) by smtp.gmail.com with ESMTPSA id 22sm24224890pfj.139.2019.10.15.18.43.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Oct 2019 18:43:05 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 16 Oct 2019 09:43:02 +0800 Message-Id: <20191016014302.23267-1-lance.lmwang@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20191014102707.19898-4-lance.lmwang@gmail.com> References: <20191014102707.19898-4-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v2 4/4] fate/filter-video: add 10bit test for unsharp 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: Limin Wang MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Limin Wang Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 3 ++ tests/ref/fate/filter-unsharp-yuv420p10 | 55 +++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 tests/ref/fate/filter-unsharp-yuv420p10 diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 0c6ee72432..22582471f4 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -395,6 +395,9 @@ FATE_FILTER_VSYNTH-$(CONFIG_TRIM_FILTER) += $(FATE_TRIM) FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp=11:11:-1.5:11:11:-1.5 +FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp-yuv420p10 +fate-filter-unsharp-yuv420p10: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=pix_fmts=yuv420p10,unsharp=11:11:-1.5:11:11:-1.5 -pix_fmt yuv420p10le -flags +bitexact -sws_flags +accurate_rnd+bitexact + FATE_FILTER_SAMPLES-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILTER) += fate-filter-hqdn3d-sample fate-filter-hqdn3d-sample: tests/data/filtergraphs/hqdn3d fate-filter-hqdn3d-sample: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/hqdn3d -an diff --git a/tests/ref/fate/filter-unsharp-yuv420p10 b/tests/ref/fate/filter-unsharp-yuv420p10 new file mode 100644 index 0000000000..20f82f1fae --- /dev/null +++ b/tests/ref/fate/filter-unsharp-yuv420p10 @@ -0,0 +1,55 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 352x288 +#sar 0: 0/1 +0, 0, 0, 1, 304128, 0x375a055d +0, 1, 1, 1, 304128, 0x43374234 +0, 2, 2, 1, 304128, 0xba34fded +0, 3, 3, 1, 304128, 0xaab09f3b +0, 4, 4, 1, 304128, 0x1e42b90e +0, 5, 5, 1, 304128, 0x135f1088 +0, 6, 6, 1, 304128, 0x780c001a +0, 7, 7, 1, 304128, 0x10f209fa +0, 8, 8, 1, 304128, 0x54aa698a +0, 9, 9, 1, 304128, 0x72470a4b +0, 10, 10, 1, 304128, 0x7cac80ed +0, 11, 11, 1, 304128, 0x820ffb09 +0, 12, 12, 1, 304128, 0x7386656a +0, 13, 13, 1, 304128, 0x3662c47e +0, 14, 14, 1, 304128, 0x1b07cbce +0, 15, 15, 1, 304128, 0x2577c6d2 +0, 16, 16, 1, 304128, 0xb478c1a6 +0, 17, 17, 1, 304128, 0x27549b49 +0, 18, 18, 1, 304128, 0xd2f628ca +0, 19, 19, 1, 304128, 0x95cc5544 +0, 20, 20, 1, 304128, 0x844a1bda +0, 21, 21, 1, 304128, 0x4bcfc8b2 +0, 22, 22, 1, 304128, 0x403e2302 +0, 23, 23, 1, 304128, 0x275214bf +0, 24, 24, 1, 304128, 0x2f1e8e7b +0, 25, 25, 1, 304128, 0x14d68a42 +0, 26, 26, 1, 304128, 0x2d966e74 +0, 27, 27, 1, 304128, 0x7d2f0bf2 +0, 28, 28, 1, 304128, 0x5744d92e +0, 29, 29, 1, 304128, 0x4c89f858 +0, 30, 30, 1, 304128, 0x9702e22e +0, 31, 31, 1, 304128, 0xea18c80e +0, 32, 32, 1, 304128, 0x5290813c +0, 33, 33, 1, 304128, 0xc8909e8c +0, 34, 34, 1, 304128, 0xf9c985f9 +0, 35, 35, 1, 304128, 0xcdf626f0 +0, 36, 36, 1, 304128, 0xc517d607 +0, 37, 37, 1, 304128, 0xe765923b +0, 38, 38, 1, 304128, 0xf12fa5f6 +0, 39, 39, 1, 304128, 0x04bf7f2b +0, 40, 40, 1, 304128, 0x695762d6 +0, 41, 41, 1, 304128, 0xb1bf1983 +0, 42, 42, 1, 304128, 0x654dc4b2 +0, 43, 43, 1, 304128, 0x161854b6 +0, 44, 44, 1, 304128, 0x3d56b1c1 +0, 45, 45, 1, 304128, 0xa16f54a8 +0, 46, 46, 1, 304128, 0x02fffb2f +0, 47, 47, 1, 304128, 0x04bddde4 +0, 48, 48, 1, 304128, 0xf5687316 +0, 49, 49, 1, 304128, 0x2a9a7dc6