forked from KolibriOS/kolibrios
ffmpeg-2.8.5
git-svn-id: svn://kolibrios.org@6147 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
237
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/Makefile
Normal file
237
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/Makefile
Normal file
@@ -0,0 +1,237 @@
|
||||
FFSERVER_REFFILE = $(SRC_PATH)/tests/ffserver.regression.ref
|
||||
|
||||
THREADS = 1
|
||||
VREF = tests/vsynth1/00.pgm
|
||||
AREF = tests/data/asynth1.sw
|
||||
|
||||
FATEW = 34
|
||||
FATEH = 34
|
||||
|
||||
$(AREF): CMP=
|
||||
|
||||
ffservertest: ffserver$(EXESUF) tests/vsynth1/00.pgm tests/data/asynth1.sw
|
||||
@echo
|
||||
@echo "Unfortunately ffserver is broken and therefore its regression"
|
||||
@echo "test fails randomly. Treat the results accordingly."
|
||||
@echo
|
||||
$(SRC_PATH)/tests/ffserver-regression.sh $(FFSERVER_REFFILE) $(SRC_PATH)/tests/ffserver.conf
|
||||
|
||||
APITESTSDIR := tests/api
|
||||
OBJDIRS += tests/data tests/vsynth1 tests/data/filtergraphs $(APITESTSDIR)/
|
||||
|
||||
$(VREF): tests/videogen$(HOSTEXESUF) | tests/vsynth1
|
||||
$(M)./$< 'tests/vsynth1/'
|
||||
|
||||
$(AREF): tests/audiogen$(HOSTEXESUF) | tests/data
|
||||
$(M)./$< $@
|
||||
|
||||
tests/data/asynth-%.wav: tests/audiogen$(HOSTEXESUF) | tests/data
|
||||
$(M)./$< $@ $(subst -, ,$*)
|
||||
|
||||
tests/data/vsynth1.yuv: tests/videogen$(HOSTEXESUF) | tests/data
|
||||
$(M)$< $@
|
||||
|
||||
tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
|
||||
$(M)$< $(SRC_PATH)/tests/reference.pnm $@
|
||||
|
||||
tests/data/vsynth_lena.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
|
||||
$(M)$< $(SAMPLES)/lena.pnm $@
|
||||
|
||||
tests/data/vsynth3.yuv: tests/videogen$(HOSTEXESUF) | tests/data
|
||||
$(M)$< $@ $(FATEW) $(FATEH)
|
||||
|
||||
tests/test_copy.ffmeta: TAG = COPY
|
||||
tests/test_copy.ffmeta: tests/data
|
||||
$(M)cp -f $(SRC_PATH)/tests/test.ffmeta tests/test_copy.ffmeta
|
||||
|
||||
tests/data/ffprobe-test.nut: ffmpeg$(EXESUF) tests/test_copy.ffmeta
|
||||
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< \
|
||||
-f lavfi -i "aevalsrc=sin(400*PI*2*t):d=0.125[out0]; testsrc=d=0.125[out1]; testsrc=s=100x100:d=0.125[out2]" \
|
||||
-f ffmetadata -i $(TARGET_PATH)/tests/test_copy.ffmeta \
|
||||
-flags +bitexact -fflags +bitexact -map 0:0 -map 0:1 -map 0:2 -map_metadata 1 \
|
||||
-map_metadata:s:0 1:s:0 -map_metadata:s:1 1:s:1 \
|
||||
-vcodec rawvideo -acodec pcm_s16le \
|
||||
-y $(TARGET_PATH)/$@ 2>/dev/null
|
||||
|
||||
tests/data/%.sw tests/data/asynth% tests/data/vsynth%.yuv tests/vsynth%/00.pgm tests/data/%.nut: TAG = GEN
|
||||
|
||||
tests/data/filtergraphs/%: TAG = COPY
|
||||
tests/data/filtergraphs/%: $(SRC_PATH)/tests/filtergraphs/% | tests/data/filtergraphs
|
||||
$(M)cp $< $@
|
||||
|
||||
RUNNING_FATE := $(filter check fate%,$(filter-out fate-rsync,$(MAKECMDGOALS)))
|
||||
|
||||
# Check sanity of dependencies when running FATE tests.
|
||||
ifneq (,$(RUNNING_FATE))
|
||||
CHKCFG = $(if $($(1))$(!$(1)),$($(1)), $(error No such config: $(1)))
|
||||
endif
|
||||
|
||||
ALLYES = $(strip $(call XYES, $(1)))
|
||||
XYES = $(if $(strip $(1)), \
|
||||
$(if $(call CHKCFG,CONFIG_$(firstword $(1))), \
|
||||
$(call XYES, $(wordlist 2, $(words $(1)), $(1)))), \
|
||||
yes)
|
||||
|
||||
ENCDEC = $(call ALLYES, $(firstword $(1))_ENCODER $(lastword $(1))_DECODER \
|
||||
$(firstword $(2))_MUXER $(lastword $(2))_DEMUXER)
|
||||
|
||||
ENCDEC2 = $(call ALLYES, $(firstword $(1))_ENCODER $(lastword $(1))_DECODER \
|
||||
$(firstword $(2))_ENCODER $(lastword $(2))_DECODER \
|
||||
$(firstword $(3))_MUXER $(lastword $(3))_DEMUXER)
|
||||
|
||||
DEMDEC = $(call ALLYES, $(1)_DEMUXER $(2:%=%_DECODER))
|
||||
ENCMUX = $(call ALLYES, $(1:%=%_ENCODER) $(2)_MUXER)
|
||||
|
||||
DEMMUX = $(call ALLYES, $(1)_DEMUXER $(2)_MUXER)
|
||||
|
||||
FILTERDEMDEC = $(call ALLYES, $(1:%=%_FILTER) $(2)_DEMUXER $(3)_DECODER)
|
||||
FILTERDEMDECMUX = $(call ALLYES, $(1:%=%_FILTER) $(2)_DEMUXER $(3)_DECODER $(4)_MUXER)
|
||||
FILTERDEMDECENCMUX = $(call ALLYES, $(1:%=%_FILTER) $(2)_DEMUXER $(3)_DECODER $(4)_ENCODER $(5)_MUXER)
|
||||
|
||||
PARSERDEMDEC = $(call ALLYES, $(1)_PARSER $(2)_DEMUXER $(3)_DECODER)
|
||||
|
||||
include $(SRC_PATH)/$(APITESTSDIR)/Makefile
|
||||
|
||||
include $(SRC_PATH)/tests/fate/acodec.mak
|
||||
include $(SRC_PATH)/tests/fate/vcodec.mak
|
||||
include $(SRC_PATH)/tests/fate/avformat.mak
|
||||
include $(SRC_PATH)/tests/fate/seek.mak
|
||||
|
||||
include $(SRC_PATH)/tests/fate/aac.mak
|
||||
include $(SRC_PATH)/tests/fate/ac3.mak
|
||||
include $(SRC_PATH)/tests/fate/adpcm.mak
|
||||
include $(SRC_PATH)/tests/fate/alac.mak
|
||||
include $(SRC_PATH)/tests/fate/als.mak
|
||||
include $(SRC_PATH)/tests/fate/amrnb.mak
|
||||
include $(SRC_PATH)/tests/fate/amrwb.mak
|
||||
include $(SRC_PATH)/tests/fate/api.mak
|
||||
include $(SRC_PATH)/tests/fate/atrac.mak
|
||||
include $(SRC_PATH)/tests/fate/audio.mak
|
||||
include $(SRC_PATH)/tests/fate/bmp.mak
|
||||
include $(SRC_PATH)/tests/fate/cdxl.mak
|
||||
include $(SRC_PATH)/tests/fate/checkasm.mak
|
||||
include $(SRC_PATH)/tests/fate/cover-art.mak
|
||||
include $(SRC_PATH)/tests/fate/demux.mak
|
||||
include $(SRC_PATH)/tests/fate/dfa.mak
|
||||
include $(SRC_PATH)/tests/fate/dpcm.mak
|
||||
include $(SRC_PATH)/tests/fate/ea.mak
|
||||
include $(SRC_PATH)/tests/fate/exif.mak
|
||||
include $(SRC_PATH)/tests/fate/ffmpeg.mak
|
||||
include $(SRC_PATH)/tests/fate/ffprobe.mak
|
||||
include $(SRC_PATH)/tests/fate/filter-audio.mak
|
||||
include $(SRC_PATH)/tests/fate/filter-video.mak
|
||||
include $(SRC_PATH)/tests/fate/flac.mak
|
||||
include $(SRC_PATH)/tests/fate/fft.mak
|
||||
include $(SRC_PATH)/tests/fate/gapless.mak
|
||||
include $(SRC_PATH)/tests/fate/gif.mak
|
||||
include $(SRC_PATH)/tests/fate/h264.mak
|
||||
include $(SRC_PATH)/tests/fate/hevc.mak
|
||||
include $(SRC_PATH)/tests/fate/image.mak
|
||||
include $(SRC_PATH)/tests/fate/indeo.mak
|
||||
include $(SRC_PATH)/tests/fate/libavcodec.mak
|
||||
include $(SRC_PATH)/tests/fate/libavdevice.mak
|
||||
include $(SRC_PATH)/tests/fate/libavformat.mak
|
||||
include $(SRC_PATH)/tests/fate/libavresample.mak
|
||||
include $(SRC_PATH)/tests/fate/libavutil.mak
|
||||
include $(SRC_PATH)/tests/fate/libswresample.mak
|
||||
include $(SRC_PATH)/tests/fate/lossless-audio.mak
|
||||
include $(SRC_PATH)/tests/fate/lossless-video.mak
|
||||
include $(SRC_PATH)/tests/fate/microsoft.mak
|
||||
include $(SRC_PATH)/tests/fate/monkeysaudio.mak
|
||||
include $(SRC_PATH)/tests/fate/mp3.mak
|
||||
include $(SRC_PATH)/tests/fate/mpc.mak
|
||||
include $(SRC_PATH)/tests/fate/mpeg4.mak
|
||||
include $(SRC_PATH)/tests/fate/mxf.mak
|
||||
include $(SRC_PATH)/tests/fate/opus.mak
|
||||
include $(SRC_PATH)/tests/fate/pcm.mak
|
||||
include $(SRC_PATH)/tests/fate/probe.mak
|
||||
include $(SRC_PATH)/tests/fate/prores.mak
|
||||
include $(SRC_PATH)/tests/fate/qt.mak
|
||||
include $(SRC_PATH)/tests/fate/qtrle.mak
|
||||
include $(SRC_PATH)/tests/fate/real.mak
|
||||
include $(SRC_PATH)/tests/fate/screen.mak
|
||||
include $(SRC_PATH)/tests/fate/subtitles.mak
|
||||
include $(SRC_PATH)/tests/fate/utvideo.mak
|
||||
include $(SRC_PATH)/tests/fate/video.mak
|
||||
include $(SRC_PATH)/tests/fate/voice.mak
|
||||
include $(SRC_PATH)/tests/fate/vorbis.mak
|
||||
include $(SRC_PATH)/tests/fate/vpx.mak
|
||||
include $(SRC_PATH)/tests/fate/vqf.mak
|
||||
include $(SRC_PATH)/tests/fate/wavpack.mak
|
||||
include $(SRC_PATH)/tests/fate/wma.mak
|
||||
include $(SRC_PATH)/tests/fate/xvid.mak
|
||||
|
||||
FATE_FFMPEG += $(FATE_FFMPEG-yes) $(FATE_AVCONV) $(FATE_AVCONV-yes)
|
||||
FATE-$(CONFIG_FFMPEG) += $(FATE_FFMPEG)
|
||||
FATE-$(CONFIG_FFPROBE) += $(FATE_FFPROBE)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_AVCONV-yes)
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_FFMPEG-yes)
|
||||
FATE_EXTERN-$(CONFIG_FFMPEG) += $(FATE_SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG) $(FATE_SAMPLES_FFPROBE)
|
||||
FATE_EXTERN += $(FATE_EXTERN-yes)
|
||||
|
||||
FATE += $(FATE-yes)
|
||||
|
||||
RSYNC_OPTIONS-$(HAVE_RSYNC_CONTIMEOUT) += --contimeout=60
|
||||
RSYNC_OPTIONS = -vrltLW --timeout=60 $(RSYNC_OPTIONS-yes)
|
||||
|
||||
$(FATE_FFMPEG) $(FATE_SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG): ffmpeg$(EXESUF)
|
||||
|
||||
$(FATE_FFPROBE) $(FATE_SAMPLES_FFPROBE): ffprobe$(EXESUF)
|
||||
|
||||
ifdef SAMPLES
|
||||
FATE += $(FATE_FULL) $(FATE_FULL-yes)
|
||||
FATE += $(FATE_EXTERN)
|
||||
fate-rsync:
|
||||
rsync $(RSYNC_OPTIONS) rsync://fate-suite.ffmpeg.org/fate-suite/ $(SAMPLES)
|
||||
else
|
||||
fate::
|
||||
@echo "warning: only a subset of the fate tests will be run because SAMPLES is not specified"
|
||||
fate-rsync:
|
||||
@echo "use 'make fate-rsync SAMPLES=/path/to/samples' to sync the fate suite"
|
||||
$(FATE_EXTERN):
|
||||
@echo "$@ requires external samples and SAMPLES not specified"; false
|
||||
endif
|
||||
|
||||
FATE_UTILS = base64 tiny_psnr tiny_ssim
|
||||
|
||||
TOOL = ffmpeg
|
||||
|
||||
fate:: $(FATE)
|
||||
|
||||
$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
|
||||
@echo "TEST $(@:fate-%=%)"
|
||||
$(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(TARGET_SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)' '$(CMP_UNIT)' '$(GEN)' '$(HWACCEL)'
|
||||
|
||||
fate-list:
|
||||
@printf '%s\n' $(sort $(FATE))
|
||||
|
||||
coverage.info: TAG = LCOV
|
||||
coverage.info:
|
||||
$(M)lcov -q -d $(CURDIR) -b $(SRC_PATH) --capture | \
|
||||
sed "s,$(CURDIR)/\./,$(CURDIR)/," > $@
|
||||
$(M)lcov -q --remove $@ "/usr*" -o $@
|
||||
|
||||
lcov: TAG = GENHTML
|
||||
lcov: coverage.info
|
||||
$(M)genhtml -q -o $(CURDIR)/lcov $<
|
||||
|
||||
lcov-reset: TAG = LCOV
|
||||
lcov-reset:
|
||||
$(M)lcov -d $(CURDIR) --zerocounters
|
||||
$(Q)$(RM) -f coverage.info
|
||||
|
||||
clean:: testclean
|
||||
|
||||
testclean::
|
||||
$(RM) -r tests/vsynth1 tests/data tools/lavfi-showfiltfmts$(EXESUF)
|
||||
$(RM) $(CLEANSUFFIXES:%=tests/%)
|
||||
$(RM) $(TESTTOOLS:%=tests/%$(HOSTEXESUF))
|
||||
$(RM) tests/pixfmts.mak tests/test_copy.ffmeta
|
||||
|
||||
-include $(wildcard tests/*.d)
|
||||
|
||||
include $(SRC_PATH)/tests/checkasm/Makefile
|
||||
|
||||
.PHONY: fate* lcov lcov-reset
|
||||
.INTERMEDIATE: coverage.info
|
19
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/Makefile
Normal file
19
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
APITESTPROGS-$(call ENCDEC, FLAC, FLAC) += api-flac
|
||||
APITESTPROGS-$(call DEMDEC, H264, H264) += api-h264
|
||||
APITESTPROGS-yes += api-seek
|
||||
APITESTPROGS-$(call DEMDEC, H263, H263) += api-band
|
||||
APITESTPROGS += $(APITESTPROGS-yes)
|
||||
|
||||
APITESTOBJS := $(APITESTOBJS:%=$(APITESTSDIR)%) $(APITESTPROGS:%=$(APITESTSDIR)/%-test.o)
|
||||
APITESTPROGS := $(APITESTPROGS:%=$(APITESTSDIR)/%-test$(EXESUF))
|
||||
-include $(wildcard $(APITESTOBJS:.o=.d))
|
||||
|
||||
$(APITESTOBJS): | $(sort $(dir $(APITESTOBJS)))
|
||||
$(APITESTOBJS) $(APITESTOBJS:.o=.i): CPPFLAGS += -DTEST
|
||||
$(APITESTOBJS) $(APITESTOBJS:.o=.i): CFLAGS += -Umain
|
||||
|
||||
$(APITESTPROGS): %$(EXESUF): %.o $(EXEOBJS) $(FF_DEP_LIBS)
|
||||
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(filter %.o,$^) $(FF_DEP_LIBS) $(FFEXTRALIBS) $(ELIBS)
|
||||
|
||||
testclean::
|
||||
$(RM) $(addprefix $(APITESTSDIR)/,$(CLEANSUFFIXES) *-test$(EXESUF))
|
222
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-band-test.c
Normal file
222
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-band-test.c
Normal file
@@ -0,0 +1,222 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Ludmila Glinskih
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* draw_horiz_band test.
|
||||
*/
|
||||
|
||||
#include "libavutil/adler32.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
||||
uint8_t *slice_byte_buffer;
|
||||
uint8_t slice_byte_buffer_size;
|
||||
int draw_horiz_band_called;
|
||||
|
||||
static void draw_horiz_band(AVCodecContext *ctx, const AVFrame *fr, int offset[4],
|
||||
int slice_position, int type, int height)
|
||||
{
|
||||
int i;
|
||||
const AVPixFmtDescriptor *pix_fmt_desc;
|
||||
int chroma_w, chroma_h;
|
||||
int shift_slice_position;
|
||||
int shift_height;
|
||||
|
||||
draw_horiz_band_called = 1;
|
||||
|
||||
pix_fmt_desc = av_pix_fmt_desc_get(ctx->pix_fmt);
|
||||
chroma_w = -((-ctx->width) >> pix_fmt_desc->log2_chroma_w);
|
||||
chroma_h = -((-height) >> pix_fmt_desc->log2_chroma_h);
|
||||
shift_slice_position = -((-slice_position) >> pix_fmt_desc->log2_chroma_h);
|
||||
shift_height = -((-ctx->height) >> pix_fmt_desc->log2_chroma_h);
|
||||
|
||||
for (i = 0; i < height; i++) {
|
||||
memcpy(slice_byte_buffer + ctx->width * slice_position + i * ctx->width,
|
||||
fr->data[0] + offset[0] + i * fr->linesize[0], ctx->width);
|
||||
}
|
||||
for (i = 0; i < chroma_h; i++) {
|
||||
memcpy(slice_byte_buffer + ctx->width * ctx->height + chroma_w * shift_slice_position + i * chroma_w,
|
||||
fr->data[1] + offset[1] + i * fr->linesize[1], chroma_w);
|
||||
}
|
||||
for (i = 0; i < chroma_h; i++) {
|
||||
memcpy(slice_byte_buffer + ctx->width * ctx->height + chroma_w * shift_height + chroma_w * shift_slice_position + i * chroma_w,
|
||||
fr->data[2] + offset[2] + i * fr->linesize[2], chroma_w);
|
||||
}
|
||||
}
|
||||
|
||||
static int video_decode(const char *input_filename)
|
||||
{
|
||||
AVCodec *codec = NULL;
|
||||
AVCodecContext *origin_ctx = NULL, *ctx= NULL;
|
||||
uint8_t *byte_buffer = NULL;
|
||||
AVFrame *fr = NULL;
|
||||
AVPacket pkt;
|
||||
AVFormatContext *fmt_ctx = NULL;
|
||||
int number_of_written_bytes;
|
||||
int video_stream;
|
||||
int got_frame = 0;
|
||||
int byte_buffer_size;
|
||||
int result;
|
||||
int end_of_stream = 0;
|
||||
|
||||
draw_horiz_band_called = 0;
|
||||
|
||||
result = avformat_open_input(&fmt_ctx, input_filename, NULL, NULL);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't open file\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
result = avformat_find_stream_info(fmt_ctx, NULL);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't get stream info\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
video_stream = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0);
|
||||
if (video_stream < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find video stream in input file\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
origin_ctx = fmt_ctx->streams[video_stream]->codec;
|
||||
|
||||
codec = avcodec_find_decoder(origin_ctx->codec_id);
|
||||
if (!codec) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find decoder\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
ctx = avcodec_alloc_context3(codec);
|
||||
if (!ctx) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate decoder context\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
result = avcodec_copy_context(ctx, origin_ctx);
|
||||
if (result) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't copy decoder context\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
ctx->draw_horiz_band = draw_horiz_band;
|
||||
ctx->thread_count = 1;
|
||||
|
||||
result = avcodec_open2(ctx, codec, NULL);
|
||||
if (result < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Can't open decoder\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
fr = av_frame_alloc();
|
||||
if (!fr) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate frame\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
if (strcmp(codec->name, "flv") && strcmp(codec->name, "mpeg4") && strcmp(codec->name, "huffyuv")) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Wrong codec\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 32);
|
||||
byte_buffer = av_malloc(byte_buffer_size);
|
||||
if (!byte_buffer) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate buffer\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
slice_byte_buffer = av_malloc(byte_buffer_size);
|
||||
if (!slice_byte_buffer) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate buffer\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
memset(slice_byte_buffer, 0, byte_buffer_size);
|
||||
slice_byte_buffer_size = byte_buffer_size;
|
||||
|
||||
av_init_packet(&pkt);
|
||||
do {
|
||||
if (!end_of_stream) {
|
||||
if (av_read_frame(fmt_ctx, &pkt) < 0) {
|
||||
end_of_stream = 1;
|
||||
}
|
||||
}
|
||||
if (end_of_stream) {
|
||||
pkt.data = NULL;
|
||||
pkt.size = 0;
|
||||
}
|
||||
if (pkt.stream_index == video_stream || end_of_stream) {
|
||||
got_frame = 0;
|
||||
result = avcodec_decode_video2(ctx, fr, &got_frame, &pkt);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error decoding frame\n");
|
||||
return result;
|
||||
}
|
||||
if (got_frame) {
|
||||
number_of_written_bytes = av_image_copy_to_buffer(byte_buffer, byte_buffer_size,
|
||||
(const uint8_t* const *)fr->data, (const int*) fr->linesize,
|
||||
ctx->pix_fmt, ctx->width, ctx->height, 1);
|
||||
if (number_of_written_bytes < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't copy image to buffer\n");
|
||||
return number_of_written_bytes;
|
||||
}
|
||||
if (draw_horiz_band_called == 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "draw_horiz_band haven't been called!\n");
|
||||
return -1;
|
||||
}
|
||||
if (av_adler32_update(0, (const uint8_t*)byte_buffer, number_of_written_bytes) !=
|
||||
av_adler32_update(0, (const uint8_t*)slice_byte_buffer, number_of_written_bytes)) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Decoded frames with and without draw_horiz_band are not the same!\n");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
av_free_packet(&pkt);
|
||||
av_init_packet(&pkt);
|
||||
}
|
||||
} while (!end_of_stream || got_frame);
|
||||
|
||||
av_free_packet(&pkt);
|
||||
av_frame_free(&fr);
|
||||
avcodec_close(ctx);
|
||||
avformat_close_input(&fmt_ctx);
|
||||
avcodec_free_context(&ctx);
|
||||
av_freep(&byte_buffer);
|
||||
av_freep(&slice_byte_buffer);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc < 2)
|
||||
{
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect input: expected %s <name of a video file>\nNote that test works only for huffyuv, flv and mpeg4 decoders\n", argv[0]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
av_register_all();
|
||||
|
||||
if (video_decode(argv[1]) != 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
276
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-flac-test.c
Normal file
276
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-flac-test.c
Normal file
@@ -0,0 +1,276 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Ludmila Glinskih
|
||||
* Copyright (c) 2001 Fabrice Bellard
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/*
|
||||
* FLAC codec test.
|
||||
* Encodes raw data to FLAC format and decodes it back to raw. Compares raw-data
|
||||
* after that.
|
||||
*/
|
||||
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/samplefmt.h"
|
||||
|
||||
#define NUMBER_OF_FRAMES 200
|
||||
#define NAME_BUFF_SIZE 100
|
||||
|
||||
/* generate i-th frame of test audio */
|
||||
static int generate_raw_frame(uint16_t *frame_data, int i, int sample_rate,
|
||||
int channels, int frame_size)
|
||||
{
|
||||
int j, k;
|
||||
|
||||
for (j = 0; j < frame_size; j++) {
|
||||
frame_data[channels * j] = 10000 * ((j / 10 * i) % 2);
|
||||
for (k = 1; k < channels; k++)
|
||||
frame_data[channels * j + k] = frame_data[channels * j] * (k + 1);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int init_encoder(AVCodec *enc, AVCodecContext **enc_ctx,
|
||||
int64_t ch_layout, int sample_rate)
|
||||
{
|
||||
AVCodecContext *ctx;
|
||||
int result;
|
||||
char name_buff[NAME_BUFF_SIZE];
|
||||
|
||||
av_get_channel_layout_string(name_buff, NAME_BUFF_SIZE, 0, ch_layout);
|
||||
av_log(NULL, AV_LOG_INFO, "channel layout: %s, sample rate: %i\n", name_buff, sample_rate);
|
||||
|
||||
ctx = avcodec_alloc_context3(enc);
|
||||
if (!ctx) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate encoder context\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
ctx->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||
ctx->sample_rate = sample_rate;
|
||||
ctx->channel_layout = ch_layout;
|
||||
|
||||
result = avcodec_open2(ctx, enc, NULL);
|
||||
if (result < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Can't open encoder\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
*enc_ctx = ctx;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int init_decoder(AVCodec *dec, AVCodecContext **dec_ctx,
|
||||
int64_t ch_layout)
|
||||
{
|
||||
AVCodecContext *ctx;
|
||||
int result;
|
||||
|
||||
ctx = avcodec_alloc_context3(dec);
|
||||
if (!ctx) {
|
||||
av_log(NULL, AV_LOG_ERROR , "Can't allocate decoder context\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
ctx->request_sample_fmt = AV_SAMPLE_FMT_S16;
|
||||
/* XXX: FLAC ignores it for some reason */
|
||||
ctx->request_channel_layout = ch_layout;
|
||||
ctx->channel_layout = ch_layout;
|
||||
|
||||
result = avcodec_open2(ctx, dec, NULL);
|
||||
if (result < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Can't open decoder\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
*dec_ctx = ctx;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int run_test(AVCodec *enc, AVCodec *dec, AVCodecContext *enc_ctx,
|
||||
AVCodecContext *dec_ctx)
|
||||
{
|
||||
AVPacket enc_pkt;
|
||||
AVFrame *in_frame, *out_frame;
|
||||
uint8_t *raw_in = NULL, *raw_out = NULL;
|
||||
int in_offset = 0, out_offset = 0;
|
||||
int result = 0;
|
||||
int got_output = 0;
|
||||
int i = 0;
|
||||
int in_frame_bytes, out_frame_bytes;
|
||||
|
||||
in_frame = av_frame_alloc();
|
||||
if (!in_frame) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate input frame\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
in_frame->nb_samples = enc_ctx->frame_size;
|
||||
in_frame->format = enc_ctx->sample_fmt;
|
||||
in_frame->channel_layout = enc_ctx->channel_layout;
|
||||
if (av_frame_get_buffer(in_frame, 32) != 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate a buffer for input frame\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
out_frame = av_frame_alloc();
|
||||
if (!out_frame) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate output frame\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
raw_in = av_malloc(in_frame->linesize[0] * NUMBER_OF_FRAMES);
|
||||
if (!raw_in) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for raw_in\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
raw_out = av_malloc(in_frame->linesize[0] * NUMBER_OF_FRAMES);
|
||||
if (!raw_out) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate memory for raw_out\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
for (i = 0; i < NUMBER_OF_FRAMES; i++) {
|
||||
av_init_packet(&enc_pkt);
|
||||
enc_pkt.data = NULL;
|
||||
enc_pkt.size = 0;
|
||||
|
||||
generate_raw_frame((uint16_t*)(in_frame->data[0]), i, enc_ctx->sample_rate,
|
||||
enc_ctx->channels, enc_ctx->frame_size);
|
||||
in_frame_bytes = in_frame->nb_samples * av_frame_get_channels(in_frame) * sizeof(uint16_t);
|
||||
if (in_frame_bytes > in_frame->linesize[0]) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect value of input frame linesize\n");
|
||||
return 1;
|
||||
}
|
||||
memcpy(raw_in + in_offset, in_frame->data[0], in_frame_bytes);
|
||||
in_offset += in_frame_bytes;
|
||||
result = avcodec_encode_audio2(enc_ctx, &enc_pkt, in_frame, &got_output);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error encoding audio frame\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
/* if we get an encoded packet, feed it straight to the decoder */
|
||||
if (got_output) {
|
||||
result = avcodec_decode_audio4(dec_ctx, out_frame, &got_output, &enc_pkt);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error decoding audio packet\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
if (got_output) {
|
||||
if (result != enc_pkt.size) {
|
||||
av_log(NULL, AV_LOG_INFO, "Decoder consumed only part of a packet, it is allowed to do so -- need to update this test\n");
|
||||
return AVERROR_UNKNOWN;
|
||||
}
|
||||
|
||||
if (in_frame->nb_samples != out_frame->nb_samples) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error frames before and after decoding has different number of samples\n");
|
||||
return AVERROR_UNKNOWN;
|
||||
}
|
||||
|
||||
if (in_frame->channel_layout != out_frame->channel_layout) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error frames before and after decoding has different channel layout\n");
|
||||
return AVERROR_UNKNOWN;
|
||||
}
|
||||
|
||||
if (in_frame->format != out_frame->format) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error frames before and after decoding has different sample format\n");
|
||||
return AVERROR_UNKNOWN;
|
||||
}
|
||||
out_frame_bytes = out_frame->nb_samples * av_frame_get_channels(out_frame) * sizeof(uint16_t);
|
||||
if (out_frame_bytes > out_frame->linesize[0]) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect value of output frame linesize\n");
|
||||
return 1;
|
||||
}
|
||||
memcpy(raw_out + out_offset, out_frame->data[0], out_frame_bytes);
|
||||
out_offset += out_frame_bytes;
|
||||
}
|
||||
}
|
||||
av_free_packet(&enc_pkt);
|
||||
}
|
||||
|
||||
if (memcmp(raw_in, raw_out, out_frame_bytes * NUMBER_OF_FRAMES) != 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Output differs\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
av_log(NULL, AV_LOG_INFO, "OK\n");
|
||||
|
||||
av_freep(&raw_in);
|
||||
av_freep(&raw_out);
|
||||
av_frame_free(&in_frame);
|
||||
av_frame_free(&out_frame);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int close_encoder(AVCodecContext **enc_ctx)
|
||||
{
|
||||
avcodec_close(*enc_ctx);
|
||||
av_freep(enc_ctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int close_decoder(AVCodecContext **dec_ctx)
|
||||
{
|
||||
avcodec_close(*dec_ctx);
|
||||
av_freep(dec_ctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(void)
|
||||
{
|
||||
AVCodec *enc = NULL, *dec = NULL;
|
||||
AVCodecContext *enc_ctx = NULL, *dec_ctx = NULL;
|
||||
uint64_t channel_layouts[] = {AV_CH_LAYOUT_STEREO, AV_CH_LAYOUT_5POINT1_BACK, AV_CH_LAYOUT_SURROUND, AV_CH_LAYOUT_STEREO_DOWNMIX};
|
||||
int sample_rates[] = {8000, 44100, 48000, 192000};
|
||||
int cl, sr;
|
||||
|
||||
avcodec_register_all();
|
||||
|
||||
enc = avcodec_find_encoder(AV_CODEC_ID_FLAC);
|
||||
if (!enc) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find encoder\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
dec = avcodec_find_decoder(AV_CODEC_ID_FLAC);
|
||||
if (!dec) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find decoder\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
for (cl = 0; cl < FF_ARRAY_ELEMS(channel_layouts); cl++) {
|
||||
for (sr = 0; sr < FF_ARRAY_ELEMS(sample_rates); sr++) {
|
||||
if (init_encoder(enc, &enc_ctx, channel_layouts[cl], sample_rates[sr]) != 0)
|
||||
return 1;
|
||||
if (init_decoder(dec, &dec_ctx, channel_layouts[cl]) != 0)
|
||||
return 1;
|
||||
if (run_test(enc, dec, enc_ctx, dec_ctx) != 0)
|
||||
return 1;
|
||||
close_encoder(&enc_ctx);
|
||||
close_decoder(&dec_ctx);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
166
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-h264-test.c
Normal file
166
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-h264-test.c
Normal file
@@ -0,0 +1,166 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Ludmila Glinskih
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* H264 codec test.
|
||||
*/
|
||||
|
||||
#include "libavutil/adler32.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
||||
static int video_decode_example(const char *input_filename)
|
||||
{
|
||||
AVCodec *codec = NULL;
|
||||
AVCodecContext *origin_ctx = NULL, *ctx= NULL;
|
||||
AVFrame *fr = NULL;
|
||||
uint8_t *byte_buffer = NULL;
|
||||
AVPacket pkt;
|
||||
AVFormatContext *fmt_ctx = NULL;
|
||||
int number_of_written_bytes;
|
||||
int video_stream;
|
||||
int got_frame = 0;
|
||||
int byte_buffer_size;
|
||||
int i = 0;
|
||||
int result;
|
||||
int end_of_stream = 0;
|
||||
|
||||
result = avformat_open_input(&fmt_ctx, input_filename, NULL, NULL);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't open file\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
result = avformat_find_stream_info(fmt_ctx, NULL);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't get stream info\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
video_stream = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0);
|
||||
if (video_stream < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find video stream in input file\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
origin_ctx = fmt_ctx->streams[video_stream]->codec;
|
||||
|
||||
codec = avcodec_find_decoder(origin_ctx->codec_id);
|
||||
if (!codec) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find decoder\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
ctx = avcodec_alloc_context3(codec);
|
||||
if (!ctx) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate decoder context\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
result = avcodec_copy_context(ctx, origin_ctx);
|
||||
if (result) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't copy decoder context\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
result = avcodec_open2(ctx, codec, NULL);
|
||||
if (result < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Can't open decoder\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
fr = av_frame_alloc();
|
||||
if (!fr) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate frame\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 16);
|
||||
byte_buffer = av_malloc(byte_buffer_size);
|
||||
if (!byte_buffer) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate buffer\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
printf("#tb %d: %d/%d\n", video_stream, fmt_ctx->streams[video_stream]->time_base.num, fmt_ctx->streams[video_stream]->time_base.den);
|
||||
i = 0;
|
||||
av_init_packet(&pkt);
|
||||
do {
|
||||
if (!end_of_stream)
|
||||
if (av_read_frame(fmt_ctx, &pkt) < 0)
|
||||
end_of_stream = 1;
|
||||
if (end_of_stream) {
|
||||
pkt.data = NULL;
|
||||
pkt.size = 0;
|
||||
}
|
||||
if (pkt.stream_index == video_stream || end_of_stream) {
|
||||
got_frame = 0;
|
||||
if (pkt.pts == AV_NOPTS_VALUE)
|
||||
pkt.pts = pkt.dts = i;
|
||||
result = avcodec_decode_video2(ctx, fr, &got_frame, &pkt);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error decoding frame\n");
|
||||
return result;
|
||||
}
|
||||
if (got_frame) {
|
||||
number_of_written_bytes = av_image_copy_to_buffer(byte_buffer, byte_buffer_size,
|
||||
(const uint8_t* const *)fr->data, (const int*) fr->linesize,
|
||||
ctx->pix_fmt, ctx->width, ctx->height, 1);
|
||||
if (number_of_written_bytes < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't copy image to buffer\n");
|
||||
return number_of_written_bytes;
|
||||
}
|
||||
printf("%d, %10"PRId64", %10"PRId64", %8"PRId64", %8d, 0x%08lx\n", video_stream,
|
||||
fr->pkt_pts, fr->pkt_dts, av_frame_get_pkt_duration(fr),
|
||||
number_of_written_bytes, av_adler32_update(0, (const uint8_t*)byte_buffer, number_of_written_bytes));
|
||||
}
|
||||
av_free_packet(&pkt);
|
||||
av_init_packet(&pkt);
|
||||
}
|
||||
i++;
|
||||
} while (!end_of_stream || got_frame);
|
||||
|
||||
av_free_packet(&pkt);
|
||||
av_frame_free(&fr);
|
||||
avcodec_close(ctx);
|
||||
avformat_close_input(&fmt_ctx);
|
||||
avcodec_free_context(&ctx);
|
||||
av_freep(&byte_buffer);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc < 2)
|
||||
{
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect input\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
av_register_all();
|
||||
|
||||
if (video_decode_example(argv[1]) != 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
278
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-seek-test.c
Normal file
278
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/api/api-seek-test.c
Normal file
@@ -0,0 +1,278 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Ludmila Glinskih
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Seek test.
|
||||
*/
|
||||
|
||||
#include "libavutil/adler32.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavformat/avformat.h"
|
||||
#include "libavutil/imgutils.h"
|
||||
|
||||
int64_t *pts_array;
|
||||
int64_t *crc_array;
|
||||
int size_of_array;
|
||||
int number_of_elements;
|
||||
|
||||
static int add_crc_to_array(int64_t crc, int64_t pts)
|
||||
{
|
||||
if (size_of_array <= number_of_elements) {
|
||||
if (size_of_array == 0)
|
||||
size_of_array = 10;
|
||||
size_of_array *= 2;
|
||||
crc_array = av_realloc(crc_array, size_of_array * sizeof(int64_t));
|
||||
pts_array = av_realloc(pts_array, size_of_array * sizeof(int64_t));
|
||||
if ((crc_array == NULL) || (pts_array == NULL)) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate array to store crcs\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
}
|
||||
crc_array[number_of_elements] = crc;
|
||||
pts_array[number_of_elements] = pts;
|
||||
number_of_elements++;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int compare_crc_in_array(int64_t crc, int64_t pts)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < number_of_elements; i++) {
|
||||
if (pts_array[i] == pts) {
|
||||
if (crc_array[i] == crc) {
|
||||
printf("Comparing 0x%08lx %"PRId64" %d is OK\n", crc, pts, i);
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect crc of a frame after seeking\n");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect pts of a frame after seeking\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int compute_crc_of_packets(AVFormatContext *fmt_ctx, int video_stream,
|
||||
AVCodecContext *ctx, AVFrame *fr, uint64_t ts_start, uint64_t ts_end, int no_seeking)
|
||||
{
|
||||
int number_of_written_bytes;
|
||||
int got_frame = 0;
|
||||
int result;
|
||||
int end_of_stream = 0;
|
||||
int byte_buffer_size;
|
||||
uint8_t *byte_buffer;
|
||||
int64_t crc;
|
||||
AVPacket pkt;
|
||||
|
||||
byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 16);
|
||||
byte_buffer = av_malloc(byte_buffer_size);
|
||||
if (!byte_buffer) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate buffer\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
if (!no_seeking) {
|
||||
result = av_seek_frame(fmt_ctx, video_stream, ts_start, AVSEEK_FLAG_ANY);
|
||||
printf("Seeking to %"PRId64", computing crc for frames with pts < %"PRId64"\n", ts_start, ts_end);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error in seeking\n");
|
||||
return result;
|
||||
}
|
||||
avcodec_flush_buffers(ctx);
|
||||
}
|
||||
|
||||
av_init_packet(&pkt);
|
||||
do {
|
||||
if (!end_of_stream)
|
||||
if (av_read_frame(fmt_ctx, &pkt) < 0)
|
||||
end_of_stream = 1;
|
||||
if (end_of_stream) {
|
||||
pkt.data = NULL;
|
||||
pkt.size = 0;
|
||||
}
|
||||
if (pkt.stream_index == video_stream || end_of_stream) {
|
||||
got_frame = 0;
|
||||
if ((pkt.pts == AV_NOPTS_VALUE) && (!end_of_stream)) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error: frames doesn't have pts values\n");
|
||||
return -1;
|
||||
}
|
||||
result = avcodec_decode_video2(ctx, fr, &got_frame, &pkt);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error decoding frame\n");
|
||||
return result;
|
||||
}
|
||||
if (got_frame) {
|
||||
number_of_written_bytes = av_image_copy_to_buffer(byte_buffer, byte_buffer_size,
|
||||
(const uint8_t* const *)fr->data, (const int*) fr->linesize,
|
||||
ctx->pix_fmt, ctx->width, ctx->height, 1);
|
||||
if (number_of_written_bytes < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't copy image to buffer\n");
|
||||
return number_of_written_bytes;
|
||||
}
|
||||
if ((fr->pkt_pts > ts_end) && (!no_seeking))
|
||||
break;
|
||||
crc = av_adler32_update(0, (const uint8_t*)byte_buffer, number_of_written_bytes);
|
||||
printf("%10"PRId64", 0x%08lx\n", fr->pkt_pts, crc);
|
||||
if (no_seeking) {
|
||||
if (add_crc_to_array(crc, fr->pkt_pts) < 0)
|
||||
return -1;
|
||||
}
|
||||
else {
|
||||
if (compare_crc_in_array(crc, fr->pkt_pts) < 0)
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
av_free_packet(&pkt);
|
||||
av_init_packet(&pkt);
|
||||
} while ((!end_of_stream || got_frame) && (no_seeking || (fr->pkt_pts + av_frame_get_pkt_duration(fr) <= ts_end)));
|
||||
|
||||
av_free_packet(&pkt);
|
||||
av_freep(&byte_buffer);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static long int read_seek_range(const char *string_with_number)
|
||||
{
|
||||
long int number;
|
||||
char *end_of_string = NULL;
|
||||
number = strtol(string_with_number, &end_of_string, 10);
|
||||
if ((strlen(string_with_number) != end_of_string - string_with_number) || (number < 0)) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect input ranges of seeking\n");
|
||||
return -1;
|
||||
}
|
||||
else if ((number == LONG_MAX) || (number == LONG_MIN)) {
|
||||
if (errno == ERANGE) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect input ranges of seeking\n");
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
return number;
|
||||
}
|
||||
|
||||
static int seek_test(const char *input_filename, const char *start, const char *end)
|
||||
{
|
||||
AVCodec *codec = NULL;
|
||||
AVCodecContext *origin_ctx = NULL, *ctx= NULL;
|
||||
AVFrame *fr = NULL;
|
||||
AVFormatContext *fmt_ctx = NULL;
|
||||
int video_stream;
|
||||
int result;
|
||||
int i, j;
|
||||
long int start_ts, end_ts;
|
||||
|
||||
size_of_array = 0;
|
||||
number_of_elements = 0;
|
||||
crc_array = pts_array = NULL;
|
||||
|
||||
result = avformat_open_input(&fmt_ctx, input_filename, NULL, NULL);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't open file\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
result = avformat_find_stream_info(fmt_ctx, NULL);
|
||||
if (result < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't get stream info\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
start_ts = read_seek_range(start);
|
||||
end_ts = read_seek_range(end);
|
||||
if ((start_ts < 0) || (end_ts < 0))
|
||||
return -1;
|
||||
|
||||
//TODO: add ability to work with audio format
|
||||
video_stream = av_find_best_stream(fmt_ctx, AVMEDIA_TYPE_VIDEO, -1, -1, NULL, 0);
|
||||
if (video_stream < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find video stream in input file\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
origin_ctx = fmt_ctx->streams[video_stream]->codec;
|
||||
|
||||
codec = avcodec_find_decoder(origin_ctx->codec_id);
|
||||
if (!codec) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't find decoder\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
ctx = avcodec_alloc_context3(codec);
|
||||
if (!ctx) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate decoder context\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
result = avcodec_copy_context(ctx, origin_ctx);
|
||||
if (result) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't copy decoder context\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
result = avcodec_open2(ctx, codec, NULL);
|
||||
if (result < 0) {
|
||||
av_log(ctx, AV_LOG_ERROR, "Can't open decoder\n");
|
||||
return result;
|
||||
}
|
||||
|
||||
fr = av_frame_alloc();
|
||||
if (!fr) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Can't allocate frame\n");
|
||||
return AVERROR(ENOMEM);
|
||||
}
|
||||
|
||||
result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, fr, i, j, 1);
|
||||
if (result != 0)
|
||||
return -1;
|
||||
|
||||
for (i = start_ts; i < end_ts; i += 100) {
|
||||
for (j = i + 100; j < end_ts; j += 100)
|
||||
result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, fr, i, j, 0);
|
||||
if (result != 0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
av_freep(&crc_array);
|
||||
av_freep(&pts_array);
|
||||
av_frame_free(&fr);
|
||||
avcodec_close(ctx);
|
||||
avformat_close_input(&fmt_ctx);
|
||||
avcodec_free_context(&ctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc < 4) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Incorrect input\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
av_register_all();
|
||||
|
||||
if (seek_test(argv[1], argv[2], argv[3]) != 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
248
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/audiogen.c
Normal file
248
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/audiogen.c
Normal file
@@ -0,0 +1,248 @@
|
||||
/*
|
||||
* Generate a synthetic stereo sound.
|
||||
* NOTE: No floats are used to guarantee bitexact output.
|
||||
*
|
||||
* Copyright (c) 2002 Fabrice Bellard
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#define MAX_CHANNELS 8
|
||||
|
||||
static unsigned int myrnd(unsigned int *seed_ptr, int n)
|
||||
{
|
||||
unsigned int seed, val;
|
||||
|
||||
seed = *seed_ptr;
|
||||
seed = (seed * 314159) + 1;
|
||||
if (n == 256) {
|
||||
val = seed >> 24;
|
||||
} else {
|
||||
val = seed % n;
|
||||
}
|
||||
*seed_ptr = seed;
|
||||
return val;
|
||||
}
|
||||
|
||||
#define FRAC_BITS 16
|
||||
#define FRAC_ONE (1 << FRAC_BITS)
|
||||
|
||||
#define COS_TABLE_BITS 7
|
||||
|
||||
/* integer cosine */
|
||||
static const unsigned short cos_table[(1 << COS_TABLE_BITS) + 2] = {
|
||||
0x8000, 0x7ffe, 0x7ff6, 0x7fea, 0x7fd9, 0x7fc2, 0x7fa7, 0x7f87,
|
||||
0x7f62, 0x7f38, 0x7f0a, 0x7ed6, 0x7e9d, 0x7e60, 0x7e1e, 0x7dd6,
|
||||
0x7d8a, 0x7d3a, 0x7ce4, 0x7c89, 0x7c2a, 0x7bc6, 0x7b5d, 0x7aef,
|
||||
0x7a7d, 0x7a06, 0x798a, 0x790a, 0x7885, 0x77fb, 0x776c, 0x76d9,
|
||||
0x7642, 0x75a6, 0x7505, 0x7460, 0x73b6, 0x7308, 0x7255, 0x719e,
|
||||
0x70e3, 0x7023, 0x6f5f, 0x6e97, 0x6dca, 0x6cf9, 0x6c24, 0x6b4b,
|
||||
0x6a6e, 0x698c, 0x68a7, 0x67bd, 0x66d0, 0x65de, 0x64e9, 0x63ef,
|
||||
0x62f2, 0x61f1, 0x60ec, 0x5fe4, 0x5ed7, 0x5dc8, 0x5cb4, 0x5b9d,
|
||||
0x5a82, 0x5964, 0x5843, 0x571e, 0x55f6, 0x54ca, 0x539b, 0x5269,
|
||||
0x5134, 0x4ffb, 0x4ec0, 0x4d81, 0x4c40, 0x4afb, 0x49b4, 0x486a,
|
||||
0x471d, 0x45cd, 0x447b, 0x4326, 0x41ce, 0x4074, 0x3f17, 0x3db8,
|
||||
0x3c57, 0x3af3, 0x398d, 0x3825, 0x36ba, 0x354e, 0x33df, 0x326e,
|
||||
0x30fc, 0x2f87, 0x2e11, 0x2c99, 0x2b1f, 0x29a4, 0x2827, 0x26a8,
|
||||
0x2528, 0x23a7, 0x2224, 0x209f, 0x1f1a, 0x1d93, 0x1c0c, 0x1a83,
|
||||
0x18f9, 0x176e, 0x15e2, 0x1455, 0x12c8, 0x113a, 0x0fab, 0x0e1c,
|
||||
0x0c8c, 0x0afb, 0x096b, 0x07d9, 0x0648, 0x04b6, 0x0324, 0x0192,
|
||||
0x0000, 0x0000,
|
||||
};
|
||||
|
||||
#define CSHIFT (FRAC_BITS - COS_TABLE_BITS - 2)
|
||||
|
||||
static int int_cos(int a)
|
||||
{
|
||||
int neg, v, f;
|
||||
const unsigned short *p;
|
||||
|
||||
a = a & (FRAC_ONE - 1); /* modulo 2 * pi */
|
||||
if (a >= (FRAC_ONE / 2))
|
||||
a = FRAC_ONE - a;
|
||||
neg = 0;
|
||||
if (a > (FRAC_ONE / 4)) {
|
||||
neg = -1;
|
||||
a = (FRAC_ONE / 2) - a;
|
||||
}
|
||||
p = cos_table + (a >> CSHIFT);
|
||||
/* linear interpolation */
|
||||
f = a & ((1 << CSHIFT) - 1);
|
||||
v = p[0] + (((p[1] - p[0]) * f + (1 << (CSHIFT - 1))) >> CSHIFT);
|
||||
v = (v ^ neg) - neg;
|
||||
v = v << (FRAC_BITS - 15);
|
||||
return v;
|
||||
}
|
||||
|
||||
FILE *outfile;
|
||||
|
||||
static void put16(int16_t v)
|
||||
{
|
||||
fputc( v & 0xff, outfile);
|
||||
fputc((v >> 8) & 0xff, outfile);
|
||||
}
|
||||
|
||||
static void put32(uint32_t v)
|
||||
{
|
||||
fputc( v & 0xff, outfile);
|
||||
fputc((v >> 8) & 0xff, outfile);
|
||||
fputc((v >> 16) & 0xff, outfile);
|
||||
fputc((v >> 24) & 0xff, outfile);
|
||||
}
|
||||
|
||||
#define HEADER_SIZE 46
|
||||
#define FMT_SIZE 18
|
||||
#define SAMPLE_SIZE 2
|
||||
#define WFORMAT_PCM 0x0001
|
||||
|
||||
static void put_wav_header(int sample_rate, int channels, int nb_samples)
|
||||
{
|
||||
int block_align = SAMPLE_SIZE * channels;
|
||||
int data_size = block_align * nb_samples;
|
||||
|
||||
fputs("RIFF", outfile);
|
||||
put32(HEADER_SIZE + data_size);
|
||||
fputs("WAVEfmt ", outfile);
|
||||
put32(FMT_SIZE);
|
||||
put16(WFORMAT_PCM);
|
||||
put16(channels);
|
||||
put32(sample_rate);
|
||||
put32(block_align * sample_rate);
|
||||
put16(block_align);
|
||||
put16(SAMPLE_SIZE * 8);
|
||||
put16(0);
|
||||
fputs("data", outfile);
|
||||
put32(data_size);
|
||||
}
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int i, a, v, j, f, amp, ampa;
|
||||
unsigned int seed = 1;
|
||||
int tabf1[MAX_CHANNELS], tabf2[MAX_CHANNELS];
|
||||
int taba[MAX_CHANNELS];
|
||||
int sample_rate = 44100;
|
||||
int nb_channels = 2;
|
||||
char *ext;
|
||||
|
||||
if (argc < 2 || argc > 5) {
|
||||
printf("usage: %s file [<sample rate> [<channels>] [<random seed>]]\n"
|
||||
"generate a test raw 16 bit audio stream\n"
|
||||
"If the file extension is .wav a WAVE header will be added.\n"
|
||||
"default: 44100 Hz stereo\n", argv[0]);
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (argc > 2) {
|
||||
sample_rate = atoi(argv[2]);
|
||||
if (sample_rate <= 0) {
|
||||
fprintf(stderr, "invalid sample rate: %d\n", sample_rate);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (argc > 3) {
|
||||
nb_channels = atoi(argv[3]);
|
||||
if (nb_channels < 1 || nb_channels > MAX_CHANNELS) {
|
||||
fprintf(stderr, "invalid number of channels: %d\n", nb_channels);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
if (argc > 4)
|
||||
seed = atoi(argv[4]);
|
||||
|
||||
outfile = fopen(argv[1], "wb");
|
||||
if (!outfile) {
|
||||
perror(argv[1]);
|
||||
return 1;
|
||||
}
|
||||
|
||||
if ((ext = strrchr(argv[1], '.')) && !strcmp(ext, ".wav"))
|
||||
put_wav_header(sample_rate, nb_channels, 6 * sample_rate);
|
||||
|
||||
/* 1 second of single freq sine at 1000 Hz */
|
||||
a = 0;
|
||||
for (i = 0; i < 1 * sample_rate; i++) {
|
||||
v = (int_cos(a) * 10000) >> FRAC_BITS;
|
||||
for (j = 0; j < nb_channels; j++)
|
||||
put16(v);
|
||||
a += (1000 * FRAC_ONE) / sample_rate;
|
||||
}
|
||||
|
||||
/* 1 second of varying frequency between 100 and 10000 Hz */
|
||||
a = 0;
|
||||
for (i = 0; i < 1 * sample_rate; i++) {
|
||||
v = (int_cos(a) * 10000) >> FRAC_BITS;
|
||||
for (j = 0; j < nb_channels; j++)
|
||||
put16(v);
|
||||
f = 100 + (((10000 - 100) * i) / sample_rate);
|
||||
a += (f * FRAC_ONE) / sample_rate;
|
||||
}
|
||||
|
||||
/* 0.5 second of low amplitude white noise */
|
||||
for (i = 0; i < sample_rate / 2; i++) {
|
||||
v = myrnd(&seed, 20000) - 10000;
|
||||
for (j = 0; j < nb_channels; j++)
|
||||
put16(v);
|
||||
}
|
||||
|
||||
/* 0.5 second of high amplitude white noise */
|
||||
for (i = 0; i < sample_rate / 2; i++) {
|
||||
v = myrnd(&seed, 65535) - 32768;
|
||||
for (j = 0; j < nb_channels; j++)
|
||||
put16(v);
|
||||
}
|
||||
|
||||
/* 1 second of unrelated ramps for each channel */
|
||||
for (j = 0; j < nb_channels; j++) {
|
||||
taba[j] = 0;
|
||||
tabf1[j] = 100 + myrnd(&seed, 5000);
|
||||
tabf2[j] = 100 + myrnd(&seed, 5000);
|
||||
}
|
||||
for (i = 0; i < 1 * sample_rate; i++) {
|
||||
for (j = 0; j < nb_channels; j++) {
|
||||
v = (int_cos(taba[j]) * 10000) >> FRAC_BITS;
|
||||
put16(v);
|
||||
f = tabf1[j] + (((tabf2[j] - tabf1[j]) * i) / sample_rate);
|
||||
taba[j] += (f * FRAC_ONE) / sample_rate;
|
||||
}
|
||||
}
|
||||
|
||||
/* 2 seconds of 500 Hz with varying volume */
|
||||
a = 0;
|
||||
ampa = 0;
|
||||
for (i = 0; i < 2 * sample_rate; i++) {
|
||||
for (j = 0; j < nb_channels; j++) {
|
||||
amp = ((FRAC_ONE + int_cos(ampa)) * 5000) >> FRAC_BITS;
|
||||
if (j & 1)
|
||||
amp = 10000 - amp;
|
||||
v = (int_cos(a) * amp) >> FRAC_BITS;
|
||||
put16(v);
|
||||
a += (500 * FRAC_ONE) / sample_rate;
|
||||
ampa += (2 * FRAC_ONE) / sample_rate;
|
||||
}
|
||||
}
|
||||
|
||||
fclose(outfile);
|
||||
return 0;
|
||||
}
|
54
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/base64.c
Normal file
54
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/base64.c
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with FFmpeg; if not, write to the Free Software
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
/*
|
||||
* Based on libavutil/base64.c
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void)
|
||||
{
|
||||
static const char b64[] =
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||
unsigned i_bits = 0;
|
||||
int i_shift = 0;
|
||||
int out_len = 0;
|
||||
int in;
|
||||
|
||||
#define putb64() \
|
||||
do { \
|
||||
putchar(b64[(i_bits << 6 >> i_shift) & 0x3f]); \
|
||||
out_len++; \
|
||||
i_shift -= 6; \
|
||||
} while (0)
|
||||
|
||||
while ((in = getchar()) != EOF) {
|
||||
i_bits = (i_bits << 8) + in;
|
||||
i_shift += 8;
|
||||
while (i_shift > 6)
|
||||
putb64();
|
||||
}
|
||||
while (i_shift > 0)
|
||||
putb64();
|
||||
while (out_len++ & 3)
|
||||
putchar('=');
|
||||
putchar('\n');
|
||||
|
||||
return 0;
|
||||
}
|
@@ -0,0 +1,34 @@
|
||||
# libavcodec tests
|
||||
AVCODECOBJS-$(CONFIG_BSWAPDSP) += bswapdsp.o
|
||||
AVCODECOBJS-$(CONFIG_H264PRED) += h264pred.o
|
||||
AVCODECOBJS-$(CONFIG_H264QPEL) += h264qpel.o
|
||||
|
||||
CHECKASMOBJS-$(CONFIG_AVCODEC) += $(AVCODECOBJS-yes)
|
||||
|
||||
|
||||
-include $(SRC_PATH)/tests/checkasm/$(ARCH)/Makefile
|
||||
|
||||
CHECKASMOBJS += $(CHECKASMOBJS-yes) checkasm.o
|
||||
CHECKASMOBJS := $(sort $(CHECKASMOBJS:%=tests/checkasm/%))
|
||||
|
||||
-include $(CHECKASMOBJS:.o=.d)
|
||||
|
||||
CHECKASMDIRS := $(sort $(dir $(CHECKASMOBJS)))
|
||||
$(CHECKASMOBJS): | $(CHECKASMDIRS)
|
||||
OBJDIRS += $(CHECKASMDIRS)
|
||||
|
||||
tests/checkasm/checkasm.o: CFLAGS += -Umain
|
||||
|
||||
CHECKASM := tests/checkasm/checkasm$(EXESUF)
|
||||
|
||||
$(CHECKASM): $(EXEOBJS) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS)
|
||||
$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $(CHECKASMOBJS) $(FF_STATIC_DEP_LIBS) $(EXTRALIBS)
|
||||
|
||||
checkasm: $(CHECKASM)
|
||||
|
||||
clean:: checkasmclean
|
||||
|
||||
checkasmclean:
|
||||
$(RM) $(CHECKASM) $(CLEANSUFFIXES:%=tests/checkasm/%) $(CLEANSUFFIXES:%=tests/checkasm/$(ARCH)/%)
|
||||
|
||||
.PHONY: checkasm
|
@@ -0,0 +1,76 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Henrik Gramner
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "checkasm.h"
|
||||
#include "libavcodec/bswapdsp.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
#define BUF_SIZE 512
|
||||
|
||||
#define randomize_buffers() \
|
||||
do { \
|
||||
int i; \
|
||||
for (i = 0; i < BUF_SIZE; i += 4) { \
|
||||
uint32_t r = rnd(); \
|
||||
AV_WN32A(src0 + i, r); \
|
||||
AV_WN32A(src1 + i, r); \
|
||||
r = rnd(); \
|
||||
AV_WN32A(dst0 + i, r); \
|
||||
AV_WN32A(dst1 + i, r); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define check_bswap(type) \
|
||||
do { \
|
||||
int w; \
|
||||
declare_func(void, type *dst, const type *src, int w); \
|
||||
\
|
||||
for (w = 0; w < BUF_SIZE / sizeof(type); w++) { \
|
||||
int offset = (BUF_SIZE / sizeof(type) - w) & 15; /* Test various alignments */ \
|
||||
randomize_buffers(); \
|
||||
call_ref((type *)dst0 + offset, (type *)src0 + offset, w); \
|
||||
call_new((type *)dst1 + offset, (type *)src1 + offset, w); \
|
||||
if (memcmp(src0, src1, BUF_SIZE) || memcmp(dst0, dst1, BUF_SIZE)) \
|
||||
fail(); \
|
||||
bench_new((type *)dst1 + offset, (type *)src1 + offset, w); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
void checkasm_check_bswapdsp(void)
|
||||
{
|
||||
LOCAL_ALIGNED_16(uint8_t, src0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, src1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, dst1, [BUF_SIZE]);
|
||||
BswapDSPContext h;
|
||||
|
||||
ff_bswapdsp_init(&h);
|
||||
|
||||
if (check_func(h.bswap_buf, "bswap_buf"))
|
||||
check_bswap(uint32_t);
|
||||
|
||||
if (check_func(h.bswap16_buf, "bswap16_buf"))
|
||||
check_bswap(uint16_t);
|
||||
|
||||
report("bswap");
|
||||
}
|
503
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/checkasm/checkasm.c
Normal file
503
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/checkasm/checkasm.c
Normal file
@@ -0,0 +1,503 @@
|
||||
/*
|
||||
* Assembly testing and benchmarking tool
|
||||
* Copyright (c) 2015 Henrik Gramner
|
||||
* Copyright (c) 2008 Loren Merritt
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "checkasm.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/cpu.h"
|
||||
#include "libavutil/random_seed.h"
|
||||
|
||||
#if HAVE_IO_H
|
||||
#include <io.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_SETCONSOLETEXTATTRIBUTE
|
||||
#include <windows.h>
|
||||
#define COLOR_RED FOREGROUND_RED
|
||||
#define COLOR_GREEN FOREGROUND_GREEN
|
||||
#define COLOR_YELLOW (FOREGROUND_RED|FOREGROUND_GREEN)
|
||||
#else
|
||||
#define COLOR_RED 1
|
||||
#define COLOR_GREEN 2
|
||||
#define COLOR_YELLOW 3
|
||||
#endif
|
||||
|
||||
#if HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#if !HAVE_ISATTY
|
||||
#define isatty(fd) 1
|
||||
#endif
|
||||
|
||||
/* List of tests to invoke */
|
||||
static const struct {
|
||||
const char *name;
|
||||
void (*func)(void);
|
||||
} tests[] = {
|
||||
#if CONFIG_BSWAPDSP
|
||||
{ "bswapdsp", checkasm_check_bswapdsp },
|
||||
#endif
|
||||
#if CONFIG_H264PRED
|
||||
{ "h264pred", checkasm_check_h264pred },
|
||||
#endif
|
||||
#if CONFIG_H264QPEL
|
||||
{ "h264qpel", checkasm_check_h264qpel },
|
||||
#endif
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
/* List of cpu flags to check */
|
||||
static const struct {
|
||||
const char *name;
|
||||
const char *suffix;
|
||||
int flag;
|
||||
} cpus[] = {
|
||||
#if ARCH_AARCH64
|
||||
{ "ARMV8", "armv8", AV_CPU_FLAG_ARMV8 },
|
||||
{ "NEON", "neon", AV_CPU_FLAG_NEON },
|
||||
#elif ARCH_ARM
|
||||
{ "ARMV5TE", "armv5te", AV_CPU_FLAG_ARMV5TE },
|
||||
{ "ARMV6", "armv6", AV_CPU_FLAG_ARMV6 },
|
||||
{ "ARMV6T2", "armv6t2", AV_CPU_FLAG_ARMV6T2 },
|
||||
{ "VFP", "vfp", AV_CPU_FLAG_VFP },
|
||||
{ "VFPV3", "vfp3", AV_CPU_FLAG_VFPV3 },
|
||||
{ "NEON", "neon", AV_CPU_FLAG_NEON },
|
||||
#elif ARCH_PPC
|
||||
{ "ALTIVEC", "altivec", AV_CPU_FLAG_ALTIVEC },
|
||||
{ "VSX", "vsx", AV_CPU_FLAG_VSX },
|
||||
{ "POWER8", "power8", AV_CPU_FLAG_POWER8 },
|
||||
#elif ARCH_X86
|
||||
{ "MMX", "mmx", AV_CPU_FLAG_MMX|AV_CPU_FLAG_CMOV },
|
||||
{ "MMXEXT", "mmxext", AV_CPU_FLAG_MMXEXT },
|
||||
{ "3DNOW", "3dnow", AV_CPU_FLAG_3DNOW },
|
||||
{ "3DNOWEXT", "3dnowext", AV_CPU_FLAG_3DNOWEXT },
|
||||
{ "SSE", "sse", AV_CPU_FLAG_SSE },
|
||||
{ "SSE2", "sse2", AV_CPU_FLAG_SSE2|AV_CPU_FLAG_SSE2SLOW },
|
||||
{ "SSE3", "sse3", AV_CPU_FLAG_SSE3|AV_CPU_FLAG_SSE3SLOW },
|
||||
{ "SSSE3", "ssse3", AV_CPU_FLAG_SSSE3|AV_CPU_FLAG_ATOM },
|
||||
{ "SSE4.1", "sse4", AV_CPU_FLAG_SSE4 },
|
||||
{ "SSE4.2", "sse42", AV_CPU_FLAG_SSE42 },
|
||||
{ "AVX", "avx", AV_CPU_FLAG_AVX },
|
||||
{ "XOP", "xop", AV_CPU_FLAG_XOP },
|
||||
{ "FMA3", "fma3", AV_CPU_FLAG_FMA3 },
|
||||
{ "FMA4", "fma4", AV_CPU_FLAG_FMA4 },
|
||||
{ "AVX2", "avx2", AV_CPU_FLAG_AVX2 },
|
||||
#endif
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
typedef struct CheckasmFuncVersion {
|
||||
struct CheckasmFuncVersion *next;
|
||||
void *func;
|
||||
int ok;
|
||||
int cpu;
|
||||
int iterations;
|
||||
uint64_t cycles;
|
||||
} CheckasmFuncVersion;
|
||||
|
||||
/* Binary search tree node */
|
||||
typedef struct CheckasmFunc {
|
||||
struct CheckasmFunc *child[2];
|
||||
CheckasmFuncVersion versions;
|
||||
char name[1];
|
||||
} CheckasmFunc;
|
||||
|
||||
/* Internal state */
|
||||
static struct {
|
||||
CheckasmFunc *funcs;
|
||||
CheckasmFunc *current_func;
|
||||
CheckasmFuncVersion *current_func_ver;
|
||||
const char *current_test_name;
|
||||
const char *bench_pattern;
|
||||
int bench_pattern_len;
|
||||
int num_checked;
|
||||
int num_failed;
|
||||
int nop_time;
|
||||
int cpu_flag;
|
||||
const char *cpu_flag_name;
|
||||
} state;
|
||||
|
||||
/* PRNG state */
|
||||
AVLFG checkasm_lfg;
|
||||
|
||||
/* Print colored text to stderr if the terminal supports it */
|
||||
static void color_printf(int color, const char *fmt, ...)
|
||||
{
|
||||
static int use_color = -1;
|
||||
va_list arg;
|
||||
|
||||
#if HAVE_SETCONSOLETEXTATTRIBUTE
|
||||
static HANDLE con;
|
||||
static WORD org_attributes;
|
||||
|
||||
if (use_color < 0) {
|
||||
CONSOLE_SCREEN_BUFFER_INFO con_info;
|
||||
con = GetStdHandle(STD_ERROR_HANDLE);
|
||||
if (con && con != INVALID_HANDLE_VALUE && GetConsoleScreenBufferInfo(con, &con_info)) {
|
||||
org_attributes = con_info.wAttributes;
|
||||
use_color = 1;
|
||||
} else
|
||||
use_color = 0;
|
||||
}
|
||||
if (use_color)
|
||||
SetConsoleTextAttribute(con, (org_attributes & 0xfff0) | (color & 0x0f));
|
||||
#else
|
||||
if (use_color < 0) {
|
||||
const char *term = getenv("TERM");
|
||||
use_color = term && strcmp(term, "dumb") && isatty(2);
|
||||
}
|
||||
if (use_color)
|
||||
fprintf(stderr, "\x1b[%d;3%dm", (color & 0x08) >> 3, color & 0x07);
|
||||
#endif
|
||||
|
||||
va_start(arg, fmt);
|
||||
vfprintf(stderr, fmt, arg);
|
||||
va_end(arg);
|
||||
|
||||
if (use_color) {
|
||||
#if HAVE_SETCONSOLETEXTATTRIBUTE
|
||||
SetConsoleTextAttribute(con, org_attributes);
|
||||
#else
|
||||
fprintf(stderr, "\x1b[0m");
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
/* Deallocate a tree */
|
||||
static void destroy_func_tree(CheckasmFunc *f)
|
||||
{
|
||||
if (f) {
|
||||
CheckasmFuncVersion *v = f->versions.next;
|
||||
while (v) {
|
||||
CheckasmFuncVersion *next = v->next;
|
||||
free(v);
|
||||
v = next;
|
||||
}
|
||||
|
||||
destroy_func_tree(f->child[0]);
|
||||
destroy_func_tree(f->child[1]);
|
||||
free(f);
|
||||
}
|
||||
}
|
||||
|
||||
/* Allocate a zero-initialized block, clean up and exit on failure */
|
||||
static void *checkasm_malloc(size_t size)
|
||||
{
|
||||
void *ptr = calloc(1, size);
|
||||
if (!ptr) {
|
||||
fprintf(stderr, "checkasm: malloc failed\n");
|
||||
destroy_func_tree(state.funcs);
|
||||
exit(1);
|
||||
}
|
||||
return ptr;
|
||||
}
|
||||
|
||||
/* Get the suffix of the specified cpu flag */
|
||||
static const char *cpu_suffix(int cpu)
|
||||
{
|
||||
int i = FF_ARRAY_ELEMS(cpus);
|
||||
|
||||
while (--i >= 0)
|
||||
if (cpu & cpus[i].flag)
|
||||
return cpus[i].suffix;
|
||||
|
||||
return "c";
|
||||
}
|
||||
|
||||
#ifdef AV_READ_TIME
|
||||
static int cmp_nop(const void *a, const void *b)
|
||||
{
|
||||
return *(const uint16_t*)a - *(const uint16_t*)b;
|
||||
}
|
||||
|
||||
/* Measure the overhead of the timing code (in decicycles) */
|
||||
static int measure_nop_time(void)
|
||||
{
|
||||
uint16_t nops[10000];
|
||||
int i, nop_sum = 0;
|
||||
|
||||
for (i = 0; i < 10000; i++) {
|
||||
uint64_t t = AV_READ_TIME();
|
||||
nops[i] = AV_READ_TIME() - t;
|
||||
}
|
||||
|
||||
qsort(nops, 10000, sizeof(uint16_t), cmp_nop);
|
||||
for (i = 2500; i < 7500; i++)
|
||||
nop_sum += nops[i];
|
||||
|
||||
return nop_sum / 500;
|
||||
}
|
||||
|
||||
/* Print benchmark results */
|
||||
static void print_benchs(CheckasmFunc *f)
|
||||
{
|
||||
if (f) {
|
||||
print_benchs(f->child[0]);
|
||||
|
||||
/* Only print functions with at least one assembly version */
|
||||
if (f->versions.cpu || f->versions.next) {
|
||||
CheckasmFuncVersion *v = &f->versions;
|
||||
do {
|
||||
if (v->iterations) {
|
||||
int decicycles = (10*v->cycles/v->iterations - state.nop_time) / 4;
|
||||
printf("%s_%s: %d.%d\n", f->name, cpu_suffix(v->cpu), decicycles/10, decicycles%10);
|
||||
}
|
||||
} while ((v = v->next));
|
||||
}
|
||||
|
||||
print_benchs(f->child[1]);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/* ASCIIbetical sort except preserving natural order for numbers */
|
||||
static int cmp_func_names(const char *a, const char *b)
|
||||
{
|
||||
int ascii_diff, digit_diff;
|
||||
|
||||
for (; !(ascii_diff = *a - *b) && *a; a++, b++);
|
||||
for (; av_isdigit(*a) && av_isdigit(*b); a++, b++);
|
||||
|
||||
return (digit_diff = av_isdigit(*a) - av_isdigit(*b)) ? digit_diff : ascii_diff;
|
||||
}
|
||||
|
||||
/* Get a node with the specified name, creating it if it doesn't exist */
|
||||
static CheckasmFunc *get_func(const char *name, int length)
|
||||
{
|
||||
CheckasmFunc *f, **f_ptr = &state.funcs;
|
||||
|
||||
/* Search the tree for a matching node */
|
||||
while ((f = *f_ptr)) {
|
||||
int cmp = cmp_func_names(name, f->name);
|
||||
if (!cmp)
|
||||
return f;
|
||||
|
||||
f_ptr = &f->child[(cmp > 0)];
|
||||
}
|
||||
|
||||
/* Allocate and insert a new node into the tree */
|
||||
f = *f_ptr = checkasm_malloc(sizeof(CheckasmFunc) + length);
|
||||
memcpy(f->name, name, length+1);
|
||||
|
||||
return f;
|
||||
}
|
||||
|
||||
/* Perform tests and benchmarks for the specified cpu flag if supported by the host */
|
||||
static void check_cpu_flag(const char *name, int flag)
|
||||
{
|
||||
int old_cpu_flag = state.cpu_flag;
|
||||
|
||||
flag |= old_cpu_flag;
|
||||
av_set_cpu_flags_mask(flag);
|
||||
state.cpu_flag = av_get_cpu_flags();
|
||||
|
||||
if (!flag || state.cpu_flag != old_cpu_flag) {
|
||||
int i;
|
||||
|
||||
state.cpu_flag_name = name;
|
||||
for (i = 0; tests[i].func; i++) {
|
||||
state.current_test_name = tests[i].name;
|
||||
tests[i].func();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Print the name of the current CPU flag, but only do it once */
|
||||
static void print_cpu_name(void)
|
||||
{
|
||||
if (state.cpu_flag_name) {
|
||||
color_printf(COLOR_YELLOW, "%s:\n", state.cpu_flag_name);
|
||||
state.cpu_flag_name = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
int i, seed, ret = 0;
|
||||
|
||||
if (!tests[0].func || !cpus[0].flag) {
|
||||
fprintf(stderr, "checkasm: no tests to perform\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (argc > 1 && !strncmp(argv[1], "--bench", 7)) {
|
||||
#ifndef AV_READ_TIME
|
||||
fprintf(stderr, "checkasm: --bench is not supported on your system\n");
|
||||
return 1;
|
||||
#endif
|
||||
if (argv[1][7] == '=') {
|
||||
state.bench_pattern = argv[1] + 8;
|
||||
state.bench_pattern_len = strlen(state.bench_pattern);
|
||||
} else
|
||||
state.bench_pattern = "";
|
||||
|
||||
argc--;
|
||||
argv++;
|
||||
}
|
||||
|
||||
seed = (argc > 1) ? atoi(argv[1]) : av_get_random_seed();
|
||||
fprintf(stderr, "checkasm: using random seed %u\n", seed);
|
||||
av_lfg_init(&checkasm_lfg, seed);
|
||||
|
||||
check_cpu_flag(NULL, 0);
|
||||
for (i = 0; cpus[i].flag; i++)
|
||||
check_cpu_flag(cpus[i].name, cpus[i].flag);
|
||||
|
||||
if (state.num_failed) {
|
||||
fprintf(stderr, "checkasm: %d of %d tests have failed\n", state.num_failed, state.num_checked);
|
||||
ret = 1;
|
||||
} else {
|
||||
fprintf(stderr, "checkasm: all %d tests passed\n", state.num_checked);
|
||||
#ifdef AV_READ_TIME
|
||||
if (state.bench_pattern) {
|
||||
state.nop_time = measure_nop_time();
|
||||
printf("nop: %d.%d\n", state.nop_time/10, state.nop_time%10);
|
||||
print_benchs(state.funcs);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
destroy_func_tree(state.funcs);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* Decide whether or not the specified function needs to be tested and
|
||||
* allocate/initialize data structures if needed. Returns a pointer to a
|
||||
* reference function if the function should be tested, otherwise NULL */
|
||||
void *checkasm_check_func(void *func, const char *name, ...)
|
||||
{
|
||||
char name_buf[256];
|
||||
void *ref = func;
|
||||
CheckasmFuncVersion *v;
|
||||
int name_length;
|
||||
va_list arg;
|
||||
|
||||
va_start(arg, name);
|
||||
name_length = vsnprintf(name_buf, sizeof(name_buf), name, arg);
|
||||
va_end(arg);
|
||||
|
||||
if (!func || name_length <= 0 || name_length >= sizeof(name_buf))
|
||||
return NULL;
|
||||
|
||||
state.current_func = get_func(name_buf, name_length);
|
||||
v = &state.current_func->versions;
|
||||
|
||||
if (v->func) {
|
||||
CheckasmFuncVersion *prev;
|
||||
do {
|
||||
/* Only test functions that haven't already been tested */
|
||||
if (v->func == func)
|
||||
return NULL;
|
||||
|
||||
if (v->ok)
|
||||
ref = v->func;
|
||||
|
||||
prev = v;
|
||||
} while ((v = v->next));
|
||||
|
||||
v = prev->next = checkasm_malloc(sizeof(CheckasmFuncVersion));
|
||||
}
|
||||
|
||||
v->func = func;
|
||||
v->ok = 1;
|
||||
v->cpu = state.cpu_flag;
|
||||
state.current_func_ver = v;
|
||||
|
||||
if (state.cpu_flag)
|
||||
state.num_checked++;
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
||||
/* Decide whether or not the current function needs to be benchmarked */
|
||||
int checkasm_bench_func(void)
|
||||
{
|
||||
return !state.num_failed && state.bench_pattern &&
|
||||
!strncmp(state.current_func->name, state.bench_pattern, state.bench_pattern_len);
|
||||
}
|
||||
|
||||
/* Indicate that the current test has failed */
|
||||
void checkasm_fail_func(const char *msg, ...)
|
||||
{
|
||||
if (state.current_func_ver->cpu && state.current_func_ver->ok) {
|
||||
va_list arg;
|
||||
|
||||
print_cpu_name();
|
||||
fprintf(stderr, " %s_%s (", state.current_func->name, cpu_suffix(state.current_func_ver->cpu));
|
||||
va_start(arg, msg);
|
||||
vfprintf(stderr, msg, arg);
|
||||
va_end(arg);
|
||||
fprintf(stderr, ")\n");
|
||||
|
||||
state.current_func_ver->ok = 0;
|
||||
state.num_failed++;
|
||||
}
|
||||
}
|
||||
|
||||
/* Update benchmark results of the current function */
|
||||
void checkasm_update_bench(int iterations, uint64_t cycles)
|
||||
{
|
||||
state.current_func_ver->iterations += iterations;
|
||||
state.current_func_ver->cycles += cycles;
|
||||
}
|
||||
|
||||
/* Print the outcome of all tests performed since the last time this function was called */
|
||||
void checkasm_report(const char *name, ...)
|
||||
{
|
||||
static int prev_checked, prev_failed, max_length;
|
||||
|
||||
if (state.num_checked > prev_checked) {
|
||||
int pad_length = max_length + 4;
|
||||
va_list arg;
|
||||
|
||||
print_cpu_name();
|
||||
pad_length -= fprintf(stderr, " - %s.", state.current_test_name);
|
||||
va_start(arg, name);
|
||||
pad_length -= vfprintf(stderr, name, arg);
|
||||
va_end(arg);
|
||||
fprintf(stderr, "%*c", FFMAX(pad_length, 0) + 2, '[');
|
||||
|
||||
if (state.num_failed == prev_failed)
|
||||
color_printf(COLOR_GREEN, "OK");
|
||||
else
|
||||
color_printf(COLOR_RED, "FAILED");
|
||||
fprintf(stderr, "]\n");
|
||||
|
||||
prev_checked = state.num_checked;
|
||||
prev_failed = state.num_failed;
|
||||
} else if (!state.cpu_flag) {
|
||||
/* Calculate the amount of padding required to make the output vertically aligned */
|
||||
int length = strlen(state.current_test_name);
|
||||
va_list arg;
|
||||
|
||||
va_start(arg, name);
|
||||
length += vsnprintf(NULL, 0, name, arg);
|
||||
va_end(arg);
|
||||
|
||||
if (length > max_length)
|
||||
max_length = length;
|
||||
}
|
||||
}
|
123
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/checkasm/checkasm.h
Normal file
123
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/checkasm/checkasm.h
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Assembly testing and benchmarking tool
|
||||
* Copyright (c) 2015 Henrik Gramner
|
||||
* Copyright (c) 2008 Loren Merritt
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef CHECKASM_H
|
||||
#define CHECKASM_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "config.h"
|
||||
#include "libavutil/avstring.h"
|
||||
#include "libavutil/lfg.h"
|
||||
#include "libavutil/timer.h"
|
||||
|
||||
void checkasm_check_bswapdsp(void);
|
||||
void checkasm_check_h264pred(void);
|
||||
void checkasm_check_h264qpel(void);
|
||||
|
||||
void *checkasm_check_func(void *func, const char *name, ...) av_printf_format(2, 3);
|
||||
int checkasm_bench_func(void);
|
||||
void checkasm_fail_func(const char *msg, ...) av_printf_format(1, 2);
|
||||
void checkasm_update_bench(int iterations, uint64_t cycles);
|
||||
void checkasm_report(const char *name, ...) av_printf_format(1, 2);
|
||||
|
||||
extern AVLFG checkasm_lfg;
|
||||
#define rnd() av_lfg_get(&checkasm_lfg)
|
||||
|
||||
static av_unused void *func_ref, *func_new;
|
||||
|
||||
#define BENCH_RUNS 1000 /* Trade-off between accuracy and speed */
|
||||
|
||||
/* Decide whether or not the specified function needs to be tested */
|
||||
#define check_func(func, ...) (func_ref = checkasm_check_func((func_new = func), __VA_ARGS__))
|
||||
|
||||
/* Declare the function prototype. The first argument is the return value, the remaining
|
||||
* arguments are the function parameters. Naming parameters is optional. */
|
||||
#define declare_func(ret, ...) declare_new(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__)
|
||||
|
||||
/* Indicate that the current test has failed */
|
||||
#define fail() checkasm_fail_func("%s:%d", av_basename(__FILE__), __LINE__)
|
||||
|
||||
/* Print the test outcome */
|
||||
#define report checkasm_report
|
||||
|
||||
/* Call the reference function */
|
||||
#define call_ref(...) ((func_type *)func_ref)(__VA_ARGS__)
|
||||
|
||||
#if ARCH_X86 && HAVE_YASM
|
||||
/* Verifies that clobbered callee-saved registers are properly saved and restored */
|
||||
void checkasm_checked_call(void *func, ...);
|
||||
|
||||
#if ARCH_X86_64
|
||||
/* Evil hack: detect incorrect assumptions that 32-bit ints are zero-extended to 64-bit.
|
||||
* This is done by clobbering the stack with junk around the stack pointer and calling the
|
||||
* assembly function through checked_call() with added dummy arguments which forces all
|
||||
* real arguments to be passed on the stack and not in registers. For 32-bit arguments the
|
||||
* upper half of the 64-bit register locations on the stack will now contain junk which will
|
||||
* cause misbehaving functions to either produce incorrect output or segfault. Note that
|
||||
* even though this works extremely well in practice, it's technically not guaranteed
|
||||
* and false negatives is theoretically possible, but there can never be any false positives.
|
||||
*/
|
||||
void checkasm_stack_clobber(uint64_t clobber, ...);
|
||||
#define declare_new(ret, ...) ret (*checked_call)(void *, int, int, int, int, int, __VA_ARGS__)\
|
||||
= (void *)checkasm_checked_call;
|
||||
#define CLOB (UINT64_C(0xdeadbeefdeadbeef))
|
||||
#define call_new(...) (checkasm_stack_clobber(CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,\
|
||||
CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB,CLOB),\
|
||||
checked_call(func_new, 0, 0, 0, 0, 0, __VA_ARGS__))
|
||||
#elif ARCH_X86_32
|
||||
#define declare_new(ret, ...) ret (*checked_call)(void *, __VA_ARGS__) = (void *)checkasm_checked_call;
|
||||
#define call_new(...) checked_call(func_new, __VA_ARGS__)
|
||||
#endif
|
||||
#else
|
||||
#define declare_new(ret, ...)
|
||||
/* Call the function */
|
||||
#define call_new(...) ((func_type *)func_new)(__VA_ARGS__)
|
||||
#endif
|
||||
|
||||
/* Benchmark the function */
|
||||
#ifdef AV_READ_TIME
|
||||
#define bench_new(...)\
|
||||
do {\
|
||||
if (checkasm_bench_func()) {\
|
||||
func_type *tfunc = func_new;\
|
||||
uint64_t tsum = 0;\
|
||||
int ti, tcount = 0;\
|
||||
for (ti = 0; ti < BENCH_RUNS; ti++) {\
|
||||
uint64_t t = AV_READ_TIME();\
|
||||
tfunc(__VA_ARGS__);\
|
||||
tfunc(__VA_ARGS__);\
|
||||
tfunc(__VA_ARGS__);\
|
||||
tfunc(__VA_ARGS__);\
|
||||
t = AV_READ_TIME() - t;\
|
||||
if (t*tcount <= tsum*4 && ti > 0) {\
|
||||
tsum += t;\
|
||||
tcount++;\
|
||||
}\
|
||||
}\
|
||||
checkasm_update_bench(tcount, tsum);\
|
||||
}\
|
||||
} while (0)
|
||||
#else
|
||||
#define bench_new(...) while(0)
|
||||
#endif
|
||||
|
||||
#endif
|
260
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/checkasm/h264pred.c
Normal file
260
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/checkasm/h264pred.c
Normal file
@@ -0,0 +1,260 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Henrik Gramner
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "checkasm.h"
|
||||
#include "libavcodec/avcodec.h"
|
||||
#include "libavcodec/h264pred.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
static const int codec_ids[4] = { AV_CODEC_ID_H264, AV_CODEC_ID_VP8, AV_CODEC_ID_RV40, AV_CODEC_ID_SVQ3 };
|
||||
|
||||
static const char * const pred4x4_modes[4][15] = {
|
||||
{ /* H264 */
|
||||
[VERT_PRED ] = "vertical",
|
||||
[HOR_PRED ] = "horizontal",
|
||||
[DC_PRED ] = "dc",
|
||||
[DIAG_DOWN_LEFT_PRED ] = "down_left",
|
||||
[DIAG_DOWN_RIGHT_PRED] = "down_right",
|
||||
[VERT_RIGHT_PRED ] = "vertical_right",
|
||||
[HOR_DOWN_PRED ] = "horizontal_right",
|
||||
[VERT_LEFT_PRED ] = "vertical_left",
|
||||
[HOR_UP_PRED ] = "horizontal_up",
|
||||
[LEFT_DC_PRED ] = "left_dc",
|
||||
[TOP_DC_PRED ] = "top_dc",
|
||||
[DC_128_PRED ] = "dc_128",
|
||||
},
|
||||
{ /* VP8 */
|
||||
[VERT_PRED ] = "vertical_vp8",
|
||||
[HOR_PRED ] = "horizontal_vp8",
|
||||
[VERT_LEFT_PRED] = "vertical_left_vp8",
|
||||
[TM_VP8_PRED ] = "tm_vp8",
|
||||
[DC_127_PRED ] = "dc_127_vp8",
|
||||
[DC_129_PRED ] = "dc_129_vp8",
|
||||
},
|
||||
{ /* RV40 */
|
||||
[DIAG_DOWN_LEFT_PRED ] = "down_left_rv40",
|
||||
[VERT_LEFT_PRED ] = "vertical_left_rv40",
|
||||
[HOR_UP_PRED ] = "horizontal_up_rv40",
|
||||
[DIAG_DOWN_LEFT_PRED_RV40_NODOWN] = "down_left_nodown_rv40",
|
||||
[HOR_UP_PRED_RV40_NODOWN ] = "horizontal_up_nodown_rv40",
|
||||
[VERT_LEFT_PRED_RV40_NODOWN ] = "vertical_left_nodown_rv40",
|
||||
},
|
||||
{ /* SVQ3 */
|
||||
[DIAG_DOWN_LEFT_PRED] = "down_left_svq3",
|
||||
},
|
||||
};
|
||||
|
||||
static const char * const pred8x8_modes[4][11] = {
|
||||
{ /* H264 */
|
||||
[DC_PRED8x8 ] = "dc",
|
||||
[HOR_PRED8x8 ] = "horizontal",
|
||||
[VERT_PRED8x8 ] = "vertical",
|
||||
[PLANE_PRED8x8 ] = "plane",
|
||||
[LEFT_DC_PRED8x8 ] = "left_dc",
|
||||
[TOP_DC_PRED8x8 ] = "top_dc",
|
||||
[DC_128_PRED8x8 ] = "dc_128",
|
||||
[ALZHEIMER_DC_L0T_PRED8x8] = "mad_cow_dc_l0t",
|
||||
[ALZHEIMER_DC_0LT_PRED8x8] = "mad_cow_dc_0lt",
|
||||
[ALZHEIMER_DC_L00_PRED8x8] = "mad_cow_dc_l00",
|
||||
[ALZHEIMER_DC_0L0_PRED8x8] = "mad_cow_dc_0l0",
|
||||
},
|
||||
{ /* VP8 */
|
||||
[PLANE_PRED8x8 ] = "tm_vp8",
|
||||
[DC_127_PRED8x8] = "dc_127_vp8",
|
||||
[DC_129_PRED8x8] = "dc_129_vp8",
|
||||
},
|
||||
{ /* RV40 */
|
||||
[DC_PRED8x8 ] = "dc_rv40",
|
||||
[LEFT_DC_PRED8x8] = "left_dc_rv40",
|
||||
[TOP_DC_PRED8x8 ] = "top_dc_rv40",
|
||||
},
|
||||
/* nothing for SVQ3 */
|
||||
};
|
||||
|
||||
static const char * const pred16x16_modes[4][9] = {
|
||||
{ /* H264 */
|
||||
[DC_PRED8x8 ] = "dc",
|
||||
[HOR_PRED8x8 ] = "horizontal",
|
||||
[VERT_PRED8x8 ] = "vertical",
|
||||
[PLANE_PRED8x8 ] = "plane",
|
||||
[LEFT_DC_PRED8x8] = "left_dc",
|
||||
[TOP_DC_PRED8x8 ] = "top_dc",
|
||||
[DC_128_PRED8x8 ] = "dc_128",
|
||||
},
|
||||
{ /* VP8 */
|
||||
[PLANE_PRED8x8 ] = "tm_vp8",
|
||||
[DC_127_PRED8x8] = "dc_127_vp8",
|
||||
[DC_129_PRED8x8] = "dc_129_vp8",
|
||||
},
|
||||
{ /* RV40 */
|
||||
[PLANE_PRED8x8] = "plane_rv40",
|
||||
},
|
||||
{ /* SVQ3 */
|
||||
[PLANE_PRED8x8] = "plane_svq3",
|
||||
},
|
||||
};
|
||||
|
||||
static const uint32_t pixel_mask[3] = { 0xffffffff, 0x01ff01ff, 0x03ff03ff };
|
||||
|
||||
#define SIZEOF_PIXEL ((bit_depth + 7) / 8)
|
||||
#define BUF_SIZE (3 * 16 * 17)
|
||||
|
||||
#define check_pred_func(func, name, mode_name) \
|
||||
(mode_name && ((codec_ids[codec] == AV_CODEC_ID_H264) ? \
|
||||
check_func(func, "pred%s_%s_%d", name, mode_name, bit_depth) : \
|
||||
check_func(func, "pred%s_%s", name, mode_name)))
|
||||
|
||||
#define randomize_buffers() \
|
||||
do { \
|
||||
uint32_t mask = pixel_mask[bit_depth - 8]; \
|
||||
int i; \
|
||||
for (i = 0; i < BUF_SIZE; i += 4) { \
|
||||
uint32_t r = rnd() & mask; \
|
||||
AV_WN32A(buf0 + i, r); \
|
||||
AV_WN32A(buf1 + i, r); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define src0 (buf0 + 4 * 16) /* Offset to allow room for top and left */
|
||||
#define src1 (buf1 + 4 * 16)
|
||||
|
||||
static void check_pred4x4(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,
|
||||
int codec, int chroma_format, int bit_depth)
|
||||
{
|
||||
if (chroma_format == 1) {
|
||||
uint8_t *topright = buf0 + 2*16;
|
||||
int pred_mode;
|
||||
declare_func(void, uint8_t *src, const uint8_t *topright, ptrdiff_t stride);
|
||||
|
||||
for (pred_mode = 0; pred_mode < 15; pred_mode++) {
|
||||
if (check_pred_func(h->pred4x4[pred_mode], "4x4", pred4x4_modes[codec][pred_mode])) {
|
||||
randomize_buffers();
|
||||
call_ref(src0, topright, 12*SIZEOF_PIXEL);
|
||||
call_new(src1, topright, 12*SIZEOF_PIXEL);
|
||||
if (memcmp(buf0, buf1, BUF_SIZE))
|
||||
fail();
|
||||
bench_new(src1, topright, 12*SIZEOF_PIXEL);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void check_pred8x8(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,
|
||||
int codec, int chroma_format, int bit_depth)
|
||||
{
|
||||
int pred_mode;
|
||||
declare_func(void, uint8_t *src, ptrdiff_t stride);
|
||||
|
||||
for (pred_mode = 0; pred_mode < 11; pred_mode++) {
|
||||
if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? "8x16" : "8x8",
|
||||
pred8x8_modes[codec][pred_mode])) {
|
||||
randomize_buffers();
|
||||
call_ref(src0, 24*SIZEOF_PIXEL);
|
||||
call_new(src1, 24*SIZEOF_PIXEL);
|
||||
if (memcmp(buf0, buf1, BUF_SIZE))
|
||||
fail();
|
||||
bench_new(src1, 24*SIZEOF_PIXEL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void check_pred16x16(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,
|
||||
int codec, int chroma_format, int bit_depth)
|
||||
{
|
||||
if (chroma_format == 1) {
|
||||
int pred_mode;
|
||||
declare_func(void, uint8_t *src, ptrdiff_t stride);
|
||||
|
||||
for (pred_mode = 0; pred_mode < 9; pred_mode++) {
|
||||
if (check_pred_func(h->pred16x16[pred_mode], "16x16", pred16x16_modes[codec][pred_mode])) {
|
||||
randomize_buffers();
|
||||
call_ref(src0, 48);
|
||||
call_new(src1, 48);
|
||||
if (memcmp(buf0, buf1, BUF_SIZE))
|
||||
fail();
|
||||
bench_new(src1, 48);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void check_pred8x8l(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,
|
||||
int codec, int chroma_format, int bit_depth)
|
||||
{
|
||||
if (chroma_format == 1 && codec_ids[codec] == AV_CODEC_ID_H264) {
|
||||
int pred_mode;
|
||||
declare_func(void, uint8_t *src, int topleft, int topright, ptrdiff_t stride);
|
||||
|
||||
for (pred_mode = 0; pred_mode < 12; pred_mode++) {
|
||||
if (check_pred_func(h->pred8x8l[pred_mode], "8x8l", pred4x4_modes[codec][pred_mode])) {
|
||||
int neighbors;
|
||||
for (neighbors = 0; neighbors <= 0xc000; neighbors += 0x4000) {
|
||||
int has_topleft = neighbors & 0x8000;
|
||||
int has_topright = neighbors & 0x4000;
|
||||
|
||||
if ((pred_mode == DIAG_DOWN_RIGHT_PRED || pred_mode == VERT_RIGHT_PRED) && !has_topleft)
|
||||
continue; /* Those aren't allowed according to the spec */
|
||||
|
||||
randomize_buffers();
|
||||
call_ref(src0, has_topleft, has_topright, 24*SIZEOF_PIXEL);
|
||||
call_new(src1, has_topleft, has_topright, 24*SIZEOF_PIXEL);
|
||||
if (memcmp(buf0, buf1, BUF_SIZE))
|
||||
fail();
|
||||
bench_new(src1, has_topleft, has_topright, 24*SIZEOF_PIXEL);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* TODO: Add tests for H.264 lossless H/V prediction */
|
||||
|
||||
void checkasm_check_h264pred(void)
|
||||
{
|
||||
static const struct {
|
||||
void (*func)(H264PredContext*, uint8_t*, uint8_t*, int, int, int);
|
||||
const char *name;
|
||||
} tests[] = {
|
||||
{ check_pred4x4, "pred4x4" },
|
||||
{ check_pred8x8, "pred8x8" },
|
||||
{ check_pred16x16, "pred16x16" },
|
||||
{ check_pred8x8l, "pred8x8l" },
|
||||
};
|
||||
|
||||
LOCAL_ALIGNED_16(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, buf1, [BUF_SIZE]);
|
||||
H264PredContext h;
|
||||
int test, codec, chroma_format, bit_depth;
|
||||
|
||||
for (test = 0; test < FF_ARRAY_ELEMS(tests); test++) {
|
||||
for (codec = 0; codec < 4; codec++) {
|
||||
int codec_id = codec_ids[codec];
|
||||
for (bit_depth = 8; bit_depth <= (codec_id == AV_CODEC_ID_H264 ? 10 : 8); bit_depth++)
|
||||
for (chroma_format = 1; chroma_format <= (codec_id == AV_CODEC_ID_H264 ? 2 : 1); chroma_format++) {
|
||||
ff_h264_pred_init(&h, codec_id, bit_depth, chroma_format);
|
||||
tests[test].func(&h, buf0, buf1, codec, chroma_format, bit_depth);
|
||||
}
|
||||
}
|
||||
report("%s", tests[test].name);
|
||||
}
|
||||
}
|
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* Copyright (c) 2015 Henrik Gramner
|
||||
*
|
||||
* This file is part of FFmpeg.
|
||||
*
|
||||
* FFmpeg is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* FFmpeg is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License along
|
||||
* with FFmpeg; if not, write to the Free Software Foundation, Inc.,
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "checkasm.h"
|
||||
#include "libavcodec/h264qpel.h"
|
||||
#include "libavutil/common.h"
|
||||
#include "libavutil/internal.h"
|
||||
#include "libavutil/intreadwrite.h"
|
||||
|
||||
static const uint32_t pixel_mask[3] = { 0xffffffff, 0x01ff01ff, 0x03ff03ff };
|
||||
|
||||
#define SIZEOF_PIXEL ((bit_depth + 7) / 8)
|
||||
#define BUF_SIZE (2 * 16 * (16 + 3 + 4))
|
||||
|
||||
#define randomize_buffers() \
|
||||
do { \
|
||||
uint32_t mask = pixel_mask[bit_depth - 8]; \
|
||||
int k; \
|
||||
for (k = 0; k < BUF_SIZE; k += 4) { \
|
||||
uint32_t r = rnd() & mask; \
|
||||
AV_WN32A(buf0 + k, r); \
|
||||
AV_WN32A(buf1 + k, r); \
|
||||
r = rnd(); \
|
||||
AV_WN32A(dst0 + k, r); \
|
||||
AV_WN32A(dst1 + k, r); \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
#define src0 (buf0 + 3 * 2 * 16) /* h264qpel functions read data from negative src pointer offsets */
|
||||
#define src1 (buf1 + 3 * 2 * 16)
|
||||
|
||||
void checkasm_check_h264qpel(void)
|
||||
{
|
||||
LOCAL_ALIGNED_16(uint8_t, buf0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, buf1, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, dst0, [BUF_SIZE]);
|
||||
LOCAL_ALIGNED_16(uint8_t, dst1, [BUF_SIZE]);
|
||||
H264QpelContext h;
|
||||
int op, bit_depth, i, j;
|
||||
declare_func(void, uint8_t *dst, const uint8_t *src, ptrdiff_t stride);
|
||||
|
||||
for (op = 0; op < 2; op++) {
|
||||
qpel_mc_func (*tab)[16] = op ? h.avg_h264_qpel_pixels_tab : h.put_h264_qpel_pixels_tab;
|
||||
const char *op_name = op ? "avg" : "put";
|
||||
|
||||
for (bit_depth = 8; bit_depth <= 10; bit_depth++) {
|
||||
ff_h264qpel_init(&h, bit_depth);
|
||||
for (i = 0; i < (op ? 3 : 4); i++) {
|
||||
int size = 16 >> i;
|
||||
for (j = 0; j < 16; j++)
|
||||
if (check_func(tab[i][j], "%s_h264_qpel_%d_mc%d%d_%d", op_name, size, j & 3, j >> 2, bit_depth)) {
|
||||
randomize_buffers();
|
||||
call_ref(dst0, src0, size * SIZEOF_PIXEL);
|
||||
call_new(dst1, src1, size * SIZEOF_PIXEL);
|
||||
if (memcmp(buf0, buf1, BUF_SIZE) || memcmp(dst0, dst1, BUF_SIZE))
|
||||
fail();
|
||||
bench_new(dst1, src1, size * SIZEOF_PIXEL);
|
||||
}
|
||||
}
|
||||
}
|
||||
report("%s", op_name);
|
||||
}
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
CHECKASMOBJS-$(HAVE_YASM) += x86/checkasm.o
|
||||
|
||||
tests/checkasm/x86/%.o: tests/checkasm/x86/%.asm
|
||||
$(DEPYASM) $(YASMFLAGS) -I $(<D)/ -M -o $@ $< > $(@:.o=.d)
|
||||
$(YASM) $(YASMFLAGS) -I $(<D)/ -o $@ $<
|
||||
-$(STRIP) $(ASMSTRIPFLAGS) $@
|
@@ -0,0 +1,204 @@
|
||||
;*****************************************************************************
|
||||
;* Assembly testing and benchmarking tool
|
||||
;* Copyright (c) 2008 Loren Merritt
|
||||
;* Copyright (c) 2012 Henrik Gramner
|
||||
;*
|
||||
;* This file is part of FFmpeg.
|
||||
;*
|
||||
;* FFmpeg is free software; you can redistribute it and/or modify
|
||||
;* it under the terms of the GNU General Public License as published by
|
||||
;* the Free Software Foundation; either version 2 of the License, or
|
||||
;* (at your option) any later version.
|
||||
;*
|
||||
;* FFmpeg is distributed in the hope that it will be useful,
|
||||
;* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;* GNU General Public License for more details.
|
||||
;*
|
||||
;* You should have received a copy of the GNU General Public License
|
||||
;* along with this program; if not, write to the Free Software
|
||||
;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
|
||||
;*****************************************************************************
|
||||
|
||||
%define private_prefix checkasm
|
||||
%include "libavutil/x86/x86inc.asm"
|
||||
|
||||
SECTION_RODATA
|
||||
|
||||
error_message: db "failed to preserve register", 0
|
||||
|
||||
%if ARCH_X86_64
|
||||
; just random numbers to reduce the chance of incidental match
|
||||
ALIGN 16
|
||||
x6: dq 0x1a1b2550a612b48c,0x79445c159ce79064
|
||||
x7: dq 0x2eed899d5a28ddcd,0x86b2536fcd8cf636
|
||||
x8: dq 0xb0856806085e7943,0x3f2bf84fc0fcca4e
|
||||
x9: dq 0xacbd382dcf5b8de2,0xd229e1f5b281303f
|
||||
x10: dq 0x71aeaff20b095fd9,0xab63e2e11fa38ed9
|
||||
x11: dq 0x89b0c0765892729a,0x77d410d5c42c882d
|
||||
x12: dq 0xc45ea11a955d8dd5,0x24b3c1d2a024048b
|
||||
x13: dq 0x2e8ec680de14b47c,0xdd7b8919edd42786
|
||||
x14: dq 0x135ce6888fa02cbf,0x11e53e2b2ac655ef
|
||||
x15: dq 0x011ff554472a7a10,0x6de8f4c914c334d5
|
||||
n7: dq 0x21f86d66c8ca00ce
|
||||
n8: dq 0x75b6ba21077c48ad
|
||||
n9: dq 0xed56bb2dcb3c7736
|
||||
n10: dq 0x8bda43d3fd1a7e06
|
||||
n11: dq 0xb64a9c9e5d318408
|
||||
n12: dq 0xdf9a54b303f1d3a3
|
||||
n13: dq 0x4a75479abd64e097
|
||||
n14: dq 0x249214109d5d1c88
|
||||
%endif
|
||||
|
||||
SECTION .text
|
||||
|
||||
cextern fail_func
|
||||
|
||||
; max number of args used by any asm function.
|
||||
; (max_args % 4) must equal 3 for stack alignment
|
||||
%define max_args 15
|
||||
|
||||
%if ARCH_X86_64
|
||||
|
||||
;-----------------------------------------------------------------------------
|
||||
; int checkasm_stack_clobber(uint64_t clobber, ...)
|
||||
;-----------------------------------------------------------------------------
|
||||
cglobal stack_clobber, 1,2
|
||||
; Clobber the stack with junk below the stack pointer
|
||||
%define size (max_args+6)*8
|
||||
SUB rsp, size
|
||||
mov r1, size-8
|
||||
.loop:
|
||||
mov [rsp+r1], r0
|
||||
sub r1, 8
|
||||
jge .loop
|
||||
ADD rsp, size
|
||||
RET
|
||||
|
||||
%if WIN64
|
||||
%assign free_regs 7
|
||||
%else
|
||||
%assign free_regs 9
|
||||
%endif
|
||||
|
||||
;-----------------------------------------------------------------------------
|
||||
; void checkasm_checked_call(void *func, ...)
|
||||
;-----------------------------------------------------------------------------
|
||||
INIT_XMM
|
||||
cglobal checked_call, 2,15,16,max_args*8+8
|
||||
mov r6, r0
|
||||
|
||||
; All arguments have been pushed on the stack instead of registers in order to
|
||||
; test for incorrect assumptions that 32-bit ints are zero-extended to 64-bit.
|
||||
mov r0, r6mp
|
||||
mov r1, r7mp
|
||||
mov r2, r8mp
|
||||
mov r3, r9mp
|
||||
%if UNIX64
|
||||
mov r4, r10mp
|
||||
mov r5, r11mp
|
||||
%assign i 6
|
||||
%rep max_args-6
|
||||
mov r9, [rsp+stack_offset+(i+1)*8]
|
||||
mov [rsp+(i-6)*8], r9
|
||||
%assign i i+1
|
||||
%endrep
|
||||
%else ; WIN64
|
||||
%assign i 4
|
||||
%rep max_args-4
|
||||
mov r9, [rsp+stack_offset+(i+7)*8]
|
||||
mov [rsp+i*8], r9
|
||||
%assign i i+1
|
||||
%endrep
|
||||
|
||||
; Move possible floating-point arguments to the correct registers
|
||||
movq m0, r0
|
||||
movq m1, r1
|
||||
movq m2, r2
|
||||
movq m3, r3
|
||||
|
||||
%assign i 6
|
||||
%rep 16-6
|
||||
mova m %+ i, [x %+ i]
|
||||
%assign i i+1
|
||||
%endrep
|
||||
%endif
|
||||
|
||||
%assign i 14
|
||||
%rep 15-free_regs
|
||||
mov r %+ i, [n %+ i]
|
||||
%assign i i-1
|
||||
%endrep
|
||||
call r6
|
||||
%assign i 14
|
||||
%rep 15-free_regs
|
||||
xor r %+ i, [n %+ i]
|
||||
or r14, r %+ i
|
||||
%assign i i-1
|
||||
%endrep
|
||||
|
||||
%if WIN64
|
||||
%assign i 6
|
||||
%rep 16-6
|
||||
pxor m %+ i, [x %+ i]
|
||||
por m6, m %+ i
|
||||
%assign i i+1
|
||||
%endrep
|
||||
packsswb m6, m6
|
||||
movq r5, m6
|
||||
or r14, r5
|
||||
%endif
|
||||
|
||||
; Call fail_func() with a descriptive message to mark it as a failure
|
||||
; if the called function didn't preserve all callee-saved registers.
|
||||
; Save the return value located in rdx:rax first to prevent clobbering.
|
||||
jz .ok
|
||||
mov r9, rax
|
||||
mov r10, rdx
|
||||
lea r0, [error_message]
|
||||
call fail_func
|
||||
mov rdx, r10
|
||||
mov rax, r9
|
||||
.ok:
|
||||
RET
|
||||
|
||||
%else
|
||||
|
||||
; just random numbers to reduce the chance of incidental match
|
||||
%define n3 dword 0x6549315c
|
||||
%define n4 dword 0xe02f3e23
|
||||
%define n5 dword 0xb78d0d1d
|
||||
%define n6 dword 0x33627ba7
|
||||
|
||||
;-----------------------------------------------------------------------------
|
||||
; void checkasm_checked_call(void *func, ...)
|
||||
;-----------------------------------------------------------------------------
|
||||
cglobal checked_call, 1,7
|
||||
mov r3, n3
|
||||
mov r4, n4
|
||||
mov r5, n5
|
||||
mov r6, n6
|
||||
%rep max_args
|
||||
PUSH dword [esp+20+max_args*4]
|
||||
%endrep
|
||||
call r0
|
||||
xor r3, n3
|
||||
xor r4, n4
|
||||
xor r5, n5
|
||||
xor r6, n6
|
||||
or r3, r4
|
||||
or r5, r6
|
||||
or r3, r5
|
||||
jz .ok
|
||||
mov r3, eax
|
||||
mov r4, edx
|
||||
lea r0, [error_message]
|
||||
mov [esp], r0
|
||||
call fail_func
|
||||
mov edx, r4
|
||||
mov eax, r3
|
||||
.ok:
|
||||
add esp, max_args*4
|
||||
REP_RET
|
||||
|
||||
%endif ; ARCH_X86_64
|
30
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/copycooker.sh
Normal file
30
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/copycooker.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
|
||||
datadir="tests/data"
|
||||
|
||||
logfile="$datadir/copy.regression"
|
||||
reffile="$1"
|
||||
|
||||
list=$(grep -oh ' ./tests/data/.*' tests/ref/{acodec,lavf,vsynth1}/*| sort)
|
||||
rm -f $logfile
|
||||
for i in $list ; do
|
||||
echo ---------------- >> $logfile
|
||||
echo $i >> $logfile
|
||||
./ffmpeg_g -flags +bitexact -i $i -acodec copy -vcodec copy -y first.nut
|
||||
./ffmpeg_g -flags +bitexact -i first.nut -acodec copy -vcodec copy -y second.nut
|
||||
cmp first.nut second.nut >> $logfile
|
||||
md5sum first.nut >> $logfile
|
||||
done
|
||||
|
||||
if diff -u -w "$reffile" "$logfile" ; then
|
||||
echo
|
||||
echo copy regression test: success
|
||||
exit 0
|
||||
else
|
||||
echo
|
||||
echo copy regression test: error
|
||||
exit 1
|
||||
fi
|
301
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate-run.sh
Normal file
301
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate-run.sh
Normal file
@@ -0,0 +1,301 @@
|
||||
#! /bin/sh
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
base=$(dirname $0)
|
||||
. "${base}/md5.sh"
|
||||
|
||||
base64=tests/base64
|
||||
|
||||
test="${1#fate-}"
|
||||
target_samples=$2
|
||||
target_exec=$3
|
||||
target_path=$4
|
||||
command=$5
|
||||
cmp=${6:-diff}
|
||||
ref=${7:-"${base}/ref/fate/${test}"}
|
||||
fuzz=${8:-1}
|
||||
threads=${9:-1}
|
||||
thread_type=${10:-frame+slice}
|
||||
cpuflags=${11:-all}
|
||||
cmp_shift=${12:-0}
|
||||
cmp_target=${13:-0}
|
||||
size_tolerance=${14:-0}
|
||||
cmp_unit=${15:-2}
|
||||
gen=${16:-no}
|
||||
hwaccel=${17:-none}
|
||||
|
||||
outdir="tests/data/fate"
|
||||
outfile="${outdir}/${test}"
|
||||
errfile="${outdir}/${test}.err"
|
||||
cmpfile="${outdir}/${test}.diff"
|
||||
repfile="${outdir}/${test}.rep"
|
||||
|
||||
target_path(){
|
||||
test ${1} = ${1#/} && p=${target_path}/
|
||||
echo ${p}${1}
|
||||
}
|
||||
|
||||
# $1=value1, $2=value2, $3=threshold
|
||||
# prints 0 if absolute difference between value1 and value2 is <= threshold
|
||||
compare(){
|
||||
awk "BEGIN { v = $1 - $2; printf ((v < 0 ? -v : v) > $3) }"
|
||||
}
|
||||
|
||||
do_tiny_psnr(){
|
||||
psnr=$(tests/tiny_psnr "$1" "$2" $cmp_unit $cmp_shift 0) || return 1
|
||||
val=$(expr "$psnr" : ".*$3: *\([0-9.]*\)")
|
||||
size1=$(expr "$psnr" : '.*bytes: *\([0-9]*\)')
|
||||
size2=$(expr "$psnr" : '.*bytes:[ 0-9]*/ *\([0-9]*\)')
|
||||
val_cmp=$(compare $val $cmp_target $fuzz)
|
||||
size_cmp=$(compare $size1 $size2 $size_tolerance)
|
||||
if [ "$val_cmp" != 0 ] || [ "$size_cmp" != 0 ]; then
|
||||
echo "$psnr"
|
||||
if [ "$val_cmp" != 0 ]; then
|
||||
echo "$3: |$val - $cmp_target| >= $fuzz"
|
||||
fi
|
||||
if [ "$size_cmp" != 0 ]; then
|
||||
echo "size: |$size1 - $size2| >= $size_tolerance"
|
||||
fi
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
oneoff(){
|
||||
do_tiny_psnr "$1" "$2" MAXDIFF
|
||||
}
|
||||
|
||||
stddev(){
|
||||
do_tiny_psnr "$1" "$2" stddev
|
||||
}
|
||||
|
||||
oneline(){
|
||||
printf '%s\n' "$1" | diff -u -b - "$2"
|
||||
}
|
||||
|
||||
run(){
|
||||
test "${V:-0}" -gt 0 && echo "$target_exec" $target_path/"$@" >&3
|
||||
$target_exec $target_path/"$@"
|
||||
}
|
||||
|
||||
runecho(){
|
||||
test "${V:-0}" -gt 0 && echo "$target_exec" $target_path/"$@" >&3
|
||||
$target_exec $target_path/"$@" >&3
|
||||
}
|
||||
|
||||
probefmt(){
|
||||
run ffprobe -show_entries format=format_name -print_format default=nw=1:nk=1 -v 0 "$@"
|
||||
}
|
||||
|
||||
probeframes(){
|
||||
run ffprobe -show_frames -v 0 "$@"
|
||||
}
|
||||
|
||||
ffmpeg(){
|
||||
dec_opts="-hwaccel $hwaccel -threads $threads -thread_type $thread_type"
|
||||
ffmpeg_args="-nostdin -nostats -cpuflags $cpuflags"
|
||||
for arg in $@; do
|
||||
[ x${arg} = x-i ] && ffmpeg_args="${ffmpeg_args} ${dec_opts}"
|
||||
ffmpeg_args="${ffmpeg_args} ${arg}"
|
||||
done
|
||||
run ffmpeg ${ffmpeg_args}
|
||||
}
|
||||
|
||||
framecrc(){
|
||||
ffmpeg "$@" -flags +bitexact -fflags +bitexact -f framecrc -
|
||||
}
|
||||
|
||||
framemd5(){
|
||||
ffmpeg "$@" -flags +bitexact -fflags +bitexact -f framemd5 -
|
||||
}
|
||||
|
||||
crc(){
|
||||
ffmpeg "$@" -f crc -
|
||||
}
|
||||
|
||||
md5(){
|
||||
ffmpeg "$@" md5:
|
||||
}
|
||||
|
||||
pcm(){
|
||||
ffmpeg "$@" -vn -f s16le -
|
||||
}
|
||||
|
||||
fmtstdout(){
|
||||
fmt=$1
|
||||
shift 1
|
||||
ffmpeg -flags +bitexact -fflags +bitexact "$@" -f $fmt -
|
||||
}
|
||||
|
||||
enc_dec_pcm(){
|
||||
out_fmt=$1
|
||||
dec_fmt=$2
|
||||
pcm_fmt=$3
|
||||
src_file=$(target_path $4)
|
||||
shift 4
|
||||
encfile="${outdir}/${test}.${out_fmt}"
|
||||
cleanfiles=$encfile
|
||||
encfile=$(target_path ${encfile})
|
||||
ffmpeg -i $src_file "$@" -f $out_fmt -y ${encfile} || return
|
||||
ffmpeg -flags +bitexact -fflags +bitexact -i ${encfile} -c:a pcm_${pcm_fmt} -f ${dec_fmt} -
|
||||
}
|
||||
|
||||
FLAGS="-flags +bitexact -sws_flags +accurate_rnd+bitexact -fflags +bitexact"
|
||||
DEC_OPTS="-threads $threads -idct simple $FLAGS"
|
||||
ENC_OPTS="-threads 1 -idct simple -dct fastint"
|
||||
|
||||
enc_dec(){
|
||||
src_fmt=$1
|
||||
srcfile=$2
|
||||
enc_fmt=$3
|
||||
enc_opt=$4
|
||||
dec_fmt=$5
|
||||
dec_opt=$6
|
||||
encfile="${outdir}/${test}.${enc_fmt}"
|
||||
decfile="${outdir}/${test}.out.${dec_fmt}"
|
||||
cleanfiles="$cleanfiles $decfile"
|
||||
test "$7" = -keep || cleanfiles="$cleanfiles $encfile"
|
||||
tsrcfile=$(target_path $srcfile)
|
||||
tencfile=$(target_path $encfile)
|
||||
tdecfile=$(target_path $decfile)
|
||||
ffmpeg -f $src_fmt $DEC_OPTS -i $tsrcfile $ENC_OPTS $enc_opt $FLAGS \
|
||||
-f $enc_fmt -y $tencfile || return
|
||||
do_md5sum $encfile
|
||||
echo $(wc -c $encfile)
|
||||
ffmpeg $8 $DEC_OPTS -i $tencfile $ENC_OPTS $dec_opt $FLAGS \
|
||||
-f $dec_fmt -y $tdecfile || return
|
||||
do_md5sum $decfile
|
||||
tests/tiny_psnr $srcfile $decfile $cmp_unit $cmp_shift
|
||||
}
|
||||
|
||||
lavffatetest(){
|
||||
t="${test#lavf-fate-}"
|
||||
ref=${base}/ref/lavf-fate/$t
|
||||
${base}/lavf-regression.sh $t lavf-fate tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" "$target_samples"
|
||||
}
|
||||
|
||||
lavftest(){
|
||||
t="${test#lavf-}"
|
||||
ref=${base}/ref/lavf/$t
|
||||
${base}/lavf-regression.sh $t lavf tests/vsynth1 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" "$target_samples"
|
||||
}
|
||||
|
||||
video_filter(){
|
||||
filters=$1
|
||||
shift
|
||||
label=${test#filter-}
|
||||
raw_src="${target_path}/tests/vsynth1/%02d.pgm"
|
||||
printf '%-20s' $label
|
||||
ffmpeg $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src \
|
||||
$FLAGS $ENC_OPTS -vf "$filters" -vcodec rawvideo -frames:v 5 $* -f nut md5:
|
||||
}
|
||||
|
||||
pixfmts(){
|
||||
filter=${test#filter-pixfmts-}
|
||||
filter=${filter%_*}
|
||||
filter_args=$1
|
||||
prefilter_chain=$2
|
||||
nframes=${3:-1}
|
||||
|
||||
showfiltfmts="$target_exec $target_path/libavfilter/filtfmts-test"
|
||||
scale_exclude_fmts=${outfile}_scale_exclude_fmts
|
||||
scale_in_fmts=${outfile}_scale_in_fmts
|
||||
scale_out_fmts=${outfile}_scale_out_fmts
|
||||
in_fmts=${outfile}_in_fmts
|
||||
|
||||
# exclude pixel formats which are not supported as input
|
||||
$showfiltfmts scale | awk -F '[ \r]' '/^INPUT/{ fmt=substr($3, 5); print fmt }' | sort >$scale_in_fmts
|
||||
$showfiltfmts scale | awk -F '[ \r]' '/^OUTPUT/{ fmt=substr($3, 5); print fmt }' | sort >$scale_out_fmts
|
||||
comm -12 $scale_in_fmts $scale_out_fmts >$scale_exclude_fmts
|
||||
|
||||
$showfiltfmts $filter | awk -F '[ \r]' '/^INPUT/{ fmt=substr($3, 5); print fmt }' | sort >$in_fmts
|
||||
pix_fmts=$(comm -12 $scale_exclude_fmts $in_fmts)
|
||||
|
||||
outertest=$test
|
||||
for pix_fmt in $pix_fmts; do
|
||||
test=$pix_fmt
|
||||
video_filter "${prefilter_chain}format=$pix_fmt,$filter=$filter_args" -pix_fmt $pix_fmt -frames:v $nframes
|
||||
done
|
||||
|
||||
rm $in_fmts $scale_in_fmts $scale_out_fmts $scale_exclude_fmts
|
||||
test=$outertest
|
||||
}
|
||||
|
||||
gapless(){
|
||||
sample=$(target_path $1)
|
||||
extra_args=$2
|
||||
|
||||
decfile1="${outdir}/${test}.out-1"
|
||||
decfile2="${outdir}/${test}.out-2"
|
||||
decfile3="${outdir}/${test}.out-3"
|
||||
cleanfiles="$cleanfiles $decfile1 $decfile2 $decfile3"
|
||||
|
||||
# test packet data
|
||||
ffmpeg $extra_args -i "$sample" -flags +bitexact -fflags +bitexact -c:a copy -f framecrc -y $decfile1
|
||||
do_md5sum $decfile1
|
||||
# test decoded (and cut) data
|
||||
ffmpeg $extra_args -i "$sample" -flags +bitexact -fflags +bitexact -f wav md5:
|
||||
# the same as above again, with seeking to the start
|
||||
ffmpeg $extra_args -ss 0 -seek_timestamp 1 -i "$sample" -flags +bitexact -fflags +bitexact -c:a copy -f framecrc -y $decfile2
|
||||
do_md5sum $decfile2
|
||||
ffmpeg $extra_args -ss 0 -seek_timestamp 1 -i "$sample" -flags +bitexact -fflags +bitexact -f wav md5:
|
||||
# test packet data, with seeking to a specific position
|
||||
ffmpeg $extra_args -ss 5 -seek_timestamp 1 -i "$sample" -flags +bitexact -fflags +bitexact -c:a copy -f framecrc -y $decfile3
|
||||
do_md5sum $decfile3
|
||||
}
|
||||
|
||||
mkdir -p "$outdir"
|
||||
|
||||
# Disable globbing: command arguments may contain globbing characters and
|
||||
# must be kept verbatim
|
||||
set -f
|
||||
|
||||
exec 3>&2
|
||||
eval $command >"$outfile" 2>$errfile
|
||||
err=$?
|
||||
|
||||
if [ $err -gt 128 ]; then
|
||||
sig=$(kill -l $err 2>/dev/null)
|
||||
test "${sig}" = "${sig%[!A-Za-z]*}" || unset sig
|
||||
fi
|
||||
|
||||
if test -e "$ref" || test $cmp = "oneline" ; then
|
||||
case $cmp in
|
||||
diff) diff -u -b "$ref" "$outfile" >$cmpfile ;;
|
||||
rawdiff)diff -u "$ref" "$outfile" >$cmpfile ;;
|
||||
oneoff) oneoff "$ref" "$outfile" >$cmpfile ;;
|
||||
stddev) stddev "$ref" "$outfile" >$cmpfile ;;
|
||||
oneline)oneline "$ref" "$outfile" >$cmpfile ;;
|
||||
null) cat "$outfile" >$cmpfile ;;
|
||||
esac
|
||||
cmperr=$?
|
||||
test $err = 0 && err=$cmperr
|
||||
test $err = 0 || cat $cmpfile
|
||||
else
|
||||
echo "reference file '$ref' not found"
|
||||
err=1
|
||||
fi
|
||||
|
||||
if [ $err -eq 0 ]; then
|
||||
unset cmpo erro
|
||||
else
|
||||
cmpo="$($base64 <$cmpfile)"
|
||||
erro="$($base64 <$errfile)"
|
||||
fi
|
||||
echo "${test}:${sig:-$err}:$cmpo:$erro" >$repfile
|
||||
|
||||
if test $err != 0 && test $gen != "no" ; then
|
||||
echo "GEN $ref"
|
||||
cp -f "$outfile" "$ref"
|
||||
err=$?
|
||||
fi
|
||||
|
||||
if test $err = 0; then
|
||||
rm -f $outfile $errfile $cmpfile $cleanfiles
|
||||
elif test $gen = "no"; then
|
||||
echo "Test $test failed. Look at $errfile for details."
|
||||
test "${V:-0}" -gt 0 && cat $errfile
|
||||
else
|
||||
echo "Updating reference failed, possibly no output file was generated."
|
||||
fi
|
||||
exit $err
|
@@ -0,0 +1,31 @@
|
||||
# seems fixed in newer versions
|
||||
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577135
|
||||
{
|
||||
zlib-inflate
|
||||
Memcheck:Cond
|
||||
fun:inflateReset2
|
||||
fun:inflateInit2_
|
||||
}
|
||||
# libc overreads on purpose
|
||||
# http://sourceware.org/bugzilla/show_bug.cgi?id=12424
|
||||
{
|
||||
eval-strtod
|
||||
Memcheck:Addr8
|
||||
fun:__GI___strncasecmp_l
|
||||
fun:____strtod_l_internal
|
||||
fun:av_strtod
|
||||
}
|
||||
{
|
||||
eval-strtod
|
||||
Memcheck:Value8
|
||||
fun:__GI___strncasecmp_l
|
||||
fun:____strtod_l_internal
|
||||
fun:av_strtod
|
||||
}
|
||||
{
|
||||
eval-strtod
|
||||
Memcheck:Cond
|
||||
fun:__GI___strncasecmp_l
|
||||
fun:____strtod_l_internal
|
||||
fun:av_strtod
|
||||
}
|
122
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate.sh
Normal file
122
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate.sh
Normal file
@@ -0,0 +1,122 @@
|
||||
#! /bin/sh
|
||||
|
||||
config=$1
|
||||
|
||||
die(){
|
||||
echo "$@"
|
||||
exit 1
|
||||
}
|
||||
|
||||
test -r "$config" || die "usage: fate.sh <config>"
|
||||
|
||||
workdir=$(cd $(dirname $config) && pwd)
|
||||
make=make
|
||||
tar='tar c'
|
||||
|
||||
. "$config"
|
||||
|
||||
test -n "$slot" || die "slot not specified"
|
||||
test -n "$repo" || die "repo not specified"
|
||||
test -d "$samples" || die "samples location not specified"
|
||||
|
||||
: ${branch:=master}
|
||||
|
||||
lock(){
|
||||
lock=$1/fate.lock
|
||||
(set -C; exec >$lock) 2>/dev/null || return
|
||||
trap 'rm $lock' EXIT
|
||||
}
|
||||
|
||||
checkout(){
|
||||
case "$repo" in
|
||||
file:*|/*) src="${repo#file:}" ;;
|
||||
git:*) git clone --quiet --branch "$branch" "$repo" "$src" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
update()(
|
||||
cd ${src} || return
|
||||
case "$repo" in
|
||||
git:*) git fetch --force && git reset --hard "origin/$branch" ;;
|
||||
esac
|
||||
)
|
||||
|
||||
configure()(
|
||||
cd ${build} || return
|
||||
${shell} ${src}/configure \
|
||||
--prefix="${inst}" \
|
||||
--samples="${samples}" \
|
||||
--enable-gpl \
|
||||
--enable-memory-poisoning \
|
||||
--enable-avresample \
|
||||
${arch:+--arch=$arch} \
|
||||
${cpu:+--cpu="$cpu"} \
|
||||
${toolchain:+--toolchain="$toolchain"} \
|
||||
${cross_prefix:+--cross-prefix="$cross_prefix"} \
|
||||
${as:+--as="$as"} \
|
||||
${cc:+--cc="$cc"} \
|
||||
${ld:+--ld="$ld"} \
|
||||
${target_os:+--target-os="$target_os"} \
|
||||
${sysroot:+--sysroot="$sysroot"} \
|
||||
${target_exec:+--target-exec="$target_exec"} \
|
||||
${target_path:+--target-path="$target_path"} \
|
||||
${target_samples:+--target-samples="$target_samples"} \
|
||||
${extra_cflags:+--extra-cflags="$extra_cflags"} \
|
||||
${extra_ldflags:+--extra-ldflags="$extra_ldflags"} \
|
||||
${extra_libs:+--extra-libs="$extra_libs"} \
|
||||
${extra_conf}
|
||||
)
|
||||
|
||||
compile()(
|
||||
cd ${build} || return
|
||||
${make} ${makeopts} && ${make} install
|
||||
)
|
||||
|
||||
fate()(
|
||||
test "$build_only" = "yes" && return
|
||||
cd ${build} || return
|
||||
${make} ${makeopts} -k fate
|
||||
)
|
||||
|
||||
clean(){
|
||||
rm -rf ${build} ${inst}
|
||||
}
|
||||
|
||||
report(){
|
||||
date=$(date -u +%Y%m%d%H%M%S)
|
||||
echo "fate:1:${date}:${slot}:${version}:$1:$2:${branch}:${comment}" >report
|
||||
cat ${build}/config.fate >>report
|
||||
cat ${build}/tests/data/fate/*.rep >>report || for i in ${build}/tests/data/fate/*.rep ; do cat "$i" >>report ; done
|
||||
test -n "$fate_recv" && $tar report *.log | gzip | $fate_recv
|
||||
}
|
||||
|
||||
fail(){
|
||||
report "$@"
|
||||
clean
|
||||
exit
|
||||
}
|
||||
|
||||
mkdir -p ${workdir} || die "Error creating ${workdir}"
|
||||
lock ${workdir} || die "${workdir} locked"
|
||||
cd ${workdir} || die "cd ${workdir} failed"
|
||||
|
||||
src=${workdir}/src
|
||||
: ${build:=${workdir}/build}
|
||||
: ${inst:=${workdir}/install}
|
||||
|
||||
test -d "$src" && update || checkout || die "Error fetching source"
|
||||
|
||||
cd ${workdir}
|
||||
|
||||
version=$(${src}/version.sh ${src})
|
||||
test "$version" = "$(cat version-$slot 2>/dev/null)" && exit 0
|
||||
echo ${version} >version-$slot
|
||||
|
||||
rm -rf "${build}" *.log
|
||||
mkdir -p ${build}
|
||||
|
||||
configure >configure.log 2>&1 || fail 3 "error configuring"
|
||||
compile >compile.log 2>&1 || fail 2 "error compiling"
|
||||
fate >test.log 2>&1 || fail 1 "error testing"
|
||||
report 0 success
|
||||
clean
|
220
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/aac.mak
Normal file
220
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/aac.mak
Normal file
@@ -0,0 +1,220 @@
|
||||
FATE_AAC += fate-aac-al04_44
|
||||
fate-aac-al04_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al04_44.mp4
|
||||
fate-aac-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
|
||||
|
||||
FATE_AAC += fate-aac-al05_44
|
||||
fate-aac-al05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al05_44.mp4
|
||||
fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
|
||||
|
||||
FATE_AAC += fate-aac-al06_44
|
||||
fate-aac-al06_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al06_44.mp4
|
||||
fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
|
||||
|
||||
FATE_AAC += fate-aac-al07_96
|
||||
fate-aac-al07_96: CMD = pcm -i $(TARGET_SAMPLES)/aac/al07_96.mp4
|
||||
fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
|
||||
|
||||
FATE_AAC += fate-aac-al15_44
|
||||
fate-aac-al15_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al15_44.mp4
|
||||
fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
|
||||
|
||||
FATE_AAC += fate-aac-al17_44
|
||||
fate-aac-al17_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al17_44.mp4
|
||||
fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
|
||||
|
||||
FATE_AAC += fate-aac-al18_44
|
||||
fate-aac-al18_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al18_44.mp4
|
||||
fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
|
||||
|
||||
FATE_AAC += fate-aac-am00_88
|
||||
fate-aac-am00_88: CMD = pcm -i $(TARGET_SAMPLES)/aac/am00_88.mp4
|
||||
fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
|
||||
|
||||
FATE_AAC += fate-aac-am05_44
|
||||
fate-aac-am05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/am05_44.mp4
|
||||
fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
|
||||
|
||||
FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
|
||||
fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
|
||||
fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
|
||||
|
||||
FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
|
||||
fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
|
||||
fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
|
||||
|
||||
FATE_AAC += fate-aac-al_sbr_hq_sr_48_2_fsaac48
|
||||
fate-aac-al_sbr_hq_sr_48_2_fsaac48: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_sr_48_2_fsaac48.mp4
|
||||
fate-aac-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
|
||||
|
||||
FATE_AAC += fate-aac-al_sbr_ps_06_ur
|
||||
fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
|
||||
fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
|
||||
|
||||
FATE_AAC += fate-aac-ap05_48
|
||||
fate-aac-ap05_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
|
||||
fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
|
||||
|
||||
FATE_AAC += fate-aac-er_ad6000np_44_ep0
|
||||
fate-aac-er_ad6000np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
|
||||
fate-aac-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
|
||||
|
||||
FATE_AAC += fate-aac-er_eld1001np_44_ep0
|
||||
fate-aac-er_eld1001np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
|
||||
fate-aac-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
|
||||
|
||||
FATE_AAC += fate-aac-er_eld2000np_48_ep0
|
||||
fate-aac-er_eld2000np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
|
||||
fate-aac-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
|
||||
|
||||
FATE_AAC += fate-aac-er_eld2100np_48_ep0
|
||||
fate-aac-er_eld2100np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2100np_48_ep0.mp4
|
||||
fate-aac-er_eld2100np_48_ep0: REF = $(SAMPLES)/aac/er_eld2100np_48.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al04_44
|
||||
fate-aac-fixed-al04_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al04_44.mp4
|
||||
fate-aac-fixed-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al05_44
|
||||
fate-aac-fixed-al05_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al05_44.mp4
|
||||
fate-aac-fixed-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al06_44
|
||||
fate-aac-fixed-al06_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al06_44.mp4
|
||||
fate-aac-fixed-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al15_44
|
||||
fate-aac-fixed-al15_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al15_44.mp4
|
||||
fate-aac-fixed-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al17_44
|
||||
fate-aac-fixed-al17_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al17_44.mp4
|
||||
fate-aac-fixed-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al18_44
|
||||
fate-aac-fixed-al18_44: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al18_44.mp4
|
||||
fate-aac-fixed-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_cm_48_2
|
||||
fate-aac-fixed-al_sbr_hq_cm_48_2: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
|
||||
fate-aac-fixed-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_cm_48_5.1
|
||||
fate-aac-fixed-al_sbr_hq_cm_48_5.1: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
|
||||
fate-aac-fixed-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48
|
||||
fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/al_sbr_sr_48_2_fsaac48.mp4
|
||||
fate-aac-fixed-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
|
||||
|
||||
#FATE_AAC_FIXED += fate-aac-fixed-al_sbr_ps_06_ur
|
||||
#fate-aac-fixed-al_sbr_ps_06_ur: CMD = pcm -c aac_fixed-i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
|
||||
#fate-aac-fixed-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-ap05_48
|
||||
fate-aac-fixed-ap05_48: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
|
||||
fate-aac-fixed-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-er_ad6000np_44_ep0
|
||||
fate-aac-fixed-er_ad6000np_44_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
|
||||
fate-aac-fixed-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-er_eld1001np_44_ep0
|
||||
fate-aac-fixed-er_eld1001np_44_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
|
||||
fate-aac-fixed-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
|
||||
|
||||
FATE_AAC_FIXED += fate-aac-fixed-er_eld2000np_48_ep0
|
||||
fate-aac-fixed-er_eld2000np_48_ep0: CMD = pcm -c aac_fixed -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
|
||||
fate-aac-fixed-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
|
||||
|
||||
fate-aac-ct%: CMD = pcm -i $(TARGET_SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
|
||||
fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
|
||||
|
||||
FATE_AAC_CT_RAW = fate-aac-ct-sbr_i-ps_i.aac
|
||||
|
||||
FATE_AAC_CT = sbr_bc-ps_i.3gp \
|
||||
sbr_bic-ps_i.3gp \
|
||||
sbr_bc-ps_bc.mp4 \
|
||||
sbr_bc-ps_i.mp4 \
|
||||
sbr_i-ps_bic.mp4 \
|
||||
sbr_i-ps_i.mp4
|
||||
|
||||
FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-aref-encode
|
||||
fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav
|
||||
fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -aac_is 0 -aac_pns 0 -b:a 512k
|
||||
fate-aac-aref-encode: CMP = stddev
|
||||
fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
|
||||
fate-aac-aref-encode: CMP_SHIFT = -4096
|
||||
fate-aac-aref-encode: CMP_TARGET = 594
|
||||
fate-aac-aref-encode: SIZE_TOLERANCE = 2464
|
||||
fate-aac-aref-encode: FUZZ = 6
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-ln-encode
|
||||
fate-aac-ln-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -aac_is 0 -aac_pns 0 -b:a 512k
|
||||
fate-aac-ln-encode: CMP = stddev
|
||||
fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-aac-ln-encode: CMP_SHIFT = -4096
|
||||
fate-aac-ln-encode: CMP_TARGET = 68
|
||||
fate-aac-ln-encode: SIZE_TOLERANCE = 3560
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-pns-encode
|
||||
fate-aac-pns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -aac_pns 1 -aac_is 0 -b:a 128k
|
||||
fate-aac-pns-encode: CMP = stddev
|
||||
fate-aac-pns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-aac-pns-encode: CMP_SHIFT = -4096
|
||||
fate-aac-pns-encode: CMP_TARGET = 646.89
|
||||
fate-aac-pns-encode: SIZE_TOLERANCE = 3560
|
||||
fate-aac-pns-encode: FUZZ = 5
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-tns-encode
|
||||
fate-aac-tns-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -aac_tns 1 -aac_is 0 -aac_pns 0 -b:a 128k
|
||||
fate-aac-tns-encode: CMP = stddev
|
||||
fate-aac-tns-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-aac-tns-encode: CMP_SHIFT = -4096
|
||||
fate-aac-tns-encode: CMP_TARGET = 648.50
|
||||
fate-aac-tns-encode: FUZZ = 2.8
|
||||
fate-aac-tns-encode: SIZE_TOLERANCE = 3560
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-is-encode
|
||||
fate-aac-is-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -aac_pns 0 -aac_is 1 -b:a 128k
|
||||
fate-aac-is-encode: CMP = stddev
|
||||
fate-aac-is-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-aac-is-encode: CMP_SHIFT = -4096
|
||||
fate-aac-is-encode: CMP_TARGET = 613.26
|
||||
fate-aac-is-encode: SIZE_TOLERANCE = 3560
|
||||
fate-aac-is-encode: FUZZ = 35
|
||||
|
||||
FATE_AAC_ENCODE += fate-aac-pred-encode
|
||||
fate-aac-pred-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -profile:a aac_main -c:a aac -aac_is 0 -aac_pns 0 -b:a 128k
|
||||
fate-aac-pred-encode: CMP = stddev
|
||||
fate-aac-pred-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-aac-pred-encode: CMP_SHIFT = -4096
|
||||
fate-aac-pred-encode: CMP_TARGET = 652.60
|
||||
fate-aac-pred-encode: FUZZ = 10
|
||||
fate-aac-pred-encode: SIZE_TOLERANCE = 3560
|
||||
|
||||
FATE_AAC_LATM += fate-aac-latm_000000001180bc60
|
||||
fate-aac-latm_000000001180bc60: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_000000001180bc60.mpg
|
||||
fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
|
||||
|
||||
FATE_AAC_LATM += fate-aac-latm_stereo_to_51
|
||||
fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
|
||||
fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
|
||||
|
||||
FATE_AAC-$(call DEMDEC, AAC, AAC) += $(FATE_AAC_CT_RAW)
|
||||
FATE_AAC-$(call DEMDEC, MOV, AAC) += $(FATE_AAC)
|
||||
FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
|
||||
FATE_AAC-$(call DEMDEC, AAC, AAC_FIXED)+= $(FATE_AAC_FIXED)
|
||||
|
||||
FATE_AAC_ALL = $(FATE_AAC-yes) $(FATE_AAC_LATM-yes) $(FATE_AAC_FIXED-yes)
|
||||
|
||||
$(FATE_AAC_ALL): CMP = oneoff
|
||||
$(FATE_AAC_ALL): FUZZ = 2
|
||||
|
||||
FATE_AAC_ENCODE-$(call ENCMUX, AAC, ADTS) += $(FATE_AAC_ENCODE)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_AAC_ALL) $(FATE_AAC_ENCODE-yes)
|
||||
|
||||
fate-aac: $(FATE_AAC_ALL) $(FATE_AAC_ENCODE)
|
||||
fate-aac-latm: $(FATE_AAC_LATM-yes)
|
85
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ac3.mak
Normal file
85
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ac3.mak
Normal file
@@ -0,0 +1,85 @@
|
||||
FATE_AC3 += fate-ac3-2.0
|
||||
fate-ac3-2.0: CMD = pcm -i $(TARGET_SAMPLES)/ac3/monsters_inc_2.0_192_small.ac3
|
||||
fate-ac3-2.0: REF = $(SAMPLES)/ac3/monsters_inc_2.0_192_small_v2.pcm
|
||||
|
||||
FATE_AC3 += fate-ac3-4.0
|
||||
fate-ac3-4.0: CMD = pcm -i $(TARGET_SAMPLES)/ac3/millers_crossing_4.0.ac3
|
||||
fate-ac3-4.0: REF = $(SAMPLES)/ac3/millers_crossing_4.0_v2.pcm
|
||||
|
||||
#request_channel_layout 4 -> front channel
|
||||
FATE_AC3 += fate-ac3-4.0-downmix-mono
|
||||
fate-ac3-4.0-downmix-mono: CMD = pcm -request_channel_layout 4 -i $(TARGET_SAMPLES)/ac3/millers_crossing_4.0.ac3
|
||||
fate-ac3-4.0-downmix-mono: REF = $(SAMPLES)/ac3/millers_crossing_4.0_mono_v2.pcm
|
||||
|
||||
#request_channel_layout 3 -> left channel + right channel
|
||||
FATE_AC3 += fate-ac3-4.0-downmix-stereo
|
||||
fate-ac3-4.0-downmix-stereo: CMD = pcm -request_channel_layout 3 -i $(TARGET_SAMPLES)/ac3/millers_crossing_4.0.ac3
|
||||
fate-ac3-4.0-downmix-stereo: REF = $(SAMPLES)/ac3/millers_crossing_4.0_stereo_v2.pcm
|
||||
|
||||
FATE_AC3 += fate-ac3-5.1
|
||||
fate-ac3-5.1: CMD = pcm -i $(TARGET_SAMPLES)/ac3/monsters_inc_5.1_448_small.ac3
|
||||
fate-ac3-5.1: REF = $(SAMPLES)/ac3/monsters_inc_5.1_448_small_v2.pcm
|
||||
|
||||
FATE_AC3 += fate-ac3-5.1-downmix-mono
|
||||
fate-ac3-5.1-downmix-mono: CMD = pcm -request_channel_layout 4 -i $(TARGET_SAMPLES)/ac3/monsters_inc_5.1_448_small.ac3
|
||||
fate-ac3-5.1-downmix-mono: REF = $(SAMPLES)/ac3/monsters_inc_5.1_448_small_mono_v2.pcm
|
||||
|
||||
FATE_AC3 += fate-ac3-5.1-downmix-stereo
|
||||
fate-ac3-5.1-downmix-stereo: CMD = pcm -request_channel_layout 3 -i $(TARGET_SAMPLES)/ac3/monsters_inc_5.1_448_small.ac3
|
||||
fate-ac3-5.1-downmix-stereo: REF = $(SAMPLES)/ac3/monsters_inc_5.1_448_small_stereo_v2.pcm
|
||||
|
||||
FATE_AC3 += fate-ac3-fixed-2.0
|
||||
fate-ac3-fixed-2.0: CMD = pcm -c ac3_fixed -i $(TARGET_SAMPLES)/ac3/monsters_inc_2.0_192_small.ac3
|
||||
fate-ac3-fixed-2.0: REF = $(SAMPLES)/ac3/monsters_inc_2.0_192_small_v2.pcm
|
||||
|
||||
FATE_AC3 += fate-ac3-fixed-4.0-downmix-mono
|
||||
fate-ac3-fixed-4.0-downmix-mono: CMD = pcm -c ac3_fixed -request_channel_layout 4 -i $(TARGET_SAMPLES)/ac3/millers_crossing_4.0.ac3
|
||||
fate-ac3-fixed-4.0-downmix-mono: REF = $(SAMPLES)/ac3/millers_crossing_4.0_mono_v2.pcm
|
||||
|
||||
FATE_EAC3 += fate-eac3-1
|
||||
fate-eac3-1: CMD = pcm -i $(TARGET_SAMPLES)/eac3/csi_miami_5.1_256_spx_small.eac3
|
||||
fate-eac3-1: REF = $(SAMPLES)/eac3/csi_miami_5.1_256_spx_small_v2.pcm
|
||||
|
||||
FATE_EAC3 += fate-eac3-2
|
||||
fate-eac3-2: CMD = pcm -i $(TARGET_SAMPLES)/eac3/csi_miami_stereo_128_spx_small.eac3
|
||||
fate-eac3-2: REF = $(SAMPLES)/eac3/csi_miami_stereo_128_spx_small_v2.pcm
|
||||
|
||||
FATE_EAC3 += fate-eac3-3
|
||||
fate-eac3-3: CMD = pcm -i $(TARGET_SAMPLES)/eac3/matrix2_commentary1_stereo_192_small.eac3
|
||||
fate-eac3-3: REF = $(SAMPLES)/eac3/matrix2_commentary1_stereo_192_small_v2.pcm
|
||||
|
||||
FATE_EAC3 += fate-eac3-4
|
||||
fate-eac3-4: CMD = pcm -i $(TARGET_SAMPLES)/eac3/serenity_english_5.1_1536_small.eac3
|
||||
fate-eac3-4: REF = $(SAMPLES)/eac3/serenity_english_5.1_1536_small_v2.pcm
|
||||
|
||||
$(FATE_AC3) $(FATE_EAC3): CMP = oneoff
|
||||
|
||||
FATE_AC3-$(call DEMDEC, AC3, AC3) += $(FATE_AC3)
|
||||
FATE_EAC3-$(call DEMDEC, EAC3, EAC3) += $(FATE_EAC3)
|
||||
|
||||
FATE_AC3-$(call ENCDEC, AC3, AC3) += fate-ac3-encode
|
||||
fate-ac3-encode: CMD = enc_dec_pcm ac3 wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a ac3 -b:a 128k
|
||||
fate-ac3-encode: CMP_SHIFT = -1024
|
||||
fate-ac3-encode: CMP_TARGET = 404.53
|
||||
fate-ac3-encode: SIZE_TOLERANCE = 488
|
||||
|
||||
|
||||
FATE_EAC3-$(call ENCDEC, EAC3, EAC3) += fate-eac3-encode
|
||||
fate-eac3-encode: CMD = enc_dec_pcm eac3 wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a eac3 -b:a 128k
|
||||
fate-eac3-encode: CMP_SHIFT = -1024
|
||||
fate-eac3-encode: CMP_TARGET = 516.94
|
||||
fate-eac3-encode: SIZE_TOLERANCE = 488
|
||||
|
||||
fate-ac3-encode fate-eac3-encode: CMP = stddev
|
||||
fate-ac3-encode fate-eac3-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
|
||||
FATE_AC3-$(call ENCMUX, AC3_FIXED, AC3) += fate-ac3-fixed-encode
|
||||
fate-ac3-fixed-encode: tests/data/asynth-44100-2.wav
|
||||
fate-ac3-fixed-encode: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-ac3-fixed-encode: CMD = md5 -i $(SRC) -c ac3_fixed -ab 128k -f ac3 -flags +bitexact
|
||||
fate-ac3-fixed-encode: CMP = oneline
|
||||
fate-ac3-fixed-encode: REF = a1d1fc116463b771abf5aef7ed37d7b1
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_AC3-yes) $(FATE_EAC3-yes)
|
||||
|
||||
fate-ac3: $(FATE_AC3-yes) $(FATE_EAC3-yes)
|
165
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/acodec.mak
Normal file
165
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/acodec.mak
Normal file
@@ -0,0 +1,165 @@
|
||||
fate-acodec-%: CODEC = $(@:fate-acodec-%=%)
|
||||
fate-acodec-%: SRC = tests/data/asynth-44100-2.wav
|
||||
fate-acodec-%: CMD = enc_dec wav $(SRC) $(FMT) "-b:a 128k -c $(CODEC) $(ENCOPTS)" wav "-c pcm_s16le $(DECOPTS)" -keep
|
||||
fate-acodec-%: CMP_UNIT = 2
|
||||
fate-acodec-%: REF = $(SRC_PATH)/tests/ref/acodec/$(@:fate-acodec-%=%)
|
||||
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_ALAW, WAV) += alaw
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_MULAW, WAV) += mulaw
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S8, MOV) += s8
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U8, WAV) += u8
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16BE, MOV) += s16be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16LE, WAV) += s16le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U16BE, NUT) += u16be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U16LE, NUT) += u16le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24BE, MOV) += s24be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24LE, WAV) += s24le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U24BE, NUT) += u24be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U24LE, NUT) += u24le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32BE, MOV) += s32be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32LE, WAV) += s32le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U32BE, NUT) += u32be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U32LE, NUT) += u32le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F32BE, AU) += f32be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F32LE, WAV) += f32le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F64BE, AU) += f64be
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F64LE, WAV) += f64le
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S8_PLANAR, NUT) += s8_planar
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16BE_PLANAR, NUT) += s16be_planar
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16LE_PLANAR, NUT) += s16le_planar
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24LE_PLANAR, NUT) += s24le_planar
|
||||
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32LE_PLANAR, NUT) += s32le_planar
|
||||
|
||||
FATE_ACODEC_PCM := $(FATE_ACODEC_PCM-yes:%=fate-acodec-pcm-%)
|
||||
FATE_ACODEC += $(FATE_ACODEC_PCM)
|
||||
fate-acodec-pcm: $(FATE_ACODEC_PCM)
|
||||
|
||||
fate-acodec-pcm-%: FMT = wav
|
||||
fate-acodec-pcm-%_planar: FMT = nut
|
||||
fate-acodec-pcm-%: CODEC = pcm_$(@:fate-acodec-pcm-%=%)
|
||||
|
||||
fate-acodec-pcm-s8: FMT = mov
|
||||
fate-acodec-pcm-s%be: FMT = mov
|
||||
fate-acodec-pcm-u%be: FMT = nut
|
||||
fate-acodec-pcm-u%le: FMT = nut
|
||||
fate-acodec-pcm-f%be: FMT = au
|
||||
|
||||
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_ADX, ADX) += adx
|
||||
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_QT, AIFF) += ima_qt
|
||||
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_IMA_WAV, WAV) += ima_wav
|
||||
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_MS, WAV) += ms
|
||||
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_SWF, FLV) += swf
|
||||
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_YAMAHA, WAV) += yamaha
|
||||
|
||||
FATE_ACODEC_ADPCM := $(FATE_ACODEC_ADPCM-yes:%=fate-acodec-adpcm-%)
|
||||
FATE_ACODEC += $(FATE_ACODEC_ADPCM)
|
||||
fate-acodec-adpcm: $(FATE_ACODEC_ADPCM)
|
||||
|
||||
fate-acodec-adpcm-%: CODEC = adpcm_$(@:fate-acodec-adpcm-%=%)
|
||||
|
||||
fate-acodec-adpcm-adx: FMT = adx
|
||||
fate-acodec-adpcm-ima_qt: FMT = aiff
|
||||
fate-acodec-adpcm-ima_wav: FMT = wav
|
||||
fate-acodec-adpcm-ms: FMT = wav
|
||||
fate-acodec-adpcm-swf: FMT = flv
|
||||
fate-acodec-adpcm-yamaha: FMT = wav
|
||||
|
||||
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_ADX, ADX) += adx
|
||||
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_IMA_QT, AIFF) += ima_qt
|
||||
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_IMA_WAV, WAV) += ima_wav
|
||||
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_MS, WAV) += ms
|
||||
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_SWF, FLV) += swf
|
||||
FATE_ACODEC_ADPCM_TRELLIS-$(call ENCDEC, ADPCM_YAMAHA, WAV) += yamaha
|
||||
|
||||
FATE_ACODEC_ADPCM_TRELLIS := $(FATE_ACODEC_ADPCM_TRELLIS-yes:%=fate-acodec-adpcm-%-trellis)
|
||||
FATE_ACODEC += $(FATE_ACODEC_ADPCM_TRELLIS)
|
||||
fate-acodec-adpcm-trellis: $(FATE_ACODEC_ADPCM_TRELLIS)
|
||||
|
||||
fate-acodec-adpcm-%-trellis: CODEC = adpcm_$(@:fate-acodec-adpcm-%-trellis=%)
|
||||
fate-acodec-adpcm-%-trellis: ENCOPTS = -trellis 5
|
||||
|
||||
fate-acodec-adpcm-adx-trellis: FMT = adx
|
||||
fate-acodec-adpcm-ima_qt-trellis: FMT = aiff
|
||||
fate-acodec-adpcm-ima_wav-trellis: FMT = wav
|
||||
fate-acodec-adpcm-ms-trellis: FMT = wav
|
||||
fate-acodec-adpcm-swf-trellis: FMT = flv
|
||||
fate-acodec-adpcm-yamaha-trellis: FMT = wav
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, MP2, MP2 MP3) += fate-acodec-mp2
|
||||
fate-acodec-mp2: FMT = mp2
|
||||
fate-acodec-mp2: CMP_SHIFT = -1924
|
||||
fate-acodec-mp2: ENCOPTS = -b:a 128k
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, MP2FIXED MP2 , MP2 MP3) += fate-acodec-mp2fixed
|
||||
fate-acodec-mp2fixed: FMT = mp2
|
||||
fate-acodec-mp2fixed: CMP_SHIFT = -1924
|
||||
fate-acodec-mp2fixed: ENCOPTS = -b:a 384k
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, ALAC, MOV) += fate-acodec-alac
|
||||
fate-acodec-alac: FMT = mov
|
||||
fate-acodec-alac: CODEC = alac -compression_level 1
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, DCA, DTS) += fate-acodec-dca
|
||||
fate-acodec-dca: tests/data/asynth-44100-2.wav
|
||||
fate-acodec-dca: SRC = tests/data/asynth-44100-2.wav
|
||||
fate-acodec-dca: CMD = md5 -i $(TARGET_PATH)/$(SRC) -c:a dca -strict -2 -f dts -flags +bitexact
|
||||
fate-acodec-dca: CMP = oneline
|
||||
fate-acodec-dca: REF = c54ca9a13711755ef90fa143a9b38386
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, DCA, WAV) += fate-acodec-dca2
|
||||
fate-acodec-dca2: CMD = enc_dec_pcm dts wav s16le $(SRC) -c:a dca -strict -2 -flags +bitexact
|
||||
fate-acodec-dca2: REF = $(SRC)
|
||||
fate-acodec-dca2: CMP = stddev
|
||||
fate-acodec-dca2: CMP_SHIFT = -2048
|
||||
fate-acodec-dca2: CMP_TARGET = 527
|
||||
fate-acodec-dca2: SIZE_TOLERANCE = 1632
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, FLAC, FLAC) += fate-acodec-flac fate-acodec-flac-exact-rice
|
||||
fate-acodec-flac: FMT = flac
|
||||
fate-acodec-flac: CODEC = flac -compression_level 2
|
||||
|
||||
fate-acodec-flac-exact-rice: FMT = flac
|
||||
fate-acodec-flac-exact-rice: CODEC = flac -compression_level 2 -exact_rice_parameters 1
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, G723_1, G723_1) += fate-acodec-g723_1
|
||||
fate-acodec-g723_1: tests/data/asynth-8000-1.wav
|
||||
fate-acodec-g723_1: SRC = tests/data/asynth-8000-1.wav
|
||||
fate-acodec-g723_1: FMT = g723_1
|
||||
fate-acodec-g723_1: CODEC = g723_1
|
||||
fate-acodec-g723_1: ENCOPTS = -b:a 6.3k
|
||||
fate-acodec-g723_1: CMP_SHIFT = 8
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, RA_144, WAV) += fate-acodec-ra144
|
||||
fate-acodec-ra144: tests/data/asynth-8000-1.wav
|
||||
fate-acodec-ra144: SRC = tests/data/asynth-8000-1.wav
|
||||
fate-acodec-ra144: CMD = enc_dec_pcm rm wav s16le $(SRC) -c:a real_144
|
||||
fate-acodec-ra144: REF = $(SRC)
|
||||
fate-acodec-ra144: CMP = stddev
|
||||
fate-acodec-ra144: CMP_TARGET = 4777
|
||||
fate-acodec-ra144: CMP_SHIFT = -320
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, ROQ_DPCM, ROQ) += fate-acodec-roqaudio
|
||||
fate-acodec-roqaudio: FMT = roq
|
||||
fate-acodec-roqaudio: CODEC = roq_dpcm
|
||||
fate-acodec-roqaudio: ENCOPTS = -ar 22050
|
||||
fate-acodec-roqaudio: DECOPTS = -ar 44100
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, S302M, MPEGTS) += fate-acodec-s302m
|
||||
fate-acodec-s302m: FMT = mpegts
|
||||
fate-acodec-s302m: CODEC = s302m
|
||||
fate-acodec-s302m: ENCOPTS = -ar 48000 -strict -2
|
||||
fate-acodec-s302m: DECOPTS = -ar 44100
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, WAVPACK, WV) += fate-acodec-wavpack
|
||||
fate-acodec-wavpack: FMT = wv
|
||||
fate-acodec-wavpack: CODEC = wavpack -compression_level 1
|
||||
|
||||
FATE_ACODEC-$(call ENCDEC, TTA, MATROSKA) += fate-acodec-tta
|
||||
fate-acodec-tta: FMT = matroska
|
||||
|
||||
FATE_ACODEC += $(FATE_ACODEC-yes)
|
||||
|
||||
$(FATE_ACODEC): tests/data/asynth-44100-2.wav
|
||||
|
||||
FATE_AVCONV += $(FATE_ACODEC)
|
||||
fate-acodec: $(FATE_ACODEC)
|
92
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/adpcm.mak
Normal file
92
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/adpcm.mak
Normal file
@@ -0,0 +1,92 @@
|
||||
FATE_ADPCM-$(call DEMDEC, FOURXM, ADPCM_4XM) += fate-adpcm-4xm
|
||||
fate-adpcm-4xm: CMD = framecrc -i $(TARGET_SAMPLES)/4xm/dracula.4xm -vn -map 0:6
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, AST, ADPCM_AFC) += fate-adpcm-afc
|
||||
fate-adpcm-afc: CMD = framecrc -i $(TARGET_SAMPLES)/ast/demo11_02_partial.ast
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, WAV, ADPCM_CT) += fate-adpcm-creative
|
||||
fate-adpcm-creative: CMD = md5 -i $(TARGET_SAMPLES)/creative/intro-partial.wav -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, VOC, ADPCM_SBPRO_2) += fate-adpcm-creative-8-2bit
|
||||
fate-adpcm-creative-8-2bit: CMD = md5 -i $(TARGET_SAMPLES)/creative/BBC_2BIT.VOC -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, VOC, ADPCM_SBPRO_3) += fate-adpcm-creative-8-2.6bit
|
||||
fate-adpcm-creative-8-2.6bit: CMD = md5 -i $(TARGET_SAMPLES)/creative/BBC_3BIT.VOC -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, VOC, ADPCM_SBPRO_4) += fate-adpcm-creative-8-4bit
|
||||
fate-adpcm-creative-8-4bit: CMD = md5 -i $(TARGET_SAMPLES)/creative/BBC_4BIT.VOC -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, ADP, ADPCM_DTK) += fate-adpcm-dtk
|
||||
fate-adpcm-dtk: CMD = framecrc -i $(TARGET_SAMPLES)/adp/shakespr_partial.adp -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_EA) += fate-adpcm-ea-1
|
||||
fate-adpcm-ea-1: CMD = framecrc -i $(TARGET_SAMPLES)/ea-wve/networkBackbone-partial.wve -frames:a 26 -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_EA) += fate-adpcm-ea-2
|
||||
fate-adpcm-ea-2: CMD = framecrc -i $(TARGET_SAMPLES)/ea-dct/NFS2Esprit-partial.dct -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, XA, ADPCM_EA_MAXIS_XA) += fate-adpcm-ea-maxis-xa
|
||||
fate-adpcm-ea-maxis-xa: CMD = framecrc -i $(TARGET_SAMPLES)/maxis-xa/SC2KBUG.XA -frames:a 30
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_EA_R1) += fate-adpcm-ea-r1
|
||||
fate-adpcm-ea-r1: CMD = framecrc -i $(TARGET_SAMPLES)/ea-mad/NFS6LogoE.mad -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_EA_R2) += fate-adpcm-ea-r2
|
||||
fate-adpcm-ea-r2: CMD = crc -i $(TARGET_SAMPLES)/ea-mpc/THX_logo.mpc -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_EA_R3) += fate-adpcm-ea-r3
|
||||
fate-adpcm-ea-r3: CMD = crc -i $(TARGET_SAMPLES)/ea-vp6/THX_logo.vp6 -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, AVI, ADPCM_IMA_AMV) += fate-adpcm-ima-amv
|
||||
fate-adpcm-ima-amv: CMD = framecrc -i $(TARGET_SAMPLES)/amv/MTV_high_res_320x240_sample_Penguin_Joke_MTV_from_WMV.amv -t 10 -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, APC, ADPCM_IMA_APC) += fate-adpcm-ima-apc
|
||||
fate-adpcm-ima-apc: CMD = md5 -i $(TARGET_SAMPLES)/cryo-apc/cine007.APC -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, AVI, ADPCM_IMA_DK3) += fate-adpcm-ima-dk3
|
||||
fate-adpcm-ima-dk3: CMD = md5 -i $(TARGET_SAMPLES)/duck/sop-audio-only.avi -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, AVI, ADPCM_IMA_DK4) += fate-adpcm-ima-dk4
|
||||
fate-adpcm-ima-dk4: CMD = md5 -i $(TARGET_SAMPLES)/duck/salsa-audio-only.avi -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_IMA_EA_EACS) += fate-adpcm-ima-ea-eacs
|
||||
fate-adpcm-ima-ea-eacs: CMD = framecrc -i $(TARGET_SAMPLES)/ea-tgv/INTRO8K-partial.TGV -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, EA, ADPCM_IMA_EA_SEAD) += fate-adpcm-ima-ea-sead
|
||||
fate-adpcm-ima-ea-sead: CMD = framecrc -i $(TARGET_SAMPLES)/ea-tgv/INTEL_S.TGV -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, ISS, ADPCM_IMA_ISS) += fate-adpcm-ima-iss
|
||||
fate-adpcm-ima-iss: CMD = md5 -i $(TARGET_SAMPLES)/funcom-iss/0004010100.iss -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, WAV, ADPCM_IMA_OKI) += fate-adpcm-ima-oki
|
||||
fate-adpcm-ima-oki: CMD = md5 -i $(TARGET_SAMPLES)/oki/test.wav -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, RSD, ADPCM_IMA_RAD) += fate-adpcm-ima-rad
|
||||
fate-adpcm-ima-rad: CMD = md5 -i $(TARGET_SAMPLES)/rsd/hit_run_partial.rsd -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, SMJPEG, ADPCM_IMA_SMJPEG) += fate-adpcm-ima-smjpeg
|
||||
fate-adpcm-ima-smjpeg: CMD = framecrc -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, MOV, ADPCM_IMA_WAV) += fate-adpcm-ima_wav-stereo
|
||||
fate-adpcm-ima_wav-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-ms11.mov -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, WSVQA, ADPCM_IMA_WS) += fate-adpcm-ima-ws
|
||||
fate-adpcm-ima-ws: CMD = framecrc -i $(TARGET_SAMPLES)/vqa/cc-demo1-partial.vqa -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, DXA, ADPCM_MS) += fate-adpcm-ms-mono
|
||||
fate-adpcm-ms-mono: CMD = framecrc -i $(TARGET_SAMPLES)/dxa/meetsquid.dxa -t 2 -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, MOV, ADPCM_MS) += fate-adpcm_ms-stereo
|
||||
fate-adpcm_ms-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-ms02.mov -f s16le
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, THP, ADPCM_THP) += fate-adpcm-thp
|
||||
fate-adpcm-thp: CMD = framecrc -i $(TARGET_SAMPLES)/thp/pikmin2-opening1-partial.thp -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, SMUSH, ADPCM_VIMA) += fate-adpcm-vima
|
||||
fate-adpcm-vima: CMD = framecrc -i $(TARGET_SAMPLES)/smush/ronin_part.znm -vn
|
||||
|
||||
FATE_ADPCM-$(call DEMDEC, STR, ADPCM_XA) += fate-adpcm-xa
|
||||
fate-adpcm-xa: CMD = framecrc -i $(TARGET_SAMPLES)/psx-str/abc000_cut.str -vn
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_ADPCM-yes)
|
||||
fate-adpcm: $(FATE_ADPCM-yes)
|
24
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/alac.mak
Normal file
24
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/alac.mak
Normal file
@@ -0,0 +1,24 @@
|
||||
FATE_ALAC += fate-alac-16-level-0 \
|
||||
fate-alac-16-level-1 \
|
||||
fate-alac-16-level-2 \
|
||||
fate-alac-16-lpc-orders \
|
||||
fate-alac-24-level-0 \
|
||||
fate-alac-24-level-1 \
|
||||
fate-alac-24-level-2 \
|
||||
fate-alac-24-lpc-orders \
|
||||
|
||||
fate-alac-16-level-%: OPTS = -compression_level $(@:fate-alac-16-level-%=%)
|
||||
fate-alac-24-level-%: OPTS = -compression_level $(@:fate-alac-24-level-%=%)
|
||||
fate-alac-%-lpc-orders: OPTS = -min_prediction_order 1 -max_prediction_order 30
|
||||
|
||||
fate-alac-16-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-alac-16-%: CMD = enc_dec_pcm mov wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c alac $(OPTS)
|
||||
|
||||
fate-alac-24-%: REF = $(SAMPLES)/audio-reference/divertimenti_2ch_96kHz_s24.wav
|
||||
fate-alac-24-%: CMD = enc_dec_pcm mov wav s24le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c alac $(OPTS)
|
||||
|
||||
fate-alac-%: CMP = oneoff
|
||||
fate-alac-%: FUZZ = 0
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call ENCDEC, ALAC, MOV) += $(FATE_ALAC)
|
||||
fate-alac: $(FATE_ALAC)
|
11
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/als.mak
Normal file
11
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/als.mak
Normal file
@@ -0,0 +1,11 @@
|
||||
ALS_SUITE = 00 01 02 03 04 05
|
||||
|
||||
define FATE_ALS_SUITE
|
||||
FATE_ALS += fate-mpeg4-als-conformance-$(1)
|
||||
fate-mpeg4-als-conformance-$(1): CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/als_$(1)_2ch48k16b.mp4
|
||||
endef
|
||||
|
||||
$(foreach N,$(ALS_SUITE),$(eval $(call FATE_ALS_SUITE,$(N))))
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, ALS) += $(FATE_ALS)
|
||||
fate-als: $(FATE_ALS)
|
36
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/amrnb.mak
Normal file
36
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/amrnb.mak
Normal file
@@ -0,0 +1,36 @@
|
||||
FATE_AMRNB += fate-amrnb-4k75
|
||||
fate-amrnb-4k75: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/4.75k.amr
|
||||
fate-amrnb-4k75: REF = $(SAMPLES)/amrnb/4.75k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-5k15
|
||||
fate-amrnb-5k15: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/5.15k.amr
|
||||
fate-amrnb-5k15: REF = $(SAMPLES)/amrnb/5.15k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-5k9
|
||||
fate-amrnb-5k9: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/5.9k.amr
|
||||
fate-amrnb-5k9: REF = $(SAMPLES)/amrnb/5.9k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-6k7
|
||||
fate-amrnb-6k7: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/6.7k.amr
|
||||
fate-amrnb-6k7: REF = $(SAMPLES)/amrnb/6.7k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-7k4
|
||||
fate-amrnb-7k4: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/7.4k.amr
|
||||
fate-amrnb-7k4: REF = $(SAMPLES)/amrnb/7.4k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-7k95
|
||||
fate-amrnb-7k95: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/7.95k.amr
|
||||
fate-amrnb-7k95: REF = $(SAMPLES)/amrnb/7.95k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-10k2
|
||||
fate-amrnb-10k2: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/10.2k.amr
|
||||
fate-amrnb-10k2: REF = $(SAMPLES)/amrnb/10.2k.pcm
|
||||
|
||||
FATE_AMRNB += fate-amrnb-12k2
|
||||
fate-amrnb-12k2: CMD = pcm -i $(TARGET_SAMPLES)/amrnb/12.2k.amr
|
||||
fate-amrnb-12k2: REF = $(SAMPLES)/amrnb/12.2k.pcm
|
||||
|
||||
$(FATE_AMRNB): CMP = stddev
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AMR, AMRNB) += $(FATE_AMRNB)
|
||||
fate-amrnb: $(FATE_AMRNB)
|
47
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/amrwb.mak
Normal file
47
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/amrwb.mak
Normal file
@@ -0,0 +1,47 @@
|
||||
FATE_AMRWB += fate-amrwb-6k60
|
||||
fate-amrwb-6k60: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-6k60.awb
|
||||
fate-amrwb-6k60: REF = $(SAMPLES)/amrwb/seed-6k60.pcm
|
||||
|
||||
FATE_AMRWB += fate-amrwb-8k85
|
||||
fate-amrwb-8k85: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-8k85.awb
|
||||
fate-amrwb-8k85: REF = $(SAMPLES)/amrwb/seed-8k85.pcm
|
||||
|
||||
FATE_AMRWB += fate-amrwb-12k65
|
||||
fate-amrwb-12k65: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-12k65.awb
|
||||
fate-amrwb-12k65: REF = $(SAMPLES)/amrwb/seed-12k65.pcm
|
||||
|
||||
FATE_AMRWB += fate-amrwb-14k25
|
||||
fate-amrwb-14k25: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-14k25.awb
|
||||
fate-amrwb-14k25: REF = $(SAMPLES)/amrwb/seed-14k25.pcm
|
||||
fate-amrwb-14k25: FUZZ = 2.6
|
||||
|
||||
FATE_AMRWB += fate-amrwb-15k85
|
||||
fate-amrwb-15k85: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-15k85.awb
|
||||
fate-amrwb-15k85: REF = $(SAMPLES)/amrwb/seed-15k85.pcm
|
||||
|
||||
FATE_AMRWB += fate-amrwb-18k25
|
||||
fate-amrwb-18k25: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-18k25.awb
|
||||
fate-amrwb-18k25: REF = $(SAMPLES)/amrwb/seed-18k25.pcm
|
||||
|
||||
FATE_AMRWB += fate-amrwb-19k85
|
||||
fate-amrwb-19k85: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-19k85.awb
|
||||
fate-amrwb-19k85: REF = $(SAMPLES)/amrwb/seed-19k85.pcm
|
||||
|
||||
FATE_AMRWB += fate-amrwb-23k05
|
||||
fate-amrwb-23k05: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-23k05.awb
|
||||
fate-amrwb-23k05: REF = $(SAMPLES)/amrwb/seed-23k05.pcm
|
||||
fate-amrwb-23k05: FUZZ = 2
|
||||
|
||||
FATE_AMRWB += fate-amrwb-23k85
|
||||
fate-amrwb-23k85: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/seed-23k85.awb
|
||||
fate-amrwb-23k85: REF = $(SAMPLES)/amrwb/seed-23k85.pcm
|
||||
fate-amrwb-23k85: FUZZ = 2
|
||||
|
||||
FATE_AMRWB += fate-amrwb-23k85-2
|
||||
fate-amrwb-23k85-2: CMD = pcm -i $(TARGET_SAMPLES)/amrwb/deus-23k85.awb
|
||||
fate-amrwb-23k85-2: REF = $(SAMPLES)/amrwb/deus-23k85.pcm
|
||||
|
||||
$(FATE_AMRWB): CMP = stddev
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AMR, AMRWB) += $(FATE_AMRWB)
|
||||
fate-amrwb: $(FATE_AMRWB)
|
35
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/api.mak
Normal file
35
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/api.mak
Normal file
@@ -0,0 +1,35 @@
|
||||
FATE_API_LIBAVCODEC-$(call ENCDEC, FLAC, FLAC) += fate-api-flac
|
||||
fate-api-flac: $(APITESTSDIR)/api-flac-test$(EXESUF)
|
||||
fate-api-flac: CMD = run $(APITESTSDIR)/api-flac-test
|
||||
fate-api-flac: CMP = null
|
||||
fate-api-flac: REF = /dev/null
|
||||
|
||||
FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, FLV, FLV) += fate-api-band
|
||||
fate-api-band: $(APITESTSDIR)/api-band-test$(EXESUF)
|
||||
fate-api-band: CMD = run $(APITESTSDIR)/api-band-test $(TARGET_SAMPLES)/mpeg4/resize_down-up.h263
|
||||
fate-api-band: CMP = null
|
||||
fate-api-band: REF = /dev/null
|
||||
|
||||
FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, H264, H264) += fate-api-h264
|
||||
fate-api-h264: $(APITESTSDIR)/api-h264-test$(EXESUF)
|
||||
fate-api-h264: CMD = run $(APITESTSDIR)/api-h264-test $(TARGET_SAMPLES)/h264-conformance/SVA_NL2_E.264
|
||||
|
||||
FATE_API_LIBAVFORMAT-yes += fate-api-seek
|
||||
fate-api-seek: $(APITESTSDIR)/api-seek-test$(EXESUF) fate-lavf
|
||||
fate-api-seek: CMD = run $(APITESTSDIR)/api-seek-test $(TARGET_PATH)/tests/data/lavf/lavf.flv 0 720
|
||||
fate-api-seek: CMP = null
|
||||
fate-api-seek: REF = /dev/null
|
||||
|
||||
FATE_API_SAMPLES-$(CONFIG_AVFORMAT) += $(FATE_API_SAMPLES_LIBAVFORMAT-yes)
|
||||
|
||||
ifdef SAMPLES
|
||||
FATE_API_SAMPLES += $(FATE_API_SAMPLES-yes)
|
||||
endif
|
||||
|
||||
FATE_API-$(CONFIG_AVCODEC) += $(FATE_API_LIBAVCODEC-yes)
|
||||
FATE_API-$(CONFIG_AVFORMAT) += $(FATE_API_LIBAVFORMAT-yes)
|
||||
FATE_API = $(FATE_API-yes)
|
||||
|
||||
FATE-yes += $(FATE_API) $(FATE_API_SAMPLES)
|
||||
|
||||
fate-api: $(FATE_API) $(FATE_API_SAMPLES)
|
37
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/atrac.mak
Normal file
37
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/atrac.mak
Normal file
@@ -0,0 +1,37 @@
|
||||
FATE_ATRAC1-$(call DEMDEC, AEA, ATRAC1) += fate-atrac1
|
||||
fate-atrac1: CMD = pcm -i $(TARGET_SAMPLES)/atrac1/test_tones_small.aea
|
||||
fate-atrac1: REF = $(SAMPLES)/atrac1/test_tones_small.pcm
|
||||
|
||||
FATE_ATRAC3 += fate-atrac3-1
|
||||
fate-atrac3-1: CMD = pcm -i $(TARGET_SAMPLES)/atrac3/mc_sich_at3_066_small.wav
|
||||
fate-atrac3-1: REF = $(SAMPLES)/atrac3/mc_sich_at3_066_small.pcm
|
||||
|
||||
FATE_ATRAC3 += fate-atrac3-2
|
||||
fate-atrac3-2: CMD = pcm -i $(TARGET_SAMPLES)/atrac3/mc_sich_at3_105_small.wav
|
||||
fate-atrac3-2: REF = $(SAMPLES)/atrac3/mc_sich_at3_105_small.pcm
|
||||
|
||||
FATE_ATRAC3 += fate-atrac3-3
|
||||
fate-atrac3-3: CMD = pcm -i $(TARGET_SAMPLES)/atrac3/mc_sich_at3_132_small.wav
|
||||
fate-atrac3-3: REF = $(SAMPLES)/atrac3/mc_sich_at3_132_small.pcm
|
||||
|
||||
FATE_ATRAC3-$(call DEMDEC, WAV, ATRAC3) += $(FATE_ATRAC3)
|
||||
|
||||
FATE_ATRAC3P += fate-atrac3p-1
|
||||
fate-atrac3p-1: CMD = pcm -i $(TARGET_SAMPLES)/atrac3p/at3p_sample1.oma
|
||||
fate-atrac3p-1: REF = $(SAMPLES)/atrac3p/at3p_sample1.pcm
|
||||
|
||||
FATE_ATRAC3P += fate-atrac3p-2
|
||||
fate-atrac3p-2: CMD = pcm -i $(TARGET_SAMPLES)/atrac3p/sonateno14op27-2-cut.aa3
|
||||
fate-atrac3p-2: REF = $(SAMPLES)/atrac3p/sonateno14op27-2-cut.pcm
|
||||
|
||||
FATE_ATRAC3P-$(call DEMDEC, OMA, ATRAC3P) += $(FATE_ATRAC3P)
|
||||
|
||||
FATE_ATRAC_ALL = $(FATE_ATRAC1-yes) $(FATE_ATRAC3-yes) $(FATE_ATRAC3P-yes)
|
||||
|
||||
$(FATE_ATRAC_ALL): CMP = oneoff
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_ATRAC_ALL)
|
||||
|
||||
fate-atrac: $(FATE_ATRAC_ALL)
|
||||
fate-atrac3: $(FATE_ATRAC3-yes)
|
||||
fate-atrac3p: $(FATE_ATRAC3P-yes)
|
81
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/audio.mak
Normal file
81
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/audio.mak
Normal file
@@ -0,0 +1,81 @@
|
||||
FATE_BINKAUDIO-$(call DEMDEC, BINK, BINKAUDIO_DCT) += fate-binkaudio-dct
|
||||
fate-binkaudio-dct: CMD = pcm -i $(TARGET_SAMPLES)/bink/binkaudio_dct.bik
|
||||
fate-binkaudio-dct: REF = $(SAMPLES)/bink/binkaudio_dct.pcm
|
||||
fate-binkaudio-dct: FUZZ = 2
|
||||
|
||||
FATE_BINKAUDIO-$(call DEMDEC, BINK, BINKAUDIO_RDFT) += fate-binkaudio-rdft
|
||||
fate-binkaudio-rdft: CMD = pcm -i $(TARGET_SAMPLES)/bink/binkaudio_rdft.bik
|
||||
fate-binkaudio-rdft: REF = $(SAMPLES)/bink/binkaudio_rdft.pcm
|
||||
fate-binkaudio-rdft: FUZZ = 2
|
||||
|
||||
$(FATE_BINKAUDIO-yes): CMP = oneoff
|
||||
|
||||
FATE_SAMPLES_AUDIO += $(FATE_BINKAUDIO-yes)
|
||||
fate-binkaudio: $(FATE_BINKAUDIO-yes)
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, BMV, BMV_AUDIO) += fate-bmv-audio
|
||||
fate-bmv-audio: CMD = framecrc -i $(TARGET_SAMPLES)/bmv/SURFING-partial.BMV -vn
|
||||
|
||||
FATE_DCA-$(CONFIG_MPEGTS_DEMUXER) += fate-dca-core
|
||||
fate-dca-core: CMD = pcm -i $(TARGET_SAMPLES)/dts/dts.ts
|
||||
fate-dca-core: CMP = oneoff
|
||||
fate-dca-core: REF = $(SAMPLES)/dts/dts.pcm
|
||||
|
||||
FATE_DCA-$(CONFIG_DTS_DEMUXER) += fate-dca-xll
|
||||
fate-dca-xll: CMD = pcm -disable_xll 0 -i $(TARGET_SAMPLES)/dts/master_audio_7.1_24bit.dts
|
||||
fate-dca-xll: CMP = oneoff
|
||||
fate-dca-xll: REF = $(SAMPLES)/dts/master_audio_7.1_24bit.pcm
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(CONFIG_DCA_DECODER) += $(FATE_DCA-yes)
|
||||
fate-dca: $(FATE_DCA-yes)
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, DSICIN, DSICINAUDIO) += fate-delphine-cin-audio
|
||||
fate-delphine-cin-audio: CMD = framecrc -i $(TARGET_SAMPLES)/delphine-cin/LOGO-partial.CIN -vn
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, DSS, DSS_SP) += fate-dss-lp fate-dss-sp
|
||||
fate-dss-lp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/lp.dss -frames 30
|
||||
fate-dss-sp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/sp.dss -frames 30
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, DTS, DCA) += fate-dts_es
|
||||
fate-dts_es: CMD = pcm -i $(TARGET_SAMPLES)/dts/dts_es.dts
|
||||
fate-dts_es: CMP = oneoff
|
||||
fate-dts_es: REF = $(SAMPLES)/dts/dts_es.pcm
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, AVI, IMC) += fate-imc
|
||||
fate-imc: CMD = pcm -i $(TARGET_SAMPLES)/imc/imc.avi
|
||||
fate-imc: CMP = oneoff
|
||||
fate-imc: REF = $(SAMPLES)/imc/imc.pcm
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, FLV, NELLYMOSER) += fate-nellymoser
|
||||
fate-nellymoser: CMD = pcm -i $(TARGET_SAMPLES)/nellymoser/nellymoser.flv
|
||||
fate-nellymoser: CMP = oneoff
|
||||
fate-nellymoser: REF = $(SAMPLES)/nellymoser/nellymoser.pcm
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call ENCMUX, NELLYMOSER, FLV) += fate-nellymoser-aref-encode
|
||||
fate-nellymoser-aref-encode: $(AREF) ./tests/data/asynth-16000-1.wav
|
||||
fate-nellymoser-aref-encode: CMD = enc_dec_pcm flv wav s16le $(REF) -c:a nellymoser
|
||||
fate-nellymoser-aref-encode: CMP = stddev
|
||||
fate-nellymoser-aref-encode: REF = ./tests/data/asynth-16000-1.wav
|
||||
fate-nellymoser-aref-encode: CMP_SHIFT = -256
|
||||
fate-nellymoser-aref-encode: CMP_TARGET = 3863
|
||||
fate-nellymoser-aref-encode: SIZE_TOLERANCE = 268
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, AVI, ON2AVC) += fate-on2avc
|
||||
fate-on2avc: CMD = framecrc -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -vn
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, PAF, PAF_AUDIO) += fate-paf-audio
|
||||
fate-paf-audio: CMD = framecrc -i $(TARGET_SAMPLES)/paf/hod1-partial.paf -vn
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, VMD, VMDAUDIO) += fate-sierra-vmd-audio
|
||||
fate-sierra-vmd-audio: CMD = framecrc -i $(TARGET_SAMPLES)/vmd/12.vmd -vn
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, SMACKER, SMACKAUD) += fate-smacker-audio
|
||||
fate-smacker-audio: CMD = framecrc -i $(TARGET_SAMPLES)/smacker/wetlogo.smk -vn
|
||||
|
||||
FATE_SAMPLES_AUDIO-$(call DEMDEC, WSVQA, WS_SND1) += fate-ws_snd
|
||||
fate-ws_snd: CMD = md5 -i $(TARGET_SAMPLES)/vqa/ws_snd.vqa -f s16le
|
||||
|
||||
FATE_SAMPLES_AUDIO += $(FATE_SAMPLES_AUDIO-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_AUDIO)
|
||||
fate-audio: $(FATE_SAMPLES_AUDIO)
|
@@ -0,0 +1,77 @@
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16BE, AIFF) += aiff
|
||||
FATE_LAVF-$(call ENCDEC, PCM_ALAW, PCM_ALAW) += alaw
|
||||
FATE_LAVF-$(call ENCDEC2, MSMPEG4V3, MP2, ASF) += asf
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16BE_PLANAR, AST) += ast
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16BE, AU) += au
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, AVI) += avi
|
||||
FATE_LAVF-$(call ENCDEC, BMP, IMAGE2) += bmp
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16BE, CAF) += caf
|
||||
FATE_LAVF-$(call ENCDEC, DPX, IMAGE2) += dpx
|
||||
FATE_LAVF-$(call ENCDEC2, DVVIDEO, PCM_S16LE, AVI) += dv_fmt
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, FFM) += ffm
|
||||
FATE_LAVF-$(call ENCDEC, RAWVIDEO, FILMSTRIP) += flm
|
||||
FATE_LAVF-$(call ENCDEC, FLV, FLV) += flv_fmt
|
||||
FATE_LAVF-$(call ENCDEC, GIF, IMAGE2) += gif
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, GXF) += gxf
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16LE, IRCAM) += ircam
|
||||
FATE_LAVF-$(call ENCDEC, MJPEG, IMAGE2) += jpg
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, MATROSKA) += mkv
|
||||
FATE_LAVF-$(call ENCDEC, ADPCM_YAMAHA, MMF) += mmf
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG4, PCM_ALAW, MOV) += mov ismv
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, MPEG1SYSTEM MPEGPS) += mpg
|
||||
FATE_LAVF-$(call ENCDEC, PCM_MULAW, PCM_MULAW) += mulaw
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF) += mxf
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF_D10 MXF) += mxf_d10
|
||||
FATE_LAVF-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom
|
||||
FATE_LAVF-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom_audio
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG4, MP2, NUT) += nut
|
||||
FATE_LAVF-$(call ENCDEC, FLAC, OGG) += ogg
|
||||
FATE_LAVF-$(call ENCDEC, PAM, IMAGE2) += pam
|
||||
FATE_LAVF-$(call ENCDEC, PBM, IMAGE2PIPE) += pbmpipe
|
||||
FATE_LAVF-$(call ENCDEC, PCX, IMAGE2) += pcx
|
||||
FATE_LAVF-$(call ENCDEC, PGM, IMAGE2) += pgm
|
||||
FATE_LAVF-$(call ENCDEC, PGM, IMAGE2PIPE) += pgmpipe
|
||||
FATE_LAVF-$(call ENCDEC, PNG, IMAGE2) += png
|
||||
FATE_LAVF-$(call ENCDEC, PPM, IMAGE2) += ppm
|
||||
FATE_LAVF-$(call ENCDEC, PPM, IMAGE2PIPE) += ppmpipe
|
||||
FATE_LAVF-$(call ENCMUX, RV10 AC3_FIXED, RM) += rm
|
||||
FATE_LAVF-$(call ENCDEC, PCM_U8, RSO) += rso
|
||||
FATE_LAVF-$(call ENCDEC, SGI, IMAGE2) += sgi
|
||||
FATE_LAVF-$(call ENCMUX, MJPEG PCM_S16LE, SMJPEG) += smjpeg
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16LE, SOX) += sox
|
||||
FATE_LAVF-$(call ENCDEC, SUNRAST, IMAGE2) += sunrast
|
||||
FATE_LAVF-$(call ENCDEC, FLV, SWF) += swf
|
||||
FATE_LAVF-$(call ENCDEC, TARGA, IMAGE2) += tga
|
||||
FATE_LAVF-$(call ENCDEC, TIFF, IMAGE2) += tiff
|
||||
FATE_LAVF-$(call ENCDEC2, MPEG2VIDEO, MP2, MPEGTS) += ts
|
||||
FATE_LAVF-$(call ENCDEC, PCM_U8, VOC) += voc
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16LE, VOC) += voc_s16
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav_peak
|
||||
FATE_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav_peak_only
|
||||
FATE_LAVF-$(call ENCMUX, PCM_S16LE, W64) += w64
|
||||
FATE_LAVF-$(call ENCDEC, MP2, WTV) += wtv
|
||||
FATE_LAVF-$(call ENCDEC, XBM, IMAGE2) += xbm
|
||||
FATE_LAVF-$(call ENCDEC, XWD, IMAGE2) += xwd
|
||||
FATE_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg
|
||||
|
||||
FATE_LAVF += $(FATE_LAVF-yes:%=fate-lavf-%)
|
||||
FATE_LAVF_PIXFMT-$(CONFIG_SCALE_FILTER) += fate-lavf-pixfmt
|
||||
FATE_LAVF += $(FATE_LAVF_PIXFMT-yes)
|
||||
|
||||
$(FATE_LAVF): $(AREF) $(VREF)
|
||||
$(FATE_LAVF): CMD = lavftest
|
||||
$(FATE_LAVF): CMP =
|
||||
|
||||
FATE_AVCONV += $(FATE_LAVF)
|
||||
fate-lavf: $(FATE_LAVF)
|
||||
|
||||
FATE_LAVF_FATE-$(call ALLYES, MATROSKA_DEMUXER OGG_MUXER) += ogg_vp3
|
||||
FATE_LAVF_FATE-$(call ALLYES, MOV_DEMUXER LATM_MUXER) += latm
|
||||
FATE_LAVF_FATE-$(call ALLYES, MP3_DEMUXER MP3_MUXER) += mp3
|
||||
|
||||
FATE_LAVF_FATE += $(FATE_LAVF_FATE-yes:%=fate-lavf-fate-%)
|
||||
$(FATE_LAVF_FATE): CMD = lavffatetest
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_LAVF_FATE)
|
||||
fate-lavf-fate: $(FATE_LAVF_FATE)
|
43
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/bmp.mak
Normal file
43
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/bmp.mak
Normal file
@@ -0,0 +1,43 @@
|
||||
FATE_BMP += fate-bmp-1bit
|
||||
fate-bmp-1bit: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test1.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP += fate-bmp-4bit
|
||||
fate-bmp-4bit: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test4.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP += fate-bmp-4bit-os2
|
||||
fate-bmp-4bit-os2: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test4os2v2.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP += fate-bmp-8bit
|
||||
fate-bmp-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test8.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP += fate-bmp-8bit-os2
|
||||
fate-bmp-8bit-os2: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test8os2.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP += fate-bmp-15bit
|
||||
fate-bmp-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test16.bmp -pix_fmt rgb555le
|
||||
|
||||
FATE_BMP += fate-bmp-15bit-mask
|
||||
fate-bmp-15bit-mask: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test16bf555.bmp -pix_fmt rgb555le
|
||||
|
||||
FATE_BMP += fate-bmp-16bit-mask
|
||||
fate-bmp-16bit-mask: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test16bf565.bmp -pix_fmt rgb565le
|
||||
|
||||
FATE_BMP += fate-bmp-24bit
|
||||
fate-bmp-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test24.bmp
|
||||
|
||||
FATE_BMP += fate-bmp-32bit
|
||||
fate-bmp-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test32.bmp -pix_fmt bgr24
|
||||
|
||||
FATE_BMP += fate-bmp-32bit-mask
|
||||
fate-bmp-32bit-mask: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/test32bf.bmp -pix_fmt bgr24
|
||||
|
||||
FATE_BMP += fate-bmp-rle4
|
||||
fate-bmp-rle4: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/testcompress4.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP += fate-bmp-rle8
|
||||
fate-bmp-rle8: CMD = framecrc -i $(TARGET_SAMPLES)/bmp/testcompress8.bmp -pix_fmt rgb24
|
||||
|
||||
FATE_BMP-$(call DEMDEC, IMAGE2, BMP) += $(FATE_BMP)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_BMP-yes)
|
||||
fate-bmp: $(FATE_BMP-yes)
|
19
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/cdxl.mak
Normal file
19
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/cdxl.mak
Normal file
@@ -0,0 +1,19 @@
|
||||
FATE_CDXL += fate-cdxl-bitline-ham6
|
||||
fate-cdxl-bitline-ham6: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/bitline.cdxl -frames:v 10
|
||||
|
||||
FATE_CDXL += fate-cdxl-ham6
|
||||
fate-cdxl-ham6: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/cat.cdxl -an -frames:v 16
|
||||
|
||||
FATE_CDXL += fate-cdxl-ham8
|
||||
fate-cdxl-ham8: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/mirage.cdxl -an -frames:v 1
|
||||
|
||||
FATE_CDXL += fate-cdxl-pal8
|
||||
fate-cdxl-pal8: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/maku.cdxl -pix_fmt rgb24 -frames:v 11
|
||||
|
||||
FATE_CDXL += fate-cdxl-pal8-small
|
||||
fate-cdxl-pal8-small: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/fruit.cdxl -an -pix_fmt rgb24 -frames:v 46
|
||||
|
||||
FATE_CDXL-$(call DEMDEC, CDXL, CDXL) += $(FATE_CDXL)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_CDXL-yes)
|
||||
fate-cdxl: $(FATE_CDXL-yes)
|
@@ -0,0 +1,5 @@
|
||||
fate-checkasm: tests/checkasm/checkasm$(EXESUF)
|
||||
fate-checkasm: CMD = run tests/checkasm/checkasm
|
||||
fate-checkasm: REF = /dev/null
|
||||
|
||||
FATE += fate-checkasm
|
@@ -0,0 +1,38 @@
|
||||
FATE_COVER_ART-$(CONFIG_APE_DEMUXER) += fate-cover-art-ape
|
||||
fate-cover-art-ape: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/luckynight_cover.ape -an -c:v copy -f rawvideo
|
||||
fate-cover-art-ape: REF = 45333c983c45af54449dff10af144317
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_FLAC_DEMUXER) += fate-cover-art-flac
|
||||
fate-cover-art-flac: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/cover_art.flac -an -c:v copy -f rawvideo
|
||||
fate-cover-art-flac: REF = 0de1fc6200596fa32b8f7300a14c0261
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_MOV_DEMUXER) += fate-cover-art-m4a
|
||||
fate-cover-art-m4a: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/Owner-iTunes_9.0.3.15.m4a -an -c:v copy -f rawvideo
|
||||
fate-cover-art-m4a: REF = 08ba70a3b594ff6345a93965e96a9d3e
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_OGG_DEMUXER) += fate-cover-art-ogg
|
||||
fate-cover-art-ogg: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/ogg_vorbiscomment_cover.opus -map 0:v -c:v copy -f rawvideo
|
||||
fate-cover-art-ogg: REF = 7f117e073620eabb4ed02680cf70af41
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_ASF_DEMUXER) += fate-cover-art-wma
|
||||
fate-cover-art-wma: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/Californication_cover.wma -an -c:v copy -f rawvideo
|
||||
fate-cover-art-wma: REF = 0808bd0e1b61542a16e1906812dd924b
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_ASF_DEMUXER) += fate-cover-art-wma-id3
|
||||
fate-cover-art-wma-id3: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/wma_with_ID3_APIC_trimmed.wma -an -c:v copy -f rawvideo
|
||||
fate-cover-art-wma-id3: REF = e6a8dd03687d5178bc13fc7d3316696e
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_ASF_DEMUXER) += fate-cover-art-wma-metadatalib
|
||||
fate-cover-art-wma-metadatalib: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/wma_with_metadata_library_object_tag_trimmed.wma -map 0:v -c:v copy -f rawvideo
|
||||
fate-cover-art-wma-metadatalib: REF = 32e8bd4fad546f63d881a0256f083aea
|
||||
|
||||
FATE_COVER_ART-$(CONFIG_WV_DEMUXER) += fate-cover-art-wv
|
||||
fate-cover-art-wv: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/luckynight_cover.wv -an -c:v copy -f rawvideo
|
||||
fate-cover-art-wv: REF = 45333c983c45af54449dff10af144317
|
||||
|
||||
FCA_TEMP-$(call ALLYES, RAWVIDEO_MUXER FILE_PROTOCOL) = $(FATE_COVER_ART-yes)
|
||||
FATE_COVER_ART = $(FCA_TEMP-yes)
|
||||
|
||||
$(FATE_COVER_ART): CMP = oneline
|
||||
FATE_SAMPLES_AVCONV += $(FATE_COVER_ART)
|
||||
fate-cover-art: $(FATE_COVER_ART)
|
124
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/demux.mak
Normal file
124
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/demux.mak
Normal file
@@ -0,0 +1,124 @@
|
||||
FATE_SAMPLES_DEMUX-$(call DEMDEC, AVI, FRAPS) += fate-avio-direct
|
||||
fate-avio-direct: CMD = framecrc -avioflags direct -i $(TARGET_SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi -avioflags direct
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_AAC_DEMUXER) += fate-adts-demux
|
||||
fate-adts-demux: CMD = crc -i $(TARGET_SAMPLES)/aac/ct_faac-adts.aac -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_AEA_DEMUXER) += fate-aea-demux
|
||||
fate-aea-demux: CMD = crc -i $(TARGET_SAMPLES)/aea/chirp.aea -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_AST_DEMUXER) += fate-ast
|
||||
fate-ast: CMD = crc -i $(TARGET_SAMPLES)/ast/demo11_02_partial.ast -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_BINK_DEMUXER) += fate-bink-demux
|
||||
fate-bink-demux: CMD = crc -i $(TARGET_SAMPLES)/bink/Snd0a7d9b58.dee -vn -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_BFSTM_DEMUXER) += fate-bfstm fate-bcstm
|
||||
fate-bfstm: CMD = crc -i $(TARGET_SAMPLES)/bfstm/spl-forest-day.bfstm -acodec copy
|
||||
fate-bcstm: CMD = crc -i $(TARGET_SAMPLES)/bfstm/loz-mm-mikau.bcstm -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_BRSTM_DEMUXER) += fate-brstm
|
||||
fate-brstm: CMD = crc -i $(TARGET_SAMPLES)/brstm/lozswd_partial.brstm -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_CAF_DEMUXER) += fate-caf
|
||||
fate-caf: CMD = crc -i $(TARGET_SAMPLES)/caf/caf-pcm16.caf -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_CDXL_DEMUXER) += fate-cdxl-demux
|
||||
fate-cdxl-demux: CMD = framecrc -i $(TARGET_SAMPLES)/cdxl/mirage.cdxl -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_CINE_DEMUXER) += fate-cine-demux
|
||||
fate-cine-demux: CMD = crc -i $(TARGET_SAMPLES)/cine/bayer_gbrg8.cine -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_DAUD_DEMUXER) += fate-d-cinema-demux
|
||||
fate-d-cinema-demux: CMD = framecrc -i $(TARGET_SAMPLES)/d-cinema/THX_Science_FLT_1920-partial.302 -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_EA_DEMUXER) += fate-d-eavp6-demux
|
||||
fate-d-eavp6-demux: CMD = framecrc -i $(TARGET_SAMPLES)/ea-vp6/SmallRing.vp6 -map 0 -vcodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_GIF_DEMUXER) += fate-gif-demux
|
||||
fate-gif-demux: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -vcodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_IV8_DEMUXER) += fate-iv8-demux
|
||||
fate-iv8-demux: CMD = framecrc -i $(TARGET_SAMPLES)/iv8/zzz-partial.mpg -vcodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_JV_DEMUXER) += fate-jv-demux
|
||||
fate-jv-demux: CMD = framecrc -i $(TARGET_SAMPLES)/jv/intro.jv -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_LMLM4_DEMUXER) += fate-lmlm4-demux
|
||||
fate-lmlm4-demux: CMD = framecrc -i $(TARGET_SAMPLES)/lmlm4/LMLM4_CIFat30fps.divx -t 3 -acodec copy -vcodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_XA_DEMUXER) += fate-maxis-xa
|
||||
fate-maxis-xa: CMD = framecrc -i $(TARGET_SAMPLES)/maxis-xa/SC2KBUG.XA -frames:a 30 -c:a copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(call DEMDEC, MATROSKA, H264) += fate-mkv
|
||||
fate-mkv: CMD = framecrc -i $(TARGET_SAMPLES)/mkv/test7_cut.mkv -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_MLV_DEMUXER) += fate-mlv-demux
|
||||
fate-mlv-demux: CMD = crc -i $(TARGET_SAMPLES)/mlv/M19-0333-cut.MLV -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_MTV_DEMUXER) += fate-mtv
|
||||
fate-mtv: CMD = framecrc -i $(TARGET_SAMPLES)/mtv/comedian_auto-partial.mtv -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_MXF_DEMUXER) += fate-mxf-demux
|
||||
fate-mxf-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/C0023S01.mxf -acodec copy -vcodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_NC_DEMUXER) += fate-nc-demux
|
||||
fate-nc-demux: CMD = framecrc -i $(TARGET_SAMPLES)/nc-camera/nc-sample-partial -vcodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_NISTSPHERE_DEMUXER) += fate-nistsphere-demux
|
||||
fate-nistsphere-demux: CMD = crc -i $(TARGET_SAMPLES)/nistsphere/nist-ulaw.nist -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_NSV_DEMUXER) += fate-nsv-demux
|
||||
fate-nsv-demux: CMD = framecrc -i $(TARGET_SAMPLES)/nsv/witchblade-51kbps.nsv -t 6 -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_OGG_DEMUXER) += fate-oggvp8-demux
|
||||
fate-oggvp8-demux: CMD = framecrc -i $(TARGET_SAMPLES)/ogg/videotest.ogv -c:v copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_OMA_DEMUXER) += fate-oma-demux
|
||||
fate-oma-demux: CMD = crc -i $(TARGET_SAMPLES)/oma/01-Untitled-partial.oma -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_PAF_DEMUXER) += fate-paf-demux
|
||||
fate-paf-demux: CMD = framecrc -i $(TARGET_SAMPLES)/paf/hod1-partial.paf -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_PMP_DEMUXER) += fate-pmp-demux
|
||||
fate-pmp-demux: CMD = framecrc -i $(TARGET_SAMPLES)/pmp/demo.pmp -vn -c:a copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_RSD_DEMUXER) += fate-rsd-demux
|
||||
fate-rsd-demux: CMD = crc -i $(TARGET_SAMPLES)/rsd/hum01_partial.rsd -c:a copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_REDSPARK_DEMUXER) += fate-redspark-demux
|
||||
fate-redspark-demux: CMD = crc -i $(TARGET_SAMPLES)/redspark/jingle04_partial.rsd -c:a copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_STR_DEMUXER) += fate-psx-str-demux
|
||||
fate-psx-str-demux: CMD = framecrc -i $(TARGET_SAMPLES)/psx-str/descent-partial.str -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_PVA_DEMUXER) += fate-pva-demux
|
||||
fate-pva-demux: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/pva/PVA_test-partial.pva -t 0.6 -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_QCP_DEMUXER) += fate-qcp-demux
|
||||
fate-qcp-demux: CMD = crc -i $(TARGET_SAMPLES)/qcp/0036580847.QCP -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_R3D_DEMUXER) += fate-redcode-demux
|
||||
fate-redcode-demux: CMD = framecrc -i $(TARGET_SAMPLES)/r3d/4MB-sample.r3d -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_SIFF_DEMUXER) += fate-siff-demux
|
||||
fate-siff-demux: CMD = framecrc -i $(TARGET_SAMPLES)/SIFF/INTRO_B.VB -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_SMJPEG_DEMUXER) += fate-smjpeg-demux
|
||||
fate-smjpeg-demux: CMD = framecrc -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_WSAUD_DEMUXER) += fate-westwood-aud
|
||||
fate-westwood-aud: CMD = framecrc -i $(TARGET_SAMPLES)/westwood-aud/excellent.aud -c copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_WTV_DEMUXER) += fate-wtv-demux
|
||||
fate-wtv-demux: CMD = framecrc -i $(TARGET_SAMPLES)/wtv/law-and-order-partial.wtv -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_XMV_DEMUXER) += fate-xmv-demux
|
||||
fate-xmv-demux: CMD = framecrc -i $(TARGET_SAMPLES)/xmv/logos1p.fmv -vcodec copy -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX-$(CONFIG_XWMA_DEMUXER) += fate-xwma-demux
|
||||
fate-xwma-demux: CMD = crc -i $(TARGET_SAMPLES)/xwma/ergon.xwma -acodec copy
|
||||
|
||||
FATE_SAMPLES_DEMUX += $(FATE_SAMPLES_DEMUX-yes)
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_DEMUX)
|
||||
fate-demux: $(FATE_SAMPLES_DEMUX)
|
37
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/dfa.mak
Normal file
37
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/dfa.mak
Normal file
@@ -0,0 +1,37 @@
|
||||
FATE_DFA += fate-dfa1
|
||||
fate-dfa1: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0000.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa2
|
||||
fate-dfa2: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0001.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa3
|
||||
fate-dfa3: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0002.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa4
|
||||
fate-dfa4: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0003.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa5
|
||||
fate-dfa5: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0004.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa6
|
||||
fate-dfa6: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0005.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa7
|
||||
fate-dfa7: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0006.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa8
|
||||
fate-dfa8: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0007.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa9
|
||||
fate-dfa9: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0008.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa10
|
||||
fate-dfa10: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0009.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA += fate-dfa11
|
||||
fate-dfa11: CMD = framecrc -i $(TARGET_SAMPLES)/chronomaster-dfa/0010.dfa -pix_fmt rgb24
|
||||
|
||||
FATE_DFA-$(call DEMDEC, DFA, DFA) += $(FATE_DFA)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_DFA-yes)
|
||||
fate-dfa: $(FATE_DFA-yes)
|
14
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/dpcm.mak
Normal file
14
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/dpcm.mak
Normal file
@@ -0,0 +1,14 @@
|
||||
FATE_DPCM-$(call DEMDEC, ROQ, ROQ_DPCM) += fate-dpcm-idroq
|
||||
fate-dpcm-idroq: CMD = framecrc -i $(TARGET_SAMPLES)/idroq/idlogo.roq -vn
|
||||
|
||||
FATE_DPCM-$(call DEMDEC, IPMOVIE, INTERPLAY_DPCM) += fate-dpcm-interplay
|
||||
fate-dpcm-interplay: CMD = framecrc -i $(TARGET_SAMPLES)/interplay-mve/interplay-logo-2MB.mve -vn
|
||||
|
||||
FATE_DPCM-$(call DEMDEC, SOL, SOL_DPCM) += fate-dpcm-sierra
|
||||
fate-dpcm-sierra: CMD = md5 -i $(TARGET_SAMPLES)/sol/lsl7sample.sol -f s16le
|
||||
|
||||
FATE_DPCM-$(call DEMDEC, AVI, XAN_DPCM) += fate-dpcm-xan
|
||||
fate-dpcm-xan: CMD = md5 -i $(TARGET_SAMPLES)/wc4-xan/wc4_2.avi -vn -f s16le
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_DPCM-yes)
|
||||
fate-dpcm: $(FATE_DPCM-yes)
|
26
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ea.mak
Normal file
26
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ea.mak
Normal file
@@ -0,0 +1,26 @@
|
||||
FATE_SAMPLES_EA-$(call DEMDEC, EA_CDATA, ADPCM_EA_XAS) += fate-ea-cdata
|
||||
fate-ea-cdata: CMD = md5 -i $(TARGET_SAMPLES)/ea-cdata/166b084d.46410f77.0009b440.24be960c.cdata -f s16le
|
||||
|
||||
FATE_SAMPLES_EA-$(call DEMDEC, EA, EACMV) += fate-ea-cmv
|
||||
fate-ea-cmv: CMD = framecrc -i $(TARGET_SAMPLES)/ea-cmv/TITLE.CMV -pix_fmt rgb24
|
||||
|
||||
FATE_SAMPLES_EA-$(call DEMDEC, EA, EAMAD) += fate-ea-mad
|
||||
fate-ea-mad: CMD = framecrc -i $(TARGET_SAMPLES)/ea-mad/NFS6LogoE.mad -an
|
||||
|
||||
FATE_SAMPLES_EA-$(call DEMDEC, EA, EATGQ) += fate-ea-tgq
|
||||
fate-ea-tgq: CMD = framecrc -i $(TARGET_SAMPLES)/ea-tgq/v27.tgq -an
|
||||
|
||||
FATE_EA_TGV += fate-ea-tgv-1
|
||||
fate-ea-tgv-1: CMD = framecrc -i $(TARGET_SAMPLES)/ea-tgv/INTRO8K-partial.TGV -pix_fmt rgb24 -an
|
||||
|
||||
FATE_EA_TGV += fate-ea-tgv-2
|
||||
fate-ea-tgv-2: CMD = framecrc -i $(TARGET_SAMPLES)/ea-tgv/INTEL_S.TGV -pix_fmt rgb24 -an
|
||||
|
||||
FATE_SAMPLES_EA-$(call DEMDEC, EA, EATGV) += $(FATE_EA_TGV)
|
||||
fate-ea-tgv: $(FATE_EA_TGV)
|
||||
|
||||
FATE_SAMPLES_EA-$(call DEMDEC, EA, EATQI) += fate-ea-tqi
|
||||
fate-ea-tqi: CMD = framecrc -i $(TARGET_SAMPLES)/ea-wve/networkBackbone-partial.wve -frames:v 26 -an
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_EA-yes)
|
||||
fate-ea: $(FATE_SAMPLES_EA-yes)
|
18
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/exif.mak
Normal file
18
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/exif.mak
Normal file
@@ -0,0 +1,18 @@
|
||||
# test exif metadata in TIFF images
|
||||
FATE_SAMPLES_EXIF-$(call DEMDEC, IMAGE2, TIFF) += fate-exif-image-tiff
|
||||
fate-exif-image-tiff: CMD = probeframes $(TARGET_SAMPLES)/exif/image_small.tiff
|
||||
|
||||
# test exif metadata in JPG images
|
||||
FATE_SAMPLES_EXIF-$(call DEMDEC, IMAGE2, MJPEG) += fate-exif-image-jpg
|
||||
fate-exif-image-jpg: CMD = probeframes $(TARGET_SAMPLES)/exif/image_small.jpg
|
||||
|
||||
# test exif metadata in WebP images
|
||||
FATE_SAMPLES_EXIF-$(call DEMDEC, IMAGE2, WEBP) += fate-exif-image-webp
|
||||
fate-exif-image-webp: CMD = probeframes $(TARGET_SAMPLES)/exif/image_small.webp
|
||||
|
||||
# test exif metadata in MP3 with embedded JPEG images
|
||||
FATE_SAMPLES_EXIF-$(call ALLYES, MP3_DEMUXER IMAGE2_DEMUXER MJPEG_DECODER) += fate-exif-image-embedded
|
||||
fate-exif-image-embedded: CMD = probeframes $(TARGET_SAMPLES)/exif/embedded_small.mp3
|
||||
|
||||
# add all -yes targets to the tested targets
|
||||
FATE_SAMPLES_FFPROBE += $(FATE_SAMPLES_EXIF-yes)
|
48
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ffmpeg.mak
Normal file
48
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ffmpeg.mak
Normal file
@@ -0,0 +1,48 @@
|
||||
FATE_MAPCHAN-$(CONFIG_CHANNELMAP_FILTER) += fate-mapchan-6ch-extract-2
|
||||
fate-mapchan-6ch-extract-2: tests/data/asynth-22050-6.wav
|
||||
fate-mapchan-6ch-extract-2: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-22050-6.wav -map_channel 0.0.0 -fflags +bitexact -f wav md5: -map_channel 0.0.1 -fflags +bitexact -f wav md5:
|
||||
|
||||
FATE_MAPCHAN-$(CONFIG_CHANNELMAP_FILTER) += fate-mapchan-6ch-extract-2-downmix-mono
|
||||
fate-mapchan-6ch-extract-2-downmix-mono: tests/data/asynth-22050-6.wav
|
||||
fate-mapchan-6ch-extract-2-downmix-mono: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-22050-6.wav -map_channel 0.0.1 -map_channel 0.0.0 -ac 1 -fflags +bitexact -f wav
|
||||
|
||||
FATE_MAPCHAN-$(CONFIG_CHANNELMAP_FILTER) += fate-mapchan-silent-mono
|
||||
fate-mapchan-silent-mono: tests/data/asynth-22050-1.wav
|
||||
fate-mapchan-silent-mono: CMD = md5 -i $(TARGET_PATH)/tests/data/asynth-22050-1.wav -map_channel -1 -map_channel 0.0.0 -fflags +bitexact -f wav
|
||||
|
||||
FATE_MAPCHAN = $(FATE_MAPCHAN-yes)
|
||||
|
||||
FATE_FFMPEG += $(FATE_MAPCHAN)
|
||||
fate-mapchan: $(FATE_MAPCHAN)
|
||||
|
||||
FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-filter_complex
|
||||
fate-ffmpeg-filter_complex: CMD = framecrc -filter_complex color=d=1:r=5 -fflags +bitexact
|
||||
|
||||
FATE_FFMPEG-$(CONFIG_COLOR_FILTER) += fate-ffmpeg-lavfi
|
||||
fate-ffmpeg-lavfi: CMD = framecrc -lavfi color=d=1:r=5 -fflags +bitexact
|
||||
|
||||
FATE_SAMPLES_FFMPEG-$(CONFIG_RAWVIDEO_DEMUXER) += fate-force_key_frames
|
||||
fate-force_key_frames: tests/data/vsynth_lena.yuv
|
||||
fate-force_key_frames: CMD = enc_dec \
|
||||
"rawvideo -s 352x288 -pix_fmt yuv420p" tests/data/vsynth_lena.yuv \
|
||||
avi "-c mpeg4 -g 240 -qscale 10 -force_key_frames 0.5,0:00:01.5" \
|
||||
framecrc "" "" "-skip_frame nokey"
|
||||
|
||||
FATE_SAMPLES_FFMPEG-$(call ALLYES, VOBSUB_DEMUXER DVDSUB_DECODER AVFILTER OVERLAY_FILTER DVDSUB_ENCODER) += fate-sub2video
|
||||
fate-sub2video: tests/data/vsynth_lena.yuv
|
||||
fate-sub2video: CMD = framecrc \
|
||||
-f rawvideo -r 5 -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
|
||||
-ss 132 -i $(TARGET_SAMPLES)/sub/vobsub.idx \
|
||||
-filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:0]scale=720:480[v]\;[v][1:0]overlay[v2]" \
|
||||
-map "[v2]" -c:v rawvideo -map 1:s -c:s dvdsub
|
||||
|
||||
FATE_FFMPEG-$(call ALLYES, PCM_S16LE_DEMUXER PCM_S16LE_MUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER) += fate-unknown_layout-pcm
|
||||
fate-unknown_layout-pcm: $(AREF)
|
||||
fate-unknown_layout-pcm: CMD = md5 \
|
||||
-guess_layout_max 0 -f s16le -ac 1 -ar 44100 -i $(TARGET_PATH)/$(AREF) -f s16le
|
||||
|
||||
FATE_FFMPEG-$(call ALLYES, PCM_S16LE_DEMUXER AC3_MUXER PCM_S16LE_DECODER AC3_FIXED_ENCODER) += fate-unknown_layout-ac3
|
||||
fate-unknown_layout-ac3: $(AREF)
|
||||
fate-unknown_layout-ac3: CMD = md5 \
|
||||
-guess_layout_max 0 -f s16le -ac 1 -ar 44100 -i $(TARGET_PATH)/$(AREF) \
|
||||
-f ac3 -flags +bitexact -c ac3_fixed
|
35
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ffprobe.mak
Normal file
35
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/ffprobe.mak
Normal file
@@ -0,0 +1,35 @@
|
||||
FFPROBE_TEST_FILE=tests/data/ffprobe-test.nut
|
||||
FFPROBE_COMMAND=ffprobe$(EXESUF) -show_streams -show_packets -show_format -show_frames -bitexact $(FFPROBE_TEST_FILE)
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_compact
|
||||
fate-ffprobe_compact: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_compact: CMD = run $(FFPROBE_COMMAND) -of compact
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_csv
|
||||
fate-ffprobe_csv: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_csv: CMD = run $(FFPROBE_COMMAND) -of csv
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_default
|
||||
fate-ffprobe_default: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_default: CMD = run $(FFPROBE_COMMAND) -of default
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_flat
|
||||
fate-ffprobe_flat: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_flat: CMD = run $(FFPROBE_COMMAND) -of flat
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_ini
|
||||
fate-ffprobe_ini: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_ini: CMD = run $(FFPROBE_COMMAND) -of ini
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_json
|
||||
fate-ffprobe_json: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_json: CMD = run $(FFPROBE_COMMAND) -of json
|
||||
|
||||
FATE_FFPROBE-$(CONFIG_AVDEVICE) += fate-ffprobe_xml
|
||||
fate-ffprobe_xml: $(FFPROBE_TEST_FILE)
|
||||
fate-ffprobe_xml: CMD = run $(FFPROBE_COMMAND) -of xml
|
||||
|
||||
FATE_FFPROBE += $(FATE_FFPROBE-yes)
|
||||
|
||||
fate-ffprobe: $(FATE_FFPROBE)
|
||||
|
59
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/fft.mak
Normal file
59
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/fft.mak
Normal file
@@ -0,0 +1,59 @@
|
||||
define DEF_FFT
|
||||
FATE_FFT-$(CONFIG_DCT) += fate-dct1d-$(1) fate-idct1d-$(1)
|
||||
FATE_FFT-$(CONFIG_FFT) += fate-fft-$(1) fate-ifft-$(1)
|
||||
FATE_FFT-$(CONFIG_MDCT) += fate-mdct-$(1) fate-imdct-$(1)
|
||||
FATE_FFT-$(CONFIG_RDFT) += fate-rdft-$(1) fate-irdft-$(1)
|
||||
|
||||
fate-fft-$(N): ARGS = -n$(1)
|
||||
fate-ifft-$(N): ARGS = -n$(1) -i
|
||||
fate-mdct-$(N): ARGS = -n$(1) -m
|
||||
fate-imdct-$(N): ARGS = -n$(1) -m -i
|
||||
fate-rdft-$(N): ARGS = -n$(1) -r
|
||||
fate-irdft-$(N): ARGS = -n$(1) -r -i
|
||||
fate-dct1d-$(N): ARGS = -n$(1) -d
|
||||
fate-idct1d-$(N): ARGS = -n$(1) -d -i
|
||||
endef
|
||||
|
||||
$(foreach N, 4 5 6 7 8 9 10 11 12, $(eval $(call DEF_FFT,$(N))))
|
||||
|
||||
fate-fft-float: $(FATE_FFT-yes)
|
||||
$(FATE_FFT-yes): libavcodec/fft-test$(EXESUF)
|
||||
$(FATE_FFT-yes): CMD = run libavcodec/fft-test $(CPUFLAGS:%=-c%) $(ARGS)
|
||||
$(FATE_FFT-yes): REF = /dev/null
|
||||
|
||||
define DEF_FFT_FIXED
|
||||
FATE_FFT_FIXED-$(CONFIG_FFT) += fate-fft-fixed-$(1) fate-ifft-fixed-$(1)
|
||||
FATE_FFT_FIXED-$(CONFIG_MDCT) += fate-mdct-fixed-$(1) fate-imdct-fixed-$(1)
|
||||
|
||||
fate-fft-fixed-$(1): ARGS = -n$(1)
|
||||
fate-ifft-fixed-$(1): ARGS = -n$(1) -i
|
||||
fate-mdct-fixed-$(1): ARGS = -n$(1) -m
|
||||
fate-imdct-fixed-$(1): ARGS = -n$(1) -m -i
|
||||
endef
|
||||
|
||||
$(foreach N, 4 5 6 7 8 9 10 11 12, $(eval $(call DEF_FFT_FIXED,$(N))))
|
||||
|
||||
fate-fft-fixed: $(FATE_FFT_FIXED-yes)
|
||||
$(FATE_FFT_FIXED-yes): libavcodec/fft-fixed-test$(EXESUF)
|
||||
$(FATE_FFT_FIXED-yes): CMD = run libavcodec/fft-fixed-test $(CPUFLAGS:%=-c%) $(ARGS)
|
||||
$(FATE_FFT_FIXED-yes): REF = /dev/null
|
||||
|
||||
define DEF_FFT_FIXED32
|
||||
FATE_FFT_FIXED32 += fate-fft-fixed32-$(1) fate-ifft-fixed32-$(1) \
|
||||
fate-mdct-fixed32-$(1) fate-imdct-fixed32-$(1)
|
||||
|
||||
fate-fft-fixed32-$(1): ARGS = -n$(1)
|
||||
fate-ifft-fixed32-$(1): ARGS = -n$(1) -i
|
||||
#fate-mdct-fixed32-$(1): ARGS = -n$(1) -m
|
||||
fate-imdct-fixed32-$(1): ARGS = -n$(1) -m -i
|
||||
endef
|
||||
|
||||
$(foreach N, 4 5 6 7 8 9 10 11 12, $(eval $(call DEF_FFT_FIXED32,$(N))))
|
||||
|
||||
fate-fft-fixed32-test: $(FATE_FFT_FIXED32)
|
||||
$(FATE_FFT_FIXED32): libavcodec/fft-fixed32-test$(EXESUF)
|
||||
$(FATE_FFT_FIXED32): CMD = run libavcodec/fft-fixed32-test $(CPUFLAGS:%=-c%) $(ARGS)
|
||||
$(FATE_FFT_FIXED32): REF = /dev/null
|
||||
|
||||
FATE-$(call ALLYES, AVCODEC FFT MDCT) += $(FATE_FFT-yes) $(FATE_FFT_FIXED-yes) $(FATE_FFT_FIXED32)
|
||||
fate-fft: $(FATE_FFT-yes) $(FATE_FFT_FIXED-yes) $(FATE_FFT_FIXED32)
|
@@ -0,0 +1,100 @@
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, ADELAY, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-adelay
|
||||
fate-filter-adelay: tests/data/asynth-44100-2.wav
|
||||
fate-filter-adelay: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-adelay: CMD = framecrc -i $(SRC) -af adelay=42
|
||||
|
||||
FATE_AMIX += fate-filter-amix-simple
|
||||
fate-filter-amix-simple: CMD = ffmpeg -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
|
||||
fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
|
||||
|
||||
FATE_AMIX += fate-filter-amix-first
|
||||
fate-filter-amix-first: CMD = ffmpeg -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
|
||||
fate-filter-amix-first: REF = $(SAMPLES)/filter/amix_first.pcm
|
||||
|
||||
FATE_AMIX += fate-filter-amix-transition
|
||||
fate-filter-amix-transition: tests/data/asynth-44100-2-3.wav
|
||||
fate-filter-amix-transition: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-2-3.wav
|
||||
fate-filter-amix-transition: CMD = ffmpeg -filter_complex amix=inputs=3:dropout_transition=0.5 -i $(SRC) -ss 2 -i $(SRC1) -ss 4 -i $(SRC2) -f f32le -
|
||||
fate-filter-amix-transition: REF = $(SAMPLES)/filter/amix_transition.pcm
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, AMIX, WAV, PCM_S16LE, PCM_F32LE, PCM_F32LE) += $(FATE_AMIX)
|
||||
$(FATE_AMIX): tests/data/asynth-44100-2.wav tests/data/asynth-44100-2-2.wav
|
||||
$(FATE_AMIX): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
$(FATE_AMIX): SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2-2.wav
|
||||
$(FATE_AMIX): CMP = oneoff
|
||||
$(FATE_AMIX): CMP_UNIT = f32
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECMUX, ASYNCTS, FLV, NELLYMOSER, PCM_S16LE) += fate-filter-asyncts
|
||||
fate-filter-asyncts: SRC = $(TARGET_SAMPLES)/nellymoser/nellymoser-discont.flv
|
||||
fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts
|
||||
fate-filter-asyncts: CMP = oneoff
|
||||
fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont-async-v3.pcm
|
||||
|
||||
FATE_FILTER-$(CONFIG_ARESAMPLE_FILTER) += fate-filter-aresample
|
||||
fate-filter-aresample: SRC = $(TARGET_SAMPLES)/nellymoser/nellymoser-discont.flv
|
||||
fate-filter-aresample: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af aresample=min_comp=0.001:min_hard_comp=0.1:first_pts=0
|
||||
fate-filter-aresample: CMP = oneoff
|
||||
fate-filter-aresample: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
|
||||
|
||||
FATE_ATRIM += fate-filter-atrim-duration
|
||||
fate-filter-atrim-duration: CMD = framecrc -i $(SRC) -af atrim=start=0.1:duration=0.01
|
||||
FATE_ATRIM += fate-filter-atrim-mixed
|
||||
fate-filter-atrim-mixed: CMD = framecrc -i $(SRC) -af atrim=start=0.05:start_sample=1025:end=0.1:end_sample=4411
|
||||
|
||||
FATE_ATRIM += fate-filter-atrim-samples
|
||||
fate-filter-atrim-samples: CMD = framecrc -i $(SRC) -af atrim=start_sample=26:end_sample=80
|
||||
|
||||
FATE_ATRIM += fate-filter-atrim-time
|
||||
fate-filter-atrim-time: CMD = framecrc -i $(SRC) -af atrim=0.1:0.2
|
||||
|
||||
$(FATE_ATRIM): tests/data/asynth-44100-2.wav
|
||||
$(FATE_ATRIM): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
|
||||
FATE_FILTER-$(call FILTERDEMDECENCMUX, ATRIM, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_ATRIM)
|
||||
|
||||
FATE_FILTER_CHANNELMAP += fate-filter-channelmap-one-int
|
||||
fate-filter-channelmap-one-int: tests/data/filtergraphs/channelmap_one_int
|
||||
fate-filter-channelmap-one-int: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
|
||||
fate-filter-channelmap-one-int: tests/data/asynth-44100-6.wav
|
||||
fate-filter-channelmap-one-int: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_int -f wav -fflags +bitexact
|
||||
fate-filter-channelmap-one-int: CMP = oneline
|
||||
fate-filter-channelmap-one-int: REF = 428b8f9fac6d57147069b97335019ef5
|
||||
|
||||
FATE_FILTER_CHANNELMAP += fate-filter-channelmap-one-str
|
||||
fate-filter-channelmap-one-str: tests/data/filtergraphs/channelmap_one_str
|
||||
fate-filter-channelmap-one-str: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-channelmap-one-str: tests/data/asynth-44100-2.wav
|
||||
fate-filter-channelmap-one-str: CMD = md5 -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/channelmap_one_str -f wav -fflags +bitexact
|
||||
fate-filter-channelmap-one-str: CMP = oneline
|
||||
fate-filter-channelmap-one-str: REF = e788890db6a11c2fb29d7c4229072d49
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_FILTER_CHANNELMAP)
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, CHANNELSPLIT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-channelsplit
|
||||
fate-filter-channelsplit: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-channelsplit: tests/data/asynth-44100-2.wav
|
||||
fate-filter-channelsplit: CMD = md5 -i $(SRC) -filter_complex channelsplit -f s16le
|
||||
fate-filter-channelsplit: CMP = oneline
|
||||
fate-filter-channelsplit: REF = d92988d0fe2dd92236763f47b07ab597
|
||||
|
||||
FATE_AFILTER-$(call FILTERDEMDECENCMUX, JOIN, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-join
|
||||
fate-filter-join: SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-join: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-3.wav
|
||||
fate-filter-join: tests/data/asynth-44100-2.wav tests/data/asynth-44100-3.wav
|
||||
fate-filter-join: CMD = md5 -i $(SRC1) -i $(SRC2) -filter_complex join=channel_layout=5c -f s16le
|
||||
fate-filter-join: CMP = oneline
|
||||
fate-filter-join: REF = 88b0d24a64717ba8635b29e8dac6ecd8
|
||||
|
||||
FATE_AFILTER-$(call ALLYES, WAV_DEMUXER PCM_S16LE_DECODER PCM_S16LE_ENCODER PCM_S16LE_MUXER APERMS_FILTER VOLUME_FILTER) += fate-filter-volume
|
||||
fate-filter-volume: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
||||
fate-filter-volume: tests/data/asynth-44100-2.wav
|
||||
fate-filter-volume: CMD = md5 -i $(SRC) -af aperms=random,volume=precision=fixed:volume=0.5 -f s16le
|
||||
fate-filter-volume: CMP = oneline
|
||||
fate-filter-volume: REF = 4d6ba75ef3e32d305d066b9bc771d6f4
|
||||
|
||||
FATE_AFILTER-yes += fate-filter-formats
|
||||
fate-filter-formats: libavfilter/formats-test$(EXESUF)
|
||||
fate-filter-formats: CMD = run libavfilter/formats-test
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_AFILTER-yes)
|
||||
fate-afilter: $(FATE_AFILTER-yes)
|
@@ -0,0 +1,600 @@
|
||||
FATE_FILTER-$(call ALLYES, PERMS_FILTER DELOGO_FILTER RM_DEMUXER RV30_DECODER) += fate-filter-delogo
|
||||
fate-filter-delogo: CMD = framecrc -i $(TARGET_SAMPLES)/real/rv30.rm -vf perms=random,delogo=show=0:x=290:y=25:w=26:h=16 -an
|
||||
|
||||
FATE_YADIF += fate-filter-yadif-mode0
|
||||
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf yadif=0
|
||||
|
||||
FATE_YADIF += fate-filter-yadif-mode1
|
||||
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 59 -vf yadif=1
|
||||
|
||||
FATE_YADIF += fate-filter-yadif10
|
||||
fate-filter-yadif10: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p10le -vframes 30 -vf yadif=0
|
||||
|
||||
FATE_YADIF += fate-filter-yadif16
|
||||
fate-filter-yadif16: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p16le -vframes 30 -vf yadif=0
|
||||
|
||||
FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF)
|
||||
|
||||
FATE_W3FDIF += fate-filter-w3fdif-simple
|
||||
fate-filter-w3fdif-simple: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf w3fdif=0
|
||||
|
||||
FATE_W3FDIF += fate-filter-w3fdif-complex
|
||||
fate-filter-w3fdif-complex: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf w3fdif=1
|
||||
|
||||
FATE_FILTER-$(call FILTERDEMDEC, W3FDIF, MPEGTS, MPEG2VIDEO) += $(FATE_W3FDIF)
|
||||
|
||||
FATE_MCDEINT += fate-filter-mcdeint-fast
|
||||
fate-filter-mcdeint-fast: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf mcdeint=fast
|
||||
|
||||
FATE_MCDEINT += fate-filter-mcdeint-medium
|
||||
fate-filter-mcdeint-medium: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf mcdeint=mode=medium
|
||||
|
||||
FATE_FILTER-$(call ALLYES, MCDEINT_FILTER, MPEGTS_DEMUXER, MPEG2VIDEO_DECODER SNOW_ENCODER) += $(FATE_MCDEINT)
|
||||
|
||||
FATE_FILTER-$(call ALLYES, CODECVIEW_FILTER RM_DEMUXER RV40_DECODER) += fate-filter-codecview-mvs
|
||||
fate-filter-codecview-mvs: CMD = framecrc -flags2 +export_mvs -i $(TARGET_SAMPLES)/real/spygames-2MB.rmvb -vf codecview=mv=pf+bf+bb -vframes 60 -an
|
||||
|
||||
FATE_FILTER-$(call ALLYES, SHOWPALETTE_FILTER FLIC_DEMUXER FLIC_DECODER) += fate-filter-showpalette
|
||||
fate-filter-showpalette: CMD = framecrc -i $(TARGET_SAMPLES)/fli/fli-engines.fli -vf showpalette=3 -pix_fmt bgra
|
||||
|
||||
FATE_FILTER_PALETTEGEN += fate-filter-palettegen-1
|
||||
fate-filter-palettegen-1: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf palettegen -pix_fmt bgra
|
||||
|
||||
FATE_FILTER_PALETTEGEN += fate-filter-palettegen-2
|
||||
fate-filter-palettegen-2: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -vf palettegen=max_colors=128:reserve_transparent=0:stats_mode=diff -pix_fmt bgra
|
||||
|
||||
fate-filter-palettegen: $(FATE_FILTER_PALETTEGEN)
|
||||
FATE_FILTER-$(call ALLYES, PALETTEGEN_FILTER MATROSKA_DEMUXER H264_DECODER) += $(FATE_FILTER_PALETTEGEN)
|
||||
|
||||
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-nodither
|
||||
fate-filter-paletteuse-nodither: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=none -pix_fmt bgra
|
||||
|
||||
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-bayer
|
||||
fate-filter-paletteuse-bayer: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=bayer -pix_fmt bgra
|
||||
|
||||
FATE_FILTER_PALETTEUSE += fate-filter-paletteuse-sierra2_4a
|
||||
fate-filter-paletteuse-sierra2_4a: CMD = framecrc -i $(TARGET_SAMPLES)/filter/anim.mkv -i $(TARGET_SAMPLES)/filter/anim-palette.png -lavfi paletteuse=sierra2_4a:diff_mode=rectangle -pix_fmt bgra
|
||||
|
||||
fate-filter-paletteuse: $(FATE_FILTER_PALETTEUSE)
|
||||
FATE_FILTER-$(call ALLYES, PALETTEUSE_FILTER MATROSKA_DEMUXER H264_DECODER IMAGE2_DEMUXER PNG_DECODER) += $(FATE_FILTER_PALETTEUSE)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
||||
|
||||
FATE_FILTER-$(call ALLYES, AVDEVICE LIFE_FILTER) += fate-filter-lavd-life
|
||||
fate-filter-lavd-life: CMD = framecrc -f lavfi -i life=s=40x40:r=5:seed=42:mold=64:ratio=0.1:death_color=red:life_color=green -t 2
|
||||
|
||||
FATE_FILTER-$(call ALLYES, AVDEVICE TESTSRC_FILTER) += fate-filter-lavd-testsrc
|
||||
fate-filter-lavd-testsrc: CMD = framecrc -f lavfi -i testsrc=r=7:n=2:d=10
|
||||
|
||||
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
|
||||
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
|
||||
fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, COLORCHANNELMIXER_FILTER FORMAT_FILTER PERMS_FILTER) += fate-filter-colorchannelmixer
|
||||
fate-filter-colorchannelmixer: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=rgb24,perms=random,colorchannelmixer=.31415927:.4:.31415927:0:.27182818:.8:.27182818:0:.2:.6:.2:0 -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
|
||||
fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=224:24:88:72:red@0.5
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
|
||||
fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:5:15,fade=out:30:15
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder
|
||||
fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
define FATE_FPFILTER_SUITE
|
||||
FATE_FILTER_FRAMEPACK += fate-filter-framepack-$(1)
|
||||
fate-filter-framepack-$(1): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(1) -frames 15
|
||||
endef
|
||||
|
||||
FPMODES = columns frameseq lines sbs tab
|
||||
$(foreach MODE,$(FPMODES),$(eval $(call FATE_FPFILTER_SUITE,$(MODE))))
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_FRAMEPACK_FILTER) += $(FATE_FILTER_FRAMEPACK)
|
||||
fate-filter-framepack: $(FATE_FILTER_FRAMEPACK)
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
|
||||
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_HQDN3D_FILTER) += fate-filter-hqdn3d
|
||||
fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace
|
||||
fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, NEGATE_FILTER PERMS_FILTER) += fate-filter-negate
|
||||
fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf perms=random,negate
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_HISTOGRAM_FILTER) += fate-filter-histogram-levels
|
||||
fate-filter-histogram-levels: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf histogram -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_column
|
||||
fate-filter-waveform_column: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_row
|
||||
fate-filter-waveform_row: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=m=row -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_envelope
|
||||
fate-filter-waveform_envelope: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=e=3 -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_WAVEFORM_FILTER) += fate-filter-waveform_uv
|
||||
fate-filter-waveform_uv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf waveform=c=6 -flags +bitexact -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_gray
|
||||
fate-filter-vectorscope_gray: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=gray -sws_flags +accurate_rnd+bitexact -vframes 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color
|
||||
fate-filter-vectorscope_color: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color -sws_flags +accurate_rnd+bitexact -vframes 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color2
|
||||
fate-filter-vectorscope_color2: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color2 -sws_flags +accurate_rnd+bitexact -vframes 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color3
|
||||
fate-filter-vectorscope_color3: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color3 -sws_flags +accurate_rnd+bitexact -vframes 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_color4
|
||||
fate-filter-vectorscope_color4: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=color4 -sws_flags +accurate_rnd+bitexact -vframes 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VECTORSCOPE_FILTER) += fate-filter-vectorscope_xy
|
||||
fate-filter-vectorscope_xy: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf vectorscope=x=0:y=1 -sws_flags +accurate_rnd+bitexact -vframes 3
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_MERGEPLANES_FILTER) += fate-filter-mergeplanes
|
||||
fate-filter-mergeplanes: tests/data/filtergraphs/mergeplanes
|
||||
fate-filter-mergeplanes: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/mergeplanes
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
|
||||
fate-filter-overlay: tests/data/filtergraphs/overlay
|
||||
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_rgb
|
||||
fate-filter-overlay_rgb: tests/data/filtergraphs/overlay_rgb
|
||||
fate-filter-overlay_rgb: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_rgb
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_yuv420
|
||||
fate-filter-overlay_yuv420: tests/data/filtergraphs/overlay_yuv420
|
||||
fate-filter-overlay_yuv420: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv420
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_yuv422
|
||||
fate-filter-overlay_yuv422: tests/data/filtergraphs/overlay_yuv422
|
||||
fate-filter-overlay_yuv422: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv422
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SPLIT_FILTER SCALE_FILTER PAD_FILTER OVERLAY_FILTER) += fate-filter-overlay_yuv444
|
||||
fate-filter-overlay_yuv444: tests/data/filtergraphs/overlay_yuv444
|
||||
fate-filter-overlay_yuv444: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay_yuv444
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_PHASE_FILTER) += fate-filter-phase
|
||||
fate-filter-phase: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf phase
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-00
|
||||
fate-filter-removegrain-mode-00: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=0:0:0
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-01
|
||||
fate-filter-removegrain-mode-01: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=1:1:1
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-02
|
||||
fate-filter-removegrain-mode-02: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=2:2:2
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-03
|
||||
fate-filter-removegrain-mode-03: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=3:3:3
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-04
|
||||
fate-filter-removegrain-mode-04: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=4:4:4
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-05
|
||||
fate-filter-removegrain-mode-05: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=5:5:5
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-06
|
||||
fate-filter-removegrain-mode-06: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=6:6:6
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-07
|
||||
fate-filter-removegrain-mode-07: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=7:7:7
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-08
|
||||
fate-filter-removegrain-mode-08: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=8:8:8
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-09
|
||||
fate-filter-removegrain-mode-09: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=9:9:9
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-10
|
||||
fate-filter-removegrain-mode-10: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=10:10:10
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-11
|
||||
fate-filter-removegrain-mode-11: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=11:11:11
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-12
|
||||
fate-filter-removegrain-mode-12: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=12:12:12
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-13
|
||||
fate-filter-removegrain-mode-13: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=13:13:13
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-14
|
||||
fate-filter-removegrain-mode-14: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=14:14:14
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-15
|
||||
fate-filter-removegrain-mode-15: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=15:15:15
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-16
|
||||
fate-filter-removegrain-mode-16: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=16:16:16
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-17
|
||||
fate-filter-removegrain-mode-17: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=17:17:17
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-18
|
||||
fate-filter-removegrain-mode-18: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=18:18:18
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-19
|
||||
fate-filter-removegrain-mode-19: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=19:19:19
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-20
|
||||
fate-filter-removegrain-mode-20: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=20:20:20
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-21
|
||||
fate-filter-removegrain-mode-21: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=21:21:21
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-22
|
||||
fate-filter-removegrain-mode-22: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=22:22:22
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-23
|
||||
fate-filter-removegrain-mode-23: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=23:23:23
|
||||
|
||||
FATE_REMOVEGRAIN += fate-filter-removegrain-mode-24
|
||||
fate-filter-removegrain-mode-24: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 1 -vf removegrain=24:24:24
|
||||
|
||||
fate-filter-removegrain: $(FATE_REMOVEGRAIN)
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_REMOVEGRAIN_FILTER) += $(FATE_REMOVEGRAIN)
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SEPARATEFIELDS_FILTER) += fate-filter-separatefields
|
||||
fate-filter-separatefields: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf separatefields
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternate
|
||||
fate-filter-select-alternate: tests/data/filtergraphs/select-alternate
|
||||
fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/select-alternate
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
|
||||
fate-filter-setpts: tests/data/filtergraphs/setpts
|
||||
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/setpts
|
||||
|
||||
FATE_SHUFFLEPLANES += fate-filter-shuffleplanes-dup-luma
|
||||
fate-filter-shuffleplanes-dup-luma: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=yuva444p,shuffleplanes=0:0:0:0
|
||||
|
||||
FATE_SHUFFLEPLANES += fate-filter-shuffleplanes-swapuv
|
||||
fate-filter-shuffleplanes-swapuv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuffleplanes=0:2:1
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SHUFFLEPLANES_FILTER) += $(FATE_SHUFFLEPLANES)
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_TBLEND_FILTER) += fate-filter-tblend
|
||||
fate-filter-tblend: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf tblend=all_mode=difference128
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_TELECINE_FILTER) += fate-filter-telecine
|
||||
fate-filter-telecine: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf telecine
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
|
||||
fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
|
||||
|
||||
FATE_TRIM += fate-filter-trim-duration
|
||||
fate-filter-trim-duration: CMD = framecrc -i $(SRC) -vf trim=start=0.4:duration=0.05
|
||||
|
||||
FATE_TRIM += fate-filter-trim-frame
|
||||
fate-filter-trim-frame: CMD = framecrc -i $(SRC) -vf trim=start_frame=3:end_frame=10
|
||||
|
||||
FATE_TRIM += fate-filter-trim-mixed
|
||||
fate-filter-trim-mixed: CMD = framecrc -i $(SRC) -vf trim=start=0.2:end=0.4:start_frame=1:end_frame=3
|
||||
|
||||
FATE_TRIM += fate-filter-trim-time
|
||||
fate-filter-trim-time: CMD = framecrc -i $(SRC) -vf trim=0:0.09
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_TRIM_FILTER) += $(FATE_TRIM)
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp
|
||||
fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp=11:11:-1.5:11:11:-1.5
|
||||
|
||||
FATE_FILTER-$(call ALLYES, SMJPEG_DEMUXER MJPEG_DECODER PERMS_FILTER HQDN3D_FILTER) += fate-filter-hqdn3d-sample
|
||||
fate-filter-hqdn3d-sample: tests/data/filtergraphs/hqdn3d
|
||||
fate-filter-hqdn3d-sample: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/smjpeg/scenwin.mjpg -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/hqdn3d -an
|
||||
|
||||
FATE_FILTER_HQX-$(call ALLYES, IMAGE2_DEMUXER PNG_DECODER HQX_FILTER) = fate-filter-hq2x fate-filter-hq3x fate-filter-hq4x
|
||||
FATE_FILTER-yes += $(FATE_FILTER_HQX-yes)
|
||||
fate-filter-hq2x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf hqx=2 -pix_fmt bgra
|
||||
fate-filter-hq3x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf hqx=3 -pix_fmt bgra
|
||||
fate-filter-hq4x: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf hqx=4 -pix_fmt bgra
|
||||
fate-filter-hqx: $(FATE_FILTER_HQX-yes)
|
||||
|
||||
FATE_FILTER_XBR-$(call ALLYES, IMAGE2_DEMUXER PNG_DECODER XBR_FILTER) = fate-filter-2xbr fate-filter-3xbr fate-filter-4xbr
|
||||
FATE_FILTER-yes += $(FATE_FILTER_XBR-yes)
|
||||
fate-filter-2xbr: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf xbr=2 -pix_fmt bgra
|
||||
fate-filter-3xbr: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf xbr=3 -pix_fmt bgra
|
||||
fate-filter-4xbr: CMD = framecrc -i $(TARGET_SAMPLES)/filter/pixelart%d.png -vf xbr=4 -pix_fmt bgra
|
||||
fate-filter-xbr: $(FATE_FILTER_XBR-yes)
|
||||
|
||||
FATE_FILTER-$(call ALLYES, UTVIDEO_DECODER AVI_DEMUXER PERMS_FILTER CURVES_FILTER) += fate-filter-curves
|
||||
fate-filter-curves: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgb_median.avi -vf perms=random,curves=vintage
|
||||
|
||||
FATE_FILTER-$(call ALLYES, VMD_DEMUXER VMDVIDEO_DECODER FORMAT_FILTER PERMS_FILTER GRADFUN_FILTER) += fate-filter-gradfun-sample
|
||||
fate-filter-gradfun-sample: tests/data/filtergraphs/gradfun
|
||||
fate-filter-gradfun-sample: CMD = framecrc -i $(TARGET_SAMPLES)/vmd/12.vmd -filter_script $(TARGET_PATH)/tests/data/filtergraphs/gradfun -an -frames:v 20
|
||||
|
||||
FATE_FILTER-$(call ALLYES, TESTSRC_FILTER SINE_FILTER CONCAT_FILTER) += fate-filter-concat
|
||||
fate-filter-concat: tests/data/filtergraphs/concat
|
||||
fate-filter-concat: CMD = framecrc -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/concat
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, FORMAT_FILTER SPLIT_FILTER ALPHAEXTRACT_FILTER ALPHAMERGE_FILTER) += fate-filter-alphaextract_alphamerge_rgb
|
||||
fate-filter-alphaextract_alphamerge_rgb: tests/data/filtergraphs/alphamerge_alphaextract_rgb
|
||||
fate-filter-alphaextract_alphamerge_rgb: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/alphamerge_alphaextract_rgb
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, FORMAT_FILTER SPLIT_FILTER ALPHAEXTRACT_FILTER ALPHAMERGE_FILTER) += fate-filter-alphaextract_alphamerge_yuv
|
||||
fate-filter-alphaextract_alphamerge_yuv: tests/data/filtergraphs/alphamerge_alphaextract_yuv
|
||||
fate-filter-alphaextract_alphamerge_yuv: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/alphamerge_alphaextract_yuv
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_CROP_FILTER) += fate-filter-crop
|
||||
fate-filter-crop: CMD = video_filter "crop=iw-100:ih-100:100:100"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER) += fate-filter-crop_scale
|
||||
fate-filter-crop_scale: CMD = video_filter "crop=iw-100:ih-100:100:100,scale=w=400:h=-1"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER VFLIP_FILTER) += fate-filter-crop_scale_vflip
|
||||
fate-filter-crop_scale_vflip: CMD = video_filter "null,null,crop=iw-200:ih-200:200:200,crop=iw-20:ih-20:20:20,scale=w=200:h=200,scale=w=250:h=250,vflip,vflip,null,scale=w=200:h=200,crop=iw-100:ih-100:100:100,vflip,scale=w=200:h=200,null,vflip,crop=iw-100:ih-100:100:100,null"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-crop_vflip
|
||||
fate-filter-crop_vflip: CMD = video_filter "crop=iw-100:ih-100:100:100,vflip"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_NULL_FILTER) += fate-filter-null
|
||||
fate-filter-null: CMD = video_filter "null"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale200
|
||||
fate-filter-scale200: CMD = video_filter "scale=w=200:h=200"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale500
|
||||
fate-filter-scale500: CMD = video_filter "scale=w=500:h=500"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
|
||||
fate-filter-vflip: CMD = video_filter "vflip"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_COLORMATRIX_FILTER) += fate-filter-colormatrix1
|
||||
fate-filter-colormatrix1: CMD = video_filter "colormatrix=bt601:smpte240m,colormatrix=smpte240m:fcc,colormatrix=fcc:bt601,colormatrix=bt601:fcc,colormatrix=fcc:smpte240m,colormatrix=smpte240m:bt709"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_COLORMATRIX_FILTER) += fate-filter-colormatrix2
|
||||
fate-filter-colormatrix2: CMD = video_filter "colormatrix=bt709:fcc,colormatrix=fcc:bt709,colormatrix=bt709:bt601,colormatrix=bt601:bt709,colormatrix=bt709:smpte240m,colormatrix=smpte240m:bt601"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-vflip_crop
|
||||
fate-filter-vflip_crop: CMD = video_filter "vflip,crop=iw-100:ih-100:100:100"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
|
||||
fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, FORMAT_FILTER PERMS_FILTER EDGEDETECT_FILTER) += fate-filter-edgedetect
|
||||
fate-filter-edgedetect: CMD = video_filter "format=gray,perms=random,edgedetect" -vframes 20
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, FORMAT_FILTER PERMS_FILTER EDGEDETECT_FILTER) += fate-filter-edgedetect-colormix
|
||||
fate-filter-edgedetect-colormix: CMD = video_filter "format=gbrp,perms=random,edgedetect=mode=colormix" -vframes 20
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, PERMS_FILTER HUE_FILTER) += fate-filter-hue
|
||||
fate-filter-hue: CMD = video_filter "perms=random,hue=s=sin(2*PI*t)+1" -vframes 20
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_IDET_FILTER) += fate-filter-idet
|
||||
fate-filter-idet: CMD = framecrc -flags bitexact -idct simple -i $(SRC) -vf idet -vframes 25 -flags +bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_PAD_FILTER) += fate-filter-pad
|
||||
fate-filter-pad: CMD = video_filter "pad=iw*1.5:ih*1.5:iw*0.3:ih*0.2"
|
||||
|
||||
FATE_FILTER_PP = fate-filter-pp fate-filter-pp1 fate-filter-pp2 fate-filter-pp3 fate-filter-pp4 fate-filter-pp5 fate-filter-pp6
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_PP_FILTER) += $(FATE_FILTER_PP)
|
||||
$(FATE_FILTER_PP): fate-vsynth1-mpeg4-qprd
|
||||
|
||||
fate-filter-pp: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_PATH)/tests/data/fate/vsynth1-mpeg4-qprd.avi -vframes 5 -flags +bitexact -vf "pp=be/hb/vb/tn/l5/al"
|
||||
fate-filter-pp1: CMD = video_filter "pp=fq|4/be/hb/vb/tn/l5/al"
|
||||
fate-filter-pp2: CMD = video_filter "qp=x+y,pp=be/h1/v1/lb"
|
||||
fate-filter-pp3: CMD = video_filter "qp=x+y,pp=be/ha|128|7/va/li"
|
||||
fate-filter-pp4: CMD = video_filter "pp=be/ci"
|
||||
fate-filter-pp5: CMD = video_filter "pp=md"
|
||||
fate-filter-pp6: CMD = video_filter "pp=be/fd"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(call ALLYES, QP_FILTER PP_FILTER) += fate-filter-qp
|
||||
fate-filter-qp: CMD = video_filter "qp=17,pp=be/hb/vb/tn/l5/al"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SELECT_FILTER) += fate-filter-select
|
||||
fate-filter-select: CMD = framecrc -flags bitexact -idct simple -i $(SRC) -vf "select=not(eq(mod(n\,2)\,0)+eq(mod(n\,3)\,0))" -vframes 25 -flags +bitexact
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SETDAR_FILTER) += fate-filter-setdar
|
||||
fate-filter-setdar: CMD = video_filter "setdar=dar=16/9"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_SETSAR_FILTER) += fate-filter-setsar
|
||||
fate-filter-setsar: CMD = video_filter "setsar=sar=16/11"
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-al-sbsl
|
||||
fate-filter-stereo3d-al-sbsl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=al:sbsl
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-ar-abl
|
||||
fate-filter-stereo3d-ar-abl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=ar:abl
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-abr-mr
|
||||
fate-filter-stereo3d-abr-mr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=abr:mr
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-abr-ml
|
||||
fate-filter-stereo3d-abr-ml: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=abr:ml
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-abl
|
||||
fate-filter-stereo3d-sbsl-abl: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:abl
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-abr
|
||||
fate-filter-stereo3d-sbsl-abr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:abr
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-al
|
||||
fate-filter-stereo3d-sbsl-al: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:al
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-sbsr
|
||||
fate-filter-stereo3d-sbsl-sbsr: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:sbsr
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmc
|
||||
fate-filter-stereo3d-sbsl-agmc: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmc
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmd
|
||||
fate-filter-stereo3d-sbsl-agmd: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmd
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmg
|
||||
fate-filter-stereo3d-sbsl-agmg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmg
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-agmh
|
||||
fate-filter-stereo3d-sbsl-agmh: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:agmh
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-arbg
|
||||
fate-filter-stereo3d-sbsl-arbg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arbg
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-arcc
|
||||
fate-filter-stereo3d-sbsl-arcc: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arcc
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-arcd
|
||||
fate-filter-stereo3d-sbsl-arcd: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arcd
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-arcg
|
||||
fate-filter-stereo3d-sbsl-arcg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arcg
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-arch
|
||||
fate-filter-stereo3d-sbsl-arch: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:arch
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-argg
|
||||
fate-filter-stereo3d-sbsl-argg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:argg
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybc
|
||||
fate-filter-stereo3d-sbsl-aybc: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybc
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybd
|
||||
fate-filter-stereo3d-sbsl-aybd: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybd
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybg
|
||||
fate-filter-stereo3d-sbsl-aybg: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybg
|
||||
|
||||
FATE_STEREO3D += fate-filter-stereo3d-sbsl-aybh
|
||||
fate-filter-stereo3d-sbsl-aybh: CMD = framecrc -c:v pgmyuv -i $(SRC) -vframes 5 -flags +bitexact -sws_flags +accurate_rnd+bitexact -vf stereo3d=sbsl:aybh
|
||||
|
||||
fate-filter-stereo3d: $(FATE_STEREO3D)
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_STEREO3D_FILTER) += $(FATE_STEREO3D)
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_THUMBNAIL_FILTER) += fate-filter-thumbnail
|
||||
fate-filter-thumbnail: CMD = video_filter "thumbnail=10"
|
||||
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_TILE_FILTER) += fate-filter-tile
|
||||
fate-filter-tile: CMD = video_filter "tile=3x3:nb_frames=5:padding=7:margin=2"
|
||||
|
||||
|
||||
tests/pixfmts.mak: TAG = GEN
|
||||
tests/pixfmts.mak: ffmpeg$(EXESUF)
|
||||
$(M)printf "PIXFMTS = " > $@
|
||||
$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@
|
||||
$(Q)printf "\n" >> $@
|
||||
|
||||
RUNNING_PIXFMTS_TESTS := $(filter check fate fate-list fate-filter fate-vfilter fate-filter-pixdesc%,$(MAKECMDGOALS))
|
||||
|
||||
ifneq (,$(RUNNING_PIXFMTS_TESTS))
|
||||
-include tests/pixfmts.mak
|
||||
endif
|
||||
|
||||
define PIXDESC_TEST
|
||||
FATE_FILTER_PIXDESC-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc-$(1)
|
||||
fate-filter-pixdesc-$(1): CMD = video_filter "format=$(1),pixdesctest" -pix_fmt $(1)
|
||||
endef
|
||||
|
||||
$(foreach fmt, $(PIXFMTS), $(eval $(call PIXDESC_TEST,$(fmt))))
|
||||
|
||||
fate-filter-pixdesc: $(FATE_FILTER_PIXDESC-yes)
|
||||
FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_PIXDESC-yes)
|
||||
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_COPY_FILTER) += fate-filter-pixfmts-copy
|
||||
fate-filter-pixfmts-copy: CMD = pixfmts
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_CROP_FILTER) += fate-filter-pixfmts-crop
|
||||
fate-filter-pixfmts-crop: CMD = pixfmts "100:100:100:100"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_FIELD_FILTER) += fate-filter-pixfmts-field
|
||||
fate-filter-pixfmts-field: CMD = pixfmts "bottom"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(call ALLYES, TELECINE_FILTER FIELDMATCH_FILTER) += fate-filter-pixfmts-fieldmatch
|
||||
fate-filter-pixfmts-fieldmatch: CMD = pixfmts "" "telecine," 25
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_FIELDORDER_FILTER) += fate-filter-pixfmts-fieldorder
|
||||
fate-filter-pixfmts-fieldorder: CMD = pixfmts "tff" "setfield=bff,"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_HFLIP_FILTER) += fate-filter-pixfmts-hflip
|
||||
fate-filter-pixfmts-hflip: CMD = pixfmts
|
||||
|
||||
#FATE_FILTER_PIXFMTS-$(CONFIG_HISTEQ_FILTER) += fate-filter-pixfmts-histeq
|
||||
#fate-filter-pixfmts-histeq: CMD = pixfmts "antibanding=strong"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_IL_FILTER) += fate-filter-pixfmts-il
|
||||
fate-filter-pixfmts-il: CMD = pixfmts "luma_mode=d:chroma_mode=d:alpha_mode=d"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_KERNDEINT_FILTER) += fate-filter-pixfmts-kerndeint
|
||||
fate-filter-pixfmts-kerndeint: CMD = pixfmts "" "tinterlace=interleave_top,"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_LUT_FILTER) += fate-filter-pixfmts-lut
|
||||
fate-filter-pixfmts-lut: CMD = pixfmts "c0=2*val:c1=2*val:c2=val/2:c3=negval+40"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_NULL_FILTER) += fate-filter-pixfmts-null
|
||||
fate-filter-pixfmts-null: CMD = pixfmts
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_PAD_FILTER) += fate-filter-pixfmts-pad
|
||||
fate-filter-pixfmts-pad: CMD = pixfmts "500:400:20:20"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(call ALLYES, TELECINE_FILTER PULLUP_FILTER) += fate-filter-pixfmts-pullup
|
||||
fate-filter-pixfmts-pullup: CMD = pixfmts "" "telecine," 25
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_ROTATE_FILTER) += fate-filter-pixfmts-rotate
|
||||
fate-filter-pixfmts-rotate: CMD = pixfmts "2*PI*n/50"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_SCALE_FILTER) += fate-filter-pixfmts-scale
|
||||
fate-filter-pixfmts-scale: CMD = pixfmts "200:100"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_SUPER2XSAI_FILTER) += fate-filter-pixfmts-super2xsai
|
||||
fate-filter-pixfmts-super2xsai: CMD = pixfmts
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_SWAPUV_FILTER) += fate-filter-pixfmts-swapuv
|
||||
fate-filter-pixfmts-swapuv: CMD = pixfmts
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_TINTERLACE_FILTER) += fate-filter-pixfmts-tinterlace_merge
|
||||
fate-filter-pixfmts-tinterlace_merge: CMD = pixfmts "merge"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_TINTERLACE_FILTER) += fate-filter-pixfmts-tinterlace_pad
|
||||
fate-filter-pixfmts-tinterlace_pad: CMD = pixfmts "pad"
|
||||
|
||||
FATE_FILTER_PIXFMTS-$(CONFIG_VFLIP_FILTER) += fate-filter-pixfmts-vflip
|
||||
fate-filter-pixfmts-vflip: CMD = pixfmts
|
||||
|
||||
$(FATE_FILTER_PIXFMTS-yes): libavfilter/filtfmts-test$(EXESUF)
|
||||
FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += $(FATE_FILTER_PIXFMTS-yes)
|
||||
|
||||
fate-filter-pixfmts: $(FATE_FILTER_PIXFMTS-yes)
|
||||
|
||||
$(FATE_FILTER_VSYNTH-yes): $(VREF)
|
||||
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
|
||||
|
||||
FATE_AVCONV-$(call DEMDEC, IMAGE2, PGMYUV) += $(FATE_FILTER_VSYNTH-yes)
|
||||
|
||||
#
|
||||
# Metadata tests
|
||||
#
|
||||
FILTER_METADATA_COMMAND = ffprobe$(EXESUF) -of compact=p=0 -show_entries frame=pkt_pts:frame_tags -bitexact -f lavfi
|
||||
|
||||
SCENEDETECT_DEPS = FFPROBE LAVFI_INDEV MOVIE_FILTER SELECT_FILTER SCALE_FILTER \
|
||||
AVCODEC AVDEVICE MOV_DEMUXER SVQ3_DECODER ZLIB
|
||||
FATE_METADATA_FILTER-$(call ALLYES, $(SCENEDETECT_DEPS)) += fate-filter-metadata-scenedetect
|
||||
fate-filter-metadata-scenedetect: SRC = $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov
|
||||
fate-filter-metadata-scenedetect: CMD = run $(FILTER_METADATA_COMMAND) "sws_flags=+accurate_rnd+bitexact;movie='$(SRC)',select=gt(scene\,.4)"
|
||||
|
||||
SILENCEDETECT_DEPS = FFPROBE AVDEVICE LAVFI_INDEV AMOVIE_FILTER AMR_DEMUXER AMRWB_DECODER SILENCEDETECT_FILTER
|
||||
FATE_METADATA_FILTER-$(call ALLYES, $(SILENCEDETECT_DEPS)) += fate-filter-metadata-silencedetect
|
||||
fate-filter-metadata-silencedetect: SRC = $(TARGET_SAMPLES)/amrwb/seed-12k65.awb
|
||||
fate-filter-metadata-silencedetect: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',silencedetect=d=-20dB"
|
||||
|
||||
EBUR128_METADATA_DEPS = FFPROBE AVDEVICE LAVFI_INDEV AMOVIE_FILTER FLAC_DEMUXER FLAC_DECODER EBUR128_FILTER
|
||||
FATE_METADATA_FILTER-$(call ALLYES, $(EBUR128_METADATA_DEPS)) += fate-filter-metadata-ebur128
|
||||
fate-filter-metadata-ebur128: SRC = $(TARGET_SAMPLES)/filter/seq-3341-7_seq-3342-5-24bit.flac
|
||||
fate-filter-metadata-ebur128: CMD = run $(FILTER_METADATA_COMMAND) "amovie='$(SRC)',ebur128=metadata=1"
|
||||
|
||||
FATE_SAMPLES_FFPROBE += $(FATE_METADATA_FILTER-yes)
|
||||
|
||||
fate-vfilter: $(FATE_FILTER-yes) $(FATE_FILTER_VSYNTH-yes)
|
||||
|
||||
fate-filter: fate-afilter fate-vfilter $(FATE_METADATA_FILTER-yes)
|
32
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/flac.mak
Normal file
32
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/flac.mak
Normal file
@@ -0,0 +1,32 @@
|
||||
FATE_FLAC += fate-flac-16-chmode-indep \
|
||||
fate-flac-16-chmode-left_side \
|
||||
fate-flac-16-chmode-mid_side \
|
||||
fate-flac-16-chmode-right_side \
|
||||
fate-flac-16-fixed \
|
||||
fate-flac-16-lpc-cholesky \
|
||||
fate-flac-16-lpc-levinson \
|
||||
fate-flac-24-comp-8 \
|
||||
fate-flac-rice-params \
|
||||
|
||||
fate-flac-16-chmode-%: OPTS = -ch_mode $(@:fate-flac-16-chmode-%=%)
|
||||
fate-flac-16-fixed: OPTS = -lpc_type fixed
|
||||
fate-flac-16-lpc-%: OPTS = -lpc_type $(@:fate-flac-16-lpc-%=%)
|
||||
|
||||
fate-flac-16-%: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
fate-flac-16-%: CMD = enc_dec_pcm flac wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c flac $(OPTS)
|
||||
|
||||
fate-flac-24-comp-%: OPTS = -compression_level $(@:fate-flac-24-comp-%=%)
|
||||
|
||||
fate-flac-24-%: REF = $(SAMPLES)/audio-reference/divertimenti_2ch_96kHz_s24.wav
|
||||
fate-flac-24-%: CMD = enc_dec_pcm flac wav s24le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c flac $(OPTS)
|
||||
|
||||
fate-flac-rice-params: REF = $(SAMPLES)/audio-reference/chorusnoise_2ch_44kHz_s16.wav
|
||||
fate-flac-rice-params: CMD = enc_dec_pcm flac wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c flac
|
||||
|
||||
fate-flac-%: CMP = oneoff
|
||||
fate-flac-%: FUZZ = 0
|
||||
|
||||
FATE_FLAC-$(call ENCMUX, FLAC, FLAC) += $(FATE_FLAC)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_FLAC-yes)
|
||||
fate-flac: $(FATE_FLAC)
|
@@ -0,0 +1,7 @@
|
||||
FATE_GAPLESS-$(CONFIG_MP3_DEMUXER) += fate-gapless-mp3
|
||||
fate-gapless-mp3: CMD = gapless $(TARGET_SAMPLES)/gapless/gapless.mp3
|
||||
|
||||
FATE_GAPLESS = $(FATE_GAPLESS-yes)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_GAPLESS)
|
||||
fate-gapless: $(FATE_GAPLESS)
|
27
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/gif.mak
Normal file
27
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/gif.mak
Normal file
@@ -0,0 +1,27 @@
|
||||
FATE_GIF += fate-gif-color
|
||||
fate-gif-color: CMD = framecrc -i $(TARGET_SAMPLES)/gif/tc217.gif -pix_fmt bgra
|
||||
|
||||
FATE_GIF += fate-gif-disposal-background
|
||||
fate-gif-disposal-background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_fmt bgra
|
||||
|
||||
FATE_GIF += fate-gif-disposal-restore
|
||||
fate-gif-disposal-restore: CMD = framecrc -i $(TARGET_SAMPLES)/gif/banner2.gif -pix_fmt bgra
|
||||
|
||||
FATE_GIF += fate-gif-gray
|
||||
fate-gif-gray: CMD = framecrc -i $(TARGET_SAMPLES)/gif/Newtons_cradle_animation_book_2.gif -pix_fmt bgra
|
||||
|
||||
fate-gifenc%: fate-gif-color
|
||||
fate-gifenc%: PIXFMT = $(word 3, $(subst -, ,$(@)))
|
||||
fate-gifenc%: SRC = $(TARGET_SAMPLES)/gif/tc217.gif
|
||||
fate-gifenc%: CMD = framecrc -i $(SRC) -c:v gif -pix_fmt $(PIXFMT)
|
||||
|
||||
FATE_GIF_ENC_PIXFMT = rgb8 bgr8 rgb4_byte bgr4_byte gray pal8
|
||||
FATE_GIF_ENC-$(call ENCDEC, GIF, GIF) = $(FATE_GIF_ENC_PIXFMT:%=fate-gifenc-%)
|
||||
|
||||
FATE_GIF += $(FATE_GIF_ENC-yes)
|
||||
fate-gifenc: $(FATE_GIF_ENC-yes)
|
||||
|
||||
FATE_GIF-$(call DEMDEC, GIF, GIF) += $(FATE_GIF)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_GIF-yes)
|
||||
fate-gif: $(FATE_GIF-yes)
|
397
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/h264.mak
Normal file
397
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/h264.mak
Normal file
@@ -0,0 +1,397 @@
|
||||
FATE_H264 = aud_mw_e \
|
||||
ba1_ft_c \
|
||||
ba1_sony_d \
|
||||
ba2_sony_f \
|
||||
ba3_sva_c \
|
||||
ba_mw_d \
|
||||
bamq1_jvc_c \
|
||||
bamq2_jvc_c \
|
||||
banm_mw_d \
|
||||
basqp1_sony_c \
|
||||
caba1_sony_d \
|
||||
caba1_sva_b \
|
||||
caba2_sony_e \
|
||||
caba2_sva_b \
|
||||
caba3_sony_c \
|
||||
caba3_sva_b \
|
||||
caba3_toshiba_e \
|
||||
cabac_mot_fld0_full \
|
||||
cabac_mot_frm0_full \
|
||||
cabac_mot_mbaff0_full \
|
||||
cabac_mot_picaff0_full \
|
||||
cabaci3_sony_b \
|
||||
cabast3_sony_e \
|
||||
cabastbr3_sony_b \
|
||||
cabref3_sand_d \
|
||||
cacqp3_sony_d \
|
||||
cafi1_sva_c \
|
||||
cama1_sony_c \
|
||||
cama1_toshiba_b \
|
||||
cama1_vtc_c \
|
||||
cama2_vtc_b \
|
||||
cama3_sand_e \
|
||||
cama3_vtc_b \
|
||||
camaci3_sony_c \
|
||||
camanl1_toshiba_b \
|
||||
camanl2_toshiba_b \
|
||||
camanl3_sand_e \
|
||||
camasl3_sony_b \
|
||||
camp_mot_mbaff_l30 \
|
||||
camp_mot_mbaff_l31 \
|
||||
canl1_sony_e \
|
||||
canl1_sva_b \
|
||||
canl1_toshiba_g \
|
||||
canl2_sony_e \
|
||||
canl2_sva_b \
|
||||
canl3_sony_c \
|
||||
canl3_sva_b \
|
||||
canl4_sva_b \
|
||||
canlma2_sony_c \
|
||||
canlma3_sony_c \
|
||||
capa1_toshiba_b \
|
||||
capama3_sand_f \
|
||||
capcm1_sand_e \
|
||||
capcmnl1_sand_e \
|
||||
capm3_sony_d \
|
||||
caqp1_sony_b \
|
||||
cavlc_mot_fld0_full_b \
|
||||
cavlc_mot_frm0_full_b \
|
||||
cavlc_mot_mbaff0_full_b \
|
||||
cavlc_mot_picaff0_full_b \
|
||||
cawp1_toshiba_e \
|
||||
cawp5_toshiba_e \
|
||||
ci1_ft_b \
|
||||
ci_mw_d \
|
||||
cvbs3_sony_c \
|
||||
cvcanlma2_sony_c \
|
||||
cvfc1_sony_c \
|
||||
cvfi1_sony_d \
|
||||
cvfi1_sva_c \
|
||||
cvfi2_sony_h \
|
||||
cvfi2_sva_c \
|
||||
cvma1_sony_d \
|
||||
cvma1_toshiba_b \
|
||||
cvmanl1_toshiba_b \
|
||||
cvmanl2_toshiba_b \
|
||||
cvmapaqp3_sony_e \
|
||||
cvmaqp2_sony_g \
|
||||
cvmaqp3_sony_d \
|
||||
cvmp_mot_fld_l30_b \
|
||||
cvmp_mot_frm_l31_b \
|
||||
cvnlfi1_sony_c \
|
||||
cvnlfi2_sony_h \
|
||||
cvpa1_toshiba_b \
|
||||
cvpcmnl1_sva_c \
|
||||
cvpcmnl2_sva_c \
|
||||
cvwp1_toshiba_e \
|
||||
cvwp2_toshiba_e \
|
||||
cvwp3_toshiba_e \
|
||||
cvwp5_toshiba_e \
|
||||
fi1_sony_e \
|
||||
frext-alphaconformanceg \
|
||||
frext-bcrm_freh10 \
|
||||
frext-brcm_freh11 \
|
||||
frext-brcm_freh3 \
|
||||
frext-brcm_freh4 \
|
||||
frext-brcm_freh5 \
|
||||
frext-brcm_freh8 \
|
||||
frext-brcm_freh9 \
|
||||
frext-freh12_b \
|
||||
frext-freh1_b \
|
||||
frext-freh2_b \
|
||||
frext-freh6 \
|
||||
frext-freh7_b \
|
||||
frext-frext01_jvc_d \
|
||||
frext-frext02_jvc_c \
|
||||
frext-frext1_panasonic_c \
|
||||
frext-frext2_panasonic_b \
|
||||
frext-frext3_panasonic_d \
|
||||
frext-frext4_panasonic_a \
|
||||
frext-frext_mmco4_sony_b \
|
||||
frext-hcaff1_hhi_b \
|
||||
frext-hcafr1_hhi_c \
|
||||
frext-hcafr2_hhi_a \
|
||||
frext-hcafr3_hhi_a \
|
||||
frext-hcafr4_hhi_a \
|
||||
frext-hcamff1_hhi_b \
|
||||
frext-hi422fr10_sony_b \
|
||||
frext-hi422fr13_sony_b \
|
||||
frext-hi422fr1_sony_a \
|
||||
frext-hi422fr6_sony_a \
|
||||
frext-hpca_brcm_c \
|
||||
frext-hpcadq_brcm_b \
|
||||
frext-hpcafl_bcrm_c \
|
||||
frext-hpcaflnl_bcrm_c \
|
||||
frext-hpcalq_brcm_b \
|
||||
frext-hpcamapalq_bcrm_b \
|
||||
frext-hpcamolq_brcm_b \
|
||||
frext-hpcanl_brcm_c \
|
||||
frext-hpcaq2lq_brcm_b \
|
||||
frext-hpcv_brcm_a \
|
||||
frext-hpcvfl_bcrm_a \
|
||||
frext-hpcvflnl_bcrm_a \
|
||||
frext-hpcvmolq_brcm_b \
|
||||
frext-hpcvnl_brcm_a \
|
||||
frext-pph10i1_panasonic_a \
|
||||
frext-pph10i2_panasonic_a \
|
||||
frext-pph10i3_panasonic_a \
|
||||
frext-pph10i4_panasonic_a \
|
||||
frext-pph10i5_panasonic_a \
|
||||
frext-pph10i6_panasonic_a \
|
||||
frext-pph10i7_panasonic_a \
|
||||
frext-pph422i1_panasonic_a \
|
||||
frext-pph422i2_panasonic_a \
|
||||
frext-pph422i3_panasonic_a \
|
||||
frext-pph422i4_panasonic_a \
|
||||
frext-pph422i5_panasonic_a \
|
||||
frext-pph422i6_panasonic_a \
|
||||
frext-pph422i7_panasonic_a \
|
||||
hcbp2_hhi_a \
|
||||
hcmp1_hhi_a \
|
||||
ls_sva_d \
|
||||
midr_mw_d \
|
||||
mps_mw_a \
|
||||
mr1_bt_a \
|
||||
mr1_mw_a \
|
||||
mr2_mw_a \
|
||||
mr2_tandberg_e \
|
||||
mr3_tandberg_b \
|
||||
mr4_tandberg_c \
|
||||
mr5_tandberg_c \
|
||||
mr6_bt_b \
|
||||
mr7_bt_b \
|
||||
mr8_bt_b \
|
||||
mr9_bt_b \
|
||||
mv1_brcm_d \
|
||||
nl1_sony_d \
|
||||
nl2_sony_h \
|
||||
nl3_sva_e \
|
||||
nlmq1_jvc_c \
|
||||
nlmq2_jvc_c \
|
||||
nrf_mw_e \
|
||||
sharp_mp_field_1_b \
|
||||
sharp_mp_field_2_b \
|
||||
sharp_mp_field_3_b \
|
||||
sharp_mp_paff_1r2 \
|
||||
sharp_mp_paff_2r \
|
||||
sl1_sva_b \
|
||||
sva_ba1_b \
|
||||
sva_ba2_d \
|
||||
sva_base_b \
|
||||
sva_cl1_e \
|
||||
sva_fm1_e \
|
||||
sva_nl1_b \
|
||||
sva_nl2_e \
|
||||
|
||||
FATE_H264_REINIT_TESTS := large_420_8-to-small_420_8 \
|
||||
small_420_8-to-large_444_10 \
|
||||
small_420_9-to-small_420_8 \
|
||||
small_422_9-to-small_420_9 \
|
||||
|
||||
FATE_H264 := $(FATE_H264:%=fate-h264-conformance-%) \
|
||||
$(FATE_H264_REINIT_TESTS:%=fate-h264-reinit-%) \
|
||||
fate-h264-extreme-plane-pred \
|
||||
fate-h264-lossless \
|
||||
|
||||
FATE_H264-$(call DEMDEC, H264, H264) += $(FATE_H264)
|
||||
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-crop-to-container
|
||||
FATE_H264-$(call DEMDEC, MOV, H264) += fate-h264-interlace-crop
|
||||
FATE_H264-$(call ALLYES, MOV_DEMUXER H264_MP4TOANNEXB_BSF) += fate-h264-bsf-mp4toannexb
|
||||
FATE_H264-$(call DEMDEC, MATROSKA, H264) += fate-h264-direct-bff
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_H264-yes)
|
||||
fate-h264: $(FATE_H264-yes)
|
||||
|
||||
fate-h264-conformance-aud_mw_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/AUD_MW_E.264
|
||||
fate-h264-conformance-ba1_ft_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BA1_FT_C.264
|
||||
fate-h264-conformance-ba1_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BA1_Sony_D.jsv
|
||||
fate-h264-conformance-ba2_sony_f: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BA2_Sony_F.jsv
|
||||
fate-h264-conformance-ba3_sva_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BA3_SVA_C.264
|
||||
fate-h264-conformance-ba_mw_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BA_MW_D.264
|
||||
fate-h264-conformance-bamq1_jvc_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BAMQ1_JVC_C.264
|
||||
fate-h264-conformance-bamq2_jvc_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BAMQ2_JVC_C.264
|
||||
fate-h264-conformance-banm_mw_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BANM_MW_D.264
|
||||
fate-h264-conformance-basqp1_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/BASQP1_Sony_C.jsv
|
||||
fate-h264-conformance-caba1_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA1_Sony_D.jsv
|
||||
fate-h264-conformance-caba1_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA1_SVA_B.264
|
||||
fate-h264-conformance-caba2_sony_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA2_Sony_E.jsv
|
||||
fate-h264-conformance-caba2_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA2_SVA_B.264
|
||||
fate-h264-conformance-caba3_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA3_Sony_C.jsv
|
||||
fate-h264-conformance-caba3_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA3_SVA_B.264
|
||||
fate-h264-conformance-caba3_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABA3_TOSHIBA_E.264
|
||||
fate-h264-conformance-cabac_mot_fld0_full: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/camp_mot_fld0_full.26l
|
||||
fate-h264-conformance-cabac_mot_frm0_full: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/camp_mot_frm0_full.26l
|
||||
fate-h264-conformance-cabac_mot_mbaff0_full: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/camp_mot_mbaff0_full.26l
|
||||
fate-h264-conformance-cabac_mot_picaff0_full: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/camp_mot_picaff0_full.26l
|
||||
fate-h264-conformance-cabaci3_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABACI3_Sony_B.jsv
|
||||
fate-h264-conformance-cabast3_sony_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABAST3_Sony_E.jsv
|
||||
fate-h264-conformance-cabastbr3_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABASTBR3_Sony_B.jsv
|
||||
fate-h264-conformance-cabref3_sand_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CABREF3_Sand_D.264
|
||||
fate-h264-conformance-cacqp3_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CACQP3_Sony_D.jsv
|
||||
fate-h264-conformance-cafi1_sva_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAFI1_SVA_C.264
|
||||
fate-h264-conformance-cama1_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMA1_Sony_C.jsv
|
||||
fate-h264-conformance-cama1_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMA1_TOSHIBA_B.264
|
||||
fate-h264-conformance-cama1_vtc_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cama1_vtc_c.avc
|
||||
fate-h264-conformance-cama2_vtc_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cama2_vtc_b.avc
|
||||
fate-h264-conformance-cama3_sand_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMA3_Sand_E.264
|
||||
fate-h264-conformance-cama3_vtc_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cama3_vtc_b.avc
|
||||
fate-h264-conformance-camaci3_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMACI3_Sony_C.jsv
|
||||
fate-h264-conformance-camanl1_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMANL1_TOSHIBA_B.264
|
||||
fate-h264-conformance-camanl2_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMANL2_TOSHIBA_B.264
|
||||
fate-h264-conformance-camanl3_sand_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMANL3_Sand_E.264
|
||||
fate-h264-conformance-camasl3_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMASL3_Sony_B.jsv
|
||||
fate-h264-conformance-camp_mot_mbaff_l30: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMP_MOT_MBAFF_L30.26l
|
||||
fate-h264-conformance-camp_mot_mbaff_l31: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAMP_MOT_MBAFF_L31.26l
|
||||
fate-h264-conformance-canl1_sony_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL1_Sony_E.jsv
|
||||
fate-h264-conformance-canl1_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL1_SVA_B.264
|
||||
fate-h264-conformance-canl1_toshiba_g: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL1_TOSHIBA_G.264
|
||||
fate-h264-conformance-canl2_sony_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL2_Sony_E.jsv
|
||||
fate-h264-conformance-canl2_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL2_SVA_B.264
|
||||
fate-h264-conformance-canl3_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL3_Sony_C.jsv
|
||||
fate-h264-conformance-canl3_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL3_SVA_B.264
|
||||
fate-h264-conformance-canl4_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANL4_SVA_B.264
|
||||
fate-h264-conformance-canlma2_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANLMA2_Sony_C.jsv
|
||||
fate-h264-conformance-canlma3_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CANLMA3_Sony_C.jsv
|
||||
fate-h264-conformance-capa1_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAPA1_TOSHIBA_B.264
|
||||
fate-h264-conformance-capama3_sand_f: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAPAMA3_Sand_F.264
|
||||
fate-h264-conformance-capcm1_sand_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAPCM1_Sand_E.264
|
||||
fate-h264-conformance-capcmnl1_sand_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAPCMNL1_Sand_E.264
|
||||
fate-h264-conformance-capm3_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAPM3_Sony_D.jsv
|
||||
fate-h264-conformance-caqp1_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAQP1_Sony_B.jsv
|
||||
fate-h264-conformance-cavlc_mot_fld0_full_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cvmp_mot_fld0_full_B.26l
|
||||
fate-h264-conformance-cavlc_mot_frm0_full_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cvmp_mot_frm0_full_B.26l
|
||||
fate-h264-conformance-cavlc_mot_mbaff0_full_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cvmp_mot_mbaff0_full_B.26l
|
||||
fate-h264-conformance-cavlc_mot_picaff0_full_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/cvmp_mot_picaff0_full_B.26l
|
||||
fate-h264-conformance-cawp1_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAWP1_TOSHIBA_E.264
|
||||
fate-h264-conformance-cawp5_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CAWP5_TOSHIBA_E.264
|
||||
fate-h264-conformance-ci1_ft_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CI1_FT_B.264
|
||||
fate-h264-conformance-ci_mw_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CI_MW_D.264
|
||||
fate-h264-conformance-cvbs3_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVBS3_Sony_C.jsv
|
||||
fate-h264-conformance-cvcanlma2_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVCANLMA2_Sony_C.jsv
|
||||
fate-h264-conformance-cvfc1_sony_c: CMD = framecrc -flags unaligned -i $(TARGET_SAMPLES)/h264-conformance/CVFC1_Sony_C.jsv
|
||||
fate-h264-conformance-cvfi1_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVFI1_Sony_D.jsv
|
||||
fate-h264-conformance-cvfi1_sva_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVFI1_SVA_C.264
|
||||
fate-h264-conformance-cvfi2_sony_h: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVFI2_Sony_H.jsv
|
||||
fate-h264-conformance-cvfi2_sva_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVFI2_SVA_C.264
|
||||
fate-h264-conformance-cvma1_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMA1_Sony_D.jsv
|
||||
fate-h264-conformance-cvma1_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMA1_TOSHIBA_B.264
|
||||
fate-h264-conformance-cvmanl1_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMANL1_TOSHIBA_B.264
|
||||
fate-h264-conformance-cvmanl2_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMANL2_TOSHIBA_B.264
|
||||
fate-h264-conformance-cvmapaqp3_sony_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMAPAQP3_Sony_E.jsv
|
||||
fate-h264-conformance-cvmaqp2_sony_g: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMAQP2_Sony_G.jsv
|
||||
fate-h264-conformance-cvmaqp3_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMAQP3_Sony_D.jsv
|
||||
fate-h264-conformance-cvmp_mot_fld_l30_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMP_MOT_FLD_L30_B.26l
|
||||
fate-h264-conformance-cvmp_mot_frm_l31_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVMP_MOT_FRM_L31_B.26l
|
||||
fate-h264-conformance-cvnlfi1_sony_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVNLFI1_Sony_C.jsv
|
||||
fate-h264-conformance-cvnlfi2_sony_h: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVNLFI2_Sony_H.jsv
|
||||
fate-h264-conformance-cvpa1_toshiba_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVPA1_TOSHIBA_B.264
|
||||
fate-h264-conformance-cvpcmnl1_sva_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVPCMNL1_SVA_C.264
|
||||
fate-h264-conformance-cvpcmnl2_sva_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVPCMNL2_SVA_C.264
|
||||
fate-h264-conformance-cvwp1_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVWP1_TOSHIBA_E.264
|
||||
fate-h264-conformance-cvwp2_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVWP2_TOSHIBA_E.264
|
||||
fate-h264-conformance-cvwp3_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVWP3_TOSHIBA_E.264
|
||||
fate-h264-conformance-cvwp5_toshiba_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/CVWP5_TOSHIBA_E.264
|
||||
fate-h264-conformance-fi1_sony_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FI1_Sony_E.jsv
|
||||
fate-h264-conformance-frext-alphaconformanceg: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/test8b43.264
|
||||
fate-h264-conformance-frext-bcrm_freh10: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh10.264 -vsync drop
|
||||
fate-h264-conformance-frext-brcm_freh11: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh11.264 -vsync drop
|
||||
fate-h264-conformance-frext-brcm_freh3: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh3.264
|
||||
fate-h264-conformance-frext-brcm_freh4: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh4.264 -vsync drop
|
||||
fate-h264-conformance-frext-brcm_freh5: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh5.264
|
||||
fate-h264-conformance-frext-brcm_freh8: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh8.264
|
||||
fate-h264-conformance-frext-brcm_freh9: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh9.264
|
||||
fate-h264-conformance-frext-freh12_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Freh12_B.264
|
||||
fate-h264-conformance-frext-freh1_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Freh1_B.264
|
||||
fate-h264-conformance-frext-freh2_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Freh2_B.264
|
||||
fate-h264-conformance-frext-freh6: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/freh6.264 -vsync drop
|
||||
fate-h264-conformance-frext-freh7_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Freh7_B.264 -vsync drop
|
||||
fate-h264-conformance-frext-frext01_jvc_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FREXT01_JVC_D.264
|
||||
fate-h264-conformance-frext-frext02_jvc_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FREXT02_JVC_C.264
|
||||
fate-h264-conformance-frext-frext1_panasonic_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt1_Panasonic.avc
|
||||
fate-h264-conformance-frext-frext2_panasonic_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt2_Panasonic.avc -vsync 0
|
||||
fate-h264-conformance-frext-frext3_panasonic_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt3_Panasonic.avc
|
||||
fate-h264-conformance-frext-frext4_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt4_Panasonic.avc
|
||||
fate-h264-conformance-frext-frext_mmco4_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/FRExt_MMCO4_Sony_B.264
|
||||
fate-h264-conformance-frext-hcaff1_hhi_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HCAFF1_HHI.264
|
||||
fate-h264-conformance-frext-hcafr1_hhi_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HCAFR1_HHI.264
|
||||
fate-h264-conformance-frext-hcafr2_hhi_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HCAFR2_HHI.264
|
||||
fate-h264-conformance-frext-hcafr3_hhi_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HCAFR3_HHI.264
|
||||
fate-h264-conformance-frext-hcafr4_hhi_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HCAFR4_HHI.264
|
||||
fate-h264-conformance-frext-hcamff1_hhi_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HCAMFF1_HHI.264
|
||||
fate-h264-conformance-frext-hi422fr10_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Hi422FR10_SONY_B.264
|
||||
fate-h264-conformance-frext-hi422fr13_sony_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Hi422FR13_SONY_B.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-hi422fr1_sony_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Hi422FR1_SONY_A.jsv
|
||||
fate-h264-conformance-frext-hi422fr6_sony_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/Hi422FR6_SONY_A.jsv -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-hpca_brcm_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCA_BRCM_C.264
|
||||
fate-h264-conformance-frext-hpcadq_brcm_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCADQ_BRCM_B.264
|
||||
fate-h264-conformance-frext-hpcafl_bcrm_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCAFL_BRCM_C.264 -vsync drop
|
||||
fate-h264-conformance-frext-hpcaflnl_bcrm_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCAFLNL_BRCM_C.264 -vsync drop
|
||||
fate-h264-conformance-frext-hpcalq_brcm_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCALQ_BRCM_B.264
|
||||
fate-h264-conformance-frext-hpcamapalq_bcrm_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCAMAPALQ_BRCM_B.264 -vsync 0
|
||||
fate-h264-conformance-frext-hpcamolq_brcm_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCAMOLQ_BRCM_B.264
|
||||
fate-h264-conformance-frext-hpcanl_brcm_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCANL_BRCM_C.264
|
||||
fate-h264-conformance-frext-hpcaq2lq_brcm_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCAQ2LQ_BRCM_B.264
|
||||
fate-h264-conformance-frext-hpcv_brcm_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCV_BRCM_A.264
|
||||
fate-h264-conformance-frext-hpcvfl_bcrm_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCVFL_BRCM_A.264 -vsync drop
|
||||
fate-h264-conformance-frext-hpcvflnl_bcrm_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCVFLNL_BRCM_A.264 -vsync drop
|
||||
fate-h264-conformance-frext-hpcvmolq_brcm_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCVMOLQ_BRCM_B.264
|
||||
fate-h264-conformance-frext-hpcvnl_brcm_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/HPCVNL_BRCM_A.264
|
||||
fate-h264-conformance-frext-pph10i1_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I1_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph10i2_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I2_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph10i3_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I3_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph10i4_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I4_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph10i5_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I5_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph10i6_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I6_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph10i7_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH10I7_Panasonic_A.264 -pix_fmt yuv420p10le
|
||||
fate-h264-conformance-frext-pph422i1_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I1_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-pph422i2_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I2_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-pph422i3_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I3_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-pph422i4_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I4_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-pph422i5_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I5_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-pph422i6_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I6_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-frext-pph422i7_panasonic_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/FRext/PPH422I7_Panasonic_A.264 -pix_fmt yuv422p10le
|
||||
fate-h264-conformance-hcbp2_hhi_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/HCBP2_HHI_A.264
|
||||
fate-h264-conformance-hcmp1_hhi_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/HCMP1_HHI_A.264
|
||||
fate-h264-conformance-ls_sva_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/LS_SVA_D.264
|
||||
fate-h264-conformance-midr_mw_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MIDR_MW_D.264
|
||||
fate-h264-conformance-mps_mw_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MPS_MW_A.264
|
||||
fate-h264-conformance-mr1_bt_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR1_BT_A.h264
|
||||
fate-h264-conformance-mr1_mw_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR1_MW_A.264
|
||||
fate-h264-conformance-mr2_mw_a: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR2_MW_A.264
|
||||
fate-h264-conformance-mr2_tandberg_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR2_TANDBERG_E.264
|
||||
fate-h264-conformance-mr3_tandberg_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR3_TANDBERG_B.264
|
||||
fate-h264-conformance-mr4_tandberg_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR4_TANDBERG_C.264
|
||||
fate-h264-conformance-mr5_tandberg_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR5_TANDBERG_C.264
|
||||
fate-h264-conformance-mr6_bt_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR6_BT_B.h264
|
||||
fate-h264-conformance-mr7_bt_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR7_BT_B.h264
|
||||
fate-h264-conformance-mr8_bt_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR8_BT_B.h264
|
||||
fate-h264-conformance-mr9_bt_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/MR9_BT_B.h264
|
||||
fate-h264-conformance-mv1_brcm_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/src19td.IBP.264
|
||||
fate-h264-conformance-nl1_sony_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/NL1_Sony_D.jsv
|
||||
fate-h264-conformance-nl2_sony_h: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/NL2_Sony_H.jsv
|
||||
fate-h264-conformance-nl3_sva_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/NL3_SVA_E.264
|
||||
fate-h264-conformance-nlmq1_jvc_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/NLMQ1_JVC_C.264
|
||||
fate-h264-conformance-nlmq2_jvc_c: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/NLMQ2_JVC_C.264
|
||||
fate-h264-conformance-nrf_mw_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/NRF_MW_E.264
|
||||
fate-h264-conformance-sharp_mp_field_1_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/Sharp_MP_Field_1_B.jvt
|
||||
fate-h264-conformance-sharp_mp_field_2_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/Sharp_MP_Field_2_B.jvt
|
||||
fate-h264-conformance-sharp_mp_field_3_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/Sharp_MP_Field_3_B.jvt
|
||||
fate-h264-conformance-sharp_mp_paff_1r2: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/Sharp_MP_PAFF_1r2.jvt
|
||||
fate-h264-conformance-sharp_mp_paff_2r: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/Sharp_MP_PAFF_2.jvt
|
||||
fate-h264-conformance-sl1_sva_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SL1_SVA_B.264
|
||||
fate-h264-conformance-sva_ba1_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_BA1_B.264
|
||||
fate-h264-conformance-sva_ba2_d: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_BA2_D.264
|
||||
fate-h264-conformance-sva_base_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_Base_B.264
|
||||
fate-h264-conformance-sva_cl1_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_CL1_E.264
|
||||
fate-h264-conformance-sva_fm1_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_FM1_E.264
|
||||
fate-h264-conformance-sva_nl1_b: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_NL1_B.264
|
||||
fate-h264-conformance-sva_nl2_e: CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/h264-conformance/SVA_NL2_E.264
|
||||
|
||||
fate-h264-bsf-mp4toannexb: CMD = md5 -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vcodec copy -bsf h264_mp4toannexb -f h264
|
||||
fate-h264-crop-to-container: CMD = framemd5 -i $(TARGET_SAMPLES)/h264/crop-to-container-dims-canon.mov
|
||||
fate-h264-extreme-plane-pred: CMD = framemd5 -i $(TARGET_SAMPLES)/h264/extreme-plane-pred.h264
|
||||
fate-h264-interlace-crop: CMD = framecrc -i $(TARGET_SAMPLES)/h264/interlaced_crop.mp4 -vframes 3
|
||||
fate-h264-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/h264/lossless.h264
|
||||
fate-h264-direct-bff: CMD = framecrc -i $(TARGET_SAMPLES)/h264/direct-bff.mkv
|
||||
|
||||
fate-h264-reinit-%: CMD = framecrc -i $(TARGET_SAMPLES)/h264/$(@:fate-h264-%=%).h264 -vf format=yuv444p10le,scale=w=352:h=288
|
232
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/hevc.mak
Normal file
232
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/hevc.mak
Normal file
@@ -0,0 +1,232 @@
|
||||
HEVC_SAMPLES = \
|
||||
AMP_A_Samsung_4 \
|
||||
AMP_A_Samsung_6 \
|
||||
AMP_B_Samsung_4 \
|
||||
AMP_B_Samsung_6 \
|
||||
AMP_D_Hisilicon \
|
||||
AMP_E_Hisilicon \
|
||||
AMP_F_Hisilicon_3 \
|
||||
AMVP_A_MTK_4 \
|
||||
AMVP_B_MTK_4 \
|
||||
AMVP_C_Samsung_4 \
|
||||
AMVP_C_Samsung_6 \
|
||||
BUMPING_A_ericsson_1 \
|
||||
CAINIT_A_SHARP_4 \
|
||||
CAINIT_B_SHARP_4 \
|
||||
CAINIT_C_SHARP_3 \
|
||||
CAINIT_D_SHARP_3 \
|
||||
CAINIT_E_SHARP_3 \
|
||||
CAINIT_F_SHARP_3 \
|
||||
CAINIT_G_SHARP_3 \
|
||||
CAINIT_H_SHARP_3 \
|
||||
CIP_A_Panasonic_3 \
|
||||
cip_B_NEC_3 \
|
||||
CIP_C_Panasonic_2 \
|
||||
CONFWIN_A_Sony_1 \
|
||||
DBLK_A_SONY_3 \
|
||||
DBLK_B_SONY_3 \
|
||||
DBLK_C_SONY_3 \
|
||||
DBLK_D_VIXS_2 \
|
||||
DBLK_E_VIXS_2 \
|
||||
DBLK_F_VIXS_2 \
|
||||
DBLK_G_VIXS_2 \
|
||||
DELTAQP_A_BRCM_4 \
|
||||
DELTAQP_B_SONY_3 \
|
||||
DELTAQP_C_SONY_3 \
|
||||
DSLICE_A_HHI_5 \
|
||||
DSLICE_B_HHI_5 \
|
||||
DSLICE_C_HHI_5 \
|
||||
ENTP_A_Qualcomm_1 \
|
||||
ENTP_B_Qualcomm_1 \
|
||||
ENTP_C_Qualcomm_1 \
|
||||
EXT_A_ericsson_4 \
|
||||
FILLER_A_Sony_1 \
|
||||
HRD_A_Fujitsu_2 \
|
||||
HRD_A_Fujitsu_3 \
|
||||
INITQP_A_Sony_1 \
|
||||
ipcm_A_NEC_3 \
|
||||
ipcm_B_NEC_3 \
|
||||
ipcm_C_NEC_3 \
|
||||
ipcm_D_NEC_3 \
|
||||
ipcm_E_NEC_2 \
|
||||
IPRED_A_docomo_2 \
|
||||
IPRED_B_Nokia_3 \
|
||||
IPRED_C_Mitsubishi_3 \
|
||||
LS_A_Orange_2 \
|
||||
LS_B_ORANGE_4 \
|
||||
LTRPSPS_A_Qualcomm_1 \
|
||||
MAXBINS_A_TI_4 \
|
||||
MAXBINS_B_TI_4 \
|
||||
MAXBINS_C_TI_4 \
|
||||
MERGE_A_TI_3 \
|
||||
MERGE_B_TI_3 \
|
||||
MERGE_C_TI_3 \
|
||||
MERGE_D_TI_3 \
|
||||
MERGE_E_TI_3 \
|
||||
MERGE_F_MTK_4 \
|
||||
MERGE_G_HHI_4 \
|
||||
MVCLIP_A_qualcomm_3 \
|
||||
MVDL1ZERO_A_docomo_3 \
|
||||
MVEDGE_A_qualcomm_3 \
|
||||
NoOutPrior_A_Qualcomm_1 \
|
||||
NoOutPrior_B_Qualcomm_1 \
|
||||
NUT_A_ericsson_5 \
|
||||
OPFLAG_A_Qualcomm_1 \
|
||||
OPFLAG_B_Qualcomm_1 \
|
||||
OPFLAG_C_Qualcomm_1 \
|
||||
PICSIZE_A_Bossen_1 \
|
||||
PICSIZE_B_Bossen_1 \
|
||||
PICSIZE_C_Bossen_1 \
|
||||
PICSIZE_D_Bossen_1 \
|
||||
PMERGE_A_TI_3 \
|
||||
PMERGE_B_TI_3 \
|
||||
PMERGE_C_TI_3 \
|
||||
PMERGE_D_TI_3 \
|
||||
PMERGE_E_TI_3 \
|
||||
POC_A_Bossen_3 \
|
||||
PPS_A_qualcomm_7 \
|
||||
PS_A_VIDYO_3 \
|
||||
PS_B_VIDYO_3 \
|
||||
RAP_A_docomo_4 \
|
||||
RAP_B_Bossen_1 \
|
||||
RPLM_A_qualcomm_4 \
|
||||
RPLM_B_qualcomm_4 \
|
||||
RPS_A_docomo_4 \
|
||||
RPS_B_qualcomm_5 \
|
||||
RPS_C_ericsson_5 \
|
||||
RPS_D_ericsson_6 \
|
||||
RPS_E_qualcomm_5 \
|
||||
RPS_F_docomo_1 \
|
||||
RQT_A_HHI_4 \
|
||||
RQT_B_HHI_4 \
|
||||
RQT_C_HHI_4 \
|
||||
RQT_D_HHI_4 \
|
||||
RQT_E_HHI_4 \
|
||||
RQT_F_HHI_4 \
|
||||
RQT_G_HHI_4 \
|
||||
SAO_A_MediaTek_4 \
|
||||
SAO_B_MediaTek_5 \
|
||||
SAO_C_Samsung_4 \
|
||||
SAO_C_Samsung_5 \
|
||||
SAO_D_Samsung_4 \
|
||||
SAO_D_Samsung_5 \
|
||||
SAO_E_Canon_4 \
|
||||
SAO_F_Canon_3 \
|
||||
SAO_G_Canon_3 \
|
||||
SDH_A_Orange_3 \
|
||||
SLICES_A_Rovi_3 \
|
||||
SLIST_A_Sony_4 \
|
||||
SLIST_B_Sony_8 \
|
||||
SLIST_C_Sony_3 \
|
||||
SLIST_D_Sony_9 \
|
||||
SLPPLP_A_VIDYO_1 \
|
||||
SLPPLP_A_VIDYO_2 \
|
||||
STRUCT_A_Samsung_5 \
|
||||
STRUCT_B_Samsung_4 \
|
||||
STRUCT_B_Samsung_6 \
|
||||
TILES_A_Cisco_2 \
|
||||
TILES_B_Cisco_1 \
|
||||
TMVP_A_MS_3 \
|
||||
TSCL_A_VIDYO_5 \
|
||||
TSCL_B_VIDYO_4 \
|
||||
TSKIP_A_MS_3 \
|
||||
TUSIZE_A_Samsung_1 \
|
||||
VPSID_A_VIDYO_1 \
|
||||
VPSID_A_VIDYO_2 \
|
||||
WP_A_Toshiba_3 \
|
||||
WP_B_Toshiba_3 \
|
||||
WPP_A_ericsson_MAIN_2 \
|
||||
WPP_B_ericsson_MAIN_2 \
|
||||
WPP_C_ericsson_MAIN_2 \
|
||||
WPP_D_ericsson_MAIN_2 \
|
||||
WPP_E_ericsson_MAIN_2 \
|
||||
WPP_F_ericsson_MAIN_2 \
|
||||
|
||||
HEVC_SAMPLES_10BIT = \
|
||||
DBLK_A_MAIN10_VIXS_3 \
|
||||
WP_A_MAIN10_Toshiba_3 \
|
||||
WP_MAIN10_B_Toshiba_3 \
|
||||
WPP_A_ericsson_MAIN10_2 \
|
||||
WPP_B_ericsson_MAIN10_2 \
|
||||
WPP_C_ericsson_MAIN10_2 \
|
||||
WPP_D_ericsson_MAIN10_2 \
|
||||
WPP_E_ericsson_MAIN10_2 \
|
||||
WPP_F_ericsson_MAIN10_2 \
|
||||
INITQP_B_Sony_1 \
|
||||
|
||||
HEVC_SAMPLES_422_10BIT = \
|
||||
ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 \
|
||||
IPCM_A_RExt_NEC \
|
||||
|
||||
HEVC_SAMPLES_422_10BIN = \
|
||||
Main_422_10_A_RExt_Sony_1 \
|
||||
Main_422_10_B_RExt_Sony_1 \
|
||||
|
||||
HEVC_SAMPLES_444_8BIT = \
|
||||
QMATRIX_A_RExt_Sony_1 \
|
||||
|
||||
HEVC_SAMPLES_444_12BIT = \
|
||||
IPCM_B_RExt_NEC \
|
||||
PERSIST_RPARAM_A_RExt_Sony_1\
|
||||
SAO_A_RExt_MediaTek_1 \
|
||||
|
||||
|
||||
# equivalent bitstreams
|
||||
# AMP_D_Hisilicon_3 -- AMP_D_Hisilicon
|
||||
# AMP_E_Hisilicon_3 -- AMP_E_Hisilicon
|
||||
# MVDL1ZERO_A_docomo_4 -- MVDL1ZERO_A_docomo_3
|
||||
# RAP_A_docomo_5 -- RAP_A_docomo_4
|
||||
# RAP_B_bossen_2 -- RAP_B_bossen_1
|
||||
# RPS_A_docomo_5 -- RPS_A_docomo_4
|
||||
# RPS_F_docomo_2 -- RPS_F_docomo_1
|
||||
|
||||
# do not pass:
|
||||
# TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault mix 9-10bits)
|
||||
# PERSIST_RPARAM_A_RExt_Sony_1 (rext)
|
||||
|
||||
|
||||
define FATE_HEVC_TEST
|
||||
FATE_HEVC += fate-hevc-conformance-$(1)
|
||||
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
|
||||
endef
|
||||
|
||||
define FATE_HEVC_TEST_10BIT
|
||||
FATE_HEVC += fate-hevc-conformance-$(1)
|
||||
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le
|
||||
endef
|
||||
|
||||
define FATE_HEVC_TEST_422_10BIT
|
||||
FATE_HEVC += fate-hevc-conformance-$(1)
|
||||
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv422p10le
|
||||
endef
|
||||
|
||||
define FATE_HEVC_TEST_422_10BIN
|
||||
FATE_HEVC += fate-hevc-conformance-$(1)
|
||||
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le
|
||||
endef
|
||||
|
||||
define FATE_HEVC_TEST_444_8BIT
|
||||
FATE_HEVC += fate-hevc-conformance-$(1)
|
||||
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
|
||||
endef
|
||||
|
||||
define FATE_HEVC_TEST_444_12BIT
|
||||
FATE_HEVC += fate-hevc-conformance-$(1)
|
||||
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le
|
||||
endef
|
||||
|
||||
$(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N))))
|
||||
$(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N))))
|
||||
$(foreach N,$(HEVC_SAMPLES_422_10BIT),$(eval $(call FATE_HEVC_TEST_422_10BIT,$(N))))
|
||||
$(foreach N,$(HEVC_SAMPLES_422_10BIN),$(eval $(call FATE_HEVC_TEST_422_10BIN,$(N))))
|
||||
$(foreach N,$(HEVC_SAMPLES_444_8BIT),$(eval $(call FATE_HEVC_TEST_444_8BIT,$(N))))
|
||||
$(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N))))
|
||||
|
||||
fate-hevc-paramchange-yuv420p-yuv420p10: CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc/paramchange_yuv420p_yuv420p10.hevc -sws_flags area+accurate_rnd+bitexact
|
||||
FATE_HEVC += fate-hevc-paramchange-yuv420p-yuv420p10
|
||||
|
||||
FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
|
||||
|
||||
fate-hevc: $(FATE_HEVC-yes)
|
214
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/image.mak
Normal file
214
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/image.mak
Normal file
@@ -0,0 +1,214 @@
|
||||
FATE_ALIASPIX += fate-aliaspix-bgr
|
||||
fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix -pix_fmt bgr24
|
||||
|
||||
FATE_ALIASPIX += fate-aliaspix-gray
|
||||
fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix -pix_fmt gray
|
||||
|
||||
FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX)
|
||||
FATE_IMAGE += $(FATE_ALIASPIX-yes)
|
||||
fate-aliaspix: $(FATE_ALIASPIX-yes)
|
||||
|
||||
FATE_BRENDERPIX += fate-brenderpix-24
|
||||
fate-brenderpix-24: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/sbwheel.pix
|
||||
|
||||
FATE_BRENDERPIX += fate-brenderpix-565
|
||||
fate-brenderpix-565: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/maximafront.pix
|
||||
|
||||
FATE_BRENDERPIX += fate-brenderpix-defpal
|
||||
fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24
|
||||
|
||||
FATE_BRENDERPIX += fate-brenderpix-intpal
|
||||
fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24
|
||||
|
||||
FATE_BRENDERPIX += fate-brenderpix-y400a
|
||||
fate-brenderpix-y400a: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/gears.pix
|
||||
|
||||
FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX)
|
||||
FATE_IMAGE += $(FATE_BRENDERPIX-yes)
|
||||
fate-brenderpix: $(FATE_BRENDERPIX-yes)
|
||||
|
||||
FATE_IMAGE-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
|
||||
fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/numbers.bmp -pix_fmt rgb24
|
||||
|
||||
define FATE_IMGSUITE_DDS
|
||||
FATE_DDS += fate-dds-$(1)
|
||||
fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/fate_$(1).dds $(DDS_OPTS_$(1))
|
||||
endef
|
||||
|
||||
DDS_OPTS_pal = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
|
||||
DDS_OPTS_pal-ati = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
|
||||
DDS_FMT = argb argb-aexp dx10-bc1 dx10-bc1a dx10-bc2 dx10-bc3 dx10-bc4 dx10-bc5 dxt1 dxt1a dxt1-normalmap dxt2 dxt3 dxt4 dxt5 dxt5-aexp dxt5-normalmap dxt5-normalmap-ati dxt5-rbxg dxt5-rgxb dxt5-rxbg dxt5-rxgb dxt5-xgbr dxt5-xgxr dxt5-xrbg dxt5-ycocg dxt5-ycocg-scaled pal pal-ati rgb16 rgb24 rgba rgtc1s rgtc1u rgtc2s rgtc2u rgtc2u-xy uyvy xbgr xrgb y ya ycocg yuyv
|
||||
$(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT))))
|
||||
|
||||
FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS)
|
||||
FATE_IMAGE += $(FATE_DDS-yes)
|
||||
fate-dds: $(FATE_DDS-yes)
|
||||
|
||||
FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
|
||||
fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
|
||||
fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
|
||||
|
||||
FATE_EXR += fate-exr-slice-raw
|
||||
fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
|
||||
|
||||
FATE_EXR += fate-exr-slice-rle
|
||||
fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
|
||||
|
||||
FATE_EXR += fate-exr-slice-zip1
|
||||
fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
|
||||
|
||||
FATE_EXR += fate-exr-slice-zip16
|
||||
fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
|
||||
|
||||
FATE_EXR += fate-exr-slice-pxr24
|
||||
fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
|
||||
|
||||
FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
|
||||
|
||||
FATE_IMAGE += $(FATE_EXR-yes)
|
||||
fate-exr: $(FATE_EXR-yes)
|
||||
|
||||
FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
|
||||
fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
|
||||
|
||||
FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
|
||||
fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
|
||||
|
||||
FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
|
||||
fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
|
||||
|
||||
define FATE_IMGSUITE_PNG
|
||||
FATE_PNG += fate-png-$(1)
|
||||
fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
|
||||
endef
|
||||
|
||||
PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba ya8 ya16
|
||||
$(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
|
||||
|
||||
FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
|
||||
FATE_IMAGE += $(FATE_PNG-yes)
|
||||
fate-png: $(FATE_PNG-yes)
|
||||
|
||||
FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
|
||||
fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
|
||||
|
||||
FATE_SGI += fate-sgi-gray
|
||||
fate-sgi-gray: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_gray.sgi -pix_fmt gray
|
||||
|
||||
FATE_SGI += fate-sgi-gray16
|
||||
fate-sgi-gray16: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_gray16.sgi -pix_fmt gray16le
|
||||
|
||||
FATE_SGI += fate-sgi-rgb24
|
||||
fate-sgi-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgb24.sgi -pix_fmt rgb24
|
||||
|
||||
FATE_SGI += fate-sgi-rgb24-rle
|
||||
fate-sgi-rgb24-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb24_rle.sgi -pix_fmt rgb24
|
||||
|
||||
FATE_SGI += fate-sgi-rgb48
|
||||
fate-sgi-rgb48: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgb48.sgi -pix_fmt rgb48be
|
||||
|
||||
FATE_SGI += fate-sgi-rgb48-rle
|
||||
fate-sgi-rgb48-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb48_rle.sgi -pix_fmt rgb48be
|
||||
|
||||
FATE_SGI += fate-sgi-rgba
|
||||
fate-sgi-rgba: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgba.sgi -pix_fmt rgba
|
||||
|
||||
FATE_SGI += fate-sgi-rgba64
|
||||
fate-sgi-rgba64: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgba64.sgi -pix_fmt rgba64be
|
||||
|
||||
FATE_SGI += fate-sgi-rgba64-rle
|
||||
fate-sgi-rgba64-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/maya_rgba64_rle.sgi -pix_fmt rgba64be
|
||||
|
||||
FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
|
||||
|
||||
FATE_IMAGE += $(FATE_SGI-yes)
|
||||
fate-sgi: $(FATE_SGI-yes)
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-1bit-raw
|
||||
fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-1bit-rle
|
||||
fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-8bit-raw
|
||||
fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
|
||||
fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-8bit-rle
|
||||
fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-24bit-raw
|
||||
fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
|
||||
|
||||
FATE_SUNRASTER += fate-sunraster-24bit-rle
|
||||
fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
|
||||
|
||||
FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
|
||||
|
||||
FATE_IMAGE += $(FATE_SUNRASTER-yes)
|
||||
fate-sunraster: $(FATE_SUNRASTER-yes)
|
||||
|
||||
FATE_TARGA = CBW8 \
|
||||
CCM8 \
|
||||
CTC16 \
|
||||
CTC24 \
|
||||
CTC32 \
|
||||
UBW8 \
|
||||
UCM8 \
|
||||
UTC16 \
|
||||
UTC24 \
|
||||
UTC32
|
||||
|
||||
FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \
|
||||
fate-targa-top-to-bottom
|
||||
|
||||
FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
|
||||
|
||||
FATE_IMAGE += $(FATE_TARGA-yes)
|
||||
fate-targa: $(FATE_TARGA-yes)
|
||||
|
||||
fate-targa-conformance-CBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
|
||||
fate-targa-conformance-CCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA -pix_fmt rgba
|
||||
fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
|
||||
fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
|
||||
fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
|
||||
fate-targa-conformance-UBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
|
||||
fate-targa-conformance-UCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA -pix_fmt rgba
|
||||
fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
|
||||
fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
|
||||
fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
|
||||
|
||||
fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
|
||||
|
||||
FATE_TIFF += fate-tiff-fax-g3
|
||||
fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
|
||||
|
||||
FATE_TIFF += fate-tiff-fax-g3s
|
||||
fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
|
||||
|
||||
FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
|
||||
|
||||
FATE_IMAGE += $(FATE_TIFF-yes)
|
||||
fate-tiff: $(FATE_TIFF-yes)
|
||||
|
||||
FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
|
||||
fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
|
||||
|
||||
FATE_XBM += fate-xbm10
|
||||
fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
|
||||
|
||||
FATE_XBM += fate-xbm11
|
||||
fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
|
||||
|
||||
FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
|
||||
FATE_IMAGE += $(FATE_XBM-yes)
|
||||
fate-xbm: $(FATE_XBM-yes)
|
||||
|
||||
FATE_IMAGE += $(FATE_IMAGE-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
|
||||
fate-image: $(FATE_IMAGE)
|
17
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/indeo.mak
Normal file
17
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/indeo.mak
Normal file
@@ -0,0 +1,17 @@
|
||||
FATE_INDEO-$(call DEMDEC, AVI, INDEO2) += fate-indeo2
|
||||
fate-indeo2: CMD = framecrc -i $(TARGET_SAMPLES)/rt21/VPAR0026.AVI
|
||||
|
||||
FATE_INDEO-$(call DEMDEC, MOV, INDEO3) += fate-indeo3
|
||||
fate-indeo3: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/cubes.mov
|
||||
|
||||
FATE_INDEO-$(call DEMDEC, AVI, INDEO3) += fate-indeo3-2
|
||||
fate-indeo3-2: CMD = framecrc -i $(TARGET_SAMPLES)/iv32/OPENINGH.avi
|
||||
|
||||
FATE_INDEO-$(call DEMDEC, AVI, INDEO4) += fate-indeo4
|
||||
fate-indeo4: CMD = framecrc -i $(TARGET_SAMPLES)/iv41/indeo41-partial.avi -an
|
||||
|
||||
FATE_INDEO-$(call DEMDEC, AVI, INDEO5) += fate-indeo5
|
||||
fate-indeo5: CMD = framecrc -i $(TARGET_SAMPLES)/iv50/Educ_Movie_DeadlyForce.avi -an
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_INDEO-yes)
|
||||
fate-indeo: $(FATE_INDEO-yes)
|
@@ -0,0 +1,43 @@
|
||||
FATE_LIBAVCODEC-$(CONFIG_CABAC) += fate-cabac
|
||||
fate-cabac: libavcodec/cabac-test$(EXESUF)
|
||||
fate-cabac: CMD = run libavcodec/cabac-test
|
||||
fate-cabac: REF = /dev/null
|
||||
|
||||
FATE_LIBAVCODEC-$(CONFIG_GOLOMB) += fate-golomb
|
||||
fate-golomb: libavcodec/golomb-test$(EXESUF)
|
||||
fate-golomb: CMD = run libavcodec/golomb-test
|
||||
fate-golomb: REF = /dev/null
|
||||
|
||||
FATE_LIBAVCODEC-$(CONFIG_IDCTDSP) += fate-idct8x8
|
||||
fate-idct8x8: libavcodec/dct-test$(EXESUF)
|
||||
fate-idct8x8: CMD = run libavcodec/dct-test -i
|
||||
fate-idct8x8: CMP = null
|
||||
fate-idct8x8: REF = /dev/null
|
||||
|
||||
FATE_LIBAVCODEC-$(CONFIG_IIRFILTER) += fate-iirfilter
|
||||
fate-iirfilter: libavcodec/iirfilter-test$(EXESUF)
|
||||
fate-iirfilter: CMD = run libavcodec/iirfilter-test
|
||||
|
||||
FATE_LIBAVCODEC-yes += fate-libavcodec-options
|
||||
fate-libavcodec-options: libavcodec/options-test$(EXESUF)
|
||||
fate-libavcodec-options: CMD = run libavcodec/options-test
|
||||
|
||||
FATE_LIBAVCODEC-$(CONFIG_RANGECODER) += fate-rangecoder
|
||||
fate-rangecoder: libavcodec/rangecoder-test$(EXESUF)
|
||||
fate-rangecoder: CMD = run libavcodec/rangecoder-test
|
||||
fate-rangecoder: CMP = null
|
||||
fate-rangecoder: REF = /dev/null
|
||||
|
||||
FATE_LIBAVCODEC-yes += fate-mathops
|
||||
fate-mathops: libavcodec/mathops-test$(EXESUF)
|
||||
fate-mathops: CMD = run libavcodec/mathops-test
|
||||
fate-mathops: CMP = null
|
||||
fate-mathops: REF = /dev/null
|
||||
|
||||
FATE_LIBAVCODEC-$(CONFIG_JPEG2000_ENCODER) += fate-j2k-dwt
|
||||
fate-j2k-dwt: libavcodec/jpeg2000dwt-test$(EXESUF)
|
||||
fate-j2k-dwt: CMD = run libavcodec/jpeg2000dwt-test
|
||||
|
||||
|
||||
FATE-$(CONFIG_AVCODEC) += $(FATE_LIBAVCODEC-yes)
|
||||
fate-libavcodec: $(FATE_LIBAVCODEC-yes)
|
@@ -0,0 +1,6 @@
|
||||
FATE_LIBAVDEVICE-yes += fate-timefilter
|
||||
fate-timefilter: libavdevice/timefilter-test$(EXESUF)
|
||||
fate-timefilter: CMD = run libavdevice/timefilter-test
|
||||
|
||||
FATE-$(CONFIG_AVDEVICE) += $(FATE_LIBAVDEVICE-yes)
|
||||
fate-libavdevice: $(FATE_LIBAVDEVICE-yes)
|
@@ -0,0 +1,22 @@
|
||||
FATE_LIBAVFORMAT-$(HAVE_PTHREADS) += fate-async
|
||||
fate-async: libavformat/async-test$(EXESUF)
|
||||
fate-async: CMD = run libavformat/async-test
|
||||
|
||||
FATE_LIBAVFORMAT-$(CONFIG_NETWORK) += fate-noproxy
|
||||
fate-noproxy: libavformat/noproxy-test$(EXESUF)
|
||||
fate-noproxy: CMD = run libavformat/noproxy-test
|
||||
|
||||
FATE_LIBAVFORMAT-$(CONFIG_FFRTMPCRYPT_PROTOCOL) += fate-rtmpdh
|
||||
fate-rtmpdh: libavformat/rtmpdh-test$(EXESUF)
|
||||
fate-rtmpdh: CMD = run libavformat/rtmpdh-test
|
||||
|
||||
FATE_LIBAVFORMAT-yes += fate-srtp
|
||||
fate-srtp: libavformat/srtp-test$(EXESUF)
|
||||
fate-srtp: CMD = run libavformat/srtp-test
|
||||
|
||||
FATE_LIBAVFORMAT-yes += fate-url
|
||||
fate-url: libavformat/url-test$(EXESUF)
|
||||
fate-url: CMD = run libavformat/url-test
|
||||
|
||||
FATE-$(CONFIG_AVFORMAT) += $(FATE_LIBAVFORMAT-yes)
|
||||
fate-libavformat: $(FATE_LIBAVFORMAT)
|
@@ -0,0 +1,68 @@
|
||||
CROSS_TEST = $(foreach I,$(1), \
|
||||
$(foreach J,$(1), \
|
||||
$(if $(filter-out $(I),$(J)), \
|
||||
$(eval $(call $(2),$(I),$(J),$(3),$(4),$(5))), \
|
||||
)))
|
||||
|
||||
MIX_CHANNELS = 1 2 3 4 5 6 7 8
|
||||
|
||||
define MIX
|
||||
FATE_LAVR_MIX += fate-lavr-mix-$(3)-$(1)-$(2)
|
||||
fate-lavr-mix-$(3)-$(1)-$(2): tests/data/asynth-44100-$(1).wav
|
||||
fate-lavr-mix-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-$(1).wav -ac $(2) -mix_coeff_type $(3) -internal_sample_fmt $(4) -f s16le -af atrim=end_sample=1024 -
|
||||
fate-lavr-mix-$(3)-$(1)-$(2): CMP = oneoff
|
||||
fate-lavr-mix-$(3)-$(1)-$(2): REF = $(SAMPLES)/lavr/lavr-mix-$(3)-$(1)-$(2)
|
||||
endef
|
||||
|
||||
$(call CROSS_TEST,$(MIX_CHANNELS),MIX,q8,s16p)
|
||||
$(call CROSS_TEST,$(MIX_CHANNELS),MIX,q15,s16p)
|
||||
$(call CROSS_TEST,$(MIX_CHANNELS),MIX,flt,fltp)
|
||||
|
||||
# test output zeroing with skipped corresponding input
|
||||
FATE_LAVR_MIX-$(call FILTERDEMDECENCMUX, CHANNELMAP RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-lavr-mix-output-zero
|
||||
fate-lavr-mix-output-zero: tests/data/filtergraphs/lavr_mix_output_zero tests/data/asynth-44100-4.wav
|
||||
fate-lavr-mix-output-zero: CMP = oneoff
|
||||
fate-lavr-mix-output-zero: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-4.wav -filter_script $(TARGET_PATH)/tests/data/filtergraphs/lavr_mix_output_zero -f s16le -
|
||||
fate-lavr-mix-output-zero: REF = $(SAMPLES)/lavr/lavr-mix-output-zero
|
||||
|
||||
FATE_LAVR_MIX-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_LAVR_MIX)
|
||||
fate-lavr-mix: $(FATE_LAVR_MIX-yes)
|
||||
#FATE_LAVR += $(FATE_LAVR_MIX-yes)
|
||||
|
||||
SAMPLERATES = 2626 8000 44100 48000 96000
|
||||
|
||||
define RESAMPLE
|
||||
FATE_LAVR_RESAMPLE += fate-lavr-resample-$(3)-$(1)-$(2)
|
||||
fate-lavr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
|
||||
fate-lavr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -ar $(2) -internal_sample_fmt $(3) -f $(4) -af atrim=end_sample=10240 -
|
||||
fate-lavr-resample-$(3)-$(1)-$(2): CMP = oneoff
|
||||
fate-lavr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
|
||||
fate-lavr-resample-$(3)-$(1)-$(2): FUZZ = 6
|
||||
fate-lavr-resample-$(3)-$(1)-$(2): REF = $(SAMPLES)/lavr/lavr-resample-$(3)-$(1)-$(2)-v3
|
||||
endef
|
||||
|
||||
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s16p,s16le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s32p,s32le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,fltp,f32le,f32)
|
||||
$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,dblp,f64le,f64)
|
||||
|
||||
FATE_LAVR_RESAMPLE += fate-lavr-resample-linear
|
||||
fate-lavr-resample-linear: tests/data/asynth-44100-1.wav
|
||||
fate-lavr-resample-linear: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -ar 48000 -filter_size 32 -linear_interp 1 -f s16le -af atrim=end_sample=10240 -
|
||||
fate-lavr-resample-linear: CMP = oneoff
|
||||
fate-lavr-resample-linear: CMP_UNIT = s16
|
||||
fate-lavr-resample-linear: REF = $(SAMPLES)/lavr/lavr-resample-linear
|
||||
|
||||
FATE_LAVR_RESAMPLE += fate-lavr-resample-nearest
|
||||
fate-lavr-resample-nearest: tests/data/asynth-48000-1.wav
|
||||
fate-lavr-resample-nearest: CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-48000-1.wav -ar 44100 -filter_size 0 -phase_shift 0 -f s16le -af atrim=end_sample=10240 -
|
||||
fate-lavr-resample-nearest: CMP = oneoff
|
||||
fate-lavr-resample-nearest: CMP_UNIT = s16
|
||||
fate-lavr-resample-nearest: REF = $(SAMPLES)/lavr/lavr-resample-nearest
|
||||
|
||||
FATE_LAVR_RESAMPLE-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_LAVR_RESAMPLE)
|
||||
fate-lavr-resample: $(FATE_LAVR_RESAMPLE-yes)
|
||||
#FATE_LAVR += $(FATE_LAVR_RESAMPLE-yes)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_LAVR)
|
||||
fate-lavr: $(FATE_LAVR)
|
134
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/libavutil.mak
Normal file
134
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/libavutil.mak
Normal file
@@ -0,0 +1,134 @@
|
||||
FATE_LIBAVUTIL += fate-adler32
|
||||
fate-adler32: libavutil/adler32-test$(EXESUF)
|
||||
fate-adler32: CMD = run libavutil/adler32-test
|
||||
fate-adler32: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-aes
|
||||
fate-aes: libavutil/aes-test$(EXESUF)
|
||||
fate-aes: CMD = run libavutil/aes-test
|
||||
fate-aes: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-camellia
|
||||
fate-camellia: libavutil/camellia-test$(EXESUF)
|
||||
fate-camellia: CMD = run libavutil/camellia-test
|
||||
fate-camellia: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-cast5
|
||||
fate-cast5: libavutil/cast5-test$(EXESUF)
|
||||
fate-cast5: CMD = run libavutil/cast5-test
|
||||
fate-cast5: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-atomic
|
||||
fate-atomic: libavutil/atomic-test$(EXESUF)
|
||||
fate-atomic: CMD = run libavutil/atomic-test
|
||||
fate-atomic: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-avstring
|
||||
fate-avstring: libavutil/avstring-test$(EXESUF)
|
||||
fate-avstring: CMD = run libavutil/avstring-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-base64
|
||||
fate-base64: libavutil/base64-test$(EXESUF)
|
||||
fate-base64: CMD = run libavutil/base64-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-blowfish
|
||||
fate-blowfish: libavutil/blowfish-test$(EXESUF)
|
||||
fate-blowfish: CMD = run libavutil/blowfish-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-bprint
|
||||
fate-bprint: libavutil/bprint-test$(EXESUF)
|
||||
fate-bprint: CMD = run libavutil/bprint-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-cpu
|
||||
fate-cpu: libavutil/cpu-test$(EXESUF)
|
||||
fate-cpu: CMD = runecho libavutil/cpu-test $(CPUFLAGS:%=-c%) $(THREADS:%=-t%)
|
||||
fate-cpu: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-crc
|
||||
fate-crc: libavutil/crc-test$(EXESUF)
|
||||
fate-crc: CMD = run libavutil/crc-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-des
|
||||
fate-des: libavutil/des-test$(EXESUF)
|
||||
fate-des: CMD = run libavutil/des-test
|
||||
fate-des: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-dict
|
||||
fate-dict: libavutil/dict-test$(EXESUF)
|
||||
fate-dict: CMD = run libavutil/dict-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-eval
|
||||
fate-eval: libavutil/eval-test$(EXESUF)
|
||||
fate-eval: CMD = run libavutil/eval-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-fifo
|
||||
fate-fifo: libavutil/fifo-test$(EXESUF)
|
||||
fate-fifo: CMD = run libavutil/fifo-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-float-dsp
|
||||
fate-float-dsp: libavutil/float_dsp-test$(EXESUF)
|
||||
fate-float-dsp: CMD = run libavutil/float_dsp-test $(CPUFLAGS:%=-c%)
|
||||
fate-float-dsp: CMP = null
|
||||
fate-float-dsp: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-hmac
|
||||
fate-hmac: libavutil/hmac-test$(EXESUF)
|
||||
fate-hmac: CMD = run libavutil/hmac-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-md5
|
||||
fate-md5: libavutil/md5-test$(EXESUF)
|
||||
fate-md5: CMD = run libavutil/md5-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-murmur3
|
||||
fate-murmur3: libavutil/murmur3-test$(EXESUF)
|
||||
fate-murmur3: CMD = run libavutil/murmur3-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-parseutils
|
||||
fate-parseutils: libavutil/parseutils-test$(EXESUF)
|
||||
fate-parseutils: CMD = run libavutil/parseutils-test
|
||||
|
||||
FATE_LIBAVUTIL-$(CONFIG_PIXELUTILS) += fate-pixelutils
|
||||
fate-pixelutils: libavutil/pixelutils-test$(EXESUF)
|
||||
fate-pixelutils: CMD = run libavutil/pixelutils-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-random_seed
|
||||
fate-random_seed: libavutil/random_seed-test$(EXESUF)
|
||||
fate-random_seed: CMD = run libavutil/random_seed-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-ripemd
|
||||
fate-ripemd: libavutil/ripemd-test$(EXESUF)
|
||||
fate-ripemd: CMD = run libavutil/ripemd-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-sha
|
||||
fate-sha: libavutil/sha-test$(EXESUF)
|
||||
fate-sha: CMD = run libavutil/sha-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-sha512
|
||||
fate-sha512: libavutil/sha512-test$(EXESUF)
|
||||
fate-sha512: CMD = run libavutil/sha512-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-tree
|
||||
fate-tree: libavutil/tree-test$(EXESUF)
|
||||
fate-tree: CMD = run libavutil/tree-test
|
||||
fate-tree: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-twofish
|
||||
fate-twofish: libavutil/twofish-test$(EXESUF)
|
||||
fate-twofish: CMD = run libavutil/twofish-test
|
||||
fate-twofish: REF = /dev/null
|
||||
|
||||
FATE_LIBAVUTIL += fate-xtea
|
||||
fate-xtea: libavutil/xtea-test$(EXESUF)
|
||||
fate-xtea: CMD = run libavutil/xtea-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-tea
|
||||
fate-tea: libavutil/tea-test$(EXESUF)
|
||||
fate-tea: CMD = run libavutil/tea-test
|
||||
|
||||
FATE_LIBAVUTIL += fate-opt
|
||||
fate-opt: libavutil/opt-test$(EXESUF)
|
||||
fate-opt: CMD = run libavutil/opt-test
|
||||
|
||||
FATE_LIBAVUTIL += $(FATE_LIBAVUTIL-yes)
|
||||
FATE-$(CONFIG_AVUTIL) += $(FATE_LIBAVUTIL)
|
||||
fate-libavutil: $(FATE_LIBAVUTIL)
|
@@ -0,0 +1,402 @@
|
||||
CROSS_TEST = $(foreach I,$(1), \
|
||||
$(foreach J,$(1), \
|
||||
$(if $(filter-out $(I),$(J)), \
|
||||
$(eval $(call $(2),$(I),$(J),$(3),$(4),$(5))), \
|
||||
)))
|
||||
|
||||
|
||||
SAMPLERATES = 2626 8000 44100 48000 96000
|
||||
|
||||
SAMPLERATES_LITE = 8000 44100 48000
|
||||
|
||||
SAMPLERATES_NN = 8000 44100
|
||||
|
||||
define ARESAMPLE
|
||||
FATE_SWR_RESAMPLE += fate-swr-resample-$(3)-$(1)-$(2)
|
||||
fate-swr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
|
||||
fate-swr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
|
||||
|
||||
fate-swr-resample-$(3)-$(1)-$(2): CMP = stddev
|
||||
fate-swr-resample-$(3)-$(1)-$(2): CMP_UNIT = $(5)
|
||||
fate-swr-resample-$(3)-$(1)-$(2): FUZZ = 0.1
|
||||
fate-swr-resample-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
|
||||
endef
|
||||
|
||||
#below list is generated by:
|
||||
#you can use this if you need to update it!
|
||||
#make -k `make fate-list | grep swr` | egrep 'TEST|stddev' | tr '\n' '@' | sed 's#TEST *\([^@]*\)@stddev: *\([0-9.]*\)[^b@]*bytes: *\([0-9]*\) */ *\([0-9]*\)@#fate-\1: CMP_TARGET = \2@fate-\1: SIZE_TOLERANCE = \3 - \4@@#g' | tr '@' '\n'
|
||||
|
||||
fate-swr-resample-dblp-2626-44100: CMP_TARGET = 1352.68
|
||||
fate-swr-resample-dblp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-dblp-2626-48000: CMP_TARGET = 1352.65
|
||||
fate-swr-resample-dblp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-dblp-2626-8000: CMP_TARGET = 1353.08
|
||||
fate-swr-resample-dblp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
|
||||
|
||||
fate-swr-resample-dblp-2626-96000: CMP_TARGET = 1352.67
|
||||
fate-swr-resample-dblp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-dblp-44100-2626: CMP_TARGET = 185.82
|
||||
fate-swr-resample-dblp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
|
||||
|
||||
fate-swr-resample-dblp-44100-48000: CMP_TARGET = 9.70
|
||||
fate-swr-resample-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-dblp-44100-8000: CMP_TARGET = 75.45
|
||||
fate-swr-resample-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample-dblp-44100-96000: CMP_TARGET = 11.47
|
||||
fate-swr-resample-dblp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-dblp-48000-2626: CMP_TARGET = 456.51
|
||||
fate-swr-resample-dblp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
|
||||
|
||||
fate-swr-resample-dblp-48000-44100: CMP_TARGET = 1.02
|
||||
fate-swr-resample-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-48000-8000: CMP_TARGET = 62.38
|
||||
fate-swr-resample-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample-dblp-48000-96000: CMP_TARGET = 0.47
|
||||
fate-swr-resample-dblp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-8000-2626: CMP_TARGET = 2506.02
|
||||
fate-swr-resample-dblp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
|
||||
|
||||
fate-swr-resample-dblp-8000-44100: CMP_TARGET = 15.09
|
||||
fate-swr-resample-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-8000-48000: CMP_TARGET = 14.69
|
||||
fate-swr-resample-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-8000-96000: CMP_TARGET = 13.81
|
||||
fate-swr-resample-dblp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-96000-2626: CMP_TARGET = 675.08
|
||||
fate-swr-resample-dblp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
|
||||
|
||||
fate-swr-resample-dblp-96000-44100: CMP_TARGET = 1.45
|
||||
fate-swr-resample-dblp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-96000-48000: CMP_TARGET = 1.00
|
||||
fate-swr-resample-dblp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-dblp-96000-8000: CMP_TARGET = 58.57
|
||||
fate-swr-resample-dblp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
|
||||
|
||||
fate-swr-resample-fltp-2626-44100: CMP_TARGET = 1352.68
|
||||
fate-swr-resample-fltp-2626-44100: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-fltp-2626-48000: CMP_TARGET = 1352.65
|
||||
fate-swr-resample-fltp-2626-48000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-fltp-2626-8000: CMP_TARGET = 1353.08
|
||||
fate-swr-resample-fltp-2626-8000: SIZE_TOLERANCE = 31512 - 20482
|
||||
|
||||
fate-swr-resample-fltp-2626-96000: CMP_TARGET = 1352.67
|
||||
fate-swr-resample-fltp-2626-96000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-fltp-44100-2626: CMP_TARGET = 185.82
|
||||
fate-swr-resample-fltp-44100-2626: SIZE_TOLERANCE = 529200 - 20490
|
||||
|
||||
fate-swr-resample-fltp-44100-48000: CMP_TARGET = 9.70
|
||||
fate-swr-resample-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-fltp-44100-8000: CMP_TARGET = 75.45
|
||||
fate-swr-resample-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample-fltp-44100-96000: CMP_TARGET = 11.47
|
||||
fate-swr-resample-fltp-44100-96000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-fltp-48000-2626: CMP_TARGET = 456.51
|
||||
fate-swr-resample-fltp-48000-2626: SIZE_TOLERANCE = 576000 - 20510
|
||||
|
||||
fate-swr-resample-fltp-48000-44100: CMP_TARGET = 1.02
|
||||
fate-swr-resample-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-48000-8000: CMP_TARGET = 62.38
|
||||
fate-swr-resample-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample-fltp-48000-96000: CMP_TARGET = 0.47
|
||||
fate-swr-resample-fltp-48000-96000: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-8000-2626: CMP_TARGET = 2506.02
|
||||
fate-swr-resample-fltp-8000-2626: SIZE_TOLERANCE = 96000 - 20486
|
||||
|
||||
fate-swr-resample-fltp-8000-44100: CMP_TARGET = 15.09
|
||||
fate-swr-resample-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-8000-48000: CMP_TARGET = 14.69
|
||||
fate-swr-resample-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-8000-96000: CMP_TARGET = 13.81
|
||||
fate-swr-resample-fltp-8000-96000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-96000-2626: CMP_TARGET = 675.08
|
||||
fate-swr-resample-fltp-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
|
||||
|
||||
fate-swr-resample-fltp-96000-44100: CMP_TARGET = 1.45
|
||||
fate-swr-resample-fltp-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-96000-48000: CMP_TARGET = 1.00
|
||||
fate-swr-resample-fltp-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-fltp-96000-8000: CMP_TARGET = 58.57
|
||||
fate-swr-resample-fltp-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
|
||||
|
||||
fate-swr-resample-s16p-2626-44100: CMP_TARGET = 1393.01
|
||||
fate-swr-resample-s16p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-s16p-2626-48000: CMP_TARGET = 1392.99
|
||||
fate-swr-resample-s16p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-s16p-2626-8000: CMP_TARGET = 1393.90
|
||||
fate-swr-resample-s16p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
|
||||
|
||||
fate-swr-resample-s16p-2626-96000: CMP_TARGET = 1393.08
|
||||
fate-swr-resample-s16p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-s16p-44100-2626: CMP_TARGET = 185.84
|
||||
fate-swr-resample-s16p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
|
||||
|
||||
fate-swr-resample-s16p-44100-48000: CMP_TARGET = 9.71
|
||||
fate-swr-resample-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-s16p-44100-8000: CMP_TARGET = 75.46
|
||||
fate-swr-resample-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample-s16p-44100-96000: CMP_TARGET = 11.48
|
||||
fate-swr-resample-s16p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-s16p-48000-2626: CMP_TARGET = 456.55
|
||||
fate-swr-resample-s16p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
|
||||
|
||||
fate-swr-resample-s16p-48000-44100: CMP_TARGET = 1.22
|
||||
fate-swr-resample-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-48000-8000: CMP_TARGET = 62.41
|
||||
fate-swr-resample-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample-s16p-48000-96000: CMP_TARGET = 0.50
|
||||
fate-swr-resample-s16p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-8000-2626: CMP_TARGET = 2506.02
|
||||
fate-swr-resample-s16p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
|
||||
|
||||
fate-swr-resample-s16p-8000-44100: CMP_TARGET = 15.12
|
||||
fate-swr-resample-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-8000-48000: CMP_TARGET = 14.69
|
||||
fate-swr-resample-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-8000-96000: CMP_TARGET = 13.83
|
||||
fate-swr-resample-s16p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-96000-2626: CMP_TARGET = 675.14
|
||||
fate-swr-resample-s16p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
|
||||
|
||||
fate-swr-resample-s16p-96000-44100: CMP_TARGET = 1.62
|
||||
fate-swr-resample-s16p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-96000-48000: CMP_TARGET = 1.03
|
||||
fate-swr-resample-s16p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-s16p-96000-8000: CMP_TARGET = 58.60
|
||||
fate-swr-resample-s16p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
|
||||
|
||||
fate-swr-resample-s32p-2626-44100: CMP_TARGET = 1393.01
|
||||
fate-swr-resample-s32p-2626-44100: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-s32p-2626-48000: CMP_TARGET = 1392.99
|
||||
fate-swr-resample-s32p-2626-48000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-s32p-2626-8000: CMP_TARGET = 1393.89
|
||||
fate-swr-resample-s32p-2626-8000: SIZE_TOLERANCE = 31512 - 20482
|
||||
|
||||
fate-swr-resample-s32p-2626-96000: CMP_TARGET = 1393.00
|
||||
fate-swr-resample-s32p-2626-96000: SIZE_TOLERANCE = 31512 - 20480
|
||||
|
||||
fate-swr-resample-s32p-44100-2626: CMP_TARGET = 185.82
|
||||
fate-swr-resample-s32p-44100-2626: SIZE_TOLERANCE = 529200 - 20490
|
||||
|
||||
fate-swr-resample-s32p-44100-48000: CMP_TARGET = 9.70
|
||||
fate-swr-resample-s32p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-s32p-44100-8000: CMP_TARGET = 75.45
|
||||
fate-swr-resample-s32p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample-s32p-44100-96000: CMP_TARGET = 11.47
|
||||
fate-swr-resample-s32p-44100-96000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample-s32p-48000-2626: CMP_TARGET = 456.51
|
||||
fate-swr-resample-s32p-48000-2626: SIZE_TOLERANCE = 576000 - 20510
|
||||
|
||||
fate-swr-resample-s32p-48000-44100: CMP_TARGET = 1.02
|
||||
fate-swr-resample-s32p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-48000-8000: CMP_TARGET = 62.38
|
||||
fate-swr-resample-s32p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample-s32p-48000-96000: CMP_TARGET = 0.47
|
||||
fate-swr-resample-s32p-48000-96000: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-8000-2626: CMP_TARGET = 2506.02
|
||||
fate-swr-resample-s32p-8000-2626: SIZE_TOLERANCE = 96000 - 20486
|
||||
|
||||
fate-swr-resample-s32p-8000-44100: CMP_TARGET = 15.09
|
||||
fate-swr-resample-s32p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-8000-48000: CMP_TARGET = 14.69
|
||||
fate-swr-resample-s32p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-8000-96000: CMP_TARGET = 13.81
|
||||
fate-swr-resample-s32p-8000-96000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-96000-2626: CMP_TARGET = 675.08
|
||||
fate-swr-resample-s32p-96000-2626: SIZE_TOLERANCE = 1152000 - 20474
|
||||
|
||||
fate-swr-resample-s32p-96000-44100: CMP_TARGET = 1.45
|
||||
fate-swr-resample-s32p-96000-44100: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-96000-48000: CMP_TARGET = 1.00
|
||||
fate-swr-resample-s32p-96000-48000: SIZE_TOLERANCE = 1152000 - 20480
|
||||
|
||||
fate-swr-resample-s32p-96000-8000: CMP_TARGET = 58.57
|
||||
fate-swr-resample-s32p-96000-8000: SIZE_TOLERANCE = 1152000 - 20496
|
||||
|
||||
|
||||
define ARESAMPLE_LIN
|
||||
FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2)
|
||||
fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
|
||||
fate-swr-resample_lin-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):linear_interp=1:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=1:internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
|
||||
|
||||
fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev
|
||||
fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5)
|
||||
fate-swr-resample_lin-$(3)-$(1)-$(2): FUZZ = 0.1
|
||||
fate-swr-resample_lin-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
|
||||
endef
|
||||
|
||||
fate-swr-resample_lin-s16p-8000-44100: CMP_TARGET = 14.61
|
||||
fate-swr-resample_lin-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_lin-s16p-8000-48000: CMP_TARGET = 14.53
|
||||
fate-swr-resample_lin-s16p-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_lin-s16p-44100-8000: CMP_TARGET = 75.41
|
||||
fate-swr-resample_lin-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample_lin-s16p-44100-48000: CMP_TARGET = 9.66
|
||||
fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.39
|
||||
fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.68
|
||||
fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.59
|
||||
fate-swr-resample_lin-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_lin-fltp-8000-48000: CMP_TARGET = 14.50
|
||||
fate-swr-resample_lin-fltp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_lin-fltp-44100-8000: CMP_TARGET = 75.38
|
||||
fate-swr-resample_lin-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample_lin-fltp-44100-48000: CMP_TARGET = 9.65
|
||||
fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.36
|
||||
fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.26
|
||||
fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
fate-swr-resample_lin-dblp-8000-44100: CMP_TARGET = 14.59
|
||||
fate-swr-resample_lin-dblp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_lin-dblp-8000-48000: CMP_TARGET = 14.50
|
||||
fate-swr-resample_lin-dblp-8000-48000: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_lin-dblp-44100-8000: CMP_TARGET = 75.38
|
||||
fate-swr-resample_lin-dblp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample_lin-dblp-44100-48000: CMP_TARGET = 9.65
|
||||
fate-swr-resample_lin-dblp-44100-48000: SIZE_TOLERANCE = 529200 - 20482
|
||||
|
||||
fate-swr-resample_lin-dblp-48000-8000: CMP_TARGET = 62.36
|
||||
fate-swr-resample_lin-dblp-48000-8000: SIZE_TOLERANCE = 576000 - 20484
|
||||
|
||||
fate-swr-resample_lin-dblp-48000-44100: CMP_TARGET = 0.26
|
||||
fate-swr-resample_lin-dblp-48000-44100: SIZE_TOLERANCE = 576000 - 20480
|
||||
|
||||
define ARESAMPLE_NN
|
||||
FATE_SWR_RESAMPLE += fate-swr-resample_nn-$(3)-$(1)-$(2)
|
||||
fate-swr-resample_nn-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
|
||||
fate-swr-resample_nn-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):filter_size=1:phase_shift=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
|
||||
|
||||
fate-swr-resample_nn-$(3)-$(1)-$(2): CMP = stddev
|
||||
fate-swr-resample_nn-$(3)-$(1)-$(2): CMP_UNIT = $(5)
|
||||
fate-swr-resample_nn-$(3)-$(1)-$(2): FUZZ = 0.1
|
||||
fate-swr-resample_nn-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
|
||||
endef
|
||||
|
||||
fate-swr-resample_nn-fltp-44100-8000: CMP_TARGET = 590.98
|
||||
fate-swr-resample_nn-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample_nn-fltp-8000-44100: CMP_TARGET = 3163.32
|
||||
fate-swr-resample_nn-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
fate-swr-resample_nn-s16p-44100-8000: CMP_TARGET = 590.97
|
||||
fate-swr-resample_nn-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20486
|
||||
|
||||
fate-swr-resample_nn-s16p-8000-44100: CMP_TARGET = 3163.39
|
||||
fate-swr-resample_nn-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20480
|
||||
|
||||
define ARESAMPLE_ASYNC
|
||||
FATE_SWR_RESAMPLE += fate-swr-resample_async-$(3)-$(1)-$(2)
|
||||
fate-swr-resample_async-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav
|
||||
fate-swr-resample_async-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,asetpts=PTS+random\(0\)*200-100,aresample=$(2):async=50:min_hard_comp=0.100000:first_pts=0:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le -
|
||||
|
||||
fate-swr-resample_async-$(3)-$(1)-$(2): CMP = stddev
|
||||
fate-swr-resample_async-$(3)-$(1)-$(2): CMP_UNIT = $(5)
|
||||
fate-swr-resample_async-$(3)-$(1)-$(2): FUZZ = 0.1
|
||||
fate-swr-resample_async-$(3)-$(1)-$(2): REF = tests/data/asynth-$(1)-1.wav
|
||||
endef
|
||||
|
||||
fate-swr-resample_async-fltp-44100-8000: CMP_TARGET = 4020.62
|
||||
fate-swr-resample_async-fltp-44100-8000: SIZE_TOLERANCE = 529200 - 20310
|
||||
|
||||
fate-swr-resample_async-fltp-8000-44100: CMP_TARGET = 11186.69
|
||||
fate-swr-resample_async-fltp-8000-44100: SIZE_TOLERANCE = 96000 - 20344
|
||||
|
||||
fate-swr-resample_async-s16p-44100-8000: CMP_TARGET = 4020.73
|
||||
fate-swr-resample_async-s16p-44100-8000: SIZE_TOLERANCE = 529200 - 20310
|
||||
|
||||
fate-swr-resample_async-s16p-8000-44100: CMP_TARGET = 11187.01
|
||||
fate-swr-resample_async-s16p-8000-44100: SIZE_TOLERANCE = 96000 - 20344
|
||||
|
||||
$(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s16p,s16le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,s32p,s32le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,fltp,f32le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES),ARESAMPLE,dblp,f64le,s16)
|
||||
|
||||
$(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,s16p,s16le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,fltp,f32le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES_LITE),ARESAMPLE_LIN,dblp,f64le,s16)
|
||||
|
||||
$(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,s16p,s16le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_NN,fltp,f32le,s16)
|
||||
|
||||
$(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,s16p,s16le,s16)
|
||||
$(call CROSS_TEST,$(SAMPLERATES_NN),ARESAMPLE_ASYNC,fltp,f32le,s16)
|
||||
|
||||
|
||||
FATE_SWR_RESAMPLE-$(call FILTERDEMDECENCMUX, ARESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_SWR_RESAMPLE)
|
||||
fate-swr-resample: $(FATE_SWR_RESAMPLE-yes)
|
||||
FATE_SWR += $(FATE_SWR_RESAMPLE-yes)
|
||||
|
||||
FATE_FFMPEG += $(FATE_SWR)
|
||||
fate-swr: $(FATE_SWR)
|
@@ -0,0 +1,35 @@
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, MOV, ALAC) += fate-lossless-alac
|
||||
fate-lossless-alac: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/inside.m4a -f s16le
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, MLP, MLP) += fate-lossless-meridianaudio
|
||||
fate-lossless-meridianaudio: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.mlp -f s16le
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, RM, RALF) += fate-ralf
|
||||
fate-ralf: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.rmvb -vn -f s16le
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, SHORTEN, SHORTEN) += fate-lossless-shorten
|
||||
fate-lossless-shorten: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.shn -f s16le
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TAK, TAK) += fate-lossless-tak
|
||||
fate-lossless-tak: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.tak
|
||||
|
||||
FATE_TRUEHD = fate-lossless-truehd-5.1 fate-lossless-truehd-5.1-downmix-2.0
|
||||
fate-lossless-truehd-5.1: CMD = md5 -f truehd -i $(TARGET_SAMPLES)/lossless-audio/truehd_5.1.raw -f s32le
|
||||
fate-lossless-truehd-5.1-downmix-2.0: CMD = md5 -f truehd -request_channel_layout 2 -i $(TARGET_SAMPLES)/lossless-audio/truehd_5.1.raw -f s32le
|
||||
fate-lossless-truehd: $(FATE_TRUEHD)
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TRUEHD, TRUEHD) += $(FATE_TRUEHD)
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TTA, TTA) += fate-lossless-tta
|
||||
fate-lossless-tta: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/inside.tta
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, TTA, TTA) += fate-lossless-tta-encrypted
|
||||
fate-lossless-tta-encrypted: CMD = crc -password ffmpeg -i $(TARGET_SAMPLES)/lossless-audio/encrypted.tta
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO-$(call DEMDEC, ASF, WMALOSSLESS) += fate-lossless-wma
|
||||
fate-lossless-wma: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.wma -f s16le -frames 209
|
||||
|
||||
FATE_SAMPLES_LOSSLESS_AUDIO += $(FATE_SAMPLES_LOSSLESS_AUDIO-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SAMPLES_LOSSLESS_AUDIO)
|
||||
fate-lossless-audio: $(FATE_SAMPLES_LOSSLESS_AUDIO)
|
||||
|
@@ -0,0 +1,58 @@
|
||||
FATE_CANOPUS_CLLC += fate-canopus-cllc-argb
|
||||
fate-canopus-cllc-argb: CMD = framecrc -i $(TARGET_SAMPLES)/cllc/sample-cllc-argb.avi
|
||||
|
||||
FATE_CANOPUS_CLLC += fate-canopus-cllc-rgb
|
||||
fate-canopus-cllc-rgb: CMD = framecrc -i $(TARGET_SAMPLES)/cllc/sample-cllc-rgb.avi
|
||||
|
||||
FATE_CANOPUS_CLLC += fate-canopus-cllc-yuy2-noblock
|
||||
fate-canopus-cllc-yuy2-noblock: CMD = framecrc -i $(TARGET_SAMPLES)/cllc/sample-cllc-yuy2-noblock.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, CLLC) += $(FATE_CANOPUS_CLLC)
|
||||
fate-canopus-cllc: $(FATE_CANOPUS_CLLC)
|
||||
|
||||
FATE_LAGARITH += fate-lagarith-rgb24
|
||||
fate-lagarith-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-rgb24.avi
|
||||
|
||||
FATE_LAGARITH += fate-lagarith-rgb32
|
||||
fate-lagarith-rgb32: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-rgb32.avi -pix_fmt bgra
|
||||
|
||||
FATE_LAGARITH += fate-lagarith-yuy2
|
||||
fate-lagarith-yuy2: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-yuy2.avi
|
||||
|
||||
FATE_LAGARITH += fate-lagarith-yv12
|
||||
fate-lagarith-yv12: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-yv12.avi
|
||||
|
||||
FATE_LAGARITH += fate-lagarith-red
|
||||
fate-lagarith-red: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-red.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, LAGARITH) += $(FATE_LAGARITH)
|
||||
fate-lagarith: $(FATE_LAGARITH)
|
||||
|
||||
FATE_LOCO += fate-loco-rgb
|
||||
fate-loco-rgb: CMD = framecrc -i $(TARGET_SAMPLES)/loco/pig-loco-rgb.avi
|
||||
|
||||
FATE_LOCO += fate-loco-yuy2
|
||||
fate-loco-yuy2: CMD = framecrc -i $(TARGET_SAMPLES)/loco/pig-loco-0.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, LOCO) += $(FATE_LOCO)
|
||||
fate-loco: $(FATE_LOCO)
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, MSRLE) += fate-msrle-8bit
|
||||
fate-msrle-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/msrle/Search-RLE.avi -pix_fmt rgb24
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, MSZH) += fate-mszh
|
||||
fate-mszh: CMD = framecrc -i $(TARGET_SAMPLES)/lcl/mszh-1frame.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, VBLE) += fate-vble
|
||||
fate-vble: CMD = framecrc -i $(TARGET_SAMPLES)/vble/flowers-partial-2MB.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, ZEROCODEC) += fate-zerocodec
|
||||
fate-zerocodec: CMD = framecrc -i $(TARGET_SAMPLES)/zerocodec/sample-zeco.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, ZLIB) += fate-zlib
|
||||
fate-zlib: CMD = framecrc -i $(TARGET_SAMPLES)/lcl/zlib-1frame.avi
|
||||
|
||||
FATE_LOSSLESS_VIDEO += $(FATE_LOSSLESS_VIDEO-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_LOSSLESS_VIDEO)
|
||||
fate-lossless-video: $(FATE_LOSSLESS_VIDEO)
|
@@ -0,0 +1,75 @@
|
||||
FATE_MICROSOFT-$(call DEMDEC, AVI, MSMPEG4V1) += fate-msmpeg4v1
|
||||
fate-msmpeg4v1: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/msmpeg4v1/mpg4.avi -an
|
||||
|
||||
FATE_MSS2 += fate-mss2-pal
|
||||
fate-mss2-pal: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rlepal.wmv
|
||||
|
||||
FATE_MSS2 += fate-mss2-pals
|
||||
fate-mss2-pals: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rlepals.wmv
|
||||
|
||||
FATE_MSS2 += fate-mss2-rgb555
|
||||
fate-mss2-rgb555: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555.wmv -pix_fmt rgb555le
|
||||
|
||||
FATE_MSS2 += fate-mss2-rgb555s
|
||||
fate-mss2-rgb555s: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555s.wmv -pix_fmt rgb555le
|
||||
|
||||
FATE_MSS2 += fate-mss2-wmv
|
||||
fate-mss2-wmv: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/msscreencodec.wmv -an -frames 100
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, MSS2) += $(FATE_MSS2)
|
||||
fate-mss2: $(FATE_MSS2)
|
||||
|
||||
FATE_MSVIDEO1 += fate-msvideo1-8bit
|
||||
fate-msvideo1-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/cram/skating.avi -t 1 -pix_fmt rgb24
|
||||
|
||||
FATE_MSVIDEO1 += fate-msvideo1-16bit
|
||||
fate-msvideo1-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/cram/clock-cram16.avi -pix_fmt rgb24
|
||||
|
||||
FATE_MICROSOFT-$(call DEMDEC, AVI, MSVIDEO1) += $(FATE_MSVIDEO1)
|
||||
fate-msvideo1: $(FATE_MSVIDEO1)
|
||||
|
||||
FATE_WMV8_DRM += fate-wmv8-drm
|
||||
# discard last packet to avoid fails due to overread of VC-1 decoder
|
||||
fate-wmv8-drm: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(TARGET_SAMPLES)/wmv8/wmv_drm.wmv -an -frames:v 129
|
||||
|
||||
FATE_WMV8_DRM += fate-wmv8-drm-nodec
|
||||
fate-wmv8-drm-nodec: CMD = framecrc -cryptokey 137381538c84c068111902a59c5cf6c340247c39 -i $(TARGET_SAMPLES)/wmv8/wmv_drm.wmv -acodec copy -vcodec copy
|
||||
|
||||
#FATE_MICROSOFT += fate-wmv8-x8intra
|
||||
FATE_TESTS-no += fate-wmv8-x8intra
|
||||
fate-wmv8-x8intra: CMD = framecrc -flags +bitexact -idct 19 -i $(TARGET_SAMPLES)/wmv8/wmv8_x8intra.wmv -an
|
||||
|
||||
FATE_MICROSOFT-$(call DEMDEC, ASF, WMV3) += $(FATE_WMV8_DRM)
|
||||
fate-wmv8_drm: $(FATE_WMV8_DRM)
|
||||
|
||||
FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_sa00040
|
||||
fate-vc1_sa00040: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SA00040.vc1
|
||||
|
||||
FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_sa00050
|
||||
fate-vc1_sa00050: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SA00050.vc1
|
||||
|
||||
FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_sa10091
|
||||
fate-vc1_sa10091: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SA10091.vc1
|
||||
|
||||
FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_sa10143
|
||||
fate-vc1_sa10143: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SA10143.vc1
|
||||
|
||||
FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_sa20021
|
||||
fate-vc1_sa20021: CMD = framecrc -i $(TARGET_SAMPLES)/vc1/SA20021.vc1
|
||||
|
||||
FATE_VC1-$(CONFIG_VC1_DEMUXER) += fate-vc1_ilaced_twomv
|
||||
fate-vc1_ilaced_twomv: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vc1/ilaced_twomv.vc1
|
||||
|
||||
FATE_VC1-$(CONFIG_MOV_DEMUXER) += fate-vc1-ism
|
||||
fate-vc1-ism: CMD = framecrc -i $(TARGET_SAMPLES)/isom/vc1-wmapro.ism -an
|
||||
|
||||
FATE_MICROSOFT-$(CONFIG_VC1_DECODER) += $(FATE_VC1-yes)
|
||||
fate-vc1: $(FATE_VC1-yes)
|
||||
|
||||
FATE_MICROSOFT-$(CONFIG_ASF_DEMUXER) += fate-asf-repldata
|
||||
fate-asf-repldata: CMD = framecrc -i $(TARGET_SAMPLES)/asf/bug821-2.asf -c copy
|
||||
|
||||
FATE_MICROSOFT += $(FATE_MICROSOFT-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_MICROSOFT)
|
||||
fate-microsoft: $(FATE_MICROSOFT)
|
@@ -0,0 +1,20 @@
|
||||
APE_VERSIONS = 380 388 389b1 391b1 392b2 394b1
|
||||
|
||||
define FATE_APE_SUITE
|
||||
FATE_APE += fate-lossless-monkeysaudio-$(1)-normal
|
||||
fate-lossless-monkeysaudio-$(1)-normal: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/luckynight-mac$(1)-c2000.ape -af atrim=end_sample=73728
|
||||
fate-lossless-monkeysaudio-$(1)-normal: REF = CRC=0x5d08c17e
|
||||
fate-lossless-monkeysaudio-$(1)-normal: CMP = oneline
|
||||
FATE_APE += fate-lossless-monkeysaudio-$(1)-extrahigh
|
||||
fate-lossless-monkeysaudio-$(1)-extrahigh: CMD = crc -i $(TARGET_SAMPLES)/lossless-audio/luckynight-mac$(1)-c4000.ape -af atrim=end_sample=73728
|
||||
fate-lossless-monkeysaudio-$(1)-extrahigh: REF = CRC=0x5d08c17e
|
||||
fate-lossless-monkeysaudio-$(1)-extrahigh: CMP = oneline
|
||||
endef
|
||||
|
||||
$(foreach N,$(APE_VERSIONS),$(eval $(call FATE_APE_SUITE,$(N))))
|
||||
|
||||
FATE_APE += fate-lossless-monkeysaudio-399
|
||||
fate-lossless-monkeysaudio-399: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.ape -f s16le
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, APE, APE) += $(FATE_APE)
|
||||
fate-lossless-monkeysaudio: $(FATE_APE)
|
42
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mp3.mak
Normal file
42
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mp3.mak
Normal file
@@ -0,0 +1,42 @@
|
||||
FATE_MP3 += fate-mp3-float-conf-compl
|
||||
fate-mp3-float-conf-compl: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/compl.bit -f f32le -
|
||||
fate-mp3-float-conf-compl: REF = $(SAMPLES)/mp3-conformance/compl.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-conf-he_32khz
|
||||
fate-mp3-float-conf-he_32khz: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/he_32khz.bit -af atrim=end_sample=171648 -f f32le -
|
||||
fate-mp3-float-conf-he_32khz: REF = $(SAMPLES)/mp3-conformance/he_32khz.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-conf-he_44khz
|
||||
fate-mp3-float-conf-he_44khz: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/he_44khz.bit -af atrim=end_sample=471168 -f f32le -
|
||||
fate-mp3-float-conf-he_44khz: REF = $(SAMPLES)/mp3-conformance/he_44khz.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-conf-he_48khz
|
||||
fate-mp3-float-conf-he_48khz: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/he_48khz.bit -af atrim=end_sample=171648 -f f32le -
|
||||
fate-mp3-float-conf-he_48khz: REF = $(SAMPLES)/mp3-conformance/he_48khz.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-conf-hecommon
|
||||
fate-mp3-float-conf-hecommon: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/hecommon.bit -af atrim=end_sample=33408 -f f32le -
|
||||
fate-mp3-float-conf-hecommon: REF = $(SAMPLES)/mp3-conformance/hecommon.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-conf-si
|
||||
fate-mp3-float-conf-si: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/si.bit -af atrim=end_sample=134784 -f f32le -
|
||||
fate-mp3-float-conf-si: REF = $(SAMPLES)/mp3-conformance/si.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-conf-si_block
|
||||
fate-mp3-float-conf-si_block: CMD = ffmpeg -acodec mp3float -i $(TARGET_SAMPLES)/mp3-conformance/si_block.bit -af atrim=end_sample=72576 -f f32le -
|
||||
fate-mp3-float-conf-si_block: REF = $(SAMPLES)/mp3-conformance/si_block.f32
|
||||
|
||||
FATE_MP3 += fate-mp3-float-extra_overread
|
||||
fate-mp3-float-extra_overread: CMD = ffmpeg -c:a mp3float -i $(TARGET_SAMPLES)/mpegaudio/extra_overread.mp3 -f f32le -
|
||||
fate-mp3-float-extra_overread: REF = $(SAMPLES)/mpegaudio/extra_overread.f32
|
||||
|
||||
$(FATE_MP3): CMP = oneoff
|
||||
$(FATE_MP3): CMP_UNIT = f32
|
||||
$(FATE_MP3): FUZZ = 18
|
||||
|
||||
fate-mp3-float-extra_overread: FUZZ = 23
|
||||
|
||||
FATE_MP3-$(call DEMDEC, MP3, MP3FLOAT) += $(FATE_MP3)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_MP3-yes)
|
||||
fate-mp3: $(FATE_MP3-yes)
|
13
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mpc.mak
Normal file
13
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mpc.mak
Normal file
@@ -0,0 +1,13 @@
|
||||
FATE_MPC-$(CONFIG_MPC_DEMUXER) += fate-mpc7-demux
|
||||
fate-mpc7-demux: CMD = crc -i $(TARGET_SAMPLES)/musepack/inside-mp7.mpc -acodec copy
|
||||
|
||||
FATE_MPC-$(CONFIG_MPC8_DEMUXER) += fate-mpc8-demux
|
||||
fate-mpc8-demux: CMD = crc -i $(TARGET_SAMPLES)/musepack/inside-mp8.mpc -acodec copy
|
||||
|
||||
FATE_MPC-$(call DEMDEC, MPC, MPC7) += fate-musepack7
|
||||
fate-musepack7: CMD = pcm -i $(TARGET_SAMPLES)/musepack/inside-mp7.mpc
|
||||
fate-musepack7: CMP = oneoff
|
||||
fate-musepack7: REF = $(SAMPLES)/musepack/inside-mp7.pcm
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_MPC-yes)
|
||||
fate-mpc: $(FATE_MPC-yes)
|
12
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mpeg4.mak
Normal file
12
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mpeg4.mak
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
MPEG4_RESOLUTION_CHANGE = down-down down-up up-down up-up
|
||||
|
||||
fate-mpeg4-resolution-change-%: CMD = framemd5 -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/resize_$(@:fate-mpeg4-resolution-change-%=%).h263 -sws_flags +bitexact
|
||||
|
||||
FATE_MPEG4-$(call DEMDEC, H263, H263) := $(addprefix fate-mpeg4-resolution-change-, $(MPEG4_RESOLUTION_CHANGE))
|
||||
|
||||
fate-mpeg4-bsf-unpack-bframes: CMD = md5 -i $(TARGET_SAMPLES)/mpeg4/packed_bframes.avi -flags +bitexact -fflags +bitexact -c:v copy -bsf mpeg4_unpack_bframes -f avi
|
||||
FATE_MPEG4-$(call ALLYES, AVI_DEMUXER MPEG4_UNPACK_BFRAMES_BSF AVI_MUXER) += fate-mpeg4-bsf-unpack-bframes
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_MPEG4-yes)
|
||||
fate-mpeg4: $(FATE_MPEG4-yes)
|
11
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mxf.mak
Normal file
11
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/mxf.mak
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
FATE_MXF += fate-mxf-missing-index-demux
|
||||
fate-mxf-missing-index-demux: CMD = crc -i $(TARGET_SAMPLES)/mxf/opatom_missing_index.mxf -acodec copy
|
||||
|
||||
FATE_MXF += fate-mxf-essencegroup-demux
|
||||
fate-mxf-essencegroup-demux: CMD = framecrc -i $(TARGET_SAMPLES)/mxf/opatom_essencegroup_alpha_raw.mxf -vcodec copy
|
||||
|
||||
FATE_MXF-$(CONFIG_MXF_DEMUXER) += $(FATE_MXF)
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_MXF-yes)
|
||||
fate-mxf: $(FATE_MXF-yes)
|
47
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/opus.mak
Normal file
47
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/opus.mak
Normal file
@@ -0,0 +1,47 @@
|
||||
# The samples were produced by simply rewrapping the official test vectors from
|
||||
# their custom format into Matroska.
|
||||
# The reference files were created with our decoder and tested against the
|
||||
# libopus output with the official opus_compare tool. We cannot use libopus
|
||||
# output as reference directly, because the use of different resamplers would
|
||||
# require too high fuzz values, which can hide bugs.
|
||||
# Before adding new tests here, always make sure they pass opus_compare.
|
||||
|
||||
OPUS_CELT_SAMPLES = $(addprefix testvector, 01 07 11) tron.6ch.tinypkts
|
||||
OPUS_HYBRID_SAMPLES = $(addprefix testvector, 05 06)
|
||||
OPUS_SILK_SAMPLES = $(addprefix testvector, 02 03 04)
|
||||
OPUS_SAMPLES = $(addprefix testvector, 08 09 10 12)
|
||||
|
||||
define FATE_OPUS_TEST
|
||||
FATE_OPUS += fate-opus-$(1)
|
||||
FATE_OPUS$(2) += fate-opus-$(1)
|
||||
fate-opus-$(1): CMD = ffmpeg -i $(TARGET_SAMPLES)/opus/$(1).mka -f s16le -
|
||||
fate-opus-$(1): REF = $(SAMPLES)/opus/$(1).dec
|
||||
endef
|
||||
|
||||
$(foreach N,$(OPUS_CELT_SAMPLES), $(eval $(call FATE_OPUS_TEST,$(N),_CELT)))
|
||||
$(foreach N,$(OPUS_HYBRID_SAMPLES),$(eval $(call FATE_OPUS_TEST,$(N),_HYBRID)))
|
||||
$(foreach N,$(OPUS_SILK_SAMPLES), $(eval $(call FATE_OPUS_TEST,$(N),_SILK)))
|
||||
$(foreach N,$(OPUS_SAMPLES), $(eval $(call FATE_OPUS_TEST,$(N),)))
|
||||
|
||||
FATE_OPUS := $(sort $(FATE_OPUS))
|
||||
|
||||
$(FATE_OPUS): CMP = stddev
|
||||
$(FATE_OPUS): CMP_UNIT = s16
|
||||
$(FATE_OPUS): FUZZ = 3
|
||||
fate-opus-testvector02: CMP_TARGET = 191
|
||||
fate-opus-testvector03: CMP_TARGET = 139
|
||||
fate-opus-testvector04: CMP_TARGET = 119
|
||||
fate-opus-testvector05: CMP_TARGET = 108
|
||||
fate-opus-testvector06: CMP_TARGET = 106
|
||||
fate-opus-testvector08: CMP_TARGET = 6
|
||||
fate-opus-testvector10: CMP_TARGET = 38
|
||||
fate-opus-testvector12: CMP_TARGET = 160
|
||||
|
||||
$(FATE_OPUS_CELT): CMP = oneoff
|
||||
$(FATE_OPUS_CELT): FUZZ = 6
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, MATROSKA, OPUS) += $(FATE_OPUS)
|
||||
fate-opus-celt: $(FATE_OPUS_CELT)
|
||||
fate-opus-hybrid: $(FATE_OPUS_HYBRID)
|
||||
fate-opus-silk: $(FATE_OPUS_SILK)
|
||||
fate-opus: $(FATE_OPUS)
|
32
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/pcm.mak
Normal file
32
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/pcm.mak
Normal file
@@ -0,0 +1,32 @@
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, WAV, PCM_U8) += fate-iff-pcm
|
||||
fate-iff-pcm: CMD = md5 -i $(TARGET_SAMPLES)/iff/Bells -f s16le
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, MPEGPS, PCM_DVD) += fate-pcm_dvd
|
||||
fate-pcm_dvd: CMD = framecrc -i $(TARGET_SAMPLES)/pcm-dvd/coolitnow-partial.vob -vn
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, EA, PCM_S16LE_PLANAR) += fate-pcm-planar
|
||||
fate-pcm-planar: CMD = framecrc -i $(TARGET_SAMPLES)/ea-mad/xeasport.mad -vn
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_S16BE) += fate-pcm_s16be-stereo
|
||||
fate-pcm_s16be-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-twos.mov -f s16le
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_S16LE) += fate-pcm_s16le-stereo
|
||||
fate-pcm_s16le-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-L-sowt.mov -f s16le
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_U8) += fate-pcm_u8-mono
|
||||
fate-pcm_u8-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-raw.mov -f s16le
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, MOV, PCM_U8) += fate-pcm_u8-stereo
|
||||
fate-pcm_u8-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-raw.mov -f s16le
|
||||
|
||||
FATE_SAMPLES_PCM-$(call DEMDEC, W64, PCM_S16LE) += fate-w64
|
||||
fate-w64: CMD = crc -i $(TARGET_SAMPLES)/w64/w64-pcm16.w64
|
||||
|
||||
FATE_PCM-$(call ENCMUX, PCM_S24DAUD, DAUD) += fate-dcinema-encode
|
||||
fate-dcinema-encode: tests/data/asynth-96000-6.wav
|
||||
fate-dcinema-encode: SRC = tests/data/asynth-96000-6.wav
|
||||
fate-dcinema-encode: CMD = enc_dec_pcm daud md5 s16le $(SRC) -c:a pcm_s24daud
|
||||
|
||||
FATE_FFMPEG += $(FATE_PCM-yes)
|
||||
FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_PCM-yes)
|
||||
fate-pcm: $(FATE_PCM-yes) $(FATE_SAMPLES_PCM-yes)
|
20
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/probe.mak
Normal file
20
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/probe.mak
Normal file
@@ -0,0 +1,20 @@
|
||||
FATE_PROBE_FORMAT-$(CONFIG_MPEGPS_DEMUXER) += fate-probe-format-roundup997
|
||||
fate-probe-format-roundup997: REF = mpeg
|
||||
|
||||
FATE_PROBE_FORMAT-$(CONFIG_MP3_DEMUXER) += fate-probe-format-roundup1383
|
||||
fate-probe-format-roundup1383: REF = mp3
|
||||
|
||||
FATE_PROBE_FORMAT-$(CONFIG_MPEGPS_DEMUXER) += fate-probe-format-roundup1414
|
||||
fate-probe-format-roundup1414: REF = mpeg
|
||||
|
||||
FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015
|
||||
fate-probe-format-roundup2015: REF = dv
|
||||
|
||||
FATE_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes)
|
||||
|
||||
FATE_EXTERN-$(CONFIG_FFPROBE) += $(FATE_PROBE_FORMAT)
|
||||
fate-probe-format: $(FATE_PROBE_FORMAT)
|
||||
|
||||
$(FATE_PROBE_FORMAT): ffprobe$(EXESUF)
|
||||
$(FATE_PROBE_FORMAT): CMP = oneline
|
||||
fate-probe-format-%: CMD = probefmt $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%)
|
20
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/prores.mak
Normal file
20
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/prores.mak
Normal file
@@ -0,0 +1,20 @@
|
||||
FATE_PRORES = fate-prores-422 \
|
||||
fate-prores-422_hq \
|
||||
fate-prores-422_lt \
|
||||
fate-prores-422_proxy \
|
||||
fate-prores-alpha \
|
||||
fate-prores-alpha_skip \
|
||||
fate-prores-transparency \
|
||||
fate-prores-transparency_skip \
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, PRORES) += $(FATE_PRORES)
|
||||
fate-prores: $(FATE_PRORES)
|
||||
|
||||
fate-prores-422: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422.mov -pix_fmt yuv422p10le
|
||||
fate-prores-422_hq: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422_HQ.mov -pix_fmt yuv422p10le
|
||||
fate-prores-422_lt: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422_LT.mov -pix_fmt yuv422p10le
|
||||
fate-prores-422_proxy: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422_Proxy.mov -pix_fmt yuv422p10le
|
||||
fate-prores-alpha: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuva444p10le
|
||||
fate-prores-alpha_skip: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuv444p10le
|
||||
fate-prores-transparency: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/prores4444_with_transparency.mov -pix_fmt yuva444p10le
|
||||
fate-prores-transparency_skip: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/prores/prores4444_with_transparency.mov -pix_fmt yuv444p10le
|
58
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/qt.mak
Normal file
58
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/qt.mak
Normal file
@@ -0,0 +1,58 @@
|
||||
FATE_QT-$(call DEMDEC, MOV, EIGHTBPS) += fate-8bps
|
||||
fate-8bps: CMD = framecrc -i $(TARGET_SAMPLES)/8bps/full9iron-partial.mov -pix_fmt rgb24
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, QDM2) += fate-qdm2
|
||||
fate-qdm2: CMD = pcm -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.mov
|
||||
fate-qdm2: CMP = oneoff
|
||||
fate-qdm2: REF = $(SAMPLES)/qt-surge-suite/surge-2-16-B-QDM2.pcm
|
||||
fate-qdm2: FUZZ = 2
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, PCM_ALAW) += fate-qt-alaw-mono
|
||||
fate-qt-alaw-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-alaw.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, PCM_ALAW) += fate-qt-alaw-stereo
|
||||
fate-qt-alaw-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-alaw.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, ADPCM_IMA_QT) += fate-qt-ima4-mono
|
||||
fate-qt-ima4-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-ima4.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, ADPCM_IMA_QT) += fate-qt-ima4-stereo
|
||||
fate-qt-ima4-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-ima4.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, MACE3) += fate-qt-mac3-mono
|
||||
fate-qt-mac3-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC3.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, MACE3) += fate-qt-mac3-stereo
|
||||
fate-qt-mac3-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC3.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, MACE6) += fate-qt-mac6-mono
|
||||
fate-qt-mac6-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC6.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, MACE6) += fate-qt-mac6-stereo
|
||||
fate-qt-mac6-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC6.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, PCM_MULAW) += fate-qt-ulaw-mono
|
||||
fate-qt-ulaw-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-ulaw.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, PCM_MULAW) += fate-qt-ulaw-stereo
|
||||
fate-qt-ulaw-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-ulaw.mov -f s16le
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, QDRAW) += fate-quickdraw
|
||||
fate-quickdraw: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/Airplane.mov -pix_fmt rgb24
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, RPZA) += fate-rpza
|
||||
fate-rpza: CMD = framecrc -i $(TARGET_SAMPLES)/rpza/rpza2.mov -t 2 -pix_fmt rgb24
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, SVQ1) += fate-svq1
|
||||
fate-svq1: CMD = framecrc -i $(TARGET_SAMPLES)/svq1/marymary-shackles.mov -an -t 10
|
||||
|
||||
FATE_QT-$(call DEMDEC, MOV, SVQ1) += fate-svq1-headerswap
|
||||
fate-svq1-headerswap: CMD = framecrc -i $(TARGET_SAMPLES)/svq1/ct_ending_cut.mov -frames 4
|
||||
|
||||
FATE_QT-$(call ALLYES, MOV_DEMUXER SVQ3_DECODER ZLIB) += fate-svq3
|
||||
fate-svq3: CMD = framecrc -i $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.mov -t 6 -an
|
||||
|
||||
FATE_QT += $(FATE_QT-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_QT)
|
||||
fate-qt: $(FATE_QT)
|
23
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/qtrle.mak
Normal file
23
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/qtrle.mak
Normal file
@@ -0,0 +1,23 @@
|
||||
FATE_QTRLE += fate-qtrle-1bit
|
||||
fate-qtrle-1bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/Animation-Monochrome.mov -an
|
||||
|
||||
FATE_QTRLE += fate-qtrle-2bit
|
||||
fate-qtrle-2bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/Animation-4Greys.mov -pix_fmt rgb24 -an
|
||||
|
||||
FATE_QTRLE += fate-qtrle-4bit
|
||||
fate-qtrle-4bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/Animation-16Greys.mov -pix_fmt rgb24 -an
|
||||
|
||||
FATE_QTRLE += fate-qtrle-8bit
|
||||
fate-qtrle-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/criticalpath-credits.mov -pix_fmt rgb24 -an
|
||||
|
||||
FATE_QTRLE += fate-qtrle-16bit
|
||||
fate-qtrle-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/mr-cork-rle.mov -pix_fmt rgb24
|
||||
|
||||
FATE_QTRLE += fate-qtrle-24bit
|
||||
fate-qtrle-24bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/aletrek-rle.mov
|
||||
|
||||
FATE_QTRLE += fate-qtrle-32bit
|
||||
fate-qtrle-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/qtrle/ultra_demo_720_480_32bpp_rle.mov -pix_fmt rgb24
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, QTRLE) += $(FATE_QTRLE)
|
||||
fate-qtrle: $(FATE_QTRLE)
|
57
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/real.mak
Normal file
57
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/real.mak
Normal file
@@ -0,0 +1,57 @@
|
||||
FATE_REALAUDIO-$(call DEMDEC, RM, RA_144) += fate-ra3-144
|
||||
fate-ra3-144: CMD = framecrc -i $(TARGET_SAMPLES)/realaudio/ra3.ra
|
||||
|
||||
#FATE_REALAUDIO-$(call DEMDEC, RM, RA_288) += fate-ra4-288
|
||||
fate-ra4-288: CMD = pcm -i $(TARGET_SAMPLES)/realaudio/ra4_288.ra
|
||||
fate-ra4-288: REF = $(SAMPLES)/realaudio/ra4_288.pcm
|
||||
fate-ra4-288: CMP = oneoff
|
||||
|
||||
FATE_REALMEDIA_AUDIO-$(call DEMDEC, RM, RA_144) += fate-ra-144
|
||||
fate-ra-144: CMD = md5 -i $(TARGET_SAMPLES)/real/ra3_in_rm_file.rm -f s16le
|
||||
|
||||
FATE_REALMEDIA_AUDIO-$(call DEMDEC, RM, RA_288) += fate-ra-288
|
||||
fate-ra-288: CMD = pcm -i $(TARGET_SAMPLES)/real/ra_288.rm
|
||||
fate-ra-288: CMP = oneoff
|
||||
fate-ra-288: REF = $(SAMPLES)/real/ra_288.pcm
|
||||
fate-ra-288: FUZZ = 2
|
||||
|
||||
FATE_REALMEDIA_AUDIO-$(call DEMDEC, RM, COOK) += fate-ra-cook
|
||||
fate-ra-cook: CMD = pcm -i $(TARGET_SAMPLES)/real/ra_cook.rm
|
||||
fate-ra-cook: CMP = oneoff
|
||||
fate-ra-cook: REF = $(SAMPLES)/real/ra_cook.pcm
|
||||
|
||||
FATE_REALMEDIA_VIDEO-$(call DEMDEC, RM, RV30) += fate-rv30
|
||||
fate-rv30: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/real/rv30.rm -an
|
||||
|
||||
FATE_REALMEDIA_VIDEO-$(call DEMDEC, RM, RV40) += fate-rv40
|
||||
fate-rv40: CMD = framecrc -i $(TARGET_SAMPLES)/real/spygames-2MB.rmvb -t 10 -an
|
||||
|
||||
FATE_SIPR += fate-sipr-5k0
|
||||
fate-sipr-5k0: CMD = pcm -i $(TARGET_SAMPLES)/sipr/sipr_5k0.rm
|
||||
fate-sipr-5k0: REF = $(SAMPLES)/sipr/sipr_5k0.pcm
|
||||
|
||||
FATE_SIPR += fate-sipr-6k5
|
||||
fate-sipr-6k5: CMD = pcm -i $(TARGET_SAMPLES)/sipr/sipr_6k5.rm
|
||||
fate-sipr-6k5: REF = $(SAMPLES)/sipr/sipr_6k5.pcm
|
||||
|
||||
FATE_SIPR += fate-sipr-8k5
|
||||
fate-sipr-8k5: CMD = pcm -i $(TARGET_SAMPLES)/sipr/sipr_8k5.rm
|
||||
fate-sipr-8k5: REF = $(SAMPLES)/sipr/sipr_8k5.pcm
|
||||
|
||||
FATE_SIPR += fate-sipr-16k
|
||||
fate-sipr-16k: CMD = pcm -i $(TARGET_SAMPLES)/sipr/sipr_16k.rm -aframes 3250
|
||||
fate-sipr-16k: REF = $(SAMPLES)/sipr/sipr_16k.pcm
|
||||
fate-sipr-16k: SIZE_TOLERANCE = 40000
|
||||
|
||||
$(FATE_SIPR): CMP = oneoff
|
||||
|
||||
FATE_REALMEDIA_AUDIO-$(call DEMDEC, RM, SIPR) += $(FATE_SIPR)
|
||||
fate-sipr: $(FATE_SIPR)
|
||||
|
||||
fate-realaudio: $(FATE_REALAUDIO-yes)
|
||||
fate-realmedia-audio: $(FATE_REALMEDIA_AUDIO-yes)
|
||||
fate-realmedia-video: $(FATE_REALMEDIA_VIDEO-yes)
|
||||
fate-realmedia: fate-realmedia-audio fate-realmedia-video
|
||||
fate-real: fate-realaudio fate-realmedia
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_REALAUDIO-yes) $(FATE_REALMEDIA_AUDIO-yes) $(FATE_REALMEDIA_VIDEO-yes)
|
92
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/screen.mak
Normal file
92
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/screen.mak
Normal file
@@ -0,0 +1,92 @@
|
||||
# FIXME dropped frames in this test because of coarse timebase
|
||||
FATE_SCREEN-$(call DEMDEC, AVI, CSCD) += fate-cscd
|
||||
fate-cscd: CMD = framecrc -i $(TARGET_SAMPLES)/CSCD/sample_video.avi -an -pix_fmt rgb24
|
||||
|
||||
FATE_SCREEN-$(call DEMDEC, AVI, DXTORY) += fate-dxtory
|
||||
fate-dxtory: CMD = framecrc -i $(TARGET_SAMPLES)/dxtory/dxtory_mic.avi
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, FIC) += fate-fic-avi
|
||||
fate-fic-avi: CMD = framecrc -i $(TARGET_SAMPLES)/fic/fic-partial-2MB.avi -an
|
||||
|
||||
FATE_FRAPS += fate-fraps-v0
|
||||
fate-fraps-v0: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/Griffin_Ragdoll01-partial.avi
|
||||
|
||||
FATE_FRAPS += fate-fraps-v1
|
||||
fate-fraps-v1: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/sample-v1.avi -an
|
||||
|
||||
FATE_FRAPS += fate-fraps-v2
|
||||
fate-fraps-v2: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/test3-nosound-partial.avi
|
||||
|
||||
FATE_FRAPS += fate-fraps-v3
|
||||
fate-fraps-v3: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/psclient-partial.avi -pix_fmt rgb24
|
||||
|
||||
FATE_FRAPS += fate-fraps-v4
|
||||
fate-fraps-v4: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/WoW_2006-11-03_14-58-17-19-nosound-partial.avi
|
||||
|
||||
FATE_FRAPS += fate-fraps-v5
|
||||
fate-fraps-v5: CMD = framecrc -i $(TARGET_SAMPLES)/fraps/fraps-v5-bouncing-balls-partial.avi
|
||||
|
||||
FATE_SCREEN-$(call DEMDEC, AVI, FRAPS) += $(FATE_FRAPS)
|
||||
fate-fraps: $(FATE_FRAPS)
|
||||
|
||||
FATE_G2M += fate-g2m2
|
||||
fate-g2m2: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m2.asf -an
|
||||
|
||||
FATE_G2M += fate-g2m3
|
||||
fate-g2m3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m3.asf -frames:v 20 -an
|
||||
|
||||
FATE_G2M += fate-g2m4
|
||||
fate-g2m4: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/g2m/g2m4.asf
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, G2M) += $(FATE_G2M)
|
||||
fate-g2m: $(FATE_G2M)
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, ASF, TDSC) += fate-tdsc
|
||||
fate-tdsc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/tdsc/tdsc.asf -an -pix_fmt bgr24
|
||||
|
||||
FATE_TSCC += fate-tscc-15bit
|
||||
fate-tscc-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/oneminute.avi -t 15 -pix_fmt rgb24
|
||||
|
||||
FATE_TSCC += fate-tscc-32bit
|
||||
fate-tscc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/2004-12-17-uebung9-partial.avi -pix_fmt rgb24 -an
|
||||
|
||||
FATE_SCREEN-$(call DEMDEC, AVI, TSCC) += $(FATE_TSCC)
|
||||
fate-tscc: $(FATE_TSCC)
|
||||
|
||||
FATE_TSCC2-$(CONFIG_AVI_DEMUXER) += fate-tscc2-avi
|
||||
fate-tscc2-avi: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/tsc2_16bpp.avi
|
||||
|
||||
FATE_TSCC2-$(CONFIG_MOV_DEMUXER) += fate-tscc2-mov
|
||||
fate-tscc2-mov: CMD = framecrc -i $(TARGET_SAMPLES)/tscc/rec.trec
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(CONFIG_TSCC2_DECODER) += $(FATE_TSCC2-yes)
|
||||
fate-tscc2: $(FATE_TSCC2-yes)
|
||||
|
||||
FATE_VMNC += fate-vmnc-16bit
|
||||
fate-vmnc-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/test.avi -pix_fmt rgb24
|
||||
|
||||
FATE_VMNC += fate-vmnc-32bit
|
||||
fate-vmnc-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/VMnc/VS2k5DebugDemo-01-partial.avi -pix_fmt rgb24
|
||||
|
||||
FATE_SCREEN-$(call DEMDEC, AVI, VMNC) += $(FATE_VMNC)
|
||||
fate-vmnc: $(FATE_VMNC)
|
||||
|
||||
FATE_ZMBV += fate-zmbv-8bit
|
||||
fate-zmbv-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/wc2_001-partial.avi -an -pix_fmt rgb24
|
||||
|
||||
FATE_ZMBV += fate-zmbv-15bit
|
||||
fate-zmbv-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_15bit.avi -pix_fmt rgb24 -t 25
|
||||
|
||||
FATE_ZMBV += fate-zmbv-16bit
|
||||
fate-zmbv-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_16bit.avi -pix_fmt rgb24 -t 25
|
||||
|
||||
FATE_ZMBV += fate-zmbv-32bit
|
||||
fate-zmbv-32bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_32bit.avi -pix_fmt rgb24 -t 25
|
||||
|
||||
FATE_SCREEN-$(call DEMDEC, AVI, ZMBV) += $(FATE_ZMBV)
|
||||
fate-zmbv: $(FATE_ZMBV)
|
||||
|
||||
FATE_SCREEN += $(FATE_SCREEN-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SCREEN)
|
||||
fate-screen: $(FATE_SCREEN)
|
258
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/seek.mak
Normal file
258
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/seek.mak
Normal file
@@ -0,0 +1,258 @@
|
||||
# files from fate-acodec
|
||||
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, ADPCM_IMA_QT, AIFF) += adpcm-ima_qt \
|
||||
adpcm-ima_qt-trellis
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, ADPCM_IMA_WAV, WAV) += adpcm-ima_wav \
|
||||
adpcm-ima_wav-trellis
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, ADPCM_MS, WAV) += adpcm-ms \
|
||||
adpcm-ms-trellis
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, ADPCM_SWF, FLV) += adpcm-swf \
|
||||
adpcm-swf-trellis
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, ADPCM_YAMAHA, WAV) += adpcm-yamaha \
|
||||
adpcm-yamaha-trellis
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, ALAC, MOV) += alac
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, FLAC, FLAC) += flac
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, MP2, MP2 MP3) += mp2
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_ALAW, WAV) += pcm-alaw
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_MULAW, WAV) += pcm-mulaw
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S8, MOV) += pcm-s8
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_U8, WAV) += pcm-u8
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S16BE, MOV) += pcm-s16be
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S16LE, WAV) += pcm-s16le
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S24BE, MOV) += pcm-s24be
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S24LE, WAV) += pcm-s24le
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S32BE, MOV) += pcm-s32be
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_S32LE, WAV) += pcm-s32le
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_F32BE, AU) += pcm-f32be
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_F32LE, WAV) += pcm-f32le
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_F64BE, AU) += pcm-f64be
|
||||
FATE_SEEK_ACODEC-$(call ENCDEC, PCM_F64LE, WAV) += pcm-f64le
|
||||
|
||||
fate-seek-acodec-adpcm-ima_qt: SRC = fate/acodec-adpcm-ima_qt.aiff
|
||||
fate-seek-acodec-adpcm-ima_wav: SRC = fate/acodec-adpcm-ima_wav.wav
|
||||
fate-seek-acodec-adpcm-ms: SRC = fate/acodec-adpcm-ms.wav
|
||||
fate-seek-acodec-adpcm-swf: SRC = fate/acodec-adpcm-swf.flv
|
||||
fate-seek-acodec-adpcm-yamaha: SRC = fate/acodec-adpcm-yamaha.wav
|
||||
fate-seek-acodec-adpcm-ima_qt-trellis: SRC = fate/acodec-adpcm-ima_qt-trellis.aiff
|
||||
fate-seek-acodec-adpcm-ima_wav-trellis: SRC = fate/acodec-adpcm-ima_wav-trellis.wav
|
||||
fate-seek-acodec-adpcm-ms-trellis: SRC = fate/acodec-adpcm-ms-trellis.wav
|
||||
fate-seek-acodec-adpcm-swf-trellis: SRC = fate/acodec-adpcm-swf-trellis.flv
|
||||
fate-seek-acodec-adpcm-yamaha-trellis: SRC = fate/acodec-adpcm-yamaha-trellis.wav
|
||||
fate-seek-acodec-alac: SRC = fate/acodec-alac.mov
|
||||
fate-seek-acodec-flac: SRC = fate/acodec-flac.flac
|
||||
fate-seek-acodec-mp2: SRC = fate/acodec-mp2.mp2
|
||||
fate-seek-acodec-pcm-alaw: SRC = fate/acodec-pcm-alaw.wav
|
||||
fate-seek-acodec-pcm-f32be: SRC = fate/acodec-pcm-f32be.au
|
||||
fate-seek-acodec-pcm-f32le: SRC = fate/acodec-pcm-f32le.wav
|
||||
fate-seek-acodec-pcm-f64be: SRC = fate/acodec-pcm-f64be.au
|
||||
fate-seek-acodec-pcm-f64le: SRC = fate/acodec-pcm-f64le.wav
|
||||
fate-seek-acodec-pcm-mulaw: SRC = fate/acodec-pcm-mulaw.wav
|
||||
fate-seek-acodec-pcm-s16be: SRC = fate/acodec-pcm-s16be.mov
|
||||
fate-seek-acodec-pcm-s16le: SRC = fate/acodec-pcm-s16le.wav
|
||||
fate-seek-acodec-pcm-s24be: SRC = fate/acodec-pcm-s24be.mov
|
||||
fate-seek-acodec-pcm-s24le: SRC = fate/acodec-pcm-s24le.wav
|
||||
fate-seek-acodec-pcm-s32be: SRC = fate/acodec-pcm-s32be.mov
|
||||
fate-seek-acodec-pcm-s32le: SRC = fate/acodec-pcm-s32le.wav
|
||||
fate-seek-acodec-pcm-s8: SRC = fate/acodec-pcm-s8.mov
|
||||
fate-seek-acodec-pcm-u8: SRC = fate/acodec-pcm-u8.wav
|
||||
|
||||
FATE_SEEK += $(FATE_SEEK_ACODEC-yes:%=fate-seek-acodec-%)
|
||||
|
||||
# files from fate-vsynth_lena
|
||||
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, ASV1, AVI) += asv1
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, ASV2, AVI) += asv2
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p-rd
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv-411
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, DVVIDEO, DV) += dv-50
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, FFV1, AVI) += ffv1
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, FLASHSV, FLV) += flashsv
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, FLV, FLV) += flv
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, H261, AVI) += h261
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, H263, AVI) += h263
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, H263, AVI) += h263p
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, HUFFYUV, AVI) += huffyuv
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, JPEGLS, AVI) += jpegls
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MJPEG, AVI) += mjpeg
|
||||
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += \
|
||||
mpeg1 \
|
||||
mpeg1b
|
||||
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += \
|
||||
mpeg2-422 \
|
||||
mpeg2-idct-int \
|
||||
mpeg2-ilace \
|
||||
mpeg2-ivlc-qprd \
|
||||
mpeg2-thread \
|
||||
mpeg2-thread-ivlc
|
||||
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MPEG4, MP4 MOV) += mpeg4
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MSMPEG4V3, AVI) += msmpeg4
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, MSMPEG4V2, AVI) += msmpeg4v2
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, RAWVIDEO, AVI) += rgb
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, ROQ, ROQ) += roqvideo
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, RV10, RM) += rv10
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, RV20, RM) += rv20
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, SNOW, AVI) += snow
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, SNOW, AVI) += snow-ll
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, SVQ1, MOV) += svq1
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, WMV1, AVI) += wmv1
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, WMV2, AVI) += wmv2
|
||||
FATE_SEEK_VSYNTH_LENA-$(call ENCDEC, RAWVIDEO, AVI) += yuv
|
||||
|
||||
fate-seek-vsynth_lena-asv1: SRC = fate/vsynth_lena-asv1.avi
|
||||
fate-seek-vsynth_lena-asv2: SRC = fate/vsynth_lena-asv2.avi
|
||||
fate-seek-vsynth_lena-dnxhd-1080i: SRC = fate/vsynth_lena-dnxhd-1080i.mov
|
||||
fate-seek-vsynth_lena-dnxhd-720p: SRC = fate/vsynth_lena-dnxhd-720p.dnxhd
|
||||
fate-seek-vsynth_lena-dnxhd-720p-rd: SRC = fate/vsynth_lena-dnxhd-720p.dnxhd
|
||||
fate-seek-vsynth_lena-dv: SRC = fate/vsynth_lena-dv.dv
|
||||
fate-seek-vsynth_lena-dv-411: SRC = fate/vsynth_lena-dv-411.dv
|
||||
fate-seek-vsynth_lena-dv-50: SRC = fate/vsynth_lena-dv-50.dv
|
||||
fate-seek-vsynth_lena-ffv1: SRC = fate/vsynth_lena-ffv1.avi
|
||||
fate-seek-vsynth_lena-flashsv: SRC = fate/vsynth_lena-flashsv.flv
|
||||
fate-seek-vsynth_lena-flv: SRC = fate/vsynth_lena-flv.flv
|
||||
fate-seek-vsynth_lena-h261: SRC = fate/vsynth_lena-h261.avi
|
||||
fate-seek-vsynth_lena-h263: SRC = fate/vsynth_lena-h263.avi
|
||||
fate-seek-vsynth_lena-h263p: SRC = fate/vsynth_lena-h263p.avi
|
||||
fate-seek-vsynth_lena-huffyuv: SRC = fate/vsynth_lena-huffyuv.avi
|
||||
fate-seek-vsynth_lena-jpegls: SRC = fate/vsynth_lena-jpegls.avi
|
||||
fate-seek-vsynth_lena-ljpeg: SRC = fate/vsynth_lena-ljpeg.avi
|
||||
fate-seek-vsynth_lena-mjpeg: SRC = fate/vsynth_lena-mjpeg.avi
|
||||
fate-seek-vsynth_lena-mpeg1: SRC = fate/vsynth_lena-mpeg1.mpeg1video
|
||||
fate-seek-vsynth_lena-mpeg1b: SRC = fate/vsynth_lena-mpeg1b.mpeg1video
|
||||
fate-seek-vsynth_lena-mpeg2-422: SRC = fate/vsynth_lena-mpeg2-422.mpeg2video
|
||||
fate-seek-vsynth_lena-mpeg2-idct-int: SRC = fate/vsynth_lena-mpeg2-idct-int.mpeg2video
|
||||
fate-seek-vsynth_lena-mpeg2-ilace: SRC = fate/vsynth_lena-mpeg2-ilace.mpeg2video
|
||||
fate-seek-vsynth_lena-mpeg2-ivlc-qprd: SRC = fate/vsynth_lena-mpeg2-ivlc-qprd.mpeg2video
|
||||
fate-seek-vsynth_lena-mpeg2-thread: SRC = fate/vsynth_lena-mpeg2-thread.mpeg2video
|
||||
fate-seek-vsynth_lena-mpeg2-thread-ivlc: SRC = fate/vsynth_lena-mpeg2-thread-ivlc.mpeg2video
|
||||
fate-seek-vsynth_lena-mpeg4: SRC = fate/vsynth_lena-mpeg4.mp4
|
||||
fate-seek-vsynth_lena-mpeg4-adap: SRC = fate/vsynth_lena-mpeg4-adap.avi
|
||||
fate-seek-vsynth_lena-mpeg4-adv: SRC = fate/vsynth_lena-mpeg4-adv.avi
|
||||
fate-seek-vsynth_lena-mpeg4-error: SRC = fate/vsynth_lena-mpeg4-error.avi
|
||||
fate-seek-vsynth_lena-mpeg4-nr: SRC = fate/vsynth_lena-mpeg4-nr.avi
|
||||
fate-seek-vsynth_lena-mpeg4-nsse: SRC = fate/vsynth_lena-mpeg4-nsse.avi
|
||||
fate-seek-vsynth_lena-mpeg4-qpel: SRC = fate/vsynth_lena-mpeg4-qpel.avi
|
||||
fate-seek-vsynth_lena-mpeg4-qprd: SRC = fate/vsynth_lena-mpeg4-qprd.avi
|
||||
fate-seek-vsynth_lena-mpeg4-rc: SRC = fate/vsynth_lena-mpeg4-rc.avi
|
||||
fate-seek-vsynth_lena-mpeg4-thread: SRC = fate/vsynth_lena-mpeg4-thread.avi
|
||||
fate-seek-vsynth_lena-msmpeg4: SRC = fate/vsynth_lena-msmpeg4.avi
|
||||
fate-seek-vsynth_lena-msmpeg4v2: SRC = fate/vsynth_lena-msmpeg4v2.avi
|
||||
fate-seek-vsynth_lena-rgb: SRC = fate/vsynth_lena-rgb.avi
|
||||
fate-seek-vsynth_lena-roqvideo: SRC = fate/vsynth_lena-roqvideo.roq
|
||||
fate-seek-vsynth_lena-rv10: SRC = fate/vsynth_lena-rv10.rm
|
||||
fate-seek-vsynth_lena-rv20: SRC = fate/vsynth_lena-rv20.rm
|
||||
fate-seek-vsynth_lena-snow: SRC = fate/vsynth_lena-snow.avi
|
||||
fate-seek-vsynth_lena-snow-ll: SRC = fate/vsynth_lena-snow-ll.avi
|
||||
fate-seek-vsynth_lena-svq1: SRC = fate/vsynth_lena-svq1.mov
|
||||
fate-seek-vsynth_lena-wmv1: SRC = fate/vsynth_lena-wmv1.avi
|
||||
fate-seek-vsynth_lena-wmv2: SRC = fate/vsynth_lena-wmv2.avi
|
||||
fate-seek-vsynth_lena-yuv: SRC = fate/vsynth_lena-yuv.avi
|
||||
|
||||
FATE_SAMPLES_SEEK += $(FATE_SEEK_VSYNTH_LENA-yes:%=fate-seek-vsynth_lena-%)
|
||||
|
||||
# files from fate-lavf
|
||||
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCM_S16BE, AIFF) += aiff
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCM_ALAW, PCM_ALAW) += alaw
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MSMPEG4V3, MP2, ASF) += asf
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCM_S16BE, AU) += au
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG4, MP2, AVI) += avi
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, BMP, IMAGE2) += bmp
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, DVVIDEO, PCM_S16LE, AVI) += dv_fmt
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, FFM) += ffm
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, FLV, FLV) += flv_fmt
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, GIF, IMAGE2) += gif
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, GXF) += gxf
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, MJPEG, IMAGE2) += jpg
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG4, MP2, MATROSKA) += mkv
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, ADPCM_YAMAHA, MMF) += mmf
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG4, PCM_ALAW, MOV) += mov
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG1VIDEO, MP2, MPEG1SYSTEM MPEGPS) += mpg
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCM_MULAW, PCM_MULAW) += mulaw
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF) += mxf
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG2VIDEO, PCM_S16LE, MXF_D10 MXF) += mxf_d10
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, DNXHD, PCM_S16LE, MXF_OPATOM MXF) += mxf_opatom_audio
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG4, MP2, NUT) += nut
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, FLAC, OGG) += ogg
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PBM, IMAGE2PIPE) += pbmpipe
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCX, IMAGE2) += pcx
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PGM, IMAGE2) += pgm
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PGM, IMAGE2PIPE) += pgmpipe
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PPM, IMAGE2) += ppm
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PPM, IMAGE2PIPE) += ppmpipe
|
||||
FATE_SEEK_LAVF-$(call ENCMUX, RV10 AC3_FIXED, RM) += rm
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, SGI, IMAGE2) += sgi
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, FLV, SWF) += swf
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, TARGA, IMAGE2) += tga
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, TIFF, IMAGE2) += tiff
|
||||
FATE_SEEK_LAVF-$(call ENCDEC2, MPEG2VIDEO, MP2, MPEGTS) += ts
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCM_U8, VOC) += voc
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, PCM_S16LE, WAV) += wav
|
||||
FATE_SEEK_LAVF-$(call ENCDEC, MP2, WTV) += wtv
|
||||
FATE_SEEK_LAVF-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg
|
||||
|
||||
fate-seek-lavf-aiff: SRC = lavf/lavf.aif
|
||||
fate-seek-lavf-alaw: SRC = lavf/lavf.al
|
||||
fate-seek-lavf-asf: SRC = lavf/lavf.asf
|
||||
fate-seek-lavf-au: SRC = lavf/lavf.au
|
||||
fate-seek-lavf-avi: SRC = lavf/lavf.avi
|
||||
fate-seek-lavf-bmp: SRC = images/bmp/%02d.bmp
|
||||
fate-seek-lavf-dv_fmt: SRC = lavf/lavf.dv
|
||||
fate-seek-lavf-ffm: SRC = lavf/lavf.ffm
|
||||
fate-seek-lavf-flv_fmt: SRC = lavf/lavf.flv
|
||||
fate-seek-lavf-gif: SRC = lavf/lavf.gif
|
||||
fate-seek-lavf-gxf: SRC = lavf/lavf.gxf
|
||||
fate-seek-lavf-jpg: SRC = images/jpg/%02d.jpg
|
||||
fate-seek-lavf-mkv: SRC = lavf/lavf.mkv
|
||||
fate-seek-lavf-mmf: SRC = lavf/lavf.mmf
|
||||
fate-seek-lavf-mov: SRC = lavf/lavf.mov
|
||||
fate-seek-lavf-mpg: SRC = lavf/lavf.mpg
|
||||
fate-seek-lavf-mulaw: SRC = lavf/lavf.ul
|
||||
fate-seek-lavf-mxf: SRC = lavf/lavf.mxf
|
||||
fate-seek-lavf-mxf_d10: SRC = lavf/lavf.mxf_d10
|
||||
fate-seek-lavf-mxf_opatom: SRC = lavf/lavf.mxf_opatom
|
||||
fate-seek-lavf-mxf_opatom_audio: SRC = lavf/lavf.mxf_opatom_audio
|
||||
fate-seek-lavf-nut: SRC = lavf/lavf.nut
|
||||
fate-seek-lavf-ogg: SRC = lavf/lavf.ogg
|
||||
fate-seek-lavf-pbmpipe: SRC = lavf/pbmpipe.pbm
|
||||
fate-seek-lavf-pcx: SRC = images/pcx/%02d.pcx
|
||||
fate-seek-lavf-pgm: SRC = images/pgm/%02d.pgm
|
||||
fate-seek-lavf-pgmpipe: SRC = lavf/pgmpipe.pgm
|
||||
fate-seek-lavf-ppm: SRC = images/ppm/%02d.ppm
|
||||
fate-seek-lavf-ppmpipe: SRC = lavf/ppmpipe.ppm
|
||||
fate-seek-lavf-rm: SRC = lavf/lavf.rm
|
||||
fate-seek-lavf-sgi: SRC = images/sgi/%02d.sgi
|
||||
fate-seek-lavf-swf: SRC = lavf/lavf.swf
|
||||
fate-seek-lavf-tga: SRC = images/tga/%02d.tga
|
||||
fate-seek-lavf-tiff: SRC = images/tiff/%02d.tiff
|
||||
fate-seek-lavf-ts: SRC = lavf/lavf.ts
|
||||
fate-seek-lavf-voc: SRC = lavf/lavf.voc
|
||||
fate-seek-lavf-wav: SRC = lavf/lavf.wav
|
||||
fate-seek-lavf-wtv: SRC = lavf/lavf.wtv
|
||||
fate-seek-lavf-yuv4mpeg: SRC = lavf/lavf.y4m
|
||||
|
||||
FATE_SEEK += $(FATE_SEEK_LAVF-yes:%=fate-seek-lavf-%)
|
||||
|
||||
# extra files
|
||||
|
||||
FATE_SEEK_EXTRA-$(CONFIG_MP3_DEMUXER) += fate-seek-extra-mp3
|
||||
fate-seek-extra-mp3: CMD = run libavformat/seek-test$(EXESUF) $(TARGET_SAMPLES)/gapless/gapless.mp3 -usetoc 0
|
||||
FATE_SEEK_EXTRA += $(FATE_SEEK_EXTRA-yes)
|
||||
|
||||
|
||||
$(FATE_SEEK) $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA): libavformat/seek-test$(EXESUF)
|
||||
$(FATE_SEEK) $(FATE_SAMPLES_SEEK): CMD = run libavformat/seek-test$(EXESUF) $(TARGET_PATH)/tests/data/$(SRC)
|
||||
$(FATE_SEEK) $(FATE_SAMPLES_SEEK): fate-seek-%: fate-%
|
||||
fate-seek-%: REF = $(SRC_PATH)/tests/ref/seek/$(@:fate-seek-%=%)
|
||||
|
||||
FATE_AVCONV += $(FATE_SEEK)
|
||||
FATE_SAMPLES_AVCONV += $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA)
|
||||
fate-seek: $(FATE_SEEK) $(FATE_SAMPLES_SEEK) $(FATE_SEEK_EXTRA)
|
@@ -0,0 +1,82 @@
|
||||
FATE_SUBTITLES_ASS-$(call ALLYES, AQTITLE_DEMUXER TEXT_DECODER ICONV) += fate-sub-aqtitle
|
||||
fate-sub-aqtitle: CMD = fmtstdout ass -sub_charenc windows-1250 -i $(TARGET_SAMPLES)/sub/AQTitle_capability_tester.aqt
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call ALLYES, AVDEVICE LAVFI_INDEV CCAPTION_DECODER MOVIE_FILTER MPEGTS_DEMUXER) += fate-sub-cc
|
||||
fate-sub-cc: CMD = fmtstdout ass -f lavfi -i "movie=$(TARGET_SAMPLES)/sub/Closedcaption_rollup.m2v[out0+subcc]"
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, ASS, ASS) += fate-sub-ass-to-ass-transcode
|
||||
fate-sub-ass-to-ass-transcode: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/1ededcbd7b.ass
|
||||
|
||||
FATE_SUBTITLES_ASS-$(CONFIG_ASS_DEMUXER) += fate-sub-ssa-to-ass-remux
|
||||
fate-sub-ssa-to-ass-remux: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/a9-misc.ssa -c copy
|
||||
|
||||
FATE_SUBTITLES-$(call ALLYES, ASS_DEMUXER, MATROSKA_MUXER) += fate-binsub-mksenc
|
||||
fate-binsub-mksenc: CMD = md5 -i $(TARGET_SAMPLES)/sub/1ededcbd7b.ass -c copy -f matroska -flags +bitexact -fflags +bitexact
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, JACOSUB, JACOSUB) += fate-sub-jacosub
|
||||
fate-sub-jacosub: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/JACOsub_capability_tester.jss
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, MICRODVD, MICRODVD) += fate-sub-microdvd
|
||||
fate-sub-microdvd: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MicroDVD_capability_tester.sub
|
||||
|
||||
FATE_SUBTITLES-$(call ALLYES, MICRODVD_DEMUXER MICRODVD_MUXER) += fate-sub-microdvd-remux
|
||||
fate-sub-microdvd-remux: CMD = fmtstdout microdvd -i $(TARGET_SAMPLES)/sub/MicroDVD_capability_tester.sub -c:s copy
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, MOV, MOVTEXT) += fate-sub-movtext
|
||||
fate-sub-movtext: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MovText_capability_tester.mp4
|
||||
|
||||
FATE_SUBTITLES-$(call ENCDEC, MOVTEXT, MOV) += fate-binsub-movtextenc
|
||||
fate-binsub-movtextenc: CMD = md5 -i $(TARGET_SAMPLES)/sub/MovText_capability_tester.mp4 -map 0 -scodec mov_text -f mp4 -flags +bitexact -fflags +bitexact -movflags frag_keyframe+empty_moov
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, MPL2, MPL2) += fate-sub-mpl2
|
||||
fate-sub-mpl2: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MPL2_capability_tester.txt
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, MPSUB, TEXT) += fate-sub-mpsub
|
||||
fate-sub-mpsub: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MPSub_capability_tester.sub
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, MPSUB, TEXT) += fate-sub-mpsub-frames
|
||||
fate-sub-mpsub-frames: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/MPSub_capability_tester_frames.sub
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, PJS, PJS) += fate-sub-pjs
|
||||
fate-sub-pjs: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/PJS_capability_tester.pjs
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, REALTEXT, REALTEXT) += fate-sub-realtext
|
||||
fate-sub-realtext: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/RealText_capability_tester.rt
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, SAMI, SAMI) += fate-sub-sami
|
||||
fate-sub-sami: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/SAMI_capability_tester.smi
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, SRT, SUBRIP) += fate-sub-srt
|
||||
fate-sub-srt: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/SubRip_capability_tester.srt
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, STL, STL) += fate-sub-stl
|
||||
fate-sub-stl: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/STL_capability_tester.stl
|
||||
|
||||
FATE_SUBTITLES-$(call ALLYES, MOV_DEMUXER MOVTEXT_DECODER SUBRIP_ENCODER SRT_MUXER) += fate-sub-subripenc
|
||||
fate-sub-subripenc: CMD = fmtstdout srt -i $(TARGET_SAMPLES)/sub/MovText_capability_tester.mp4 -scodec subrip
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call ALLYES, SUBVIEWER1_DEMUXER SUBVIEWER1_DECODER ICONV) += fate-sub-subviewer1
|
||||
fate-sub-subviewer1: CMD = fmtstdout ass -sub_charenc windows-1250 -i $(TARGET_SAMPLES)/sub/SubViewer1_capability_tester.sub
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, SUBVIEWER, SUBVIEWER) += fate-sub-subviewer
|
||||
fate-sub-subviewer: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/SubViewer_capability_tester.sub
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, VPLAYER, VPLAYER) += fate-sub-vplayer
|
||||
fate-sub-vplayer: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/VPlayer_capability_tester.txt
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call DEMDEC, WEBVTT, WEBVTT) += fate-sub-webvtt
|
||||
fate-sub-webvtt: CMD = fmtstdout ass -i $(TARGET_SAMPLES)/sub/WebVTT_capability_tester.vtt
|
||||
|
||||
FATE_SUBTITLES-$(call ALLYES, SRT_DEMUXER SUBRIP_DECODER WEBVTT_ENCODER WEBVTT_MUXER) += fate-sub-webvttenc
|
||||
fate-sub-webvttenc: CMD = fmtstdout webvtt -i $(TARGET_SAMPLES)/sub/SubRip_capability_tester.srt
|
||||
|
||||
FATE_SUBTITLES_ASS-$(call ALLYES, MICRODVD_DEMUXER MICRODVD_DECODER ICONV) += fate-sub-charenc
|
||||
fate-sub-charenc: CMD = fmtstdout ass -sub_charenc cp1251 -i $(TARGET_SAMPLES)/sub/cp1251-subtitles.sub
|
||||
|
||||
FATE_SUBTITLES-$(call ENCMUX, ASS, ASS) += $(FATE_SUBTITLES_ASS-yes)
|
||||
FATE_SUBTITLES += $(FATE_SUBTITLES-yes)
|
||||
|
||||
fate-sub-%: CMP = rawdiff
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_SUBTITLES)
|
||||
fate-subtitles: $(FATE_SUBTITLES)
|
72
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/utvideo.mak
Normal file
72
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/utvideo.mak
Normal file
@@ -0,0 +1,72 @@
|
||||
FATE_UTVIDEO += fate-utvideo_rgb_left
|
||||
fate-utvideo_rgb_left: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgb_left.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_rgb_median
|
||||
fate-utvideo_rgb_median: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgb_median.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_rgba_left
|
||||
fate-utvideo_rgba_left: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgba_left.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_rgba_median
|
||||
fate-utvideo_rgba_median: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgba_median.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_rgba_single_symbol
|
||||
fate-utvideo_rgba_single_symbol: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_rgba_single_symbol.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_yuv420_left
|
||||
fate-utvideo_yuv420_left: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_yuv420_left.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_yuv420_median
|
||||
fate-utvideo_yuv420_median: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_yuv420_median.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_yuv422_left
|
||||
fate-utvideo_yuv422_left: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_yuv422_left.avi
|
||||
|
||||
FATE_UTVIDEO += fate-utvideo_yuv422_median
|
||||
fate-utvideo_yuv422_median: CMD = framecrc -i $(TARGET_SAMPLES)/utvideo/utvideo_yuv422_median.avi
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, UTVIDEO) += $(FATE_UTVIDEO)
|
||||
fate-utvideo: $(FATE_UTVIDEO)
|
||||
|
||||
fate-utvideoenc%: CMD = framemd5 -f image2 -vcodec pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -vcodec utvideo -slices 1 -sws_flags +accurate_rnd+bitexact ${OPTS}
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_rgba_left
|
||||
fate-utvideoenc_rgba_left: OPTS = -pix_fmt rgba -pred left
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_rgba_median
|
||||
fate-utvideoenc_rgba_median: OPTS = -pix_fmt rgba -pred median
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_rgba_none
|
||||
fate-utvideoenc_rgba_none: OPTS = -pix_fmt rgba -pred 3
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_rgb_left
|
||||
fate-utvideoenc_rgb_left: OPTS = -pix_fmt rgb24 -pred left
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_rgb_median
|
||||
fate-utvideoenc_rgb_median: OPTS = -pix_fmt rgb24 -pred median
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_rgb_none
|
||||
fate-utvideoenc_rgb_none: OPTS = -pix_fmt rgb24 -pred 3
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_yuv420_left
|
||||
fate-utvideoenc_yuv420_left: OPTS = -pix_fmt yuv420p -pred left
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_yuv420_median
|
||||
fate-utvideoenc_yuv420_median: OPTS = -pix_fmt yuv420p -pred median
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_yuv420_none
|
||||
fate-utvideoenc_yuv420_none: OPTS = -pix_fmt yuv420p -pred 3
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_yuv422_left
|
||||
fate-utvideoenc_yuv422_left: OPTS = -pix_fmt yuv422p -pred left
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_yuv422_median
|
||||
fate-utvideoenc_yuv422_median: OPTS = -pix_fmt yuv422p -pred median
|
||||
|
||||
FATE_UTVIDEOENC += fate-utvideoenc_yuv422_none
|
||||
fate-utvideoenc_yuv422_none: OPTS = -pix_fmt yuv422p -pred 3
|
||||
|
||||
$(FATE_UTVIDEOENC): $(VREF)
|
||||
|
||||
FATE_AVCONV-$(call ENCMUX, UTVIDEO, AVI) += $(FATE_UTVIDEOENC)
|
||||
fate-utvideoenc: $(FATE_UTVIDEOENC)
|
359
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vcodec.mak
Normal file
359
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vcodec.mak
Normal file
@@ -0,0 +1,359 @@
|
||||
fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
|
||||
fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
|
||||
fate-vsynth_lena-%: SRC = tests/data/vsynth_lena.yuv
|
||||
fate-vsynth3-%: SRC = tests/data/vsynth3.yuv
|
||||
fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@)))
|
||||
fate-vsynth%: FMT = avi
|
||||
fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p $(RAWDECOPTS)" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p -vsync 0 $(DECOPTS)" -keep "$(DECINOPTS)"
|
||||
fate-vsynth3-%: CMD = enc_dec "rawvideo -s $(FATEW)x$(FATEH) -pix_fmt yuv420p $(RAWDECOPTS)" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s $(FATEW)x$(FATEH) -pix_fmt yuv420p -vsync 0 $(DECOPTS)" -keep "$(DECINOPTS)"
|
||||
fate-vsynth%: CMP_UNIT = 1
|
||||
fate-vsynth%: REF = $(SRC_PATH)/tests/ref/vsynth/$(@:fate-%=%)
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, AMV, AVI) += amv
|
||||
fate-vsynth%-amv: ENCOPTS = -strict -1
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, ASV1, AVI) += asv1
|
||||
fate-vsynth%-asv1: ENCOPTS = -qscale 10
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, ASV2, AVI) += asv2
|
||||
fate-vsynth%-asv2: ENCOPTS = -qscale 10
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, CINEPAK, MOV) += cinepak
|
||||
fate-vsynth%-cinepak: ENCOPTS = -vcodec cinepak -frames 3
|
||||
fate-vsynth%-cinepak: FMT = mov
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, CLJR, AVI) += cljr
|
||||
fate-vsynth%-cljr: ENCOPTS = -strict -1
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \
|
||||
dnxhd-720p-rd \
|
||||
dnxhd-720p-10bit
|
||||
|
||||
fate-vsynth%-dnxhd-720p: ENCOPTS = -s hd720 -b 90M \
|
||||
-pix_fmt yuv422p -frames 5 -qmax 8
|
||||
fate-vsynth%-dnxhd-720p: FMT = dnxhd
|
||||
|
||||
fate-vsynth%-dnxhd-720p-rd: ENCOPTS = -s hd720 -b 90M -threads 4 -mbd rd \
|
||||
-pix_fmt yuv422p -frames 5 -qmax 8
|
||||
fate-vsynth%-dnxhd-720p-rd: FMT = dnxhd
|
||||
|
||||
fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \
|
||||
-pix_fmt yuv422p10 -frames 5 -qmax 8
|
||||
fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-colr
|
||||
fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \
|
||||
-pix_fmt yuv422p -frames 5 -qmax 8
|
||||
fate-vsynth%-dnxhd-1080i: FMT = mov
|
||||
|
||||
fate-vsynth%-dnxhd-1080i-colr: ENCOPTS = -s hd1080 -b 120M -flags +ildct -movflags write_colr \
|
||||
-pix_fmt yuv422p -frames 5 -qmax 8
|
||||
fate-vsynth%-dnxhd-1080i-colr: DECOPTS = -sws_flags area+accurate_rnd+bitexact
|
||||
fate-vsynth%-dnxhd-1080i-colr: FMT = mov
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, DVVIDEO, DV) += dv dv-411 dv-50
|
||||
fate-vsynth%-dv: CODEC = dvvideo
|
||||
fate-vsynth%-dv: ENCOPTS = -dct int -s pal
|
||||
fate-vsynth%-dv: FMT = dv
|
||||
|
||||
fate-vsynth%-dv-411: CODEC = dvvideo
|
||||
fate-vsynth%-dv-411: ENCOPTS = -dct int -s pal -pix_fmt yuv411p \
|
||||
-sws_flags area
|
||||
fate-vsynth%-dv-411: DECOPTS = -sws_flags area
|
||||
fate-vsynth%-dv-411: FMT = dv
|
||||
|
||||
fate-vsynth%-dv-50: CODEC = dvvideo
|
||||
fate-vsynth%-dv-50: ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
|
||||
-sws_flags neighbor
|
||||
fate-vsynth%-dv-50: DECOPTS = -sws_flags neighbor
|
||||
fate-vsynth%-dv-50: FMT = dv
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1-v0 \
|
||||
ffv1-v3-yuv420p ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \
|
||||
ffv1-v3-bgr0
|
||||
fate-vsynth%-ffv1: ENCOPTS = -slices 4
|
||||
fate-vsynth%-ffv1-v0: CODEC = ffv1
|
||||
fate-vsynth%-ffv1-v3-yuv420p: ENCOPTS = -level 3 -pix_fmt yuv420p
|
||||
fate-vsynth%-ffv1-v3-yuv422p10: ENCOPTS = -level 3 -pix_fmt yuv422p10 \
|
||||
-sws_flags neighbor+bitexact
|
||||
fate-vsynth%-ffv1-v3-yuv422p10: DECOPTS = -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-ffv1-v3-yuv444p16: ENCOPTS = -level 3 -pix_fmt yuv444p16 \
|
||||
-sws_flags neighbor+bitexact
|
||||
fate-vsynth%-ffv1-v3-yuv444p16: DECOPTS = -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-ffv1-v3-bgr0: ENCOPTS = -level 3 -pix_fmt bgr0 \
|
||||
-sws_flags neighbor+bitexact
|
||||
fate-vsynth%-ffv1-v3-bgr0: DECOPTS = -sws_flags neighbor+bitexact
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16
|
||||
fate-vsynth%-ffvhuff444: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p
|
||||
fate-vsynth%-ffvhuff420p12: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv420p12le
|
||||
fate-vsynth%-ffvhuff422p10left: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv422p10le -pred left
|
||||
fate-vsynth%-ffvhuff444p16: ENCOPTS = -vcodec ffvhuff -pix_fmt yuv444p16le -pred plane
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv
|
||||
fate-vsynth%-flashsv: ENCOPTS = -sws_flags neighbor+full_chroma_int
|
||||
fate-vsynth%-flashsv: DECOPTS = -sws_flags area
|
||||
fate-vsynth%-flashsv: FMT = flv
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, FLASHSV2, FLV) += flashsv2
|
||||
fate-vsynth%-flashsv2: ENCOPTS = -sws_flags neighbor+full_chroma_int -strict experimental -compression_level 0
|
||||
fate-vsynth%-flashsv2: DECOPTS = -sws_flags area
|
||||
fate-vsynth%-flashsv2: FMT = flv
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, FLV, FLV) += flv
|
||||
fate-vsynth%-flv: ENCOPTS = -qscale 10
|
||||
fate-vsynth%-flv: FMT = flv
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, H261, AVI) += h261 h261-trellis
|
||||
fate-vsynth%-h261: ENCOPTS = -qscale 11
|
||||
fate-vsynth%-h261-trellis: ENCOPTS = -qscale 12 -trellis 1 -mbd rd
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, H263, AVI) += h263 h263-obmc h263p
|
||||
fate-vsynth%-h263: ENCOPTS = -qscale 10
|
||||
fate-vsynth%-h263-obmc: ENCOPTS = -qscale 10 -obmc 1
|
||||
fate-vsynth%-h263p: ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv huffyuvbgr24 huffyuvbgra
|
||||
fate-vsynth%-huffyuv: ENCOPTS = -vcodec huffyuv -pix_fmt yuv422p -sws_flags neighbor
|
||||
fate-vsynth%-huffyuv: DECOPTS = -sws_flags neighbor
|
||||
fate-vsynth%-huffyuvbgr24: ENCOPTS = -vcodec huffyuv -pix_fmt bgr24 -sws_flags neighbor
|
||||
fate-vsynth%-huffyuvbgr24: DECOPTS = -sws_flags neighbor
|
||||
fate-vsynth%-huffyuvbgra: ENCOPTS = -vcodec huffyuv -pix_fmt bgr32 -sws_flags neighbor
|
||||
fate-vsynth%-huffyuvbgra: DECOPTS = -sws_flags neighbor
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, JPEGLS, AVI) += jpegls
|
||||
fate-vsynth%-jpegls: ENCOPTS = -sws_flags neighbor+full_chroma_int
|
||||
fate-vsynth%-jpegls: DECOPTS = -sws_flags area
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, JPEG2000, AVI) += jpeg2000 jpeg2000-97
|
||||
fate-vsynth%-jpeg2000: ENCOPTS = -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24
|
||||
fate-vsynth%-jpeg2000: DECINOPTS = -vcodec jpeg2000
|
||||
fate-vsynth%-jpeg2000-97: ENCOPTS = -qscale 7 -strict experimental -pix_fmt rgb24
|
||||
fate-vsynth%-jpeg2000-97: DECINOPTS = -vcodec jpeg2000
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
|
||||
fate-vsynth%-ljpeg: ENCOPTS = -strict -1
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MJPEG, AVI) += mjpeg mjpeg-422 mjpeg-444 mjpeg-trell
|
||||
fate-vsynth%-mjpeg: ENCOPTS = -qscale 9 -pix_fmt yuvj420p
|
||||
fate-vsynth%-mjpeg-422: ENCOPTS = -qscale 9 -pix_fmt yuvj422p
|
||||
fate-vsynth%-mjpeg-444: ENCOPTS = -qscale 9 -pix_fmt yuvj444p
|
||||
fate-vsynth%-mjpeg-trell: ENCOPTS = -qscale 9 -pix_fmt yuvj420p -trellis 1
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += mpeg1 mpeg1b
|
||||
fate-vsynth%-mpeg1: FMT = mpeg1video
|
||||
fate-vsynth%-mpeg1: CODEC = mpeg1video
|
||||
fate-vsynth%-mpeg1: ENCOPTS = -qscale 10
|
||||
|
||||
fate-vsynth%-mpeg1b: CODEC = mpeg1video
|
||||
fate-vsynth%-mpeg1b: ENCOPTS = -qscale 8 -bf 3 -ps 200
|
||||
fate-vsynth%-mpeg1b: FMT = mpeg1video
|
||||
|
||||
FATE_MPEG2 = mpeg2 \
|
||||
mpeg2-422 \
|
||||
mpeg2-idct-int \
|
||||
mpeg2-ilace \
|
||||
mpeg2-ivlc-qprd \
|
||||
mpeg2-thread \
|
||||
mpeg2-thread-ivlc
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
|
||||
|
||||
$(FATE_MPEG2:%=fate-vsynth\%-%): FMT = mpeg2video
|
||||
$(FATE_MPEG2:%=fate-vsynth\%-%): CODEC = mpeg2video
|
||||
|
||||
fate-vsynth%-mpeg2: ENCOPTS = -qscale 10
|
||||
fate-vsynth%-mpeg2-422: ENCOPTS = -b:v 1000k \
|
||||
-bf 2 \
|
||||
-trellis 1 \
|
||||
-flags +ildct+ilme \
|
||||
-mpv_flags +qp_rd+mv0 \
|
||||
-intra_vlc 1 \
|
||||
-mbd rd \
|
||||
-pix_fmt yuv422p
|
||||
fate-vsynth%-mpeg2-idct-int: ENCOPTS = -qscale 10 -idct int -dct int
|
||||
fate-vsynth%-mpeg2-ilace: ENCOPTS = -qscale 10 -flags +ildct+ilme
|
||||
fate-vsynth%-mpeg2-ivlc-qprd: ENCOPTS = -b:v 500k \
|
||||
-bf 2 \
|
||||
-trellis 1 \
|
||||
-mpv_flags +qp_rd+mv0 \
|
||||
-intra_vlc 1 \
|
||||
-cmp 2 -subcmp 2 \
|
||||
-mbd rd
|
||||
fate-vsynth%-mpeg2-thread: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
|
||||
-threads 2 -slices 2
|
||||
fate-vsynth%-mpeg2-thread-ivlc: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
|
||||
-intra_vlc 1 -threads 2 -slices 2
|
||||
|
||||
FATE_MPEG4_MP4 = mpeg4
|
||||
FATE_MPEG4_AVI = mpeg4-rc \
|
||||
mpeg4-adv \
|
||||
mpeg4-qprd \
|
||||
mpeg4-adap \
|
||||
mpeg4-qpel \
|
||||
mpeg4-thread \
|
||||
mpeg4-error \
|
||||
mpeg4-nr \
|
||||
mpeg4-nsse
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
|
||||
FATE_VCODEC-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
|
||||
|
||||
fate-vsynth%-mpeg4: ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
|
||||
fate-vsynth%-mpeg4: FMT = mp4
|
||||
|
||||
fate-vsynth%-mpeg4-adap: ENCOPTS = -b 550k -bf 2 -flags +mv4 \
|
||||
-mpv_flags +mv0 \
|
||||
-trellis 1 -cmp 1 -subcmp 2 \
|
||||
-mbd rd -scplx_mask 0.3
|
||||
|
||||
fate-vsynth%-mpeg4-adv: ENCOPTS = -qscale 9 -flags +mv4+aic \
|
||||
-data_partitioning 1 -trellis 1 \
|
||||
-mbd bits -ps 200
|
||||
|
||||
fate-vsynth%-mpeg4-error: ENCOPTS = -qscale 7 -flags +mv4+aic \
|
||||
-data_partitioning 1 -mbd rd \
|
||||
-ps 250 -error_rate 10
|
||||
|
||||
fate-vsynth%-mpeg4-nr: ENCOPTS = -qscale 8 -flags +mv4 -mbd rd -nr 200
|
||||
|
||||
fate-vsynth%-mpeg4-nsse: ENCOPTS = -qscale 7 -cmp nsse -subcmp nsse \
|
||||
-mbcmp nsse -precmp nsse \
|
||||
-skipcmp nsse
|
||||
|
||||
fate-vsynth%-mpeg4-qpel: ENCOPTS = -qscale 7 -flags +mv4+qpel -mbd 2 \
|
||||
-bf 2 -cmp 1 -subcmp 2
|
||||
|
||||
fate-vsynth%-mpeg4-qprd: ENCOPTS = -b 450k -bf 2 -trellis 1 \
|
||||
-flags +mv4 -mpv_flags +qp_rd \
|
||||
-cmp 2 -subcmp 2 -mbd rd \
|
||||
-mpv_flags +mv0
|
||||
|
||||
fate-vsynth%-mpeg4-rc: ENCOPTS = -b 400k -bf 2
|
||||
|
||||
fate-vsynth%-mpeg4-thread: ENCOPTS = -b 500k -flags +mv4+aic \
|
||||
-data_partitioning 1 -trellis 1 \
|
||||
-mbd bits -ps 200 -bf 2 \
|
||||
-threads 2 -slices 2
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MSMPEG4V3, AVI) += msmpeg4
|
||||
fate-vsynth%-msmpeg4: ENCOPTS = -qscale 10
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MSMPEG4V2, AVI) += msmpeg4v2
|
||||
fate-vsynth%-msmpeg4v2: ENCOPTS = -qscale 10
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, PNG, AVI) += mpng
|
||||
fate-vsynth%-mpng: CODEC = png
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, MSVIDEO1, AVI) += msvideo1
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores prores_ks
|
||||
fate-vsynth%-prores: FMT = mov
|
||||
|
||||
fate-vsynth%-prores_ks: ENCOPTS = -profile hq
|
||||
fate-vsynth%-prores_ks: FMT = mov
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, QTRLE, MOV) += qtrle qtrlegray
|
||||
fate-vsynth%-qtrle: FMT = mov
|
||||
|
||||
fate-vsynth%-qtrlegray: CODEC = qtrle
|
||||
fate-vsynth%-qtrlegray: ENCOPTS = -pix_fmt gray
|
||||
fate-vsynth%-qtrlegray: FMT = mov
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += rgb
|
||||
fate-vsynth%-rgb: CODEC = rawvideo
|
||||
fate-vsynth%-rgb: ENCOPTS = -pix_fmt bgr24
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, ROQ, ROQ) += roqvideo
|
||||
fate-vsynth%-roqvideo: CODEC = roqvideo
|
||||
fate-vsynth%-roqvideo: ENCOPTS = -frames 5
|
||||
fate-vsynth%-roqvideo: RAWDECOPTS = -r 30
|
||||
fate-vsynth%-roqvideo: FMT = roq
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, RV10, RM) += rv10
|
||||
fate-vsynth%-rv10: ENCOPTS = -qscale 10
|
||||
fate-vsynth%-rv10: FMT = rm
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, RV20, RM) += rv20
|
||||
fate-vsynth%-rv20: ENCOPTS = -qscale 10
|
||||
fate-vsynth%-rv20: FMT = rm
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, SNOW, AVI) += snow snow-hpel snow-ll
|
||||
fate-vsynth%-snow: ENCOPTS = -qscale 2 -flags +qpel \
|
||||
-me_method iter -dia_size 2 \
|
||||
-cmp 12 -subcmp 12 -s 128x64
|
||||
|
||||
fate-vsynth%-snow-hpel: ENCOPTS = -qscale 2 \
|
||||
-me_method iter -dia_size 2 \
|
||||
-cmp 12 -subcmp 12 -s 128x64
|
||||
|
||||
fate-vsynth%-snow-ll: ENCOPTS = -qscale .001 -pred 1 \
|
||||
-flags +mv4+qpel
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, SVQ1, MOV) += svq1
|
||||
fate-vsynth%-svq1: ENCOPTS = -qscale 3 -pix_fmt yuv410p
|
||||
fate-vsynth%-svq1: FMT = mov
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, R210, AVI) += r210
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, V210, AVI) += v210
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, V308, AVI) += v308
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, V408, AVI) += v408
|
||||
fate-vsynth%-v408: ENCOPTS = -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-v408: DECOPTS = -sws_flags neighbor+bitexact
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, AVUI, MOV) += avui
|
||||
fate-vsynth%-avui: ENCOPTS = -s pal -strict experimental -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-avui: DECOPTS = -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-avui: FMT = mov
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, WMV1, AVI) += wmv1
|
||||
fate-vsynth%-wmv1: ENCOPTS = -qscale 10
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, WMV2, AVI) += wmv2
|
||||
fate-vsynth%-wmv2: ENCOPTS = -qscale 10
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += yuv
|
||||
fate-vsynth%-yuv: CODEC = rawvideo
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, XFACE, NUT) += xface
|
||||
fate-vsynth%-xface: ENCOPTS = -s 48x48 -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-xface: DECOPTS = -sws_flags neighbor+bitexact
|
||||
fate-vsynth%-xface: FMT = nut
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, YUV4, AVI) += yuv4
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, Y41P, AVI) += y41p
|
||||
|
||||
FATE_VCODEC-$(call ENCDEC, ZLIB, AVI) += zlib
|
||||
|
||||
FATE_VCODEC += $(FATE_VCODEC-yes)
|
||||
FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
|
||||
FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)
|
||||
FATE_VSYNTH_LENA = $(FATE_VCODEC:%=fate-vsynth_lena-%)
|
||||
# Redundant tests because they just resize the input
|
||||
RESIZE_OFF = dnxhd-720p dnxhd-720p-rd dnxhd-720p-10bit dnxhd-1080i \
|
||||
dv dv-411 dv-50 avui snow snow-hpel snow-ll
|
||||
# Incorrect parameters - usually size or color format restrictions
|
||||
INC_PAR_OFF = cinepak h261 h261-trellis h263 h263p h263-obmc msvideo1 \
|
||||
roqvideo rv10 rv20 y41p qtrlegray
|
||||
VSYNTH3_OFF = $(RESIZE_OFF) $(INC_PAR_OFF)
|
||||
|
||||
FATE_VCODEC3 = $(filter-out $(VSYNTH3_OFF),$(FATE_VCODEC))
|
||||
FATE_VSYNTH3 = $(FATE_VCODEC3:%=fate-vsynth3-%)
|
||||
|
||||
$(FATE_VSYNTH1): tests/data/vsynth1.yuv
|
||||
$(FATE_VSYNTH2): tests/data/vsynth2.yuv
|
||||
$(FATE_VSYNTH_LENA): tests/data/vsynth_lena.yuv
|
||||
$(FATE_VSYNTH3): tests/data/vsynth3.yuv
|
||||
|
||||
FATE_AVCONV += $(FATE_VSYNTH1) $(FATE_VSYNTH2) $(FATE_VSYNTH3)
|
||||
FATE_SAMPLES_AVCONV += $(FATE_VSYNTH_LENA)
|
||||
|
||||
fate-vsynth1: $(FATE_VSYNTH1)
|
||||
fate-vsynth2: $(FATE_VSYNTH2)
|
||||
fate-vsynth_lena: $(FATE_VSYNTH_LENA)
|
||||
fate-vsynth3: $(FATE_VSYNTH3)
|
||||
fate-vcodec: fate-vsynth1 fate-vsynth_lena fate-vsynth2 fate-vsynth3
|
353
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/video.mak
Normal file
353
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/video.mak
Normal file
@@ -0,0 +1,353 @@
|
||||
FATE_4XM += fate-4xm-1
|
||||
fate-4xm-1: CMD = framecrc -i $(TARGET_SAMPLES)/4xm/version1.4xm -pix_fmt rgb24 -an
|
||||
|
||||
FATE_4XM += fate-4xm-2
|
||||
fate-4xm-2: CMD = framecrc -i $(TARGET_SAMPLES)/4xm/version2.4xm -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, FOURXM, FOURXM) += $(FATE_4XM)
|
||||
fate-4xm: $(FATE_4XM)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, AASC) += fate-aasc
|
||||
fate-aasc: CMD = framecrc -i $(TARGET_SAMPLES)/aasc/AASC-1.5MB.AVI -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MOV, AIC) += fate-aic
|
||||
fate-aic: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/aic/small_apple_intermediate_codec.mov -an -vframes 15
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MOV, AIC) += fate-aic-oddsize
|
||||
fate-aic-oddsize: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/aic/aic_odd_dimensions.mov
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MM, MMVIDEO) += fate-alg-mm
|
||||
fate-alg-mm: CMD = framecrc -i $(TARGET_SAMPLES)/alg-mm/ibmlogo.mm -an -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, AMV) += fate-amv
|
||||
fate-amv: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/amv/MTV_high_res_320x240_sample_Penguin_Joke_MTV_from_WMV.amv -t 10 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, TTY, ANSI) += fate-ansi
|
||||
fate-ansi: CMD = framecrc -chars_per_frame 44100 -i $(TARGET_SAMPLES)/ansi/TRE-IOM5.ANS -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, TTY, ANSI) += fate-ansi256
|
||||
fate-ansi256: CMD = framecrc -chars_per_frame 44100 -i $(TARGET_SAMPLES)/ansi/ansi256.ans -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, RPL, ESCAPE124) += fate-armovie-escape124
|
||||
fate-armovie-escape124: CMD = framecrc -i $(TARGET_SAMPLES)/rpl/ESCAPE.RPL -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, RPL, ESCAPE130) += fate-armovie-escape130
|
||||
fate-armovie-escape130: CMD = framecrc -i $(TARGET_SAMPLES)/rpl/landing.rpl -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, AURA) += fate-auravision-v1
|
||||
fate-auravision-v1: CMD = framecrc -i $(TARGET_SAMPLES)/auravision/SOUVIDEO.AVI -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, AURA2) += fate-auravision-v2
|
||||
fate-auravision-v2: CMD = framecrc -i $(TARGET_SAMPLES)/auravision/salma-hayek-in-ugly-betty-partial-avi -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, BETHSOFTVID, BETHSOFTVID) += fate-bethsoft-vid
|
||||
fate-bethsoft-vid: CMD = framecrc -i $(TARGET_SAMPLES)/bethsoft-vid/ANIM0001.VID -t 5 -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, BFI, BFI) += fate-bfi
|
||||
fate-bfi: CMD = framecrc -i $(TARGET_SAMPLES)/bfi/2287.bfi -pix_fmt rgb24
|
||||
|
||||
FATE_BINK_VIDEO += fate-bink-video-b
|
||||
fate-bink-video-b: CMD = framecrc -i $(TARGET_SAMPLES)/bink/RISE.BIK -frames 30
|
||||
|
||||
FATE_BINK_VIDEO += fate-bink-video-f
|
||||
fate-bink-video-f: CMD = framecrc -i $(TARGET_SAMPLES)/bink/hol2br.bik
|
||||
|
||||
FATE_BINK_VIDEO += fate-bink-video-i
|
||||
fate-bink-video-i: CMD = framecrc -i $(TARGET_SAMPLES)/bink/RazOnBull.bik -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, BINK, BINK) += $(FATE_BINK_VIDEO)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, BMV, BMV_VIDEO) += fate-bmv-video
|
||||
fate-bmv-video: CMD = framecrc -i $(TARGET_SAMPLES)/bmv/SURFING-partial.BMV -pix_fmt rgb24 -an
|
||||
|
||||
FATE_CANOPUS_HQ_HQA += fate-canopus-hq_hqa-hq
|
||||
fate-canopus-hq_hqa-hq: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hq.avi
|
||||
|
||||
FATE_CANOPUS_HQ_HQA += fate-canopus-hq_hqa-hqa
|
||||
fate-canopus-hq_hqa-hqa: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hqa.avi
|
||||
|
||||
FATE_CANOPUS_HQ_HQA += fate-canopus-hq_hqa-inter
|
||||
fate-canopus-hq_hqa-inter: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hq25i.avi
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, HQ_HQA) += $(FATE_CANOPUS_HQ_HQA)
|
||||
fate-canopus-hq_hqa: $(FATE_CANOPUS_HQ_HQA)
|
||||
|
||||
FATE_CANOPUS_HQX += fate-canopus-hqx422
|
||||
fate-canopus-hqx422: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hqx422.avi -pix_fmt yuv422p16be -an
|
||||
|
||||
FATE_CANOPUS_HQX += fate-canopus-hqx422a
|
||||
fate-canopus-hqx422a: CMD = framecrc -i $(TARGET_SAMPLES)/canopus/hqx422a.avi -pix_fmt yuv422p16be -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, HQX) += $(FATE_CANOPUS_HQX)
|
||||
fate-canopus-hqx: $(FATE_CANOPUS_HQX)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MPEGPS, CAVS) += fate-cavs
|
||||
fate-cavs: CMD = framecrc -i $(TARGET_SAMPLES)/cavs/cavs.mpg -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, CDG, CDGRAPHICS) += fate-cdgraphics
|
||||
fate-cdgraphics: CMD = framecrc -i $(TARGET_SAMPLES)/cdgraphics/BrotherJohn.cdg -pix_fmt rgb24 -t 1
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, CLJR) += fate-cljr
|
||||
fate-cljr: CMD = framecrc -i $(TARGET_SAMPLES)/cljr/testcljr-partial.avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, PNG) += fate-corepng
|
||||
fate-corepng: CMD = framecrc -i $(TARGET_SAMPLES)/png1/corepng-partial.avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVS, AVS) += fate-creatureshock-avs
|
||||
fate-creatureshock-avs: CMD = framecrc -i $(TARGET_SAMPLES)/creatureshock-avs/OUTATIME.AVS -pix_fmt rgb24
|
||||
|
||||
FATE_CVID-$(CONFIG_MOV_DEMUXER) += fate-cvid-palette
|
||||
fate-cvid-palette: CMD = framecrc -i $(TARGET_SAMPLES)/cvid/catfight-cvid-pal8-partial.mov -pix_fmt rgb24 -an
|
||||
|
||||
FATE_CVID-$(CONFIG_AVI_DEMUXER) += fate-cvid-partial
|
||||
fate-cvid-partial: CMD = framecrc -i $(TARGET_SAMPLES)/cvid/laracroft-cinepak-partial.avi -an
|
||||
|
||||
FATE_CVID-$(CONFIG_AVI_DEMUXER) += fate-cvid-grayscale
|
||||
fate-cvid-grayscale: CMD = framecrc -i $(TARGET_SAMPLES)/cvid/pcitva15.avi -an
|
||||
|
||||
FATE_VIDEO-$(CONFIG_CINEPAK_DECODER) += $(FATE_CVID-yes)
|
||||
fate-cvid: $(FATE_CVID-yes)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, C93, C93) += fate-cyberia-c93
|
||||
fate-cyberia-c93: CMD = framecrc -i $(TARGET_SAMPLES)/cyberia-c93/intro1.c93 -t 3 -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, CYUV) += fate-cyuv
|
||||
fate-cyuv: CMD = framecrc -i $(TARGET_SAMPLES)/cyuv/cyuv.avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, DSICIN, DSICINVIDEO) += fate-delphine-cin-video
|
||||
fate-delphine-cin-video: CMD = framecrc -i $(TARGET_SAMPLES)/delphine-cin/LOGO-partial.CIN -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, ANM, ANM) += fate-deluxepaint-anm
|
||||
fate-deluxepaint-anm: CMD = framecrc -i $(TARGET_SAMPLES)/deluxepaint-anm/INTRO1.ANM -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, DIRAC, DIRAC) += fate-dirac
|
||||
fate-dirac: CMD = framecrc -i $(TARGET_SAMPLES)/dirac/vts.profile-main.drc
|
||||
|
||||
FATE_TRUEMOTION1 += fate-truemotion1-15
|
||||
fate-truemotion1-15: CMD = framecrc -i $(TARGET_SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24 -an
|
||||
|
||||
FATE_TRUEMOTION1 += fate-truemotion1-24
|
||||
fate-truemotion1-24: CMD = framecrc -i $(TARGET_SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, TRUEMOTION1) += $(FATE_TRUEMOTION1)
|
||||
fate-truemotion1: $(FATE_TRUEMOTION1)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, TRUEMOTION2) += fate-truemotion2
|
||||
fate-truemotion2: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tm20.avi
|
||||
|
||||
FATE_DXA += fate-dxa-feeble
|
||||
fate-dxa-feeble: CMD = framecrc -i $(TARGET_SAMPLES)/dxa/meetsquid.dxa -t 2 -pix_fmt rgb24 -an
|
||||
|
||||
FATE_DXA += fate-dxa-scummvm
|
||||
fate-dxa-scummvm: CMD = framecrc -i $(TARGET_SAMPLES)/dxa/scummvm.dxa -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, DXA, DXA) += $(FATE_DXA)
|
||||
fate-dxa: $(FATE_DXA)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, SEGAFILM, CINEPAK) += fate-film-cvid
|
||||
fate-film-cvid: CMD = framecrc -i $(TARGET_SAMPLES)/film/logo-capcom.cpk -an
|
||||
|
||||
FATE_FLIC += fate-flic-af11-palette-change
|
||||
fate-flic-af11-palette-change: CMD = framecrc -i $(TARGET_SAMPLES)/fli/fli-engines.fli -t 3.31 -pix_fmt rgb24
|
||||
|
||||
FATE_FLIC += fate-flic-af12
|
||||
fate-flic-af12: CMD = framecrc -i $(TARGET_SAMPLES)/fli/jj00c2.fli -pix_fmt rgb24
|
||||
|
||||
FATE_FLIC += fate-flic-magiccarpet
|
||||
fate-flic-magiccarpet: CMD = framecrc -i $(TARGET_SAMPLES)/fli/intel.dat -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, FLIC, FLIC) += $(FATE_FLIC)
|
||||
fate-flic: $(FATE_FLIC)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, FRWU) += fate-frwu
|
||||
fate-frwu: CMD = framecrc -i $(TARGET_SAMPLES)/frwu/frwu.avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, IDCIN, IDCIN) += fate-id-cin-video
|
||||
fate-id-cin-video: CMD = framecrc -i $(TARGET_SAMPLES)/idcin/idlog-2MB.cin -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call ENCDEC, ROQ PGMYUV, ROQ IMAGE2) += fate-idroq-video-encode
|
||||
fate-idroq-video-encode: CMD = md5 -f image2 -vcodec pgmyuv -i $(TARGET_SAMPLES)/ffmpeg-synthetic/vsynth1/%02d.pgm -r 30 -sws_flags +bitexact -vf pad=512:512:80:112 -f roq -t 0.2
|
||||
|
||||
FATE_HAP += fate-hap1
|
||||
fate-hap1: CMD = framecrc -i $(TARGET_SAMPLES)/hap/hap1.mov
|
||||
|
||||
FATE_HAP += fate-hap5
|
||||
fate-hap5: CMD = framecrc -i $(TARGET_SAMPLES)/hap/hap5.mov
|
||||
|
||||
FATE_HAP += fate-hapy
|
||||
fate-hapy: CMD = framecrc -i $(TARGET_SAMPLES)/hap/hapy.mov
|
||||
|
||||
FATE_HAP += fate-hap-chunk
|
||||
fate-hap-chunk: CMD = framecrc -i $(TARGET_SAMPLES)/hap/hapy-12-chunks.mov
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, MOV, HAP) += $(FATE_HAP)
|
||||
fate-hap: $(FATE_HAP)
|
||||
|
||||
FATE_IFF-$(CONFIG_IFF_BYTERUN1_DECODER) += fate-iff-byterun1
|
||||
fate-iff-byterun1: CMD = framecrc -i $(TARGET_SAMPLES)/iff/ASH.LBM -pix_fmt rgb24
|
||||
|
||||
FATE_IFF-$(CONFIG_EIGHTSVX_FIB_DECODER) += fate-iff-fibonacci
|
||||
fate-iff-fibonacci: CMD = md5 -i $(TARGET_SAMPLES)/iff/dasboot-in-compressed -f s16le
|
||||
|
||||
FATE_IFF-$(CONFIG_IFF_ILBM_DECODER) += fate-iff-ilbm
|
||||
fate-iff-ilbm: CMD = framecrc -i $(TARGET_SAMPLES)/iff/lms-matriks.ilbm -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(CONFIG_IFF_DEMUXER) += $(FATE_IFF-yes)
|
||||
fate-iff: $(FATE_IFF-yes)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, IPMOVIE, INTERPLAY_VIDEO) += fate-interplay-mve-8bit
|
||||
fate-interplay-mve-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/interplay-mve/interplay-logo-2MB.mve -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, IPMOVIE, INTERPLAY_VIDEO) += fate-interplay-mve-16bit
|
||||
fate-interplay-mve-16bit: CMD = framecrc -i $(TARGET_SAMPLES)/interplay-mve/descent3-level5-16bit-partial.mve -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MXF, JPEG2000) += fate-jpeg2000-dcinema
|
||||
fate-jpeg2000-dcinema: CMD = framecrc -flags +bitexact -vcodec jpeg2000 -i $(TARGET_SAMPLES)/jpeg2000/chiens_dcinema2K.mxf -pix_fmt xyz12le
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, JV, JV) += fate-jv
|
||||
fate-jv: CMD = framecrc -i $(TARGET_SAMPLES)/jv/intro.jv -an -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, KGV1) += fate-kgv1
|
||||
fate-kgv1: CMD = framecrc -i $(TARGET_SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, KMVC) += fate-kmvc
|
||||
fate-kmvc: CMD = framecrc -i $(TARGET_SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, EA, MDEC) += fate-mdec
|
||||
fate-mdec: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/ea-dct/NFS2Esprit-partial.dct -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, STR, MDEC) += fate-mdec-v3
|
||||
fate-mdec-v3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/psx-str/abc000_cut.str -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MSNWC_TCP, MIMIC) += fate-mimic
|
||||
fate-mimic: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/mimic/mimic2-womanloveffmpeg.cam
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MOV, MJPEGB) += fate-mjpegb
|
||||
fate-mjpegb: CMD = framecrc -idct simple -fflags +bitexact -i $(TARGET_SAMPLES)/mjpegb/mjpegb_part.mov -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MVI, MOTIONPIXELS) += fate-motionpixels
|
||||
fate-motionpixels: CMD = framecrc -i $(TARGET_SAMPLES)/motion-pixels/INTRO-partial.MVI -an -pix_fmt rgb24 -vframes 111
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += fate-mpeg2-field-enc
|
||||
fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
|
||||
fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MV, MVC2) += fate-mv-mvc2
|
||||
fate-mv-mvc2: CMD = framecrc -i $(TARGET_SAMPLES)/mv/12345.mv -an -frames 30 -pix_fmt bgra
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MV, SGIRLE) += fate-mv-sgirle
|
||||
fate-mv-sgirle: CMD = framecrc -i $(TARGET_SAMPLES)/mv/pet-rle.movie -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MXG, MXPEG) += fate-mxpeg
|
||||
fate-mxpeg: CMD = framecrc -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/mxpeg/m1.mxg -an
|
||||
|
||||
# FIXME dropped frames in this test because of coarse timebase
|
||||
FATE_NUV += fate-nuv-rtjpeg
|
||||
fate-nuv-rtjpeg: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/nuv/Today.nuv -an
|
||||
|
||||
FATE_NUV += fate-nuv-rtjpeg-fh
|
||||
fate-nuv-rtjpeg-fh: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/nuv/rtjpeg_frameheader.nuv -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, NUV, NUV) += $(FATE_NUV)
|
||||
fate-nuv: $(FATE_NUV)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, PAF, PAF_VIDEO) += fate-paf-video
|
||||
fate-paf-video: CMD = framecrc -i $(TARGET_SAMPLES)/paf/hod1-partial.paf -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, QPEG) += fate-qpeg
|
||||
fate-qpeg: CMD = framecrc -i $(TARGET_SAMPLES)/qpeg/Clock.avi -an -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, R210) += fate-r210
|
||||
fate-r210: CMD = framecrc -i $(TARGET_SAMPLES)/r210/r210.avi -pix_fmt rgb48le
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, RL2, RL2) += fate-rl2
|
||||
fate-rl2: CMD = framecrc -i $(TARGET_SAMPLES)/rl2/Z4915300.RL2 -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, ROQ, ROQ) += fate-roqvideo
|
||||
fate-roqvideo: CMD = framecrc -i $(TARGET_SAMPLES)/idroq/idlogo.roq -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, SMUSH, SANM) += fate-sanm
|
||||
fate-sanm: CMD = framecrc -i $(TARGET_SAMPLES)/smush/ronin_part.znm -an -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, VMD, VMDVIDEO) += fate-sierra-vmd-video
|
||||
fate-sierra-vmd-video: CMD = framecrc -i $(TARGET_SAMPLES)/vmd/12.vmd -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, SMACKER, SMACKER) += fate-smacker-video
|
||||
fate-smacker-video: CMD = framecrc -i $(TARGET_SAMPLES)/smacker/wetlogo.smk -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MOV, SMC) += fate-smc
|
||||
fate-smc: CMD = framecrc -i $(TARGET_SAMPLES)/smc/cass_schi.qt -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, SP5X) += fate-sp5x
|
||||
fate-sp5x: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/sp5x/sp5x_problem.avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, THP, THP) += fate-thp
|
||||
fate-thp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/thp/pikmin2-opening1-partial.thp -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, TIERTEXSEQ, TIERTEXSEQVIDEO) += fate-tiertex-seq
|
||||
fate-tiertex-seq: CMD = framecrc -i $(TARGET_SAMPLES)/tiertex-seq/Gameover.seq -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, TMV, TMV) += fate-tmv
|
||||
fate-tmv: CMD = framecrc -i $(TARGET_SAMPLES)/tmv/pop-partial.tmv -pix_fmt rgb24
|
||||
|
||||
FATE_TXD += fate-txd-16bpp
|
||||
fate-txd-16bpp: CMD = framecrc -i $(TARGET_SAMPLES)/txd/misc.txd -an
|
||||
|
||||
FATE_TXD += fate-txd-odd
|
||||
fate-txd-odd: CMD = framecrc -i $(TARGET_SAMPLES)/txd/odd.txd -an
|
||||
|
||||
FATE_TXD += fate-txd-pal8
|
||||
fate-txd-pal8: CMD = framecrc -i $(TARGET_SAMPLES)/txd/outro.txd -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, TXD, TXD) += $(FATE_TXD)
|
||||
fate-txd: $(FATE_TXD)
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, ULTI) += fate-ulti
|
||||
fate-ulti: CMD = framecrc -i $(TARGET_SAMPLES)/ulti/hit12w.avi -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, V210) += fate-v210
|
||||
fate-v210: CMD = framecrc -i $(TARGET_SAMPLES)/v210/v210_720p-partial.avi -pix_fmt yuv422p16be -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, MOV, V410) += fate-v410dec
|
||||
fate-v410dec: CMD = framecrc -i $(TARGET_SAMPLES)/v410/lenav410.mov -pix_fmt yuv444p10le
|
||||
|
||||
FATE_VIDEO-$(call ENCDEC, V410 PGMYUV, AVI IMAGE2) += fate-v410enc
|
||||
fate-v410enc: $(VREF)
|
||||
fate-v410enc: CMD = md5 -f image2 -vcodec pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -fflags +bitexact -vcodec v410 -f avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, SIFF, VB) += fate-vb
|
||||
fate-vb: CMD = framecrc -i $(TARGET_SAMPLES)/SIFF/INTRO_B.VB -t 3 -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, VCR1) += fate-vcr1
|
||||
fate-vcr1: CMD = framecrc -i $(TARGET_SAMPLES)/vcr1/VCR1test.avi -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, MPEG2VIDEO) += fate-vcr2
|
||||
fate-vcr2: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/vcr2/VCR2test.avi -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, XL) += fate-videoxl
|
||||
fate-videoxl: CMD = framecrc -i $(TARGET_SAMPLES)/vixl/pig-vixl.avi
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, WSVQA, VQA) += fate-vqa-cc
|
||||
fate-vqa-cc: CMD = framecrc -i $(TARGET_SAMPLES)/vqa/cc-demo1-partial.vqa -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, WC3, XAN_WC3) += fate-wc3movie-xan
|
||||
fate-wc3movie-xan: CMD = framecrc -i $(TARGET_SAMPLES)/wc3movie/SC_32-part.MVE -pix_fmt rgb24
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, WNV1) += fate-wnv1
|
||||
fate-wnv1: CMD = framecrc -i $(TARGET_SAMPLES)/wnv1/wnv1-codec.avi -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, YOP, YOP) += fate-yop
|
||||
fate-yop: CMD = framecrc -i $(TARGET_SAMPLES)/yop/test1.yop -pix_fmt rgb24 -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, AVI, XAN_WC4) += fate-xxan-wc4
|
||||
fate-xxan-wc4: CMD = framecrc -i $(TARGET_SAMPLES)/wc4-xan/wc4trailer-partial.avi -an
|
||||
|
||||
FATE_VIDEO-$(call DEMDEC, WAV, SMVJPEG) += fate-smvjpeg
|
||||
fate-smvjpeg: CMD = framecrc -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/smv/clock.smv -an
|
||||
|
||||
FATE_VIDEO += $(FATE_VIDEO-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_VIDEO)
|
||||
fate-video: $(FATE_VIDEO)
|
78
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/voice.mak
Normal file
78
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/voice.mak
Normal file
@@ -0,0 +1,78 @@
|
||||
FATE_G722-$(call DEMDEC, G722, ADPCM_G722) += fate-g722dec-1
|
||||
fate-g722dec-1: CMD = framecrc -i $(TARGET_SAMPLES)/g722/conf-adminmenu-162.g722
|
||||
|
||||
FATE_G722-$(call ENCMUX, ADPCM_G722, WAV) += fate-g722-encode
|
||||
fate-g722-encode: tests/data/asynth-16000-1.wav
|
||||
fate-g722-encode: SRC = tests/data/asynth-16000-1.wav
|
||||
fate-g722-encode: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g722
|
||||
|
||||
FATE_VOICE-yes += $(FATE_G722-yes)
|
||||
fate-g722: $(FATE_G722)
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-1
|
||||
fate-g723_1-dec-1: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/ineqd53.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-2
|
||||
fate-g723_1-dec-2: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/overd53.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-3
|
||||
fate-g723_1-dec-3: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/overd63p.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-4
|
||||
fate-g723_1-dec-4: CMD = framecrc -postfilter 0 -i $(TARGET_SAMPLES)/g723_1/pathd53.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-5
|
||||
fate-g723_1-dec-5: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/pathd63p.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-6
|
||||
fate-g723_1-dec-6: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/tamed63p.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-7
|
||||
fate-g723_1-dec-7: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/dtx63b.tco
|
||||
|
||||
FATE_G723_1 += fate-g723_1-dec-8
|
||||
fate-g723_1-dec-8: CMD = framecrc -postfilter 1 -i $(TARGET_SAMPLES)/g723_1/dtx63e.tco
|
||||
|
||||
FATE_G723_1-$(call DEMDEC, G723_1, G723_1) += $(FATE_G723_1)
|
||||
FATE_SAMPLES_AVCONV += $(FATE_G723_1-yes)
|
||||
fate-g723_1: $(FATE_G723_1)
|
||||
|
||||
FATE_G726 += fate-g726-encode-2bit
|
||||
fate-g726-encode-2bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 16k
|
||||
|
||||
FATE_G726 += fate-g726-encode-3bit
|
||||
fate-g726-encode-3bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 24k
|
||||
|
||||
FATE_G726 += fate-g726-encode-4bit
|
||||
fate-g726-encode-4bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 32k
|
||||
|
||||
FATE_G726 += fate-g726-encode-5bit
|
||||
fate-g726-encode-5bit: CMD = enc_dec_pcm wav md5 s16le $(SRC) -c:a g726 -b:a 40k
|
||||
|
||||
$(FATE_G726): tests/data/asynth-8000-1.wav
|
||||
$(FATE_G726): SRC = tests/data/asynth-8000-1.wav
|
||||
|
||||
FATE_VOICE-$(call ENCMUX, ADPCM_G726, WAV) += $(FATE_G726)
|
||||
fate-g726: $(FATE_G726)
|
||||
|
||||
FATE_GSM-$(call DEMDEC, WAV, GSM) += fate-gsm-ms
|
||||
fate-gsm-ms: CMD = framecrc -i $(TARGET_SAMPLES)/gsm/ciao.wav
|
||||
|
||||
FATE_GSM-$(call DEMDEC, MOV, GSM) += fate-gsm-toast
|
||||
fate-gsm-toast: CMD = framecrc -i $(TARGET_SAMPLES)/gsm/sample-gsm-8000.mov -t 10
|
||||
|
||||
FATE_VOICE-yes += $(FATE_GSM-yes)
|
||||
fate-gsm: $(FATE_GSM)
|
||||
|
||||
FATE_VOICE-$(call DEMDEC, QCP, QCELP) += fate-qcelp
|
||||
fate-qcelp: CMD = pcm -i $(TARGET_SAMPLES)/qcp/0036580847.QCP
|
||||
fate-qcelp: CMP = oneoff
|
||||
fate-qcelp: REF = $(SAMPLES)/qcp/0036580847.pcm
|
||||
|
||||
FATE_VOICE-$(call DEMDEC, WAV, TRUESPEECH) += fate-truespeech
|
||||
fate-truespeech: CMD = pcm -i $(TARGET_SAMPLES)/truespeech/a6.wav
|
||||
fate-truespeech: CMP = oneoff
|
||||
fate-truespeech: REF = $(SAMPLES)/truespeech/a6.pcm
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_VOICE-yes)
|
||||
fate-voice: $(FATE_VOICE-yes)
|
85
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vorbis.mak
Normal file
85
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vorbis.mak
Normal file
@@ -0,0 +1,85 @@
|
||||
FATE_VORBIS += fate-vorbis-1
|
||||
fate-vorbis-1: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/1.0.1-test_small.ogg
|
||||
fate-vorbis-1: REF = $(SAMPLES)/vorbis/1.0.1-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-2
|
||||
fate-vorbis-2: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/1.0-test_small.ogg
|
||||
fate-vorbis-2: REF = $(SAMPLES)/vorbis/1.0-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-3
|
||||
fate-vorbis-3: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/beta3-test_small.ogg
|
||||
fate-vorbis-3: REF = $(SAMPLES)/vorbis/beta3-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-4
|
||||
fate-vorbis-4: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/beta4-test_small.ogg
|
||||
fate-vorbis-4: REF = $(SAMPLES)/vorbis/beta4-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-5
|
||||
fate-vorbis-5: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/chain-test1_small.ogg
|
||||
fate-vorbis-5: REF = $(SAMPLES)/vorbis/chain-test1_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-6
|
||||
fate-vorbis-6: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/chain-test2_small.ogg
|
||||
fate-vorbis-6: REF = $(SAMPLES)/vorbis/chain-test2_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-7
|
||||
fate-vorbis-7: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/highrate-test_small.ogg
|
||||
fate-vorbis-7: REF = $(SAMPLES)/vorbis/highrate-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-8
|
||||
fate-vorbis-8: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/lsp-test2_small.ogg
|
||||
fate-vorbis-8: REF = $(SAMPLES)/vorbis/lsp-test2_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-9
|
||||
fate-vorbis-9: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/lsp-test3_small.ogg
|
||||
fate-vorbis-9: REF = $(SAMPLES)/vorbis/lsp-test3_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-10
|
||||
fate-vorbis-10: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/lsp-test4_small.ogg
|
||||
fate-vorbis-10: REF = $(SAMPLES)/vorbis/lsp-test4_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-11
|
||||
fate-vorbis-11: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/lsp-test_small.ogg
|
||||
fate-vorbis-11: REF = $(SAMPLES)/vorbis/lsp-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-12
|
||||
fate-vorbis-12: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/mono_small.ogg
|
||||
fate-vorbis-12: REF = $(SAMPLES)/vorbis/mono_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-13
|
||||
fate-vorbis-13: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/moog_small.ogg
|
||||
fate-vorbis-13: REF = $(SAMPLES)/vorbis/moog_small.pcm
|
||||
fate-vorbis-13: FUZZ = 2
|
||||
|
||||
FATE_VORBIS += fate-vorbis-14
|
||||
fate-vorbis-14: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/rc1-test_small.ogg
|
||||
fate-vorbis-14: REF = $(SAMPLES)/vorbis/rc1-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-15
|
||||
fate-vorbis-15: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/rc2-test2_small.ogg
|
||||
fate-vorbis-15: REF = $(SAMPLES)/vorbis/rc2-test2_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-16
|
||||
fate-vorbis-16: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/rc2-test_small.ogg
|
||||
fate-vorbis-16: REF = $(SAMPLES)/vorbis/rc2-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-17
|
||||
fate-vorbis-17: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/rc3-test_small.ogg
|
||||
fate-vorbis-17: REF = $(SAMPLES)/vorbis/rc3-test_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-18
|
||||
fate-vorbis-18: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/sleepzor_small.ogg
|
||||
fate-vorbis-18: REF = $(SAMPLES)/vorbis/sleepzor_small.pcm
|
||||
fate-vorbis-18: FUZZ = 2
|
||||
|
||||
FATE_VORBIS += fate-vorbis-19
|
||||
fate-vorbis-19: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/test-short2_small.ogg
|
||||
fate-vorbis-19: REF = $(SAMPLES)/vorbis/test-short2_small.pcm
|
||||
|
||||
FATE_VORBIS += fate-vorbis-20
|
||||
fate-vorbis-20: CMD = pcm -i $(TARGET_SAMPLES)/vorbis/6.ogg
|
||||
fate-vorbis-20: REF = $(SAMPLES)/vorbis/6.pcm
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, OGG, VORBIS) += $(FATE_VORBIS)
|
||||
fate-vorbis: $(FATE_VORBIS)
|
||||
$(FATE_VORBIS): CMP = oneoff
|
134
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vpx.mak
Normal file
134
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vpx.mak
Normal file
@@ -0,0 +1,134 @@
|
||||
FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
|
||||
fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv
|
||||
|
||||
FATE_VP3-$(call DEMDEC, OGG, THEORA) += fate-theora-offset
|
||||
fate-theora-offset: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/offset_test.ogv
|
||||
|
||||
FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
|
||||
fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
|
||||
fate-vp3: $(FATE_VP3-yes)
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
|
||||
fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
|
||||
|
||||
FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp60
|
||||
fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6
|
||||
|
||||
FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp61
|
||||
fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
|
||||
|
||||
FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a
|
||||
fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
|
||||
|
||||
FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a-skip_alpha
|
||||
fate-vp6a-skip_alpha: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
|
||||
|
||||
FATE_VP6-$(call DEMDEC, FLV, VP6F) += fate-vp6f
|
||||
fate-vp6f: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/clip1024.flv
|
||||
|
||||
FATE_VP8-$(call DEMDEC, FLV, VP8) += fate-vp8-alpha
|
||||
fate-vp8-alpha: CMD = framecrc -i $(TARGET_SAMPLES)/vp8_alpha/vp8_video_with_alpha.webm -vcodec copy
|
||||
|
||||
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest
|
||||
fate-webm-dash-manifest: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video2.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio2.webm -c copy -map 0 -map 1 -map 2 -map 3 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1 id=1,streams=2,3" -
|
||||
|
||||
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-unaligned-video-streams
|
||||
fate-webm-dash-manifest-unaligned-video-streams: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video3.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
|
||||
|
||||
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-unaligned-audio-streams
|
||||
fate-webm-dash-manifest-unaligned-audio-streams: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio3.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
|
||||
|
||||
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-representations
|
||||
fate-webm-dash-manifest-representations: CMD = run ffmpeg -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video4.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
|
||||
|
||||
FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-live
|
||||
fate-webm-dash-manifest-live: CMD = run ffmpeg -f webm_dash_manifest -live 1 -i $(TARGET_SAMPLES)/vp8/dash_live_video_360.hdr -f webm_dash_manifest -live 1 -i $(TARGET_SAMPLES)/vp8/dash_live_audio_171.hdr -c copy -map 0 -map 1 -f webm_dash_manifest -live 1 -adaptation_sets "id=0,streams=0 id=1,streams=1" -chunk_start_index 1 -chunk_duration_ms 5000 -time_shift_buffer_depth 7200 -minimum_update_period 60 -debug_mode 1 -
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_VP6-yes)
|
||||
fate-vp6: $(FATE_VP6-yes)
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP7) += fate-vp7
|
||||
fate-vp7: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -an
|
||||
|
||||
VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
|
||||
|
||||
define FATE_VP8_SUITE
|
||||
FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-test-vector$(2)-$(1)
|
||||
fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
|
||||
fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1)
|
||||
endef
|
||||
|
||||
define FATE_VP8_FULL
|
||||
$(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
|
||||
|
||||
# FIXME this file contains two frames with identical timestamps,
|
||||
# so ffmpeg drops one of them
|
||||
FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-sign-bias$(1)
|
||||
fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(TARGET_SAMPLES)/vp8/sintel-signbias.ivf
|
||||
fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
|
||||
|
||||
FATE_VP8-$(CONFIG_MATROSKA_DEMUXER) += fate-vp8-size-change$(1)
|
||||
fate-vp8-size-change$(1): CMD = framemd5 $(2) -flags +bitexact -i $(TARGET_SAMPLES)/vp8/frame_size_change.webm -frames:v 30 -sws_flags bitexact+bilinear
|
||||
fate-vp8-size-change$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change
|
||||
endef
|
||||
|
||||
$(eval $(call FATE_VP8_FULL))
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(CONFIG_VP8_DECODER) += $(FATE_VP8-yes)
|
||||
fate-vp8: $(FATE_VP8-yes)
|
||||
|
||||
define FATE_VP9_SUITE
|
||||
FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9$(2)-$(1)
|
||||
fate-vp9$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-$(1).webm
|
||||
fate-vp9$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9-$(1)
|
||||
endef
|
||||
|
||||
define FATE_VP9_PROFILE_SUITE
|
||||
FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9p$(2)-$(1)
|
||||
fate-vp9p$(2)-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp9$(2)-2-$(1).webm $(3)
|
||||
fate-vp9p$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9p$(2)-$(1)
|
||||
endef
|
||||
|
||||
VP9_Q = 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
|
||||
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \
|
||||
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
|
||||
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
|
||||
VP9_SHARP = 1 2 3 4 5 6 7
|
||||
VP9_SIZE_A = 08 10 16 18 32 34 64 66
|
||||
VP9_SIZE_B = 196 198 200 202 208 210 224 226
|
||||
VP9_CHROMA_SUBSAMPLE = 422 440 444
|
||||
VP9_HIGH_BITDEPTH = 10 12
|
||||
|
||||
define FATE_VP9_FULL
|
||||
$(foreach Q,$(VP9_Q),$(eval $(call FATE_VP9_SUITE,00-quantizer-$(Q))))
|
||||
$(foreach SHARP,$(VP9_SHARP),$(eval $(call FATE_VP9_SUITE,01-sharpness-$(SHARP))))
|
||||
$(foreach W,$(VP9_SIZE_A),$(eval $(foreach H,$(VP9_SIZE_A),$(eval $(call FATE_VP9_SUITE,02-size-$(W)x$(H))))))
|
||||
$(foreach W,$(VP9_SIZE_B),$(eval $(foreach H,$(VP9_SIZE_B),$(eval $(call FATE_VP9_SUITE,03-size-$(W)x$(H))))))
|
||||
$(eval $(call FATE_VP9_SUITE,03-deltaq))
|
||||
$(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,04-yuv$(SS),1,)))
|
||||
$(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv420,2,-pix_fmt yuv420p$(BD)le)))
|
||||
$(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv$(SS),3,-pix_fmt yuv$(SS)p$(BD)le)))))
|
||||
$(eval $(call FATE_VP9_SUITE,06-bilinear))
|
||||
$(eval $(call FATE_VP9_SUITE,09-lf_deltas))
|
||||
$(eval $(call FATE_VP9_SUITE,10-show-existing-frame))
|
||||
$(eval $(call FATE_VP9_SUITE,10-show-existing-frame2))
|
||||
$(eval $(call FATE_VP9_SUITE,15-segkey_adpq))
|
||||
$(eval $(call FATE_VP9_SUITE,16-intra-only))
|
||||
$(eval $(call FATE_VP9_SUITE,2pass-akiyo))
|
||||
$(eval $(call FATE_VP9_SUITE,parallelmode-akiyo))
|
||||
$(eval $(call FATE_VP9_SUITE,segmentation-aq-akiyo))
|
||||
$(eval $(call FATE_VP9_SUITE,segmentation-sf-akiyo))
|
||||
$(eval $(call FATE_VP9_SUITE,tiling-pedestrian))
|
||||
$(eval $(call FATE_VP9_SUITE,trac3849))
|
||||
$(eval $(call FATE_VP9_SUITE,trac4359))
|
||||
endef
|
||||
|
||||
$(eval $(call FATE_VP9_FULL))
|
||||
FATE_VP9-$(CONFIG_IVF_DEMUXER) += fate-vp9-05-resize
|
||||
fate-vp9-05-resize: CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf -s 352x288 -sws_flags bitexact+bilinear
|
||||
fate-vp9-05-resize: REF = $(SRC_PATH)/tests/ref/fate/vp9-05-resize
|
||||
|
||||
FATE_SAMPLES_AVCONV-$(CONFIG_VP9_DECODER) += $(FATE_VP9-yes)
|
||||
fate-vp9: $(FATE_VP9-yes)
|
12
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vqf.mak
Normal file
12
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/vqf.mak
Normal file
@@ -0,0 +1,12 @@
|
||||
FATE_VQF-$(call DEMDEC, VQF, TWINVQ) += fate-twinvq
|
||||
fate-twinvq: CMD = pcm -i $(TARGET_SAMPLES)/vqf/achterba.vqf
|
||||
fate-twinvq: CMP = oneoff
|
||||
fate-twinvq: REF = $(SAMPLES)/vqf/achterba.pcm
|
||||
|
||||
FATE_VQF-$(CONFIG_VQF_DEMUXER) += fate-vqf-demux
|
||||
fate-vqf-demux: CMD = md5 -i $(TARGET_SAMPLES)/vqf/achterba.vqf -acodec copy -flags bitexact -fflags +bitexact -f framecrc
|
||||
|
||||
FATE_VQF += $(FATE_VQF-yes)
|
||||
|
||||
FATE_SAMPLES_FFMPEG += $(FATE_VQF)
|
||||
fate-vqf: $(FATE_VQF)
|
102
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/wavpack.mak
Normal file
102
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/wavpack.mak
Normal file
@@ -0,0 +1,102 @@
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += $(FATE_WAVPACK)
|
||||
|
||||
# lossless
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossless-8bit
|
||||
fate-wavpack-lossless-8bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossless/8bit-partial.wv -f s8
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossless-12bit
|
||||
fate-wavpack-lossless-12bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossless/12bit-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossless-16bit
|
||||
fate-wavpack-lossless-16bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossless/16bit-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossless-24bit
|
||||
fate-wavpack-lossless-24bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossless/24bit-partial.wv -f s24le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossless-32bit
|
||||
fate-wavpack-lossless-32bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossless/32bit_int-partial.wv -f s32le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossless-float
|
||||
fate-wavpack-lossless-float: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossless/32bit_float-partial.wv -f f32le
|
||||
|
||||
# lossy
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossy-8bit
|
||||
fate-wavpack-lossy-8bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_8-bit.wv -f s8
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossy-16bit
|
||||
fate-wavpack-lossy-16bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_16-bit.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossy-24bit
|
||||
fate-wavpack-lossy-24bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_24-bit.wv -f s24le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossy-32bit
|
||||
fate-wavpack-lossy-32bit: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossy/4.0_32-bit_int.wv -f s32le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-lossy-float
|
||||
fate-wavpack-lossy-float: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/lossy/2.0_32-bit_float.wv -f f32le
|
||||
|
||||
# channel configurations
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-channels-monofloat
|
||||
fate-wavpack-channels-monofloat: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/mono_float-partial.wv -f f32le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-channels-monoint
|
||||
fate-wavpack-channels-monoint: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/mono_16bit_int.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-channels-4.0
|
||||
fate-wavpack-channels-4.0: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/edward_4.0_16bit-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-channels-5.1
|
||||
fate-wavpack-channels-5.1: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/panslab_sample_5.1_16bit-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-channels-6.1
|
||||
fate-wavpack-channels-6.1: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-channels-7.1
|
||||
fate-wavpack-channels-7.1: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/panslab_sample_7.1_16bit-partial.wv -f s16le
|
||||
|
||||
# speed modes
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-speed-default
|
||||
fate-wavpack-speed-default: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/speed_modes/default-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-speed-fast
|
||||
fate-wavpack-speed-fast: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/speed_modes/fast-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-speed-high
|
||||
fate-wavpack-speed-high: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/speed_modes/high-partial.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-speed-vhigh
|
||||
fate-wavpack-speed-vhigh: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/speed_modes/vhigh-partial.wv -f s16le
|
||||
|
||||
# special cases
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-clipping
|
||||
fate-wavpack-clipping: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/special/clipping.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-cuesheet
|
||||
fate-wavpack-cuesheet: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/special/cue_sheet.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-falsestereo
|
||||
fate-wavpack-falsestereo: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/special/false_stereo.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, WV, WAVPACK) += fate-wavpack-zerolsbs
|
||||
fate-wavpack-zerolsbs: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/special/zero_lsbs.wv -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMDEC, MATROSKA, WAVPACK) += fate-wavpack-matroskamode
|
||||
fate-wavpack-matroskamode: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/special/matroska_mode.mka -f s16le
|
||||
|
||||
FATE_WAVPACK-$(call DEMMUX, WV, MATROSKA) += fate-wavpack-matroska_mux-mono
|
||||
fate-wavpack-matroska_mux-mono: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/mono_16bit_int.wv -c copy -fflags +bitexact -f matroska
|
||||
fate-wavpack-matroska_mux-mono: CMP = oneline
|
||||
fate-wavpack-matroska_mux-mono: REF = 4befcc41dab6c690a15d0c396c324468
|
||||
|
||||
FATE_WAVPACK-$(call DEMMUX, WV, MATROSKA) += fate-wavpack-matroska_mux-61
|
||||
fate-wavpack-matroska_mux-61: CMD = md5 -i $(TARGET_SAMPLES)/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv -c copy -fflags +bitexact -f matroska
|
||||
fate-wavpack-matroska_mux-61: CMP = oneline
|
||||
fate-wavpack-matroska_mux-61: REF = 7fedbfc3b9ea7348761db664626c29f4
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_WAVPACK-yes)
|
||||
fate-wavpack: $(FATE_WAVPACK-yes)
|
56
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/wma.mak
Normal file
56
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/fate/wma.mak
Normal file
@@ -0,0 +1,56 @@
|
||||
FATE_WMAPRO-$(call DEMDEC, ASF, WMAPRO) += fate-wmapro-2ch
|
||||
fate-wmapro-2ch: CMD = pcm -i $(TARGET_SAMPLES)/wmapro/Beethovens_9th-1_small.wma -frames 43
|
||||
fate-wmapro-2ch: REF = $(SAMPLES)/wmapro/Beethovens_9th-1_small.pcm
|
||||
fate-wmapro-2ch: SIZE_TOLERANCE = 8192
|
||||
|
||||
FATE_WMAPRO-$(call DEMDEC, ASF, WMAPRO) += fate-wmapro-5.1
|
||||
fate-wmapro-5.1: CMD = pcm -i $(TARGET_SAMPLES)/wmapro/latin_192_mulitchannel_cut.wma -frames 101
|
||||
fate-wmapro-5.1: REF = $(SAMPLES)/wmapro/latin_192_mulitchannel_cut.pcm
|
||||
fate-wmapro-5.1: SIZE_TOLERANCE = 24576
|
||||
|
||||
FATE_WMAPRO-$(call DEMDEC, MOV, WMAPRO) += fate-wmapro-ism
|
||||
fate-wmapro-ism: CMD = pcm -i $(TARGET_SAMPLES)/isom/vc1-wmapro.ism -vn
|
||||
fate-wmapro-ism: REF = $(SAMPLES)/isom/vc1-wmapro.pcm
|
||||
|
||||
$(FATE_WMAPRO-yes): CMP = oneoff
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_WMAPRO-yes)
|
||||
fate-wmapro: $(FATE_WMAPRO-yes)
|
||||
|
||||
FATE_WMAVOICE-$(call DEMDEC, ASF, WMAVOICE) += fate-wmavoice-7k
|
||||
fate-wmavoice-7k: CMD = pcm -i $(TARGET_SAMPLES)/wmavoice/streaming_CBR-7K.wma
|
||||
fate-wmavoice-7k: REF = $(SAMPLES)/wmavoice/streaming_CBR-7K.pcm
|
||||
fate-wmavoice-7k: FUZZ = 3
|
||||
|
||||
FATE_WMAVOICE-$(call DEMDEC, ASF, WMAVOICE) += fate-wmavoice-11k
|
||||
fate-wmavoice-11k: CMD = pcm -i $(TARGET_SAMPLES)/wmavoice/streaming_CBR-11K.wma
|
||||
fate-wmavoice-11k: REF = $(SAMPLES)/wmavoice/streaming_CBR-11K.pcm
|
||||
fate-wmavoice-11k: FUZZ = 3
|
||||
|
||||
FATE_WMAVOICE-$(call DEMDEC, ASF, WMAVOICE) += fate-wmavoice-19k
|
||||
fate-wmavoice-19k: CMD = pcm -i $(TARGET_SAMPLES)/wmavoice/streaming_CBR-19K.wma
|
||||
fate-wmavoice-19k: REF = $(SAMPLES)/wmavoice/streaming_CBR-19K.pcm
|
||||
fate-wmavoice-19k: FUZZ = 3
|
||||
|
||||
$(FATE_WMAVOICE-yes): CMP = stddev
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_WMAVOICE-yes)
|
||||
fate-wmavoice: $(FATE_WMAVOICE-yes)
|
||||
|
||||
FATE_WMA_ENCODE-$(call ENCDEC, WMAV1, ASF) += fate-wmav1-encode
|
||||
fate-wmav1-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a wmav1 -b:a 128k
|
||||
fate-wmav1-encode: CMP_SHIFT = -8192
|
||||
fate-wmav1-encode: CMP_TARGET = 291.06
|
||||
fate-wmav1-encode: SIZE_TOLERANCE = 4632
|
||||
|
||||
FATE_WMA_ENCODE-$(call ENCDEC, WMAV2, ASF) += fate-wmav2-encode
|
||||
fate-wmav2-encode: CMD = enc_dec_pcm asf wav s16le $(subst $(SAMPLES),$(TARGET_SAMPLES),$(REF)) -c:a wmav2 -b:a 128k
|
||||
fate-wmav2-encode: CMP_SHIFT = -8192
|
||||
fate-wmav2-encode: CMP_TARGET = 258.32
|
||||
fate-wmav2-encode: SIZE_TOLERANCE = 4632
|
||||
|
||||
$(FATE_WMA_ENCODE-yes): CMP = stddev
|
||||
$(FATE_WMA_ENCODE-yes): REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_WMA_ENCODE-yes)
|
||||
fate-wma-encode: $(FATE_WMA_ENCODE-yes)
|
@@ -0,0 +1,8 @@
|
||||
fate-xvid-custom-matrix: CMD = framemd5 -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg4/xvid_vlc_trac7411.h263
|
||||
fate-xvid-idct: CMD = framemd5 -flags +bitexact -cpuflags all -i $(TARGET_SAMPLES)/mpeg4/xvid_vlc_trac7411.h263
|
||||
|
||||
FATE_XVID-$(call DEMDEC, M4V, MPEG4) += fate-xvid-custom-matrix fate-xvid-idct
|
||||
|
||||
FATE_SAMPLES_AVCONV += $(FATE_XVID-yes)
|
||||
|
||||
fate-xvid: $(FATE_XVID-yes)
|
@@ -0,0 +1,39 @@
|
||||
#!/bin/sh
|
||||
|
||||
#perl -e 'chomp($wd = `pwd`); print map { s!tests/data/!!; "<Stream $_>\nFile $wd/tests/data/$_\n</Stream>\n\n" } @ARGV' tests/data/a* >> tests/data/ffserver.conf
|
||||
#perl -e 'chomp($wd = `pwd`); print map { s!tests/data/!!; "<Stream $_.asf>\nFile $wd/tests/data/$_\n</Stream>\n\n" } @ARGV' tests/data/a* >> tests/data/ffserver.conf
|
||||
|
||||
. $(dirname $0)/md5.sh
|
||||
|
||||
FILES=$(sed -n 's/^[^#]*<Stream \(.*\)>.*/\1/p' $2 | grep -v html)
|
||||
|
||||
rm -f tests/feed1.ffm
|
||||
./ffserver -d -f "$2" 2> /dev/null &
|
||||
FFSERVER_PID=$!
|
||||
echo "Waiting for feeds to startup..."
|
||||
sleep 2
|
||||
(
|
||||
cd tests/data || exit $?
|
||||
rm -f ff-* ffserver.regression
|
||||
WGET_OPTIONS="--user-agent=NSPlayer -q --proxy=off -e verbose=off -e server_response=off"
|
||||
for file in $FILES; do
|
||||
if [ $(expr $file : "a-*") != 0 ]; then
|
||||
wget $WGET_OPTIONS -O - http://localhost:9999/$file > ff-$file
|
||||
else
|
||||
wget $WGET_OPTIONS -O - http://localhost:9999/$file?date=19700101T000000Z | dd bs=1 count=20000 > ff-$file 2>/dev/null
|
||||
fi
|
||||
do_md5sum ff-$file >>ffserver.regression
|
||||
done
|
||||
)
|
||||
kill $FFSERVER_PID
|
||||
wait > /dev/null 2>&1
|
||||
rm -f tests/feed1.ffm
|
||||
if diff -u "$1" tests/data/ffserver.regression; then
|
||||
echo
|
||||
echo Server regression test succeeded.
|
||||
exit 0
|
||||
else
|
||||
echo
|
||||
echo Server regression test: Error.
|
||||
exit 1
|
||||
fi
|
311
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/ffserver.conf
Normal file
311
contrib/sdk/sources/ffmpeg/ffmpeg-2.8/tests/ffserver.conf
Normal file
@@ -0,0 +1,311 @@
|
||||
#
|
||||
# This is a test configuration file. You can invoke it with
|
||||
# ../ffserver -f ffserver.conf
|
||||
# when in the tests directory and once the vsynth1 subdirectory
|
||||
# has been populated. Then point your browser at http://whatever:9999/teststat.html
|
||||
# and you can look at the streams
|
||||
#
|
||||
|
||||
#
|
||||
# Port on which the server is listening. You must select a different
|
||||
# port from your standard http web server if it is running on the same
|
||||
# computer.
|
||||
|
||||
HTTPPort 9999
|
||||
RTSPPort 9990
|
||||
|
||||
# Address on which the server is bound. Only useful if you have
|
||||
# several network interfaces.
|
||||
|
||||
HTTPBindAddress 0.0.0.0
|
||||
|
||||
# Number of simultaneous requests that can be handled. Since FFServer
|
||||
# is very fast, this limit is determined mainly by your Internet
|
||||
# connection speed.
|
||||
|
||||
MaxClients 1000
|
||||
|
||||
MaxBandwidth 100000
|
||||
|
||||
# Access Log file (uses standard Apache log file format)
|
||||
# '-' is the standard output
|
||||
|
||||
CustomLog -
|
||||
|
||||
##################################################################
|
||||
# Definition of the live feeds. Each live feed contains one video
|
||||
# and/or audio sequence coming from an ffmpeg encoder or another
|
||||
# ffserver. This sequence may be encoded simultaneously with several
|
||||
# codecs at several resolutions.
|
||||
|
||||
<Feed feed1.ffm>
|
||||
|
||||
# You must use 'ffmpeg' to send a live feed to ffserver. In this
|
||||
# example, you can type:
|
||||
#
|
||||
# ffmpeg http://localhost:8090/feed1.ffm
|
||||
|
||||
# ffserver can also do time shifting. It means that it can stream any
|
||||
# previously recorded live stream. The request should contain:
|
||||
# "http://xxxx?date=[YYYY-MM-DDT][[HH:]MM:]SS[.m...]".You must specify
|
||||
# a path where the feed is stored on disk. You also specify the
|
||||
# maximum size of the feed (100M bytes here). Default:
|
||||
# File=/tmp/feed_name.ffm FileMaxSize=5M
|
||||
|
||||
File tests/feed1.ffm
|
||||
FileMaxSize 100M
|
||||
|
||||
# Fire up ffmpeg pointing at this stream
|
||||
|
||||
Launch ./ffmpeg -v 0 -y -f image2 -i tests/vsynth1/%02d.pgm
|
||||
|
||||
ACL allow localhost
|
||||
</Feed>
|
||||
|
||||
##################################################################
|
||||
# Now you can define each stream which will be generated from the
|
||||
# original audio and video stream. Each format has a filename (here
|
||||
# 'test128.mpg'). FFServer will send this stream when answering a
|
||||
# request containing this filename.
|
||||
|
||||
<Stream test_h.avi>
|
||||
Feed feed1.ffm
|
||||
Format avi
|
||||
#
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
VideoFrameRate 10
|
||||
VideoSize 352x288
|
||||
VideoBitRate 100
|
||||
VideoGopSize 30
|
||||
NoAudio
|
||||
|
||||
PreRoll 10
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test_l.avi>
|
||||
Feed feed1.ffm
|
||||
Format avi
|
||||
#
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
VideoFrameRate 2
|
||||
VideoSize 320x240
|
||||
VideoBitRate 40
|
||||
VideoGopSize 20
|
||||
NoAudio
|
||||
|
||||
PreRoll 20
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
</Stream>
|
||||
|
||||
#<Stream test_h.mpg>
|
||||
#Feed feed1.ffm
|
||||
#
|
||||
#VideoFrameRate 10
|
||||
#VideoSize 352x288
|
||||
#VideoBitRate 100
|
||||
#VideoGopSize 30
|
||||
#NoAudio
|
||||
|
||||
#PreRoll 10
|
||||
#StartSendOnKey
|
||||
#MaxTime 100
|
||||
#
|
||||
#</Stream>
|
||||
#
|
||||
#<Stream test_l.mpg>
|
||||
#Feed feed1.ffm
|
||||
##
|
||||
#VideoFrameRate 2
|
||||
#VideoSize 320x240
|
||||
#VideoBitRate 40
|
||||
#VideoGopSize 20
|
||||
#NoAudio
|
||||
#
|
||||
#PreRoll 20
|
||||
#StartSendOnKey
|
||||
#MaxTime 100
|
||||
#
|
||||
#</Stream>
|
||||
#
|
||||
<Stream test.swf>
|
||||
Feed feed1.ffm
|
||||
#
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
Qscale 10
|
||||
VideoFrameRate 10
|
||||
VideoSize 352x288
|
||||
VideoBitRate 100
|
||||
VideoGopSize 30
|
||||
NoAudio
|
||||
|
||||
PreRoll 10
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test_h.asf>
|
||||
Feed feed1.ffm
|
||||
Format asf
|
||||
#
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
Qscale 10
|
||||
VideoFrameRate 10
|
||||
VideoSize 320x240
|
||||
VideoBitRate 100
|
||||
VideoGopSize 30
|
||||
NoAudio
|
||||
|
||||
PreRoll 10
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
AVOptionVideo flags +global_header
|
||||
|
||||
Metadata title "Test data stream"
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test_l.asf>
|
||||
Feed feed1.ffm
|
||||
Format asf
|
||||
#
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
Qscale 10
|
||||
VideoFrameRate 2
|
||||
VideoSize 320x240
|
||||
VideoBitRate 40
|
||||
VideoGopSize 20
|
||||
NoAudio
|
||||
|
||||
PreRoll 20
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
AVOptionVideo flags +global_header
|
||||
|
||||
Metadata title "Test data stream"
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test_h.rm>
|
||||
|
||||
Feed feed1.ffm
|
||||
Format rm
|
||||
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
Qscale 10
|
||||
VideoBitRate 100
|
||||
VideoFrameRate 10
|
||||
VideoGopSize 30
|
||||
VideoSize 320x240
|
||||
NoAudio
|
||||
|
||||
PreRoll 10
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test_l.rm>
|
||||
|
||||
Feed feed1.ffm
|
||||
Format rm
|
||||
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
Qscale 10
|
||||
VideoBitRate 40
|
||||
VideoFrameRate 2
|
||||
VideoGopSize 20
|
||||
VideoSize 320x240
|
||||
NoAudio
|
||||
|
||||
PreRoll 20
|
||||
StartSendOnKey
|
||||
MaxTime 100
|
||||
|
||||
</Stream>
|
||||
|
||||
|
||||
<Stream test.jpg>
|
||||
|
||||
Feed feed1.ffm
|
||||
Format jpeg
|
||||
Strict -1
|
||||
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
VideoFrameRate 1
|
||||
VideoSize 352x288
|
||||
NoAudio
|
||||
|
||||
PreRoll 2
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test_small.jpg>
|
||||
|
||||
Feed feed1.ffm
|
||||
Format jpeg
|
||||
Strict -1
|
||||
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
VideoFrameRate 1
|
||||
VideoSize 160x128
|
||||
NoAudio
|
||||
|
||||
PreRoll 2
|
||||
|
||||
</Stream>
|
||||
|
||||
<Stream test.mjpg>
|
||||
|
||||
Feed feed1.ffm
|
||||
Format mpjpeg
|
||||
Strict -1
|
||||
|
||||
BitExact
|
||||
DctFastint
|
||||
IdctSimple
|
||||
VideoFrameRate 1
|
||||
VideoSize 320x240
|
||||
NoAudio
|
||||
StartSendOnKey
|
||||
|
||||
PreRoll 1
|
||||
MaxTime 100
|
||||
|
||||
</Stream>
|
||||
|
||||
|
||||
##################################################################
|
||||
# Special stream : server status
|
||||
|
||||
<Stream teststat.html>
|
||||
|
||||
Format status
|
||||
|
||||
</Stream>
|
||||
|
@@ -0,0 +1,10 @@
|
||||
18c4ba0e8e7adb781216e38de61c2e39 ff-test_h.avi
|
||||
f84767c7af61f360f4b443c2c73f322f ff-test_l.avi
|
||||
d976848a9e4d5d8fc2659e4841cdece5 ff-test.swf
|
||||
28fd87d5075b9b011aad57292f271a04 ff-test_h.asf
|
||||
a31ccd3aba2551e60b9fb1c156fca2f8 ff-test_l.asf
|
||||
3279d3ed0ef2d1347b5eda84db2cf3e6 ff-test_h.rm
|
||||
440231fe3cf0849887390b4d67d6894a ff-test_l.rm
|
||||
e0dc91430660c619e97b5c82e0f398fc ff-test.jpg
|
||||
0d6c98fc8a4f00560fe34e94e26880a9 ff-test_small.jpg
|
||||
e2a315d7ac0576279f8b4d917999615a ff-test.mjpg
|
@@ -0,0 +1,4 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
format=bgra, split, alphamerge, split [x][y];
|
||||
[y] alphaextract [alpha];
|
||||
[x][alpha] alphamerge
|
@@ -0,0 +1,4 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
format=yuv420p, split, alphamerge, split [x][y];
|
||||
[y] alphaextract [alpha];
|
||||
[x][alpha] alphamerge
|
@@ -0,0 +1 @@
|
||||
channelmap=map=1|2|0|5|3|4:channel_layout=5.1
|
@@ -0,0 +1 @@
|
||||
channelmap=map=FR|FL:channel_layout=stereo
|
@@ -0,0 +1,8 @@
|
||||
testsrc=r=5:n=1:d=2 [v1];
|
||||
sine=440:b=2:d=1 [a1];
|
||||
testsrc=r=5:n=1:d=1 [v2];
|
||||
sine=622:b=2:d=2 [a2];
|
||||
testsrc=r=5:n=1:d=1 [v3];
|
||||
sine=880:b=2:d=1 [a3];
|
||||
|
||||
[v1][a1][v2][a2][v3][a3] concat=v=1:a=1:n=3
|
@@ -0,0 +1,2 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
format=gray, perms=random, gradfun=10:8:enable='not(between(n,5,10))'
|
@@ -0,0 +1 @@
|
||||
perms=random, hqdn3d=enable='not(between(t,5,6))'
|
@@ -0,0 +1 @@
|
||||
atrim=end_sample=1024,channelmap=channel_layout=FL|FR|LFE|BC,aformat=channel_layouts=3.0
|
@@ -0,0 +1,2 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
format=yuv420p,mergeplanes=0:yuv444p
|
@@ -0,0 +1,3 @@
|
||||
sws_flags=+accurate_rnd+bitexact;
|
||||
[1:v] scale=50:50 [over];
|
||||
[0:v][over] overlay=20:20
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user