From patchwork Fri Oct 30 15:11:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 23290 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 D389744BC8F for ; Fri, 30 Oct 2020 17:12:31 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BCAD968086B; Fri, 30 Oct 2020 17:12:31 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 4CDB868086B for ; Fri, 30 Oct 2020 17:12:24 +0200 (EET) Received: by mail-pg1-f196.google.com with SMTP id o3so5445577pgr.11 for ; Fri, 30 Oct 2020 08:12:24 -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=3xI+uYGtA8Sv3J+/m6CCfLWwoLDxJ5MmcikotB7jYqk=; b=pbh3CFQLrUqLM1kNg6UjFmWFGb7YTurpln68I4oO6zciWgz8FU8YhM1gie0ggUWXeF 0/Oqh41p6CjRsh97EUb70Hqt+DBTPSzZyZXoARO+7vha7Y7lxpVDo2L5tlvElJ3v9n5z zQ9dSCNPo0GgEMgaAOhG+gjo6t3TdWVZ0KZrUzLoUfny/UFiuSJjHKMWAPBQaZMpSqKQ Ux6T9Jb8Z3ZRZwnDTso+1Jy8pid1vNpvqTkSuEoX6XVhwso24NBrYIGpsOnZ+3KHhPnO 9C1xbA4qr/dtqkCBGm54LrO+O+mwr/AHJFynxakk7q41WY14lY7tl2ZBY2at00fSvlzr ZCcQ== 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=3xI+uYGtA8Sv3J+/m6CCfLWwoLDxJ5MmcikotB7jYqk=; b=eyY7jkZfRIUjgBDwzl1ZIGfik1tvSAO9WlDmYiFm859CNquiuRoFyobSc1iCCZidc5 BIReDMp/g4EIpl+je9gC4ID0ZWXZJ4dMOAkrJDMCI5P/N9E5suT5V/8DSfIMrZOtT7uk uSNy6qWov+Esp8cRcSQ3LCIDOqVOYsRqbOXklpMxXh2XfAtNeENZU4ry0ZtDShi1fwoT 0zlr0TO408tZZZqQrZHVCSGd47mfUYFmFEF1Qt9hbhAl3C4/kyL5i4D3+wsPc0yTx1EF AI2JyCWYsnq27BaJwA76ZgPdvHEfiPPnvMJd3tCB6/IYk9CzM+K6q1uh5E4N+MSVaUIp LFOw== X-Gm-Message-State: AOAM530XFe9Cc4BoxKTk7tpKn9XC1jQMSQ2SOG7MYrGilfJXbHoBycGG RaFUuBKuaJU357Ka6y1V5ZDa2O3LOMw= X-Google-Smtp-Source: ABdhPJzLq2gwn0R0ufvyGDu1B0O394BEIC7oBlGkCcCoNXLoNwKiB42X7ss0eyyEBTjPWeD4Im6maA== X-Received: by 2002:a17:90b:4c43:: with SMTP id np3mr3533574pjb.28.1604070742371; Fri, 30 Oct 2020 08:12:22 -0700 (PDT) Received: from vpn2.localdomain ([161.117.202.209]) by smtp.gmail.com with ESMTPSA id j24sm3955347pjn.9.2020.10.30.08.12.20 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2020 08:12:21 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Fri, 30 Oct 2020 23:11:34 +0800 Message-Id: <1604070694-21308-3-git-send-email-lance.lmwang@gmail.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1604070694-21308-1-git-send-email-lance.lmwang@gmail.com> References: <1603967178-3765-1-git-send-email-lance.lmwang@gmail.com> <1604070694-21308-1-git-send-email-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v4 3/3] 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 | 25 +++++++++++++++++++++++++ 2 files changed, 28 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 639f957..0adc0c2 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -410,6 +410,9 @@ fate-filter-untile: CMD = framecrc -lavfi testsrc2=d=1:r=2,untile=2x2 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 -lavfi testsrc2=r=2:d=10,format=yuv420p10,unsharp=11:11:-1.5:11:11:-1.5,scale -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 0000000..c1a6f07 --- /dev/null +++ b/tests/ref/fate/filter-unsharp-yuv420p10 @@ -0,0 +1,25 @@ +#tb 0: 1/2 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 230400, 0x2b664750 +0, 1, 1, 1, 230400, 0x96b82a4a +0, 2, 2, 1, 230400, 0xdb936c54 +0, 3, 3, 1, 230400, 0xfa210a10 +0, 4, 4, 1, 230400, 0x946497c8 +0, 5, 5, 1, 230400, 0xc9084925 +0, 6, 6, 1, 230400, 0x0f9c4a1d +0, 7, 7, 1, 230400, 0x57901012 +0, 8, 8, 1, 230400, 0xb0404496 +0, 9, 9, 1, 230400, 0xfdb8871b +0, 10, 10, 1, 230400, 0x13e157c4 +0, 11, 11, 1, 230400, 0x077eadd9 +0, 12, 12, 1, 230400, 0x857ec272 +0, 13, 13, 1, 230400, 0x3bec3bea +0, 14, 14, 1, 230400, 0x680723fe +0, 15, 15, 1, 230400, 0xc16660f0 +0, 16, 16, 1, 230400, 0x0a065b14 +0, 17, 17, 1, 230400, 0x297f1441 +0, 18, 18, 1, 230400, 0x44324aec +0, 19, 19, 1, 230400, 0x9f903f58