Revision 7c1bb914

View differences:

configure
1483 1483
    yuv4mpegpipe=yuv4mpeg                                               \
1484 1484

  
1485 1485
mpg_test_deps="mpeg1system_muxer mpegps_demuxer"
1486
pixdesc_be_test_deps="bigendian"
1487
pixdesc_le_test_deps="!bigendian"
1486 1488

  
1487 1489
# default parameters
1488 1490

  
tests/lavfi-regression.sh
86 86
    done
87 87
fi
88 88

  
89
if [ -n "$do_lavfi_pixdesc" ]; then
89
if [ -n "$do_pixdesc_be" ] || [ -n "$do_pixdesc_le" ]; then
90 90
    pix_fmts="$($ffmpeg -pix_fmts list 2>/dev/null | sed -ne '9,$p' | grep '^IO' | cut -d' ' -f2)"
91

  
92
    ref_file=tests/ref/lavfi/lavfi_pixdesc
93
    rm -f $ref_file
94
    res_file=$logfile
95

  
96 91
    for pix_fmt in $pix_fmts; do
97
        # print to the reference logfile
98
        logfile=$ref_file
99
        do_video_encoding "lavfi_pixdesc-${pix_fmt}.nut" "" \
100
            "-vf slicify=random,format=$pix_fmt -vcodec rawvideo -pix_fmt $pix_fmt"
101

  
102
        # print to the result logfile
103
        logfile=$res_file
104 92
        do_video_encoding "lavfi_pixdesc-${pix_fmt}.nut" "" \
105 93
            "-vf slicify=random,format=$pix_fmt,pixdesctest -vcodec rawvideo -pix_fmt $pix_fmt"
106 94
    done
tests/ref/lavfi/pixdesc_be
1
eba2f135a08829387e2f698ff72a2939 *./tests/data/lavfi/lavfi_pixdesc-yuv420p.nut
2
7604654 ./tests/data/lavfi/lavfi_pixdesc-yuv420p.nut
3
f2569f2b5069a0ee0cecae33de0455e3 *./tests/data/lavfi/lavfi_pixdesc-yuyv422.nut
4
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuyv422.nut
5
b41eba9651e1b5fe386289b506188105 *./tests/data/lavfi/lavfi_pixdesc-rgb24.nut
6
15207903 ./tests/data/lavfi/lavfi_pixdesc-rgb24.nut
7
0d0cb38ab3fa0b2ec0865c14f78b217b *./tests/data/lavfi/lavfi_pixdesc-bgr24.nut
8
15207903 ./tests/data/lavfi/lavfi_pixdesc-bgr24.nut
9
c9bba4529821d796a6ab09f6a5fd355a *./tests/data/lavfi/lavfi_pixdesc-yuv422p.nut
10
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuv422p.nut
11
0a98447b78fd476aa39686da6a74fa2e *./tests/data/lavfi/lavfi_pixdesc-yuv444p.nut
12
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuv444p.nut
13
2d9225153c83ee1132397d619d94d1b3 *./tests/data/lavfi/lavfi_pixdesc-yuv410p.nut
14
5703854 ./tests/data/lavfi/lavfi_pixdesc-yuv410p.nut
15
8b298af3e43348ca1b11eb8a3252ac6c *./tests/data/lavfi/lavfi_pixdesc-yuv411p.nut
16
7604654 ./tests/data/lavfi/lavfi_pixdesc-yuv411p.nut
17
db08f7f0751900347e6b8649e4164d21 *./tests/data/lavfi/lavfi_pixdesc-gray.nut
18
5070254 ./tests/data/lavfi/lavfi_pixdesc-gray.nut
19
9251497f3b0634f1165d12d5a289d943 *./tests/data/lavfi/lavfi_pixdesc-monow.nut
20
634329 ./tests/data/lavfi/lavfi_pixdesc-monow.nut
21
668ebe8b8103b9046b251b2fa8a1d88f *./tests/data/lavfi/lavfi_pixdesc-monob.nut
22
634329 ./tests/data/lavfi/lavfi_pixdesc-monob.nut
23
32eec78ba51857b16ce9b813a49b7189 *./tests/data/lavfi/lavfi_pixdesc-yuvj420p.nut
24
7604654 ./tests/data/lavfi/lavfi_pixdesc-yuvj420p.nut
25
0dfa0ed434f73be51428758c69e082cb *./tests/data/lavfi/lavfi_pixdesc-yuvj422p.nut
26
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuvj422p.nut
27
ede1e5882d5c5bba48ea33cf1209d231 *./tests/data/lavfi/lavfi_pixdesc-yuvj444p.nut
28
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuvj444p.nut
29
adcf64516a19fce44df77082bdb16291 *./tests/data/lavfi/lavfi_pixdesc-uyvy422.nut
30
10139054 ./tests/data/lavfi/lavfi_pixdesc-uyvy422.nut
31
24bd566170343d06fec6fccfff5abc54 *./tests/data/lavfi/lavfi_pixdesc-bgr8.nut
32
5070254 ./tests/data/lavfi/lavfi_pixdesc-bgr8.nut
33
50d23cc82d9dcef2fd12adb81fb9b806 *./tests/data/lavfi/lavfi_pixdesc-bgr4_byte.nut
34
5070254 ./tests/data/lavfi/lavfi_pixdesc-bgr4_byte.nut
35
4a9d8e4f2f154e83a7e1735be6300700 *./tests/data/lavfi/lavfi_pixdesc-rgb8.nut
36
5070254 ./tests/data/lavfi/lavfi_pixdesc-rgb8.nut
37
c93ba89b74c504e7f5ae9d9ab1546c73 *./tests/data/lavfi/lavfi_pixdesc-rgb4_byte.nut
38
5070254 ./tests/data/lavfi/lavfi_pixdesc-rgb4_byte.nut
39
e0af357888584d36eec5aa0f673793ef *./tests/data/lavfi/lavfi_pixdesc-nv12.nut
40
7604654 ./tests/data/lavfi/lavfi_pixdesc-nv12.nut
41
9a3297f3b34baa038b1f37cb202b512f *./tests/data/lavfi/lavfi_pixdesc-nv21.nut
42
7604654 ./tests/data/lavfi/lavfi_pixdesc-nv21.nut
43
c442a8261c2265a07212ef0f72e35f5a *./tests/data/lavfi/lavfi_pixdesc-argb.nut
44
20276703 ./tests/data/lavfi/lavfi_pixdesc-argb.nut
45
93a5b3712e6eb8c5b9a09ffc7b9fbc12 *./tests/data/lavfi/lavfi_pixdesc-rgba.nut
46
20276703 ./tests/data/lavfi/lavfi_pixdesc-rgba.nut
47
037bf9df6a765520ad6d490066bf4b89 *./tests/data/lavfi/lavfi_pixdesc-abgr.nut
48
20276703 ./tests/data/lavfi/lavfi_pixdesc-abgr.nut
49
76a18a5151242fa137133f604cd624d2 *./tests/data/lavfi/lavfi_pixdesc-bgra.nut
50
20276703 ./tests/data/lavfi/lavfi_pixdesc-bgra.nut
51
7becf34ae825a3df3969bf4c6bfeb5e2 *./tests/data/lavfi/lavfi_pixdesc-gray16be.nut
52
10139054 ./tests/data/lavfi/lavfi_pixdesc-gray16be.nut
53
10bd87059b5c189f3caef2837f4f2b5c *./tests/data/lavfi/lavfi_pixdesc-gray16le.nut
54
10139054 ./tests/data/lavfi/lavfi_pixdesc-gray16le.nut
55
5a064afe2b453bb52cdb3f176b1aa1cf *./tests/data/lavfi/lavfi_pixdesc-yuv440p.nut
56
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuv440p.nut
57
9c3a093ff64a83ac4cf0b1e65390e236 *./tests/data/lavfi/lavfi_pixdesc-yuvj440p.nut
58
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuvj440p.nut
59
a29884f3f3dfe1e00b961bc17bef3d47 *./tests/data/lavfi/lavfi_pixdesc-yuva420p.nut
60
12673454 ./tests/data/lavfi/lavfi_pixdesc-yuva420p.nut
61
460b6de89b156290a12d3941db8bd731 *./tests/data/lavfi/lavfi_pixdesc-rgb48be.nut
62
30414303 ./tests/data/lavfi/lavfi_pixdesc-rgb48be.nut
63
cd93cb34d15996987367dabda3a10128 *./tests/data/lavfi/lavfi_pixdesc-rgb48le.nut
64
30414303 ./tests/data/lavfi/lavfi_pixdesc-rgb48le.nut
65
9cadf742e05ddc23a3b5b270f89aad3c *./tests/data/lavfi/lavfi_pixdesc-rgb565be.nut
66
10139054 ./tests/data/lavfi/lavfi_pixdesc-rgb565be.nut
67
912a62c5e53bfcbac2a0340e10973cf2 *./tests/data/lavfi/lavfi_pixdesc-rgb555be.nut
68
10139054 ./tests/data/lavfi/lavfi_pixdesc-rgb555be.nut
69
257cf78afa35dc31e9696f139c916715 *./tests/data/lavfi/lavfi_pixdesc-bgr565be.nut
70
10139054 ./tests/data/lavfi/lavfi_pixdesc-bgr565be.nut
71
49f01b1f1f0c84fd9e776dd34cc3c280 *./tests/data/lavfi/lavfi_pixdesc-bgr555be.nut
72
10139054 ./tests/data/lavfi/lavfi_pixdesc-bgr555be.nut
73
2d59c4f1d0314a5a957a7cfc4b6fabcc *./tests/data/lavfi/lavfi_pixdesc-yuv420p16le.nut
74
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuv420p16le.nut
75
16c009a235cd52b74791a895423152a3 *./tests/data/lavfi/lavfi_pixdesc-yuv420p16be.nut
76
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuv420p16be.nut
77
e3d61fde6978591596bc36b914386623 *./tests/data/lavfi/lavfi_pixdesc-yuv422p16le.nut
78
20276703 ./tests/data/lavfi/lavfi_pixdesc-yuv422p16le.nut
79
5499502e1c29534a158a1fe60e889f60 *./tests/data/lavfi/lavfi_pixdesc-yuv422p16be.nut
80
20276703 ./tests/data/lavfi/lavfi_pixdesc-yuv422p16be.nut
81
1262a0dc57ee147967fc896d04206313 *./tests/data/lavfi/lavfi_pixdesc-yuv444p16le.nut
82
30414303 ./tests/data/lavfi/lavfi_pixdesc-yuv444p16le.nut
83
ea602a24b8e6969679265078bd8607b6 *./tests/data/lavfi/lavfi_pixdesc-yuv444p16be.nut
84
30414303 ./tests/data/lavfi/lavfi_pixdesc-yuv444p16be.nut
tests/ref/lavfi/pixdesc_le
1
eba2f135a08829387e2f698ff72a2939 *./tests/data/lavfi/lavfi_pixdesc-yuv420p.nut
2
7604654 ./tests/data/lavfi/lavfi_pixdesc-yuv420p.nut
3
f2569f2b5069a0ee0cecae33de0455e3 *./tests/data/lavfi/lavfi_pixdesc-yuyv422.nut
4
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuyv422.nut
5
b41eba9651e1b5fe386289b506188105 *./tests/data/lavfi/lavfi_pixdesc-rgb24.nut
6
15207903 ./tests/data/lavfi/lavfi_pixdesc-rgb24.nut
7
0d0cb38ab3fa0b2ec0865c14f78b217b *./tests/data/lavfi/lavfi_pixdesc-bgr24.nut
8
15207903 ./tests/data/lavfi/lavfi_pixdesc-bgr24.nut
9
c9bba4529821d796a6ab09f6a5fd355a *./tests/data/lavfi/lavfi_pixdesc-yuv422p.nut
10
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuv422p.nut
11
0a98447b78fd476aa39686da6a74fa2e *./tests/data/lavfi/lavfi_pixdesc-yuv444p.nut
12
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuv444p.nut
13
2d9225153c83ee1132397d619d94d1b3 *./tests/data/lavfi/lavfi_pixdesc-yuv410p.nut
14
5703854 ./tests/data/lavfi/lavfi_pixdesc-yuv410p.nut
15
8b298af3e43348ca1b11eb8a3252ac6c *./tests/data/lavfi/lavfi_pixdesc-yuv411p.nut
16
7604654 ./tests/data/lavfi/lavfi_pixdesc-yuv411p.nut
17
db08f7f0751900347e6b8649e4164d21 *./tests/data/lavfi/lavfi_pixdesc-gray.nut
18
5070254 ./tests/data/lavfi/lavfi_pixdesc-gray.nut
19
9251497f3b0634f1165d12d5a289d943 *./tests/data/lavfi/lavfi_pixdesc-monow.nut
20
634329 ./tests/data/lavfi/lavfi_pixdesc-monow.nut
21
668ebe8b8103b9046b251b2fa8a1d88f *./tests/data/lavfi/lavfi_pixdesc-monob.nut
22
634329 ./tests/data/lavfi/lavfi_pixdesc-monob.nut
23
32eec78ba51857b16ce9b813a49b7189 *./tests/data/lavfi/lavfi_pixdesc-yuvj420p.nut
24
7604654 ./tests/data/lavfi/lavfi_pixdesc-yuvj420p.nut
25
0dfa0ed434f73be51428758c69e082cb *./tests/data/lavfi/lavfi_pixdesc-yuvj422p.nut
26
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuvj422p.nut
27
ede1e5882d5c5bba48ea33cf1209d231 *./tests/data/lavfi/lavfi_pixdesc-yuvj444p.nut
28
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuvj444p.nut
29
adcf64516a19fce44df77082bdb16291 *./tests/data/lavfi/lavfi_pixdesc-uyvy422.nut
30
10139054 ./tests/data/lavfi/lavfi_pixdesc-uyvy422.nut
31
24bd566170343d06fec6fccfff5abc54 *./tests/data/lavfi/lavfi_pixdesc-bgr8.nut
32
5070254 ./tests/data/lavfi/lavfi_pixdesc-bgr8.nut
33
50d23cc82d9dcef2fd12adb81fb9b806 *./tests/data/lavfi/lavfi_pixdesc-bgr4_byte.nut
34
5070254 ./tests/data/lavfi/lavfi_pixdesc-bgr4_byte.nut
35
4a9d8e4f2f154e83a7e1735be6300700 *./tests/data/lavfi/lavfi_pixdesc-rgb8.nut
36
5070254 ./tests/data/lavfi/lavfi_pixdesc-rgb8.nut
37
c93ba89b74c504e7f5ae9d9ab1546c73 *./tests/data/lavfi/lavfi_pixdesc-rgb4_byte.nut
38
5070254 ./tests/data/lavfi/lavfi_pixdesc-rgb4_byte.nut
39
e0af357888584d36eec5aa0f673793ef *./tests/data/lavfi/lavfi_pixdesc-nv12.nut
40
7604654 ./tests/data/lavfi/lavfi_pixdesc-nv12.nut
41
9a3297f3b34baa038b1f37cb202b512f *./tests/data/lavfi/lavfi_pixdesc-nv21.nut
42
7604654 ./tests/data/lavfi/lavfi_pixdesc-nv21.nut
43
c442a8261c2265a07212ef0f72e35f5a *./tests/data/lavfi/lavfi_pixdesc-argb.nut
44
20276703 ./tests/data/lavfi/lavfi_pixdesc-argb.nut
45
93a5b3712e6eb8c5b9a09ffc7b9fbc12 *./tests/data/lavfi/lavfi_pixdesc-rgba.nut
46
20276703 ./tests/data/lavfi/lavfi_pixdesc-rgba.nut
47
037bf9df6a765520ad6d490066bf4b89 *./tests/data/lavfi/lavfi_pixdesc-abgr.nut
48
20276703 ./tests/data/lavfi/lavfi_pixdesc-abgr.nut
49
76a18a5151242fa137133f604cd624d2 *./tests/data/lavfi/lavfi_pixdesc-bgra.nut
50
20276703 ./tests/data/lavfi/lavfi_pixdesc-bgra.nut
51
7becf34ae825a3df3969bf4c6bfeb5e2 *./tests/data/lavfi/lavfi_pixdesc-gray16be.nut
52
10139054 ./tests/data/lavfi/lavfi_pixdesc-gray16be.nut
53
10bd87059b5c189f3caef2837f4f2b5c *./tests/data/lavfi/lavfi_pixdesc-gray16le.nut
54
10139054 ./tests/data/lavfi/lavfi_pixdesc-gray16le.nut
55
5a064afe2b453bb52cdb3f176b1aa1cf *./tests/data/lavfi/lavfi_pixdesc-yuv440p.nut
56
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuv440p.nut
57
9c3a093ff64a83ac4cf0b1e65390e236 *./tests/data/lavfi/lavfi_pixdesc-yuvj440p.nut
58
10139054 ./tests/data/lavfi/lavfi_pixdesc-yuvj440p.nut
59
a29884f3f3dfe1e00b961bc17bef3d47 *./tests/data/lavfi/lavfi_pixdesc-yuva420p.nut
60
12673454 ./tests/data/lavfi/lavfi_pixdesc-yuva420p.nut
61
460b6de89b156290a12d3941db8bd731 *./tests/data/lavfi/lavfi_pixdesc-rgb48be.nut
62
30414303 ./tests/data/lavfi/lavfi_pixdesc-rgb48be.nut
63
cd93cb34d15996987367dabda3a10128 *./tests/data/lavfi/lavfi_pixdesc-rgb48le.nut
64
30414303 ./tests/data/lavfi/lavfi_pixdesc-rgb48le.nut
65
d39aa298bb525e9be8860351c6f62dab *./tests/data/lavfi/lavfi_pixdesc-rgb565le.nut
66
10139054 ./tests/data/lavfi/lavfi_pixdesc-rgb565le.nut
67
a937a0fc764fb57dc1b3af87cba0273c *./tests/data/lavfi/lavfi_pixdesc-rgb555le.nut
68
10139054 ./tests/data/lavfi/lavfi_pixdesc-rgb555le.nut
69
1dfdd03995c287e3c754b164bf26a355 *./tests/data/lavfi/lavfi_pixdesc-bgr565le.nut
70
10139054 ./tests/data/lavfi/lavfi_pixdesc-bgr565le.nut
71
378d6ac4223651a1adcbf94a3d0d807b *./tests/data/lavfi/lavfi_pixdesc-bgr555le.nut
72
10139054 ./tests/data/lavfi/lavfi_pixdesc-bgr555le.nut
73
2d59c4f1d0314a5a957a7cfc4b6fabcc *./tests/data/lavfi/lavfi_pixdesc-yuv420p16le.nut
74
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuv420p16le.nut
75
16c009a235cd52b74791a895423152a3 *./tests/data/lavfi/lavfi_pixdesc-yuv420p16be.nut
76
15207903 ./tests/data/lavfi/lavfi_pixdesc-yuv420p16be.nut
77
e3d61fde6978591596bc36b914386623 *./tests/data/lavfi/lavfi_pixdesc-yuv422p16le.nut
78
20276703 ./tests/data/lavfi/lavfi_pixdesc-yuv422p16le.nut
79
5499502e1c29534a158a1fe60e889f60 *./tests/data/lavfi/lavfi_pixdesc-yuv422p16be.nut
80
20276703 ./tests/data/lavfi/lavfi_pixdesc-yuv422p16be.nut
81
1262a0dc57ee147967fc896d04206313 *./tests/data/lavfi/lavfi_pixdesc-yuv444p16le.nut
82
30414303 ./tests/data/lavfi/lavfi_pixdesc-yuv444p16le.nut
83
ea602a24b8e6969679265078bd8607b6 *./tests/data/lavfi/lavfi_pixdesc-yuv444p16be.nut
84
30414303 ./tests/data/lavfi/lavfi_pixdesc-yuv444p16be.nut

Also available in: Unified diff