From patchwork Sat Sep 16 15:45:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 5166 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.36.26 with SMTP id f26csp1794420jaa; Sat, 16 Sep 2017 08:47:14 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6Ei8/ZrPdxT0War17+WEVK7LFGjooTVlYk/E5/fQvkTawZB3DR9n9sYv08exNdozmw0utw X-Received: by 10.223.152.117 with SMTP id v108mr25900485wrb.76.1505576834199; Sat, 16 Sep 2017 08:47:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505576834; cv=none; d=google.com; s=arc-20160816; b=XoY/z3FyrSvxpwIgYR3T9Me3BQe8UDwhYqMIuOtyJe1V7TujJqo1D/pUrygIdf6rFx PTk5IQESbSrNQ3ATId3nZhjvB4B9g2l9DzjzIXAO1obLiED7r3NHGqtxWBt11lVHpfVl XGsWVwHeorC3JbWQICzeRZkU9fBp/VEU9BJMaxmvfGGcLlTndB4oK9Mmq5vTKKDF0ikF IU8zkW6Ea1O6Du0pqSsEruo6Q2N2fL5OmNr/0ob4i1MNX6uolwyyhj5Oy7QKpGlxjR9O /eXeFRF1rS9AqtFBGloh+lWu+kqJAfF0L9kS/BERXDFJNTqphdSifdYwRS2BgbkzXXRU sh9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :in-reply-to:mime-version:references:message-id:to:from:date :delivered-to:arc-authentication-results; bh=RG7ysZtrhZn2IUExYr6C+UpDHRfKKsMW4lvhLNfgWpY=; b=oMKcEC3/zp+/StiUgTuXQupeTC0SivvR6DamAlmOD1o3dXy+4NzL7iJp8D/rxm2don V9xTXsL9BjvyrbYSbgfFbn2pAAZ5zWahNt/sSUaU45uTyUL7+nxXOJb+h0kd5sz/6pwo 8OqCDNMJ7mMRk0e2UpvHuJTvPWM2v+UuchAc4Xdm67JdF3F99Kp3kPB3zLVsKbVI1q/7 fRb9Ua5qR3z25E0/gdfnWBT0EqSqoTrgxSNUjokNnK6QV0LY7Pup9zqo1uuQqDlPXQY2 jGh7K/lO/mE+eUXxr4BINpt576eAUu5JfhbRp8FO9LaZy4cCPvjidZAvVuKrPgP8P5dU DtQg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id c81si3065364wmc.82.2017.09.16.08.47.13; Sat, 16 Sep 2017 08:47:14 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AA4B3689C4C; Sat, 16 Sep 2017 18:47:04 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 32B24689A50 for ; Sat, 16 Sep 2017 18:46:58 +0300 (EEST) X-Originating-IP: 213.47.41.20 Received: from localhost (213-47-41-20.cable.dynamic.surfer.at [213.47.41.20]) (Authenticated sender: michael@niedermayer.cc) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 8110041C089 for ; Sat, 16 Sep 2017 17:47:05 +0200 (CEST) Date: Sat, 16 Sep 2017 17:45:07 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20170916154507.GB7094@nb4> References: <20170915201548.GO7094@nb4> MIME-Version: 1.0 In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: [FFmpeg-devel] [PATCH 3/3] avfilter/interlace: add support for 10 and 12 bit 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" On Sat, Sep 16, 2017 at 01:47:22AM +0200, Thomas Mundt wrote: > 2017-09-15 22:15 GMT+02:00 Michael Niedermayer : > > > On Thu, Sep 14, 2017 at 10:58:01PM +0200, Thomas Mundt wrote: > > > > > Patch attached > > > > > > > > > libavfilter/interlace.h | 4 - > > > > > libavfilter/tinterlace.h | 4 - > > > > > libavfilter/vf_interlace.c | 89 > > +++++++++++++++++++++---- > > > > > libavfilter/vf_tinterlace.c | 70 > > ++++++++++++++++++- > > > > > libavfilter/x86/vf_interlace.asm | 80 > > ++++++++++++++++++++-- > > > > > libavfilter/x86/vf_interlace_init.c | 51 ++++++++++---- > > > > > libavfilter/x86/vf_tinterlace_init.c | 51 ++++++++++---- > > > > > tests/fate/filter-video.mak | 6 + > > > > > tests/ref/fate/filter-pixfmts-tinterlace_cvlpf | 25 +++++++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_merge | 11 +++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_pad | 11 +++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_vlpf | 25 +++++++ > > > > > 12 files changed, 371 insertions(+), 56 deletions(-) > > > > > a31ca544a0bcbcc2e1bb5252dff236e778f134c1 0003-avfilter-interlace-add- > > support-for-10-and-12-bit.patch > > > > > From b3af963fda7b78d91cbf5b3aea2ad595666f5c4c Mon Sep 17 00:00:00 2001 > > > > > From: Thomas Mundt > > > > > Date: Thu, 14 Sep 2017 21:25:27 +0200 > > > > > Subject: [PATCH 3/3] avfilter/interlace: add support for 10 and 12 bit > > > > > > > > > > Signed-off-by: Thomas Mundt > > > > > --- > > > > > libavfilter/interlace.h | 4 +- > > > > > libavfilter/tinterlace.h | 4 +- > > > > > libavfilter/vf_interlace.c | 89 > > ++++++++++++++++++++++---- > > > > > libavfilter/vf_tinterlace.c | 70 ++++++++++++++++++-- > > > > > libavfilter/x86/vf_interlace.asm | 80 > > +++++++++++++++++++++-- > > > > > libavfilter/x86/vf_interlace_init.c | 51 +++++++++++---- > > > > > libavfilter/x86/vf_tinterlace_init.c | 51 +++++++++++---- > > > > > tests/fate/filter-video.mak | 6 ++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_cvlpf | 25 ++++++++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_merge | 11 ++++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_pad | 11 ++++ > > > > > tests/ref/fate/filter-pixfmts-tinterlace_vlpf | 25 ++++++++ > > > > > 12 files changed, 371 insertions(+), 56 deletions(-) > > > > > create mode 100644 tests/ref/fate/filter-pixfmts-tinterlace_cvlpf > > > > > create mode 100644 tests/ref/fate/filter-pixfmts-tinterlace_vlpf > > > > > > > > fails on mips-qemu > > > > I donĀ“t have any possibility for testing big endian. > So I limit this patch to LE. still fails on mips qemu, also iam testing this on linux x86-64 cross compiling and running it under the qemu emulator so, while its not exactly trivial to setup, "everyone" can test this and this patch still fails sadly: make -j12 fate-filter-pixfmts-tinterlace_vlpf fate-filter-pixfmts-tinterlace_pad fate-filter-pixfmts-tinterlace_merge fate-filter-pixfmts-tinterlace_cvlpf -k TEST filter-pixfmts-tinterlace_vlpf TEST filter-pixfmts-tinterlace_pad TEST filter-pixfmts-tinterlace_merge TEST filter-pixfmts-tinterlace_cvlpf Test filter-pixfmts-tinterlace_cvlpf failed. Look at tests/data/fate/filter-pixfmts-tinterlace_cvlpf.err for details. make: *** [fate-filter-pixfmts-tinterlace_cvlpf] Error 1 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No human being will ever know the Truth, for even if they happen to say it by chance, they would not even known they had done so. -- Xenophanes --- /home/michael/ffmpeg-git/ffmpeg/tests/ref/fate/filter-pixfmts-tinterlace_vlpf 2017-09-16 17:33:15.392273012 +0200 +++ tests/data/fate/filter-pixfmts-tinterlace_vlpf 2017-09-16 17:45:30.848288506 +0200 @@ -2,23 +2,23 @@ yuv410p 5bc03f4cf6b441b421f0fdaeeff1e9ed yuv411p 19046df1876c46ed1ef0458680270bd3 yuv420p 69c743b84996be9430b051a55cfbcb29 -yuv420p10le 85948ad609abded6b50882d459f5a2f8 -yuv420p12le 7cebe45f51bdadc766f66c68db8d347d +yuv420p10le 02b6357b3d2f70ee3fe9501b1dcceb65 +yuv420p12le 87c206b0a7713ab6ea21b05892947966 yuv422p d710ccd1941f6f389c97a09bc977e709 -yuv422p10le c54873f77dac1d710fb2aa1b0ce2669c -yuv422p12le 94a527bb787b9d121ffbbcb3a6c545d8 +yuv422p10le 0069a2d1235bacc8ee31be3f4c0b53db +yuv422p12le 9dc4a344cf27a7375a36488e1218a949 yuv440p 1a482a23fe5a9b7d02388c299fd0a423 -yuv440p10le 506efa287ecce9c951da2039fa1de2ae -yuv440p12le 631bcf190f409ccbc5c27b9f0f6ba5e2 +yuv440p10le 5b18948641f7943ee1b4f3881ad5edff +yuv440p12le d0ed0679f8ac555eaaa152a1aa878ed9 yuv444p c968a92f4b7ab6706ee9b425eb5345b5 -yuv444p10le 0af437e635d49feccf7dfae201e6dfc5 -yuv444p12le 2e9e9f7caae1fae3b026810246fc6ac1 +yuv444p10le f27d209ab2ea9c2c83f88698e2f249ce +yuv444p12le b7f39010c0a8dc2981124a7c0bec3411 yuva420p 3f89a166f309c0cda8b91a9e8a0ce937 -yuva420p10le 79de1cc549c03d4893cf6f1aca86e057 +yuva420p10le 07ce3e2fd6b191a639b1d281a4d88b59 yuva422p ef8fdbe910d68e88e98227b0e99fb5a6 -yuva422p10le 257a4aec41f9b5412179272d8a7fb6f7 +yuva422p10le d334d0dcbe6db35d388a6bc42d1bca2b yuva444p 3662eadd5f61a6edbc9d715ea8591415 -yuva444p10le 0905cf5b7f42c11be3f0486a66533c71 +yuva444p10le 1442285c507b366609433e75fb381a0f yuvj420p 14c4390b319c5d679184503309060ac3 yuvj422p bbe00a26526931b72a024febe1cd6b90 yuvj440p f654cf28b7879c6a6c950c3cb9612580 Test filter-pixfmts-tinterlace_vlpf failed. Look at tests/data/fate/filter-pixfmts-tinterlace_vlpf.err for details. make: *** [fate-filter-pixfmts-tinterlace_vlpf] Error 1 --- /home/michael/ffmpeg-git/ffmpeg/tests/ref/fate/filter-pixfmts-tinterlace_cvlpf 2017-09-16 17:33:15.376273011 +0200 +++ tests/data/fate/filter-pixfmts-tinterlace_cvlpf 2017-09-16 17:45:30.876288506 +0200 @@ -2,23 +2,23 @@ yuv410p 44ee4b74b95c82d6f79ddf53b5e3aa9d yuv411p 5fa9d1fba7adfd6f7fa04464332b631a yuv420p ee9591ea3ab06c73be902c4b8868c69e -yuv420p10le 19b2dcf5e82725b2c9e366d5d3a4b67b -yuv420p12le e5b76eb58cab2dfa42738f665d8b8059 +yuv420p10le a7b51ae6bc636f05fde46a7692e7d4d5 +yuv420p12le 941e040aaf61085cc5394ba577938934 yuv422p b1be7b55567bde86d655adf80fac1257 -yuv422p10le 66f7433c7423d6289ee20c19c4e8dd90 -yuv422p12le b4a4b5ed81341b36f685b14b2bb8a798 +yuv422p10le 5ac401951e4d58573101e36d35f66cb7 +yuv422p12le e96d1b0c4680a48c4db6fde925aba83f yuv440p ddf6ee697f4ff4f90d501e6869392309 -yuv440p10le 7e44a92d9e47e15f0728b125725ccd41 -yuv440p12le c2cac82661e10be4917bd9dacb419fce +yuv440p10le 592b74be31c472795b30e83a1ca661b1 +yuv440p12le 828b1f17dde9a2f289fe2f22ce98b181 yuv444p 7cb5d0c0997c8c2545a16bfc4cb9fd6d -yuv444p10le 08fb13c69b40229014a6ccf0bdd5498f -yuv444p12le 796c5559b9f426470eb2997c21be5d14 +yuv444p10le fba430393b79164f1b166fa292bb29fe +yuv444p12le 59d951048416fc8074ab68cd5d189185 yuva420p ee0761e2f76ec441c545feede77103e4 -yuva420p10le 4bb6b3a1cbf2fd1fe5aefcc11ce8029f +yuva420p10le fb16e06b2f39a7c10ff6f232d9d72e0e yuva422p a8da2806e21a88449079faa7f4303ffa -yuva422p10le d2965b5b5a43a7165badaff0718a17d8 +yuva422p10le 0005aa4dc4bb40c74ef894f2283ec407 yuva444p a3f57734d6f72bdf37f8f612ea7cce63 -yuva444p10le e020512901fd9ac7088898a4e3a8c7c1 +yuva444p10le dc459585d64af21b91b83a6d06da7db8 yuvj420p 9f358e311b694bcd01e1a07d1120ade5 yuvj422p 9a7628a9f1630d35c7176951ddc1b2f6 yuvj440p 112fe35292c687746ec0c622a42c611b