[FFmpeg-devel] [PATCH] fate: add gradfun filter test.

Clément Bœsch ubitux at gmail.com
Wed Dec 5 00:07:29 CET 2012


On Tue, Dec 04, 2012 at 11:57:18PM +0100, Stefano Sabatini wrote:
> On date Sunday 2012-12-02 19:56:26 +0100, Clément Bœsch encoded:
> > On Sun, Dec 02, 2012 at 05:23:44PM +0100, Clément Bœsch wrote:
> > > ---
> > >  tests/fate/filter.mak        |  4 +++
> > >  tests/ref/fate/filter-hqdn3d | 74 ++++++++++++++++++++++++++++++++++++++++++++
> > >  2 files changed, 78 insertions(+)
> > >  create mode 100644 tests/ref/fate/filter-hqdn3d
> > > 
> > 
> > And here is the gradfun one to be applied on top.
> > 
> > -- 
> > Clément B.
> 
> > From 0526bccab0b05d5d916fa8d93e4a82c6b07bfe9b Mon Sep 17 00:00:00 2001
> > From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= <ubitux at gmail.com>
> > Date: Sun, 2 Dec 2012 19:52:33 +0100
> > Subject: [PATCH] fate: add gradfun filter test.
> > 
> > ---
> >  tests/fate/filter.mak         |  4 ++++
> >  tests/ref/fate/filter-gradfun | 21 +++++++++++++++++++++
> >  2 files changed, 25 insertions(+)
> >  create mode 100644 tests/ref/fate/filter-gradfun
> > 
> > diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
> > index 5f42c14..5be88e7 100644
> > --- a/tests/fate/filter.mak
> > +++ b/tests/fate/filter.mak
> > @@ -48,6 +48,10 @@ FATE_HQDN3D += fate-filter-hqdn3d
> >  fate-filter-hqdn3d: CMD = framecrc -i $(SAMPLES)/smjpeg/scenwin.mjpg -vf hqdn3d -an
> >  FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER HQDN3D_FILTER) += $(FATE_HQDN3D)
> >  
> > +FATE_GRADFUN += fate-filter-gradfun
> > +fate-filter-gradfun: CMD = framecrc -i $(SAMPLES)/vmd/12.vmd -vf "sws_flags=+accurate_rnd+bitexact;gradfun=10:8" -an -frames:v 20
> > +FATE_FILTER-$(call ALLYES, VMD_DEMUXER VMDVIDEO_DECODER GRADFUN_FILTER) += $(FATE_GRADFUN)
> > +
> >  FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
> >  
> >  #
> > diff --git a/tests/ref/fate/filter-gradfun b/tests/ref/fate/filter-gradfun
> > new file mode 100644
> > index 0000000..0fcfeb2
> > --- /dev/null
> > +++ b/tests/ref/fate/filter-gradfun
> > @@ -0,0 +1,21 @@
> > +#tb 0: 1/10
> > +0,          0,          0,        1,    76800, 0x441a686f
> > +0,          1,          1,        1,    76800, 0xfa354d07
> > +0,          2,          2,        1,    76800, 0x87222ea6
> > +0,          3,          3,        1,    76800, 0x36330279
> > +0,          4,          4,        1,    76800, 0x07cddd8c
> > +0,          5,          5,        1,    76800, 0x9c26b594
> > +0,          6,          6,        1,    76800, 0xf3a27e3e
> > +0,          7,          7,        1,    76800, 0x23df5149
> > +0,          8,          8,        1,    76800, 0xbc7e17e6
> > +0,          9,          9,        1,    76800, 0x3ab9e695
> > +0,         10,         10,        1,    76800, 0x793db568
> > +0,         11,         11,        1,    76800, 0xfd8f7a87
> > +0,         12,         12,        1,    76800, 0x20154d17
> > +0,         13,         13,        1,    76800, 0xb74c17f3
> > +0,         14,         14,        1,    76800, 0x9710e9e2
> > +0,         15,         15,        1,    76800, 0x02e1b96b
> > +0,         16,         16,        1,    76800, 0x580f8187
> > +0,         17,         17,        1,    76800, 0xb2d95790
> > +0,         18,         18,        1,    76800, 0x7ef121c8
> > +0,         19,         19,        1,    76800, 0xa30afa03
> > -- 
> > 1.8.0.1 
> 
> LGTM, thanks.

Applied.

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121205/dc4e71fd/attachment.asc>


More information about the ffmpeg-devel mailing list