From patchwork Fri Sep 20 03:08:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 15170 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 2B75B44954B for ; Fri, 20 Sep 2019 06:09:03 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 0B71B689E9D; Fri, 20 Sep 2019 06:09:03 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DDE0F689D7C for ; Fri, 20 Sep 2019 06:08:56 +0300 (EEST) Received: by mail-pg1-f178.google.com with SMTP id z12so2981840pgp.9 for ; Thu, 19 Sep 2019 20:08:56 -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=c0xr3wAgQYW+guVk2J1s0DzL+QAteFj34iYM2VeYltk=; b=BrdZB/WnxPZGV2HfkHP7Tjcw8qFIpZ/zJFCD/ZUhtBH7Kq1EG58SpkXut6FsAGYgL9 KF4DApUoAXrrjK/gZlSC883Ci9o7ZtDD19B89qn+dG75hnrK1QNXB3mxzXCJo1qw/46n mLQXCQJUhhXLwsjql6GJ3T8c5ksSTPDzGW5FW6C/kYVEZtTwPyJZTa6ZM6BoTS11/cL+ r69X3F8FINwfL1FXYxwWK1zqlCJpsSWa0nzLUuhIRzYSc7e+zAZX4cyK6gAD1maUdsjS 8FDGz7oRnfHPoQJoicIByp+9yS6hP0NwYrCmrSaEdVQjXHD4d+0M4lWYenWejJcQ26l4 Fitg== 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=c0xr3wAgQYW+guVk2J1s0DzL+QAteFj34iYM2VeYltk=; b=LNw37u1Tev3dhvxr5fvFjVWqyt+w0f6SBcZqj9k/1q9gmfbdeQkxCOSlA3XlDByvkD 2WhwBA69aol8wJyCqsGM26L4jJwpG3b9Y8E83hRo9XxyhY8PHz0bNKRb5LUvMOILCjyO i95JGKtuqD4gqYISPl2xJtJyVJvsNDhl+8v8Lj1fmJaXV4Wg1J9totjMm9iPrPKBsSJJ JapvG0WbefqEq1Cng/k7CcA/B0MSFaNG6rqz6shBpoeeamhp9842lsvnrwJYi9U5uk5t zMpyPlPkS9kRzykOQ0CUtMLIzfWekjzQb4+vsfdGuUzLXbwBmvNl+5/Ugu16s/wnd5Ge T94Q== X-Gm-Message-State: APjAAAWnhlb49ijzRHoeNiRqOUCF2GiV5cyS/MhRrDTsuvYx8wq0l7w6 5zSGqwBXNPQ3+wFxKSYnVyTC988V X-Google-Smtp-Source: APXvYqylVW7gev4JviySpx3WwVIFQO6UC6irfKvM1Y15hWZ9830WEmh1gcJYoY1STV2IYinac26Miw== X-Received: by 2002:a17:90a:33c1:: with SMTP id n59mr1690970pjb.20.1568948934665; Thu, 19 Sep 2019 20:08:54 -0700 (PDT) Received: from vpn.localdomain ([47.90.99.151]) by smtp.gmail.com with ESMTPSA id e9sm289956pgs.86.2019.09.19.20.08.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Sep 2019 20:08:54 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Fri, 20 Sep 2019 11:08:36 +0800 Message-Id: <20190920030836.4532-3-lance.lmwang@gmail.com> X-Mailer: git-send-email 2.9.5 In-Reply-To: <20190920030836.4532-1-lance.lmwang@gmail.com> References: <20190912233301.17664-1-lance.lmwang@gmail.com> <20190920030836.4532-1-lance.lmwang@gmail.com> Subject: [FFmpeg-devel] [PATCH v3 3/3] FATE: add fate test for minterpolate 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 have tested on linux x86_32/64, mingw32/64 arm & mips qemu Tested-by: Michael Niedermayer Signed-off-by: Limin Wang --- tests/fate/filter-video.mak | 4 ++++ tests/ref/fate/filter-minterpolate-down | 6 ++++++ tests/ref/fate/filter-minterpolate-up | 15 +++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 tests/ref/fate/filter-minterpolate-down create mode 100644 tests/ref/fate/filter-minterpolate-up diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 0c6ee72432..ab7b6245a1 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -122,6 +122,10 @@ FATE_FILTER-$(call ALLYES, FRAMERATE_FILTER TESTSRC2_FILTER FORMAT_FILTER) += fa fate-filter-framerate-12bit-up: CMD = framecrc -lavfi testsrc2=r=50:d=1,format=pix_fmts=yuv422p12le,framerate=fps=60 -t 1 -pix_fmt yuv422p12le fate-filter-framerate-12bit-down: CMD = framecrc -lavfi testsrc2=r=60:d=1,format=pix_fmts=yuv422p12le,framerate=fps=50 -t 1 -pix_fmt yuv422p12le +FATE_FILTER-$(call ALLYES, MINTERPOLATE_FILTER TESTSRC2_FILTER) += fate-filter-minterpolate-up fate-filter-minterpolate-down +fate-filter-minterpolate-up: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=10 -t 1 +fate-filter-minterpolate-down: CMD = framecrc -lavfi testsrc2=r=2:d=10,framerate=fps=1 -t 1 + FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1 diff --git a/tests/ref/fate/filter-minterpolate-down b/tests/ref/fate/filter-minterpolate-down new file mode 100644 index 0000000000..4eab7aab85 --- /dev/null +++ b/tests/ref/fate/filter-minterpolate-down @@ -0,0 +1,6 @@ +#tb 0: 1/1 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 115200, 0x3744b3ed diff --git a/tests/ref/fate/filter-minterpolate-up b/tests/ref/fate/filter-minterpolate-up new file mode 100644 index 0000000000..a276bf660d --- /dev/null +++ b/tests/ref/fate/filter-minterpolate-up @@ -0,0 +1,15 @@ +#tb 0: 1/10 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x240 +#sar 0: 1/1 +0, 0, 0, 1, 115200, 0x3744b3ed +0, 1, 1, 1, 115200, 0xec1fdfa0 +0, 2, 2, 1, 115200, 0xa17f0d74 +0, 3, 3, 1, 115200, 0xd72532a9 +0, 4, 4, 1, 115200, 0x032e60f8 +0, 5, 5, 1, 115200, 0x6e318ba0 +0, 6, 6, 1, 115200, 0x76018292 +0, 7, 7, 1, 115200, 0x89e27599 +0, 8, 8, 1, 115200, 0x68536eac +0, 9, 9, 1, 115200, 0xc3ac62a8