diff mbox

[FFmpeg-devel,3/3] avfilter/interlace: add support for 10 and 12 bit

Message ID 20170915201548.GO7094@nb4
State Superseded
Headers show

Commit Message

Michael Niedermayer Sept. 15, 2017, 8:15 p.m. UTC
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 <tmundt75@gmail.com>

> 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 <tmundt75@gmail.com>

> ---

>  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



[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct answer.

Comments

Thomas Mundt Sept. 15, 2017, 11:47 p.m. UTC | #1
2017-09-15 22:15 GMT+02:00 Michael Niedermayer <michael@niedermayer.cc>:

> 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 <tmundt75@gmail.com>
>
> > 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 <tmundt75@gmail.com>
>
> > ---
>
> >  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.
Attached.
diff mbox

Patch

--- tests/ref/fate/filter-pixfmts-tinterlace_cvlpf      2017-09-15 20:38:15.509628750 +0200
+++ tests/data/fate/filter-pixfmts-tinterlace_cvlpf     2017-09-15 22:15:07.029632817 +0200
@@ -2,23 +2,23 @@ 
 yuv410p             44ee4b74b95c82d6f79ddf53b5e3aa9d
 yuv411p             5fa9d1fba7adfd6f7fa04464332b631a
 yuv420p             ee9591ea3ab06c73be902c4b8868c69e
-yuv420p10le         19b2dcf5e82725b2c9e366d5d3a4b67b
-yuv420p12le         e5b76eb58cab2dfa42738f665d8b8059
+yuv420p10be         e976c5fb9ddbae162539e6586be567e0
+yuv420p12be         11a6962ab6de27b6f8022e4bd0058be7
 yuv422p             b1be7b55567bde86d655adf80fac1257
-yuv422p10le         66f7433c7423d6289ee20c19c4e8dd90
-yuv422p12le         b4a4b5ed81341b36f685b14b2bb8a798
+yuv422p10be         1c61c36a2731be190113aaf08acbc15f
+yuv422p12be         0d7f1775203d9780dfeca24061f53a42
 yuv440p             ddf6ee697f4ff4f90d501e6869392309
-yuv440p10le         7e44a92d9e47e15f0728b125725ccd41
-yuv440p12le         c2cac82661e10be4917bd9dacb419fce
+yuv440p10be         eb263ac9c8fcc2d3701a833fc8e4f000
+yuv440p12be         2ffc5d2614c74c85e134176621bd0251
 yuv444p             7cb5d0c0997c8c2545a16bfc4cb9fd6d
-yuv444p10le         08fb13c69b40229014a6ccf0bdd5498f
-yuv444p12le         796c5559b9f426470eb2997c21be5d14
+yuv444p10be         39e3397e62a681a871e0fe6341f416ea
+yuv444p12be         74b16d281dc65201c0d454e816904653
 yuva420p            ee0761e2f76ec441c545feede77103e4
-yuva420p10le        4bb6b3a1cbf2fd1fe5aefcc11ce8029f
+yuva420p10be        c4f223c98304d51b1bf3ac85586542a5
 yuva422p            a8da2806e21a88449079faa7f4303ffa
-yuva422p10le        d2965b5b5a43a7165badaff0718a17d8
+yuva422p10be        94fd1d508fdb47da97f830a1b690371e
 yuva444p            a3f57734d6f72bdf37f8f612ea7cce63
-yuva444p10le        e020512901fd9ac7088898a4e3a8c7c1
+yuva444p10be        7fde326349306482cd9f5d99f3202d73
 yuvj420p            9f358e311b694bcd01e1a07d1120ade5
 yuvj422p            9a7628a9f1630d35c7176951ddc1b2f6
 yuvj440p            112fe35292c687746ec0c622a42c611b