Re: [FFmpeg-devel] [PATCH v3] fate: add tests for some video source filters

2017-08-31 Thread Tobias Rapp

On 31.08.2017 02:50, Michael Niedermayer wrote:

On Tue, Aug 29, 2017 at 04:49:58PM +0200, Tobias Rapp wrote:

On 25.07.2017 11:11, Tobias Rapp wrote:

Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc,
smptebars, smptehdbars and yuvtestsrc filters.

Also adds a test for testsrc2 filter with rgb+alpha.

Signed-off-by: Tobias Rapp 
---
  tests/fate/filter-video.mak| 24 ++
  tests/ref/fate/filter-allrgb   | 10 
  tests/ref/fate/filter-allyuv   | 10 
  tests/ref/fate/filter-rgbtestsrc   | 10 
  tests/ref/fate/filter-smptebars| 10 
  tests/ref/fate/filter-smptehdbars  | 10 
  tests/ref/fate/filter-testsrc2-rgba| 75 ++
  tests/ref/fate/filter-yuvtestsrc-yuv444p   | 10 
  tests/ref/fate/filter-yuvtestsrc-yuv444p12 | 10 
  9 files changed, 169 insertions(+)
  create mode 100644 tests/ref/fate/filter-allrgb
  create mode 100644 tests/ref/fate/filter-allyuv
  create mode 100644 tests/ref/fate/filter-rgbtestsrc
  create mode 100644 tests/ref/fate/filter-smptebars
  create mode 100644 tests/ref/fate/filter-smptehdbars
  create mode 100644 tests/ref/fate/filter-testsrc2-rgba
  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p
  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p12

[...]


Ping.


tested on x86 32 /64 arm mips linux // mingw32/64

LGTM

thx



Pushed, thanks for comprehensive testing!

Regards,
Tobias

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [PATCH v3] fate: add tests for some video source filters

2017-08-30 Thread Michael Niedermayer
On Tue, Aug 29, 2017 at 04:49:58PM +0200, Tobias Rapp wrote:
> On 25.07.2017 11:11, Tobias Rapp wrote:
> >Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc,
> >smptebars, smptehdbars and yuvtestsrc filters.
> >
> >Also adds a test for testsrc2 filter with rgb+alpha.
> >
> >Signed-off-by: Tobias Rapp 
> >---
> >  tests/fate/filter-video.mak| 24 ++
> >  tests/ref/fate/filter-allrgb   | 10 
> >  tests/ref/fate/filter-allyuv   | 10 
> >  tests/ref/fate/filter-rgbtestsrc   | 10 
> >  tests/ref/fate/filter-smptebars| 10 
> >  tests/ref/fate/filter-smptehdbars  | 10 
> >  tests/ref/fate/filter-testsrc2-rgba| 75 
> > ++
> >  tests/ref/fate/filter-yuvtestsrc-yuv444p   | 10 
> >  tests/ref/fate/filter-yuvtestsrc-yuv444p12 | 10 
> >  9 files changed, 169 insertions(+)
> >  create mode 100644 tests/ref/fate/filter-allrgb
> >  create mode 100644 tests/ref/fate/filter-allyuv
> >  create mode 100644 tests/ref/fate/filter-rgbtestsrc
> >  create mode 100644 tests/ref/fate/filter-smptebars
> >  create mode 100644 tests/ref/fate/filter-smptehdbars
> >  create mode 100644 tests/ref/fate/filter-testsrc2-rgba
> >  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p
> >  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p12
> >
> >[...]
> 
> Ping.

tested on x86 32 /64 arm mips linux // mingw32/64

LGTM

thx

[...]
-- 
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


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


Re: [FFmpeg-devel] [PATCH v3] fate: add tests for some video source filters

2017-08-29 Thread Tobias Rapp

On 25.07.2017 11:11, Tobias Rapp wrote:

Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc,
smptebars, smptehdbars and yuvtestsrc filters.

Also adds a test for testsrc2 filter with rgb+alpha.

Signed-off-by: Tobias Rapp 
---
  tests/fate/filter-video.mak| 24 ++
  tests/ref/fate/filter-allrgb   | 10 
  tests/ref/fate/filter-allyuv   | 10 
  tests/ref/fate/filter-rgbtestsrc   | 10 
  tests/ref/fate/filter-smptebars| 10 
  tests/ref/fate/filter-smptehdbars  | 10 
  tests/ref/fate/filter-testsrc2-rgba| 75 ++
  tests/ref/fate/filter-yuvtestsrc-yuv444p   | 10 
  tests/ref/fate/filter-yuvtestsrc-yuv444p12 | 10 
  9 files changed, 169 insertions(+)
  create mode 100644 tests/ref/fate/filter-allrgb
  create mode 100644 tests/ref/fate/filter-allyuv
  create mode 100644 tests/ref/fate/filter-rgbtestsrc
  create mode 100644 tests/ref/fate/filter-smptebars
  create mode 100644 tests/ref/fate/filter-smptehdbars
  create mode 100644 tests/ref/fate/filter-testsrc2-rgba
  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p
  create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p12

[...]


Ping.

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH v3] fate: add tests for some video source filters

2017-07-25 Thread Tobias Rapp
Adds FATE tests for the previously untested allrgb, allyuv, rgbtestsrc,
smptebars, smptehdbars and yuvtestsrc filters.

Also adds a test for testsrc2 filter with rgb+alpha.

Signed-off-by: Tobias Rapp 
---
 tests/fate/filter-video.mak| 24 ++
 tests/ref/fate/filter-allrgb   | 10 
 tests/ref/fate/filter-allyuv   | 10 
 tests/ref/fate/filter-rgbtestsrc   | 10 
 tests/ref/fate/filter-smptebars| 10 
 tests/ref/fate/filter-smptehdbars  | 10 
 tests/ref/fate/filter-testsrc2-rgba| 75 ++
 tests/ref/fate/filter-yuvtestsrc-yuv444p   | 10 
 tests/ref/fate/filter-yuvtestsrc-yuv444p12 | 10 
 9 files changed, 169 insertions(+)
 create mode 100644 tests/ref/fate/filter-allrgb
 create mode 100644 tests/ref/fate/filter-allyuv
 create mode 100644 tests/ref/fate/filter-rgbtestsrc
 create mode 100644 tests/ref/fate/filter-smptebars
 create mode 100644 tests/ref/fate/filter-smptehdbars
 create mode 100644 tests/ref/fate/filter-testsrc2-rgba
 create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p
 create mode 100644 tests/ref/fate/filter-yuvtestsrc-yuv444p12

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 53fc7a6..b24da05 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -80,6 +80,30 @@ fate-filter-testsrc2-yuv444p: CMD = framecrc -lavfi 
testsrc2=r=7:d=10 -pix_fmt y
 FATE_FILTER-$(call ALLYES, TESTSRC2_FILTER) += fate-filter-testsrc2-rgb24
 fate-filter-testsrc2-rgb24: CMD = framecrc -lavfi testsrc2=r=7:d=10 -pix_fmt 
rgb24
 
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV TESTSRC2_FILTER) += 
fate-filter-testsrc2-rgba
+fate-filter-testsrc2-rgba: CMD = framecrc -lavfi testsrc2=r=7:d=10 -pix_fmt 
rgba
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV ALLRGB_FILTER) += fate-filter-allrgb
+fate-filter-allrgb: CMD = framecrc -lavfi allrgb=rate=5:duration=1 -pix_fmt 
rgb24
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV ALLYUV_FILTER) += fate-filter-allyuv
+fate-filter-allyuv: CMD = framecrc -lavfi allyuv=rate=5:duration=1 -pix_fmt 
yuv444p
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV RGBTESTSRC_FILTER) += 
fate-filter-rgbtestsrc
+fate-filter-rgbtestsrc: CMD = framecrc -lavfi rgbtestsrc=rate=5:duration=1 
-pix_fmt rgb24
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV SMPTEBARS_FILTER) += 
fate-filter-smptebars
+fate-filter-smptebars: CMD = framecrc -lavfi smptebars=rate=5:duration=1 
-pix_fmt yuv420p
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV SMPTEHDBARS_FILTER) += 
fate-filter-smptehdbars
+fate-filter-smptehdbars: CMD = framecrc -lavfi smptehdbars=rate=5:duration=1 
-pix_fmt yuv444p
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV YUVTESTSRC_FILTER) += 
fate-filter-yuvtestsrc-yuv444p
+fate-filter-yuvtestsrc-yuv444p: CMD = framecrc -lavfi 
yuvtestsrc=rate=5:duration=1 -pix_fmt yuv444p
+
+FATE_FILTER-$(call ALLYES, LAVFI_INDEV YUVTESTSRC_FILTER) += 
fate-filter-yuvtestsrc-yuv444p12
+fate-filter-yuvtestsrc-yuv444p12: CMD = framecrc -lavfi 
yuvtestsrc=rate=5:duration=1,format=yuv444p12 -pix_fmt yuv444p12le
+
 FATE_FILTER-$(call ALLYES, AVDEVICE TESTSRC_FILTER FORMAT_FILTER CONCAT_FILTER 
SCALE_FILTER) += fate-filter-lavd-scalenorm
 fate-filter-lavd-scalenorm: tests/data/filtergraphs/scalenorm
 fate-filter-lavd-scalenorm: CMD = framecrc -f lavfi -graph_file 
$(TARGET_PATH)/tests/data/filtergraphs/scalenorm -i dummy
diff --git a/tests/ref/fate/filter-allrgb b/tests/ref/fate/filter-allrgb
new file mode 100644
index 000..b54efc5
--- /dev/null
+++ b/tests/ref/fate/filter-allrgb
@@ -0,0 +1,10 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 4096x4096
+#sar 0: 1/1
+0,  0,  0,1, 50331648, 0x9cc26aca
+0,  1,  1,1, 50331648, 0x9cc26aca
+0,  2,  2,1, 50331648, 0x9cc26aca
+0,  3,  3,1, 50331648, 0x9cc26aca
+0,  4,  4,1, 50331648, 0x9cc26aca
diff --git a/tests/ref/fate/filter-allyuv b/tests/ref/fate/filter-allyuv
new file mode 100644
index 000..477992f
--- /dev/null
+++ b/tests/ref/fate/filter-allyuv
@@ -0,0 +1,10 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 4096x4096
+#sar 0: 1/1
+0,  0,  0,1, 50331648, 0x70b16aca
+0,  1,  1,1, 50331648, 0x70b16aca
+0,  2,  2,1, 50331648, 0x70b16aca
+0,  3,  3,1, 50331648, 0x70b16aca
+0,  4,  4,1, 50331648, 0x70b16aca
diff --git a/tests/ref/fate/filter-rgbtestsrc b/tests/ref/fate/filter-rgbtestsrc
new file mode 100644
index 000..e18d364
--- /dev/null
+++ b/tests/ref/fate/filter-rgbtestsrc
@@ -0,0 +1,10 @@
+#tb 0: 1/5
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0,  0,  0,1,   230400, 0x8c0018bb
+0,  1,  1,1,   230400, 0x8c0018bb
+0,