• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# files from fate-acodec
2
3FATE_SEEK_ACODEC += adpcm-ima_qt  adpcm-ima_qt-trellis  \
4                    adpcm-ima_wav adpcm-ima_wav-trellis \
5                    adpcm-ms      adpcm-ms-trellis      \
6                    adpcm-swf     adpcm-swf-trellis     \
7                    adpcm-yamaha  adpcm-yamaha-trellis  \
8                    alac flac mp2                       \
9                    pcm-alaw  pcm-mulaw pcm-s8 pcm-u8   \
10                    pcm-s16be pcm-s16le pcm-s24be       \
11                    pcm-s24le pcm-s32be pcm-s32le       \
12                    pcm-f32be pcm-f32le pcm-f64be       \
13                    pcm-f64le                           \
14
15fate-seek-acodec-adpcm-ima_qt:  SRC = fate/acodec-adpcm-ima_qt.aiff
16fate-seek-acodec-adpcm-ima_wav: SRC = fate/acodec-adpcm-ima_wav.wav
17fate-seek-acodec-adpcm-ms:      SRC = fate/acodec-adpcm-ms.wav
18fate-seek-acodec-adpcm-swf:     SRC = fate/acodec-adpcm-swf.flv
19fate-seek-acodec-adpcm-yamaha:  SRC = fate/acodec-adpcm-yamaha.wav
20fate-seek-acodec-adpcm-ima_qt-trellis:  SRC = fate/acodec-adpcm-ima_qt-trellis.aiff
21fate-seek-acodec-adpcm-ima_wav-trellis: SRC = fate/acodec-adpcm-ima_wav-trellis.wav
22fate-seek-acodec-adpcm-ms-trellis:      SRC = fate/acodec-adpcm-ms-trellis.wav
23fate-seek-acodec-adpcm-swf-trellis:     SRC = fate/acodec-adpcm-swf-trellis.flv
24fate-seek-acodec-adpcm-yamaha-trellis:  SRC = fate/acodec-adpcm-yamaha-trellis.wav
25fate-seek-acodec-alac:          SRC = fate/acodec-alac.mov
26fate-seek-acodec-flac:          SRC = fate/acodec-flac.flac
27fate-seek-acodec-mp2:           SRC = fate/acodec-mp2.mp2
28fate-seek-acodec-pcm-alaw:      SRC = fate/acodec-pcm-alaw.wav
29fate-seek-acodec-pcm-f32be:     SRC = fate/acodec-pcm-f32be.au
30fate-seek-acodec-pcm-f32le:     SRC = fate/acodec-pcm-f32le.wav
31fate-seek-acodec-pcm-f64be:     SRC = fate/acodec-pcm-f64be.au
32fate-seek-acodec-pcm-f64le:     SRC = fate/acodec-pcm-f64le.wav
33fate-seek-acodec-pcm-mulaw:     SRC = fate/acodec-pcm-mulaw.wav
34fate-seek-acodec-pcm-s16be:     SRC = fate/acodec-pcm-s16be.mov
35fate-seek-acodec-pcm-s16le:     SRC = fate/acodec-pcm-s16le.wav
36fate-seek-acodec-pcm-s24be:     SRC = fate/acodec-pcm-s24be.mov
37fate-seek-acodec-pcm-s24le:     SRC = fate/acodec-pcm-s24le.wav
38fate-seek-acodec-pcm-s32be:     SRC = fate/acodec-pcm-s32be.mov
39fate-seek-acodec-pcm-s32le:     SRC = fate/acodec-pcm-s32le.wav
40fate-seek-acodec-pcm-s8:        SRC = fate/acodec-pcm-s8.mov
41fate-seek-acodec-pcm-u8:        SRC = fate/acodec-pcm-u8.wav
42
43FATE_SEEK_ACODEC := $(FATE_SEEK_ACODEC:%=fate-seek-acodec-%)
44# The following disables every fate-seek-* test whose
45# corresponding fate-* test has unmet requirements (or is disabled).
46FATE_SEEK_ACODEC := $(filter $(subst fate-,fate-seek-,$(FATE_ACODEC)), $(FATE_SEEK_ACODEC))
47FATE_SEEK += $(FATE_SEEK_ACODEC)
48
49# files from fate-vsynth_lena
50
51FATE_SEEK_VSYNTH_LENA += asv1 asv2                      \
52                         dnxhd-720p dnxhd-720p-rd       \
53                         dnxhd-1080i dnxhd-4k-hr-lb     \
54                         dv dv-411 dv-50                \
55                         ffv1                           \
56                         flashsv                        \
57                         flv                            \
58                         h261 h263 h263p                \
59                         huffyuv                        \
60                         jpegls ljpeg mjpeg             \
61                         mpeg1 mpeg1b                   \
62                         mpeg2-422    mpeg2-idct-int    \
63                         mpeg2-ilace  mpeg2-ivlc-qprd   \
64                         mpeg2-thread mpeg2-thread-ivlc \
65                         mpeg4 $(FATE_MPEG4_AVI)        \
66                         msmpeg4 msmpeg4v2              \
67                         rgb                            \
68                         roqvideo                       \
69                         rv10 rv20                      \
70                         snow snow-ll                   \
71                         svq1                           \
72                         wmv1 wmv2                      \
73                         yuv                            \
74
75fate-seek-vsynth_lena-asv1:              SRC = fate/vsynth_lena-asv1.avi
76fate-seek-vsynth_lena-asv2:              SRC = fate/vsynth_lena-asv2.avi
77fate-seek-vsynth_lena-dnxhd-1080i:       SRC = fate/vsynth_lena-dnxhd-1080i.mov
78fate-seek-vsynth_lena-dnxhd-720p:        SRC = fate/vsynth_lena-dnxhd-720p.dnxhd
79fate-seek-vsynth_lena-dnxhd-720p-rd:     SRC = fate/vsynth_lena-dnxhd-720p.dnxhd
80fate-seek-vsynth_lena-dnxhd-4k-hr-lb:    SRC = fate/vsynth_lena-dnxhd-4k-hr-lb.dnxhd
81fate-seek-vsynth_lena-dv:                SRC = fate/vsynth_lena-dv.dv
82fate-seek-vsynth_lena-dv-411:            SRC = fate/vsynth_lena-dv-411.dv
83fate-seek-vsynth_lena-dv-50:             SRC = fate/vsynth_lena-dv-50.dv
84fate-seek-vsynth_lena-ffv1:              SRC = fate/vsynth_lena-ffv1.avi
85fate-seek-vsynth_lena-flashsv:           SRC = fate/vsynth_lena-flashsv.flv
86fate-seek-vsynth_lena-flv:               SRC = fate/vsynth_lena-flv.flv
87fate-seek-vsynth_lena-h261:              SRC = fate/vsynth_lena-h261.avi
88fate-seek-vsynth_lena-h263:              SRC = fate/vsynth_lena-h263.avi
89fate-seek-vsynth_lena-h263p:             SRC = fate/vsynth_lena-h263p.avi
90fate-seek-vsynth_lena-huffyuv:           SRC = fate/vsynth_lena-huffyuv.avi
91fate-seek-vsynth_lena-jpegls:            SRC = fate/vsynth_lena-jpegls.avi
92fate-seek-vsynth_lena-ljpeg:             SRC = fate/vsynth_lena-ljpeg.avi
93fate-seek-vsynth_lena-mjpeg:             SRC = fate/vsynth_lena-mjpeg.avi
94fate-seek-vsynth_lena-mpeg1:             SRC = fate/vsynth_lena-mpeg1.mpeg1video
95fate-seek-vsynth_lena-mpeg1b:            SRC = fate/vsynth_lena-mpeg1b.mpeg1video
96fate-seek-vsynth_lena-mpeg2-422:         SRC = fate/vsynth_lena-mpeg2-422.mpeg2video
97fate-seek-vsynth_lena-mpeg2-idct-int:    SRC = fate/vsynth_lena-mpeg2-idct-int.mpeg2video
98fate-seek-vsynth_lena-mpeg2-ilace:       SRC = fate/vsynth_lena-mpeg2-ilace.mpeg2video
99fate-seek-vsynth_lena-mpeg2-ivlc-qprd:   SRC = fate/vsynth_lena-mpeg2-ivlc-qprd.mpeg2video
100fate-seek-vsynth_lena-mpeg2-thread:      SRC = fate/vsynth_lena-mpeg2-thread.mpeg2video
101fate-seek-vsynth_lena-mpeg2-thread-ivlc: SRC = fate/vsynth_lena-mpeg2-thread-ivlc.mpeg2video
102fate-seek-vsynth_lena-mpeg4:             SRC = fate/vsynth_lena-mpeg4.mp4
103fate-seek-vsynth_lena-mpeg4-adap:        SRC = fate/vsynth_lena-mpeg4-adap.avi
104fate-seek-vsynth_lena-mpeg4-adv:         SRC = fate/vsynth_lena-mpeg4-adv.avi
105fate-seek-vsynth_lena-mpeg4-error:       SRC = fate/vsynth_lena-mpeg4-error.avi
106fate-seek-vsynth_lena-mpeg4-nr:          SRC = fate/vsynth_lena-mpeg4-nr.avi
107fate-seek-vsynth_lena-mpeg4-nsse:        SRC = fate/vsynth_lena-mpeg4-nsse.avi
108fate-seek-vsynth_lena-mpeg4-qpel:        SRC = fate/vsynth_lena-mpeg4-qpel.avi
109fate-seek-vsynth_lena-mpeg4-qprd:        SRC = fate/vsynth_lena-mpeg4-qprd.avi
110fate-seek-vsynth_lena-mpeg4-rc:          SRC = fate/vsynth_lena-mpeg4-rc.avi
111fate-seek-vsynth_lena-mpeg4-thread:      SRC = fate/vsynth_lena-mpeg4-thread.avi
112fate-seek-vsynth_lena-msmpeg4:           SRC = fate/vsynth_lena-msmpeg4.avi
113fate-seek-vsynth_lena-msmpeg4v2:         SRC = fate/vsynth_lena-msmpeg4v2.avi
114fate-seek-vsynth_lena-rgb:               SRC = fate/vsynth_lena-rgb.avi
115fate-seek-vsynth_lena-roqvideo:          SRC = fate/vsynth_lena-roqvideo.roq
116fate-seek-vsynth_lena-rv10:              SRC = fate/vsynth_lena-rv10.rm
117fate-seek-vsynth_lena-rv20:              SRC = fate/vsynth_lena-rv20.rm
118fate-seek-vsynth_lena-snow:              SRC = fate/vsynth_lena-snow.avi
119fate-seek-vsynth_lena-snow-ll:           SRC = fate/vsynth_lena-snow-ll.avi
120fate-seek-vsynth_lena-svq1:              SRC = fate/vsynth_lena-svq1.mov
121fate-seek-vsynth_lena-wmv1:              SRC = fate/vsynth_lena-wmv1.avi
122fate-seek-vsynth_lena-wmv2:              SRC = fate/vsynth_lena-wmv2.avi
123fate-seek-vsynth_lena-yuv:               SRC = fate/vsynth_lena-yuv.avi
124
125FATE_SEEK_VSYNTH_LENA := $(FATE_SEEK_VSYNTH_LENA:%=fate-seek-vsynth_lena-%)
126FATE_SEEK_VSYNTH_LENA := $(filter $(subst fate-,fate-seek-,$(FATE_VSYNTH_LENA)), $(FATE_SEEK_VSYNTH_LENA))
127FATE_SAMPLES_SEEK += $(FATE_SEEK_VSYNTH_LENA)
128
129# files from fate-lavf-audio
130
131FATE_SEEK_LAVF_AUDIO += aiff al au mmf ogg ul voc wav
132
133FATE_SEEK_LAVF_AUDIO := $(FATE_SEEK_LAVF_AUDIO:%=fate-seek-lavf-%)
134FATE_SEEK_LAVF_AUDIO := $(filter $(subst fate-,fate-seek-,$(FATE_LAVF_AUDIO)), $(FATE_SEEK_LAVF_AUDIO))
135FATE_SEEK += $(FATE_SEEK_LAVF_AUDIO)
136
137# files from fate-lavf-container
138
139FATE_SEEK_LAVF_CONTAINER += asf avi dv flv gxf mkv mov mpg    \
140                            mxf mxf_d10 mxf_dv25 mxf_dvcpro50 \
141                            mxf_opatom mxf_opatom_audio       \
142                            nut swf ts wtv
143# rm is special: fate-lavf-rm does not read the created file
144# and therefore does not require the corresponding demuxer
145# to be present, so we have to explicitly check for this here.
146FATE_SEEK_LAVF_CONTAINER-$(CONFIG_RM_DEMUXER) += rm
147FATE_SEEK_LAVF_CONTAINER += $(FATE_SEEK_LAVF_CONTAINER-yes)
148
149FATE_SEEK_LAVF_CONTAINER := $(FATE_SEEK_LAVF_CONTAINER:%=fate-seek-lavf-%)
150FATE_SEEK_LAVF_CONTAINER := $(filter $(subst fate-,fate-seek-,$(FATE_LAVF_CONTAINER)), $(FATE_SEEK_LAVF_CONTAINER))
151FATE_SEEK += $(FATE_SEEK_LAVF_CONTAINER)
152
153# files from fate-lavf-video
154
155FATE_SEEK_LAVF_VIDEO += gif y4m
156
157FATE_SEEK_LAVF_VIDEO := $(FATE_SEEK_LAVF_VIDEO:%=fate-seek-lavf-%)
158FATE_SEEK_LAVF_VIDEO := $(filter $(subst fate-,fate-seek-,$(FATE_LAVF_VIDEO)), $(FATE_SEEK_LAVF_VIDEO))
159FATE_SEEK += $(FATE_SEEK_LAVF_VIDEO)
160
161$(FATE_SEEK_LAVF_AUDIO) $(FATE_SEEK_LAVF_CONTAINER) $(FATE_SEEK_LAVF_VIDEO): SRC = lavf/lavf.$(@:fate-seek-lavf-%=%)
162
163# files from fate-lavf-image
164
165FATE_SEEK_LAVF_IMAGE += bmp jpg pcx pgm ppm sgi tga tiff
166
167FATE_SEEK_LAVF_IMAGE := $(FATE_SEEK_LAVF_IMAGE:%=fate-seek-lavf-%)
168FATE_SEEK_LAVF_IMAGE := $(filter $(subst fate-,fate-seek-,$(FATE_LAVF_IMAGES)), $(FATE_SEEK_LAVF_IMAGE))
169$(FATE_SEEK_LAVF_IMAGE): SRC = images/$(@:fate-seek-lavf-%=%)/%02d.$(@:fate-seek-lavf-%=%)
170FATE_SEEK += $(FATE_SEEK_LAVF_IMAGE)
171
172#files from fate-lavf-image2pipe
173
174FATE_SEEK_LAVF_IMAGE2PIPE += pbmpipe pgmpipe ppmpipe
175
176FATE_SEEK_LAVF_IMAGE2PIPE := $(FATE_SEEK_LAVF_IMAGE2PIPE:%=fate-seek-lavf-%)
177FATE_SEEK_LAVF_IMAGE2PIPE := $(filter $(subst fate-,fate-seek-,$(FATE_LAVF_IMAGE2PIPE)), $(FATE_SEEK_LAVF_IMAGE2PIPE))
178$(FATE_SEEK_LAVF_IMAGE2PIPE): SRC = lavf/$(@:fate-seek-lavf-%pipe=%)pipe.$(@:fate-seek-lavf-%pipe=%)
179FATE_SEEK += $(FATE_SEEK_LAVF_IMAGE2PIPE)
180
181# extra files
182
183FATE_SEEK_EXTRA-$(CONFIG_MP3_DEMUXER)   += fate-seek-extra-mp3
184FATE_SEEK_EXTRA-$(call ALLYES, CACHE_PROTOCOL PIPE_PROTOCOL MP3_DEMUXER) += fate-seek-cache-pipe
185FATE_SEEK_EXTRA-$(CONFIG_MATROSKA_DEMUXER) += fate-seek-mkv-codec-delay
186FATE_SEEK_EXTRA-$(CONFIG_MOV_DEMUXER) += fate-seek-extra-mp4
187FATE_SEEK_EXTRA-$(CONFIG_MOV_DEMUXER) += fate-seek-empty-edit-mp4
188FATE_SEEK_EXTRA-$(CONFIG_MOV_DEMUXER) += fate-seek-test-iibbibb-mp4
189FATE_SEEK_EXTRA-$(CONFIG_MOV_DEMUXER) += fate-seek-test-iibbibb-neg-ctts-mp4
190
191fate-seek-extra-mp3:  CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_SAMPLES)/gapless/gapless.mp3 -fastseek 1
192fate-seek-extra-mp4:  CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_SAMPLES)/mov/buck480p30_na.mp4 -duration 180 -frames 4
193fate-seek-empty-edit-mp4:  CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_SAMPLES)/mov/empty_edit_5s.mp4 -duration 15 -frames 4
194fate-seek-test-iibbibb-mp4:  CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_SAMPLES)/mov/test_iibbibb.mp4 -duration 13 -frames 4
195fate-seek-test-iibbibb-neg-ctts-mp4:  CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_SAMPLES)/mov/test_iibbibb_neg_ctts.mp4 -duration 13 -frames 4
196fate-seek-cache-pipe: CMD = cat $(SAMPLES)/gapless/gapless.mp3 | run libavformat/tests/seek$(EXESUF) cache:pipe:0 -read_ahead_limit -1
197fate-seek-mkv-codec-delay:   CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_SAMPLES)/mkv/codec_delay_opus.mkv
198
199FATE_SEEK_EXTRA += $(FATE_SEEK_EXTRA-yes)
200
201
202$(FATE_SEEK) $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA): libavformat/tests/seek$(EXESUF)
203$(FATE_SEEK) $(FATE_SAMPLES_SEEK): CMD = run libavformat/tests/seek$(EXESUF) $(TARGET_PATH)/tests/data/$(SRC)
204$(FATE_SEEK) $(FATE_SAMPLES_SEEK): fate-seek-%: fate-%
205$(subst fate-seek-,fate-,$(FATE_SAMPLES_SEEK) $(FATE_SEEK)): KEEP_FILES ?= 1
206fate-seek-%: REF = $(SRC_PATH)/tests/ref/seek/$(@:fate-seek-%=%)
207
208FATE_AVCONV += $(FATE_SEEK)
209FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA)
210fate-seek:     $(FATE_SEEK) $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA)
211