From patchwork Sat Apr 18 22:37:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 19073 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 94679449626 for ; Sun, 19 Apr 2020 01:38:55 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7A3C568B86B; Sun, 19 Apr 2020 01:38:55 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe01-3.mx.upcmail.net (vie01a-dmta-pe01-3.mx.upcmail.net [62.179.121.156]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F343C68B7D3 for ; Sun, 19 Apr 2020 01:38:48 +0300 (EEST) Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe01.mx.upcmail.net with esmtp (Exim 4.92) (envelope-from ) id 1jPw6q-0006wv-2m for ffmpeg-devel@ffmpeg.org; Sun, 19 Apr 2020 00:38:48 +0200 Received: from localhost ([213.47.68.29]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id Pw5sjFra76Jy6Pw5sjUvJG; Sun, 19 Apr 2020 00:37:48 +0200 X-Env-Mailfrom: michael@niedermayer.cc X-Env-Rcptto: ffmpeg-devel@ffmpeg.org X-SourceIP: 213.47.68.29 X-CNFS-Analysis: v=2.3 cv=GKl27dFK c=1 sm=1 tr=0 a=2hcxjKEKjp0CzLx6oWAm4g==:117 a=2hcxjKEKjp0CzLx6oWAm4g==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=GEAsPZ9sns4A:10 a=ZZnuYtJkoWoA:10 a=llujQ9FM6-Bu4rm-zhcA:9 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 19 Apr 2020 00:37:46 +0200 Message-Id: <20200418223747.1211-3-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200418223747.1211-1-michael@niedermayer.cc> References: <20200418223747.1211-1-michael@niedermayer.cc> X-CMAE-Envelope: MS4wfE1+ePbq4AX9kdJ+HKhCPmjWNy7lpE2fb2vpAa1a+1sGMDLiYu/hy3watmP3ojeUdSe9An485Mim4r2XPA7xeBtmPK/tlIYg4gHF19yUTQyhoIQOutW2 CwQnJ8/9csRnBDQyPKdmiDWJV8LC2xq4mjxNPTRugcesWmHJuFer2y1a Subject: [FFmpeg-devel] [PATCH 3/4] tests: Add pp7, spp tests based on pp 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" --- tests/fate/filter-video.mak | 8 ++++++++ tests/ref/fate/filter-pp7 | 10 ++++++++++ tests/ref/fate/filter-spp | 10 ++++++++++ 3 files changed, 28 insertions(+) create mode 100644 tests/ref/fate/filter-pp7 create mode 100644 tests/ref/fate/filter-spp diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 2da27f714a..bca5e3510a 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -543,6 +543,14 @@ fate-filter-pp4: CMD = video_filter "pp=be/ci" fate-filter-pp5: CMD = video_filter "pp=md" fate-filter-pp6: CMD = video_filter "pp=be/fd" +FATE_FILTER_VSYNTH-$(CONFIG_PP7_FILTER) += fate-filter-pp7 +fate-filter-pp7: fate-vsynth1-mpeg4-qprd +fate-filter-pp7: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "pp7" + +FATE_FILTER_VSYNTH-$(CONFIG_SPP_FILTER) += fate-filter-spp +fate-filter-spp: fate-vsynth1-mpeg4-qprd +fate-filter-spp: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -frames:v 5 -flags +bitexact -vf "spp=idct=simple:dct=int" + FATE_FILTER_VSYNTH-$(call ALLYES, QP_FILTER PP_FILTER) += fate-filter-qp fate-filter-qp: CMD = video_filter "qp=17,pp=be/hb/vb/tn/l5/al" diff --git a/tests/ref/fate/filter-pp7 b/tests/ref/fate/filter-pp7 new file mode 100644 index 0000000000..d8eefe98ac --- /dev/null +++ b/tests/ref/fate/filter-pp7 @@ -0,0 +1,10 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 352x288 +#sar 0: 1/1 +0, 1, 1, 1, 152064, 0x4c5d7fe0 +0, 2, 2, 1, 152064, 0xc8857ae1 +0, 3, 3, 1, 152064, 0x3232f092 +0, 4, 4, 1, 152064, 0x5bc481c7 +0, 5, 5, 1, 152064, 0x91fec184 diff --git a/tests/ref/fate/filter-spp b/tests/ref/fate/filter-spp new file mode 100644 index 0000000000..e32159a702 --- /dev/null +++ b/tests/ref/fate/filter-spp @@ -0,0 +1,10 @@ +#tb 0: 1/25 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 352x288 +#sar 0: 1/1 +0, 1, 1, 1, 152064, 0xecd18291 +0, 2, 2, 1, 152064, 0xea34708a +0, 3, 3, 1, 152064, 0xd73debe7 +0, 4, 4, 1, 152064, 0x47f57fbb +0, 5, 5, 1, 152064, 0x508dba95