From patchwork Wed Oct 30 01:22:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lance Wang X-Patchwork-Id: 16024 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 8D4F444A23E for ; Wed, 30 Oct 2019 03:29:13 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 602A168B009; Wed, 30 Oct 2019 03:29:13 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 54ED568AFF6 for ; Wed, 30 Oct 2019 03:29:07 +0200 (EET) Received: by mail-pg1-f170.google.com with SMTP id j22so327131pgh.3 for ; Tue, 29 Oct 2019 18:29:07 -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; bh=C7Qw/G7q1QytLhocncioynfkUwnxYlXzIhAxGYuLgEc=; b=Mmr/vTUbWvy57uc4bCdvPz4qUIJtm8zE4kaUVrQ5FcDGZvSC4+nS96lS1SqUP4Ckld oSdcWzSC8Wt8Bjh9xt26IGYXWBuowIkTVxJgdCXzyqVk+CL0DGqYemlE0De+18Gp+r9K iS/jmd2MW+FclNqnQAJDGggrovVWKbYVbVGWDCnhgi2fRvFKaygWm67tyCV8bSveTDAf YgwYVJRaQn+bL8VHne13qmH6S6teWNji9nizUcjTG3V/X3sJNVqh5Z5TQ5AZNt6HaimF 9/hN3iPoM1gJxTC+XRvBp6tNWxOa6AfiU2HGubOsX0N5u6Zw21A5WvRLs+9cTKoRDLJ5 6uIA== 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; bh=C7Qw/G7q1QytLhocncioynfkUwnxYlXzIhAxGYuLgEc=; b=bZprQxXo51DEHaGZzXxkMXFtuHqtdwIU/F9G+/7hLBLQaTWKcF3HgftQJEsqFtkFTT KZHUwz5CuuoeK3VxyvV7SqWXzraZFvgdd7jMfbW4ONi1f3XMSYeoLH0Yp/pz1sESN8KT EUmIGCONXM+MgIK6wZdDZvTXtpHcOcCe0MFdtjWrIzkUJgTJDoCEWynAnXkXhBuDjNck v4lxKmva9NdTAkBX/aTlZ7NpTNga6Fi2pBxOerp5I/ninhWH4XK+9m1vLagHxEI4i00B jgamGVb8oZ7oS+7rhE4VE5olT+ro7saKJjhafsnKCWX0e4PoglTKiYdfaFYBTkIemkdr USAA== X-Gm-Message-State: APjAAAXrd3BxDPX7GNm/DPSZfVf4y7t8b5zt6fIOrXhn6Ihhltm4+8va nYMCY3R3CDVC+6oA6YicgwN9zHGGFJ4= X-Google-Smtp-Source: APXvYqxqTrL9EgkrYVPTkm2oE4/4uZNmkC1LwIQX4hhqZyD3gpD238gJ2ktS7sa6Fx9nB1dV1Pm2NQ== X-Received: by 2002:a17:90a:9406:: with SMTP id r6mr11109997pjo.0.1572398592724; Tue, 29 Oct 2019 18:23:12 -0700 (PDT) Received: from vpn.localdomain ([47.90.99.151]) by smtp.gmail.com with ESMTPSA id j126sm340924pfb.186.2019.10.29.18.23.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Oct 2019 18:23:12 -0700 (PDT) From: lance.lmwang@gmail.com To: ffmpeg-devel@ffmpeg.org Date: Wed, 30 Oct 2019 09:22:52 +0800 Message-Id: <20191030012254.21976-1-lance.lmwang@gmail.com> X-Mailer: git-send-email 2.9.5 Subject: [FFmpeg-devel] [PATCH v1 1/3] tests/fate/filter-video: add fate pixfmts test for lut3d 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-pixfmts-lut3d | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 tests/ref/fate/filter-pixfmts-lut3d diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak index 9e6351be3e..53e9def176 100644 --- a/tests/fate/filter-video.mak +++ b/tests/fate/filter-video.mak @@ -678,6 +678,9 @@ fate-filter-pixfmts-kerndeint: CMD = pixfmts "" "tinterlace=interleave_top," FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut fate-filter-pixfmts-lut: CMD = pixfmts "c0=2*val:c1=2*val:c2=val/2:c3=negval+40" +FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut3d +fate-filter-pixfmts-lut3d: CMD = pixfmts + FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null fate-filter-pixfmts-null: CMD = pixfmts diff --git a/tests/ref/fate/filter-pixfmts-lut3d b/tests/ref/fate/filter-pixfmts-lut3d new file mode 100644 index 0000000000..56c294fa86 --- /dev/null +++ b/tests/ref/fate/filter-pixfmts-lut3d @@ -0,0 +1,24 @@ +0bgr 5087cdbb3da0d014de02fda75618f278 +0rgb 9ccde40a857919017558353aaecfa5de +abgr 0505ae7e852cf32ce9e2a0fc06462f48 +argb 77e7baba2d8b4389267a2ecb67662c15 +bgr0 cded4da42263da5bf0153e8bad09a0de +bgr24 fef9ee2e37a1d5c1787ffb3ed5dcc3bf +bgr48le 39fe9f41285f3325833d28ce1611d586 +bgra 3433cdbdf07abbd8af4698a3b7a1a189 +bgra64le 8f33508d6c0362df83296513ebee3a2d +gbrap 4227379340c3d822dd6c59263b170972 +gbrap10le 90721f63d6e3d5d7a6bafcefdca5151d +gbrap12le e1eee70df0c2578937dcd7a90e22f4b7 +gbrap16le 2fd82ec30573ed65fa23c4d1c150d596 +gbrp e615c8ea180a0358261953812df0aa3d +gbrp10le d61faad75dbd7cbb0271b47fa33d714e +gbrp12le 90c4ec04807bbfbe194eddcc8d7bcb2a +gbrp14le c424158744f9e16dbfcf00c66ba651f9 +gbrp16le 8ccb63f9407cae03b2e061ed1249127d +gbrp9le 4a267ed7c6535c8829e83e35c51df6bf +rgb0 545f5c4e4a7b7f3e61373149db0b932a +rgb24 aec4f0a1954823de17024383d6401b75 +rgb48le 1d1e5a1849ed3c326961184bb2f45400 +rgba ecd543877779d03bded1e8209f5bdea5 +rgba64le b26c35d221b026304db46014260ed1db