fate: Invoke pixdesc lavfi tests through fate-run.sh
authorDiego Biurrun <diego@biurrun.de>
Mon, 15 Apr 2013 22:15:15 +0000 (00:15 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sat, 27 Apr 2013 14:53:42 +0000 (16:53 +0200)
tests/fate-run.sh
tests/fate/avfilter.mak
tests/fate/filter-video.mak
tests/lavfi-regression.sh
tests/ref/fate/filter-pixdesc [new file with mode: 0644]
tests/ref/lavfi/pixdesc [deleted file]

index 72554ad..6e30b5a 100755 (executable)
@@ -171,6 +171,14 @@ video_filter(){
         $FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo $* -f nut md5:
 }
 
+pixdesc(){
+    pix_fmts="$(avconv -pix_fmts list 2>/dev/null | awk 'NR > 8 && /^IO/ { print $2 }' | sort)"
+    for pix_fmt in $pix_fmts; do
+        test=$pix_fmt
+        video_filter "format=$pix_fmt,pixdesctest" -pix_fmt $pix_fmt
+    done
+}
+
 mkdir -p "$outdir"
 
 exec 3>&2
index e31f449..edca861 100644 (file)
@@ -1,5 +1,4 @@
-FATE_LAVFI = fate-lavfi-pixdesc                                         \
-             fate-lavfi-pixfmts_copy                                    \
+FATE_LAVFI = fate-lavfi-pixfmts_copy                                    \
              fate-lavfi-pixfmts_crop                                    \
              fate-lavfi-pixfmts_hflip                                   \
              fate-lavfi-pixfmts_null                                    \
index 736b99f..5238aad 100644 (file)
@@ -77,6 +77,10 @@ FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
 fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
 
 
+FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc
+fate-filter-pixdesc: CMD = pixdesc
+
+
 $(FATE_FILTER_VSYNTH-yes): $(VREF)
 $(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
 
index f2fc752..588a53f 100755 (executable)
@@ -50,13 +50,6 @@ do_lavfi_pixfmts "pad"     "500:400:20:20"
 do_lavfi_pixfmts "scale"   "200:100"
 do_lavfi_pixfmts "vflip"   ""
 
-if [ -n "$do_pixdesc" ]; then
-    pix_fmts="$($avconv -pix_fmts list 2>/dev/null | awk 'NR > 8 && /^IO/ { print $2 }' | sort)"
-    for pix_fmt in $pix_fmts; do
-        do_video_filter $pix_fmt "format=$pix_fmt,pixdesctest" -pix_fmt $pix_fmt
-    done
-fi
-
 # TODO: add tests for
 # direct rendering,
 # chains with feedback loops
diff --git a/tests/ref/fate/filter-pixdesc b/tests/ref/fate/filter-pixdesc
new file mode 100644 (file)
index 0000000..23452ae
--- /dev/null
@@ -0,0 +1,89 @@
+abgr                037bf9df6a765520ad6d490066bf4b89
+argb                c442a8261c2265a07212ef0f72e35f5a
+bgr24               0d0cb38ab3fa0b2ec0865c14f78b217b
+bgr444be            d9ea9307d21b162225b8b2c524cf9477
+bgr444le            88035350e9da3a8f67387890b956f0bc
+bgr48be             00624e6c7ec7ab19897ba2f0a3257fe8
+bgr48le             d02c235ebba7167881ca2d576497ff84
+bgr4_byte           50d23cc82d9dcef2fd12adb81fb9b806
+bgr555be            49f01b1f1f0c84fd9e776dd34cc3c280
+bgr555le            378d6ac4223651a1adcbf94a3d0d807b
+bgr565be            257cf78afa35dc31e9696f139c916715
+bgr565le            1dfdd03995c287e3c754b164bf26a355
+bgr8                24bd566170343d06fec6fccfff5abc54
+bgra                76a18a5151242fa137133f604cd624d2
+gbrp                76204621e200a3cc633012f6720c7005
+gbrp10be            2ca4a4a589a7dc461ff186913c7a69e5
+gbrp10le            46176f1fcc6e67f9862115fe373f73d3
+gbrp9be             981c2c1b0ef1791824b4c7518331bc2e
+gbrp9le             25fb915ed11d07d631e0e7b78d54bebf
+gray                db08f7f0751900347e6b8649e4164d21
+gray16be            7becf34ae825a3df3969bf4c6bfeb5e2
+gray16le            10bd87059b5c189f3caef2837f4f2b5c
+monob               668ebe8b8103b9046b251b2fa8a1d88f
+monow               9251497f3b0634f1165d12d5a289d943
+nv12                e0af357888584d36eec5aa0f673793ef
+nv21                9a3297f3b34baa038b1f37cb202b512f
+rgb24               b41eba9651e1b5fe386289b506188105
+rgb444be            9e89db334568c6b2e3d5d0540f4ba960
+rgb444le            0a68cb6de8bf530aa30c5c1205c25155
+rgb48be             cc139ec1dd9451f0e049c0cb3a0c8aa2
+rgb48le             86c5608904f75360d492dbc5c9589969
+rgb4_byte           c93ba89b74c504e7f5ae9d9ab1546c73
+rgb555be            912a62c5e53bfcbac2a0340e10973cf2
+rgb555le            a937a0fc764fb57dc1b3af87cba0273c
+rgb565be            9cadf742e05ddc23a3b5b270f89aad3c
+rgb565le            d39aa298bb525e9be8860351c6f62dab
+rgb8                4a9d8e4f2f154e83a7e1735be6300700
+rgba                93a5b3712e6eb8c5b9a09ffc7b9fbc12
+uyvy422             adcf64516a19fce44df77082bdb16291
+yuv410p             2d9225153c83ee1132397d619d94d1b3
+yuv411p             8b298af3e43348ca1b11eb8a3252ac6c
+yuv420p             eba2f135a08829387e2f698ff72a2939
+yuv420p10be         299fe1d785a3d3dd5e70778700d7fb06
+yuv420p10le         8aee004e765a5383be0954f5e916b72f
+yuv420p16be         16c009a235cd52b74791a895423152a3
+yuv420p16le         2d59c4f1d0314a5a957a7cfc4b6fabcc
+yuv420p9be          ce880fa07830e5297c22acf6e20555ce
+yuv420p9le          16543fda8f87d94a6cf857d2e8d4461a
+yuv422p             c9bba4529821d796a6ab09f6a5fd355a
+yuv422p10be         11af7dfafe8bc025c7e3bd82b830fe8a
+yuv422p10le         ec04efb76efa79bf0d02b21572371a56
+yuv422p16be         5499502e1c29534a158a1fe60e889f60
+yuv422p16le         e3d61fde6978591596bc36b914386623
+yuv422p9be          29b71579946940a8c00fa844c9dff507
+yuv422p9le          062b7f9cbb972bf36b5bdb1a7623701a
+yuv440p             5a064afe2b453bb52cdb3f176b1aa1cf
+yuv444p             0a98447b78fd476aa39686da6a74fa2e
+yuv444p10be         71be185a2fb7a353eb024df9bc63212d
+yuv444p10le         c1c6b30a12065c7901c0a267e4861a0f
+yuv444p16be         1c6ea2c2f5e539006112ceec3d4e7d90
+yuv444p16le         20f86bc2f68d2b3f1f2b48b97b2189f4
+yuv444p9be          6ab31f4c12b533ce318ecdff83cdd054
+yuv444p9le          f0606604a5c08becab6ba500124c4b7c
+yuva420p            a29884f3f3dfe1e00b961bc17bef3d47
+yuva420p10be        145366ff1632de3e300d947f49844284
+yuva420p10le        d797038552d7f698e4d1db4dfa18ceb0
+yuva420p16be        25a335f66a0670911ced818aa42fb670
+yuva420p16le        97bf252e6c030f0f0412d3826c2ea259
+yuva420p9be         06b764d85bd3c22e9b7ca4babed84d4f
+yuva420p9le         1f01cdd4fc46f98d4c11b2947307a0e3
+yuva422p            92b6815f465297284cdb843711682cee
+yuva422p10be        fb240ff9ac49b45b1b3d40df2c89e39d
+yuva422p10le        f767ede9ba1d427faadc963cf41d2412
+yuva422p16be        ef442b11b26e5e61f3c958fa309576dd
+yuva422p16le        5789009759d7a44dacc6da2194e402b1
+yuva422p9be         e0d2f45f7f5541eee988137c7ebb3495
+yuva422p9le         a4ec81f328efd3856dec430fb27f2f56
+yuva444p            c523716e4900cfe515eaab1d7124fdd9
+yuva444p10be        f5791a75fdb86da0c243511ef9ab8fbd
+yuva444p10le        578e88dfbe4ab07f280fcc7554f3a5c4
+yuva444p16be        ee7b9dd854e36b165d5b7cffb646ba6c
+yuva444p16le        ec93b2907923d5655e9fb085479260ef
+yuva444p9be         03414257d78e72c28d03e3c247319b7c
+yuva444p9le         e421d753257e36a79c2c0ec1607ac9e6
+yuvj420p            32eec78ba51857b16ce9b813a49b7189
+yuvj422p            0dfa0ed434f73be51428758c69e082cb
+yuvj440p            657501a28004e27a592757a7509f5189
+yuvj444p            98d3d054f2ec09a75eeed5d328dc75b7
+yuyv422             f2569f2b5069a0ee0cecae33de0455e3
diff --git a/tests/ref/lavfi/pixdesc b/tests/ref/lavfi/pixdesc
deleted file mode 100644 (file)
index 23452ae..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-abgr                037bf9df6a765520ad6d490066bf4b89
-argb                c442a8261c2265a07212ef0f72e35f5a
-bgr24               0d0cb38ab3fa0b2ec0865c14f78b217b
-bgr444be            d9ea9307d21b162225b8b2c524cf9477
-bgr444le            88035350e9da3a8f67387890b956f0bc
-bgr48be             00624e6c7ec7ab19897ba2f0a3257fe8
-bgr48le             d02c235ebba7167881ca2d576497ff84
-bgr4_byte           50d23cc82d9dcef2fd12adb81fb9b806
-bgr555be            49f01b1f1f0c84fd9e776dd34cc3c280
-bgr555le            378d6ac4223651a1adcbf94a3d0d807b
-bgr565be            257cf78afa35dc31e9696f139c916715
-bgr565le            1dfdd03995c287e3c754b164bf26a355
-bgr8                24bd566170343d06fec6fccfff5abc54
-bgra                76a18a5151242fa137133f604cd624d2
-gbrp                76204621e200a3cc633012f6720c7005
-gbrp10be            2ca4a4a589a7dc461ff186913c7a69e5
-gbrp10le            46176f1fcc6e67f9862115fe373f73d3
-gbrp9be             981c2c1b0ef1791824b4c7518331bc2e
-gbrp9le             25fb915ed11d07d631e0e7b78d54bebf
-gray                db08f7f0751900347e6b8649e4164d21
-gray16be            7becf34ae825a3df3969bf4c6bfeb5e2
-gray16le            10bd87059b5c189f3caef2837f4f2b5c
-monob               668ebe8b8103b9046b251b2fa8a1d88f
-monow               9251497f3b0634f1165d12d5a289d943
-nv12                e0af357888584d36eec5aa0f673793ef
-nv21                9a3297f3b34baa038b1f37cb202b512f
-rgb24               b41eba9651e1b5fe386289b506188105
-rgb444be            9e89db334568c6b2e3d5d0540f4ba960
-rgb444le            0a68cb6de8bf530aa30c5c1205c25155
-rgb48be             cc139ec1dd9451f0e049c0cb3a0c8aa2
-rgb48le             86c5608904f75360d492dbc5c9589969
-rgb4_byte           c93ba89b74c504e7f5ae9d9ab1546c73
-rgb555be            912a62c5e53bfcbac2a0340e10973cf2
-rgb555le            a937a0fc764fb57dc1b3af87cba0273c
-rgb565be            9cadf742e05ddc23a3b5b270f89aad3c
-rgb565le            d39aa298bb525e9be8860351c6f62dab
-rgb8                4a9d8e4f2f154e83a7e1735be6300700
-rgba                93a5b3712e6eb8c5b9a09ffc7b9fbc12
-uyvy422             adcf64516a19fce44df77082bdb16291
-yuv410p             2d9225153c83ee1132397d619d94d1b3
-yuv411p             8b298af3e43348ca1b11eb8a3252ac6c
-yuv420p             eba2f135a08829387e2f698ff72a2939
-yuv420p10be         299fe1d785a3d3dd5e70778700d7fb06
-yuv420p10le         8aee004e765a5383be0954f5e916b72f
-yuv420p16be         16c009a235cd52b74791a895423152a3
-yuv420p16le         2d59c4f1d0314a5a957a7cfc4b6fabcc
-yuv420p9be          ce880fa07830e5297c22acf6e20555ce
-yuv420p9le          16543fda8f87d94a6cf857d2e8d4461a
-yuv422p             c9bba4529821d796a6ab09f6a5fd355a
-yuv422p10be         11af7dfafe8bc025c7e3bd82b830fe8a
-yuv422p10le         ec04efb76efa79bf0d02b21572371a56
-yuv422p16be         5499502e1c29534a158a1fe60e889f60
-yuv422p16le         e3d61fde6978591596bc36b914386623
-yuv422p9be          29b71579946940a8c00fa844c9dff507
-yuv422p9le          062b7f9cbb972bf36b5bdb1a7623701a
-yuv440p             5a064afe2b453bb52cdb3f176b1aa1cf
-yuv444p             0a98447b78fd476aa39686da6a74fa2e
-yuv444p10be         71be185a2fb7a353eb024df9bc63212d
-yuv444p10le         c1c6b30a12065c7901c0a267e4861a0f
-yuv444p16be         1c6ea2c2f5e539006112ceec3d4e7d90
-yuv444p16le         20f86bc2f68d2b3f1f2b48b97b2189f4
-yuv444p9be          6ab31f4c12b533ce318ecdff83cdd054
-yuv444p9le          f0606604a5c08becab6ba500124c4b7c
-yuva420p            a29884f3f3dfe1e00b961bc17bef3d47
-yuva420p10be        145366ff1632de3e300d947f49844284
-yuva420p10le        d797038552d7f698e4d1db4dfa18ceb0
-yuva420p16be        25a335f66a0670911ced818aa42fb670
-yuva420p16le        97bf252e6c030f0f0412d3826c2ea259
-yuva420p9be         06b764d85bd3c22e9b7ca4babed84d4f
-yuva420p9le         1f01cdd4fc46f98d4c11b2947307a0e3
-yuva422p            92b6815f465297284cdb843711682cee
-yuva422p10be        fb240ff9ac49b45b1b3d40df2c89e39d
-yuva422p10le        f767ede9ba1d427faadc963cf41d2412
-yuva422p16be        ef442b11b26e5e61f3c958fa309576dd
-yuva422p16le        5789009759d7a44dacc6da2194e402b1
-yuva422p9be         e0d2f45f7f5541eee988137c7ebb3495
-yuva422p9le         a4ec81f328efd3856dec430fb27f2f56
-yuva444p            c523716e4900cfe515eaab1d7124fdd9
-yuva444p10be        f5791a75fdb86da0c243511ef9ab8fbd
-yuva444p10le        578e88dfbe4ab07f280fcc7554f3a5c4
-yuva444p16be        ee7b9dd854e36b165d5b7cffb646ba6c
-yuva444p16le        ec93b2907923d5655e9fb085479260ef
-yuva444p9be         03414257d78e72c28d03e3c247319b7c
-yuva444p9le         e421d753257e36a79c2c0ec1607ac9e6
-yuvj420p            32eec78ba51857b16ce9b813a49b7189
-yuvj422p            0dfa0ed434f73be51428758c69e082cb
-yuvj440p            657501a28004e27a592757a7509f5189
-yuvj444p            98d3d054f2ec09a75eeed5d328dc75b7
-yuyv422             f2569f2b5069a0ee0cecae33de0455e3