summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure59
-rw-r--r--libavcodec/pcm-mpeg.c2
-rw-r--r--libavcodec/x86/fft_mmx.asm25
-rw-r--r--libavformat/g723_1.c2
-rw-r--r--libavformat/http.c41
-rw-r--r--libavformat/http.h10
-rw-r--r--libavutil/x86/x86util.asm13
-rw-r--r--tests/Makefile49
-rwxr-xr-xtests/fate-run.sh43
-rw-r--r--tests/fate/aac.mak2
-rw-r--r--tests/fate/ac3.mak7
-rw-r--r--tests/fate/acodec.mak69
-rw-r--r--tests/fate/audio.mak2
-rw-r--r--tests/fate/vcodec.mak288
-rw-r--r--tests/ref/acodec/ac3_fixed2
-rw-r--r--tests/ref/acodec/adpcm_adx4
-rw-r--r--tests/ref/acodec/adpcm_ima_wav4
-rw-r--r--tests/ref/acodec/adpcm_ms4
-rw-r--r--tests/ref/acodec/adpcm_swf4
-rw-r--r--tests/ref/acodec/adpcm_yam4
-rw-r--r--tests/ref/acodec/alac4
-rw-r--r--tests/ref/acodec/flac4
-rw-r--r--tests/ref/acodec/g723_14
-rw-r--r--tests/ref/acodec/mp25
-rw-r--r--tests/ref/acodec/pcm_alaw4
-rw-r--r--tests/ref/acodec/pcm_f32be4
-rw-r--r--tests/ref/acodec/pcm_f32le4
-rw-r--r--tests/ref/acodec/pcm_f64be4
-rw-r--r--tests/ref/acodec/pcm_f64le4
-rw-r--r--tests/ref/acodec/pcm_mulaw4
-rw-r--r--tests/ref/acodec/pcm_s16be4
-rw-r--r--tests/ref/acodec/pcm_s16le4
-rw-r--r--tests/ref/acodec/pcm_s24be4
-rw-r--r--tests/ref/acodec/pcm_s24le4
-rw-r--r--tests/ref/acodec/pcm_s32be4
-rw-r--r--tests/ref/acodec/pcm_s32le4
-rw-r--r--tests/ref/acodec/pcm_s84
-rw-r--r--tests/ref/acodec/pcm_u84
-rw-r--r--tests/ref/acodec/ra1445
-rw-r--r--tests/ref/acodec/roqaudio4
-rw-r--r--tests/ref/fate/acodec-adpcm-adx4
-rw-r--r--tests/ref/fate/acodec-adpcm-ima_qt4
-rw-r--r--tests/ref/fate/acodec-adpcm-ima_wav4
-rw-r--r--tests/ref/fate/acodec-adpcm-ms4
-rw-r--r--tests/ref/fate/acodec-adpcm-swf4
-rw-r--r--tests/ref/fate/acodec-adpcm-yamaha4
-rw-r--r--tests/ref/fate/acodec-adpcm_ima_qt (renamed from tests/ref/acodec/adpcm_ima_qt)0
-rw-r--r--tests/ref/fate/acodec-alac4
-rw-r--r--tests/ref/fate/acodec-aref (renamed from tests/ref/acodec/aref)0
-rw-r--r--tests/ref/fate/acodec-dca (renamed from tests/ref/acodec/dca)0
-rw-r--r--tests/ref/fate/acodec-flac4
-rw-r--r--tests/ref/fate/acodec-g723_14
-rw-r--r--tests/ref/fate/acodec-mp24
-rw-r--r--tests/ref/fate/acodec-pcm-alaw4
-rw-r--r--tests/ref/fate/acodec-pcm-f32be4
-rw-r--r--tests/ref/fate/acodec-pcm-f32le4
-rw-r--r--tests/ref/fate/acodec-pcm-f64be4
-rw-r--r--tests/ref/fate/acodec-pcm-f64le4
-rw-r--r--tests/ref/fate/acodec-pcm-mulaw4
-rw-r--r--tests/ref/fate/acodec-pcm-s16be4
-rw-r--r--tests/ref/fate/acodec-pcm-s16le4
-rw-r--r--tests/ref/fate/acodec-pcm-s24be4
-rw-r--r--tests/ref/fate/acodec-pcm-s24le4
-rw-r--r--tests/ref/fate/acodec-pcm-s32be4
-rw-r--r--tests/ref/fate/acodec-pcm-s32le4
-rw-r--r--tests/ref/fate/acodec-pcm-s84
-rw-r--r--tests/ref/fate/acodec-pcm-u84
-rw-r--r--tests/ref/fate/acodec-ra1444
-rw-r--r--tests/ref/fate/acodec-roqaudio4
-rw-r--r--tests/ref/fate/vsynth1-amv4
-rw-r--r--tests/ref/fate/vsynth1-asv14
-rw-r--r--tests/ref/fate/vsynth1-asv24
-rw-r--r--tests/ref/fate/vsynth1-avui4
-rw-r--r--tests/ref/fate/vsynth1-cljr4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-1080i4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-720p4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-720p-10bit4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd-720p-rd4
-rw-r--r--tests/ref/fate/vsynth1-dnxhd_1080i (renamed from tests/ref/vsynth1/dnxhd_1080i)0
-rw-r--r--tests/ref/fate/vsynth1-dv4
-rw-r--r--tests/ref/fate/vsynth1-dv-4114
-rw-r--r--tests/ref/fate/vsynth1-dv-504
-rw-r--r--tests/ref/fate/vsynth1-dv_411 (renamed from tests/ref/vsynth1/dv_411)0
-rw-r--r--tests/ref/fate/vsynth1-ffv14
-rw-r--r--tests/ref/fate/vsynth1-ffvhuff4
-rw-r--r--tests/ref/fate/vsynth1-flashsv4
-rw-r--r--tests/ref/fate/vsynth1-flashsv24
-rw-r--r--tests/ref/fate/vsynth1-flv4
-rw-r--r--tests/ref/fate/vsynth1-h2614
-rw-r--r--tests/ref/fate/vsynth1-h2634
-rw-r--r--tests/ref/fate/vsynth1-h263p4
-rw-r--r--tests/ref/fate/vsynth1-huffyuv4
-rw-r--r--tests/ref/fate/vsynth1-j2k4
-rw-r--r--tests/ref/fate/vsynth1-jpegls4
-rw-r--r--tests/ref/fate/vsynth1-ljpeg4
-rw-r--r--tests/ref/fate/vsynth1-mjpeg4
-rw-r--r--tests/ref/fate/vsynth1-mpeg14
-rw-r--r--tests/ref/fate/vsynth1-mpeg1b4
-rw-r--r--tests/ref/fate/vsynth1-mpeg24
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-4224
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-idct-int4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-ilace4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-ivlc-qprd4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-thread4
-rw-r--r--tests/ref/fate/vsynth1-mpeg2-thread-ivlc4
-rw-r--r--tests/ref/fate/vsynth1-mpeg44
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-adap4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-adv4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-error4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-nr4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-qpel4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-qprd4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-rc4
-rw-r--r--tests/ref/fate/vsynth1-mpeg4-thread4
-rw-r--r--tests/ref/fate/vsynth1-mpng4
-rw-r--r--tests/ref/fate/vsynth1-msmpeg44
-rw-r--r--tests/ref/fate/vsynth1-msmpeg4v24
-rw-r--r--tests/ref/fate/vsynth1-msvideo14
-rw-r--r--tests/ref/fate/vsynth1-prores4
-rw-r--r--tests/ref/fate/vsynth1-prores_kostya4
-rw-r--r--tests/ref/fate/vsynth1-qtrle4
-rw-r--r--tests/ref/fate/vsynth1-qtrlegray4
-rw-r--r--tests/ref/fate/vsynth1-r2104
-rw-r--r--tests/ref/fate/vsynth1-rgb4
-rw-r--r--tests/ref/fate/vsynth1-roqvideo4
-rw-r--r--tests/ref/fate/vsynth1-rv104
-rw-r--r--tests/ref/fate/vsynth1-rv204
-rw-r--r--tests/ref/fate/vsynth1-snow4
-rw-r--r--tests/ref/fate/vsynth1-snow-ll4
-rw-r--r--tests/ref/fate/vsynth1-svq14
-rw-r--r--tests/ref/fate/vsynth1-v2104
-rw-r--r--tests/ref/fate/vsynth1-v3084
-rw-r--r--tests/ref/fate/vsynth1-v4084
-rw-r--r--tests/ref/fate/vsynth1-wmv14
-rw-r--r--tests/ref/fate/vsynth1-wmv24
-rw-r--r--tests/ref/fate/vsynth1-y41p4
-rw-r--r--tests/ref/fate/vsynth1-yuv4
-rw-r--r--tests/ref/fate/vsynth1-yuv44
-rw-r--r--tests/ref/fate/vsynth1-zlib4
-rw-r--r--tests/ref/fate/vsynth1-zmbv4
-rw-r--r--tests/ref/fate/vsynth2-amv4
-rw-r--r--tests/ref/fate/vsynth2-asv14
-rw-r--r--tests/ref/fate/vsynth2-asv24
-rw-r--r--tests/ref/fate/vsynth2-avui4
-rw-r--r--tests/ref/fate/vsynth2-cljr4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-1080i4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-720p4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-720p-10bit4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd-720p-rd4
-rw-r--r--tests/ref/fate/vsynth2-dnxhd_1080i (renamed from tests/ref/vsynth2/dnxhd_1080i)0
-rw-r--r--tests/ref/fate/vsynth2-dv4
-rw-r--r--tests/ref/fate/vsynth2-dv-4114
-rw-r--r--tests/ref/fate/vsynth2-dv-504
-rw-r--r--tests/ref/fate/vsynth2-dv_411 (renamed from tests/ref/vsynth2/dv_411)0
-rw-r--r--tests/ref/fate/vsynth2-ffv14
-rw-r--r--tests/ref/fate/vsynth2-ffvhuff4
-rw-r--r--tests/ref/fate/vsynth2-flashsv4
-rw-r--r--tests/ref/fate/vsynth2-flashsv24
-rw-r--r--tests/ref/fate/vsynth2-flv4
-rw-r--r--tests/ref/fate/vsynth2-h2614
-rw-r--r--tests/ref/fate/vsynth2-h2634
-rw-r--r--tests/ref/fate/vsynth2-h263p4
-rw-r--r--tests/ref/fate/vsynth2-huffyuv4
-rw-r--r--tests/ref/fate/vsynth2-j2k4
-rw-r--r--tests/ref/fate/vsynth2-jpegls4
-rw-r--r--tests/ref/fate/vsynth2-ljpeg4
-rw-r--r--tests/ref/fate/vsynth2-mjpeg4
-rw-r--r--tests/ref/fate/vsynth2-mpeg14
-rw-r--r--tests/ref/fate/vsynth2-mpeg1b4
-rw-r--r--tests/ref/fate/vsynth2-mpeg24
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-4224
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-idct-int4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-ilace4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-ivlc-qprd4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-thread4
-rw-r--r--tests/ref/fate/vsynth2-mpeg2-thread-ivlc4
-rw-r--r--tests/ref/fate/vsynth2-mpeg44
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-adap4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-adv4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-error4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-nr4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-qpel4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-qprd4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-rc4
-rw-r--r--tests/ref/fate/vsynth2-mpeg4-thread4
-rw-r--r--tests/ref/fate/vsynth2-mpng4
-rw-r--r--tests/ref/fate/vsynth2-msmpeg44
-rw-r--r--tests/ref/fate/vsynth2-msmpeg4v24
-rw-r--r--tests/ref/fate/vsynth2-msvideo14
-rw-r--r--tests/ref/fate/vsynth2-prores4
-rw-r--r--tests/ref/fate/vsynth2-prores_kostya4
-rw-r--r--tests/ref/fate/vsynth2-qtrle4
-rw-r--r--tests/ref/fate/vsynth2-qtrlegray4
-rw-r--r--tests/ref/fate/vsynth2-r2104
-rw-r--r--tests/ref/fate/vsynth2-rgb4
-rw-r--r--tests/ref/fate/vsynth2-roqvideo4
-rw-r--r--tests/ref/fate/vsynth2-rv104
-rw-r--r--tests/ref/fate/vsynth2-rv204
-rw-r--r--tests/ref/fate/vsynth2-snow4
-rw-r--r--tests/ref/fate/vsynth2-snow-ll4
-rw-r--r--tests/ref/fate/vsynth2-svq14
-rw-r--r--tests/ref/fate/vsynth2-v2104
-rw-r--r--tests/ref/fate/vsynth2-v3084
-rw-r--r--tests/ref/fate/vsynth2-v4084
-rw-r--r--tests/ref/fate/vsynth2-wmv14
-rw-r--r--tests/ref/fate/vsynth2-wmv24
-rw-r--r--tests/ref/fate/vsynth2-y41p4
-rw-r--r--tests/ref/fate/vsynth2-yuv4
-rw-r--r--tests/ref/fate/vsynth2-yuv44
-rw-r--r--tests/ref/fate/vsynth2-zlib4
-rw-r--r--tests/ref/fate/vsynth2-zmbv4
-rw-r--r--tests/ref/seek/ac3_ac349
-rw-r--r--tests/ref/seek/adpcm_ima_qt_aiff (renamed from tests/ref/seek/adpcm_qt_aiff)0
-rw-r--r--tests/ref/seek/adpcm_ima_wav_wav (renamed from tests/ref/seek/adpcm_ima_wav)0
-rw-r--r--tests/ref/seek/adpcm_yamaha_wav (renamed from tests/ref/seek/adpcm_yam_wav)0
-rw-r--r--tests/ref/seek/alac_mov (renamed from tests/ref/seek/alac_m4a)54
-rw-r--r--tests/ref/seek/dv_411_dv (renamed from tests/ref/seek/dv411_dv)0
-rw-r--r--tests/ref/seek/dv_50_dv (renamed from tests/ref/seek/dv50_dv)0
-rw-r--r--tests/ref/seek/mpeg1_mpeg1video (renamed from tests/ref/seek/mpeg1_mpg)0
-rw-r--r--tests/ref/seek/mpeg1b_mpeg1video (renamed from tests/ref/seek/mpeg1b_mpg)0
-rw-r--r--tests/ref/seek/mpeg2_422_mpeg2video (renamed from tests/ref/seek/mpeg2_422_mpg)0
-rw-r--r--tests/ref/seek/mpeg2_idct_int_mpeg2video (renamed from tests/ref/seek/mpeg2_idct_int_mpg)0
-rw-r--r--tests/ref/seek/mpeg2_ilace_mpeg2video (renamed from tests/ref/seek/mpeg2i_mpg)0
-rw-r--r--tests/ref/seek/mpeg2_ivlc_qprd_mpeg2video (renamed from tests/ref/seek/mpeg2ivlc_qprd_mpg)0
-rw-r--r--tests/ref/seek/mpeg2_thread_ivlc_mpeg2video (renamed from tests/ref/seek/mpeg2threadivlc_mpg)0
-rw-r--r--tests/ref/seek/mpeg2_thread_mpeg2video (renamed from tests/ref/seek/mpeg2thread_mpg)0
-rw-r--r--tests/ref/seek/mpeg4_error_avi (renamed from tests/ref/seek/error_mpeg4_adv_avi)0
-rw-r--r--tests/ref/seek/mpeg4_mp4 (renamed from tests/ref/seek/odivx_mp4)0
-rw-r--r--tests/ref/seek/mpeg4_qpel_avi (renamed from tests/ref/seek/mpeg4_Q_avi)0
-rw-r--r--tests/ref/seek/roqvideo_roq (renamed from tests/ref/seek/roqav_roq)0
-rw-r--r--tests/ref/seek/snow_ll_avi (renamed from tests/ref/seek/snow53_avi)0
-rw-r--r--tests/ref/vsynth1/amv/vsynth1-amv4
-rw-r--r--tests/ref/vsynth1/asv14
-rw-r--r--tests/ref/vsynth1/asv24
-rw-r--r--tests/ref/vsynth1/avui4
-rw-r--r--tests/ref/vsynth1/dnxhd_720p4
-rw-r--r--tests/ref/vsynth1/dnxhd_720p_10bit4
-rw-r--r--tests/ref/vsynth1/dnxhd_720p_rd4
-rw-r--r--tests/ref/vsynth1/dv4
-rw-r--r--tests/ref/vsynth1/dv504
-rw-r--r--tests/ref/vsynth1/error4
-rw-r--r--tests/ref/vsynth1/ffv14
-rw-r--r--tests/ref/vsynth1/ffvhuff4
-rw-r--r--tests/ref/vsynth1/flashsv4
-rw-r--r--tests/ref/vsynth1/flashsv26
-rw-r--r--tests/ref/vsynth1/flv4
-rw-r--r--tests/ref/vsynth1/h2614
-rw-r--r--tests/ref/vsynth1/h2634
-rw-r--r--tests/ref/vsynth1/h263p4
-rw-r--r--tests/ref/vsynth1/huffyuv4
-rw-r--r--tests/ref/vsynth1/jpeg20004
-rw-r--r--tests/ref/vsynth1/jpegls4
-rw-r--r--tests/ref/vsynth1/ljpeg4
-rw-r--r--tests/ref/vsynth1/mjpeg4
-rw-r--r--tests/ref/vsynth1/mpeg4
-rw-r--r--tests/ref/vsynth1/mpeg1b4
-rw-r--r--tests/ref/vsynth1/mpeg24
-rw-r--r--tests/ref/vsynth1/mpeg2_4224
-rw-r--r--tests/ref/vsynth1/mpeg2_idct_int4
-rw-r--r--tests/ref/vsynth1/mpeg2_ilace4
-rw-r--r--tests/ref/vsynth1/mpeg2_ivlc_qprd4
-rw-r--r--tests/ref/vsynth1/mpeg2thread4
-rw-r--r--tests/ref/vsynth1/mpeg2thread_ilace4
-rw-r--r--tests/ref/vsynth1/mpeg44
-rw-r--r--tests/ref/vsynth1/mpeg4_adap4
-rw-r--r--tests/ref/vsynth1/mpeg4_qpel4
-rw-r--r--tests/ref/vsynth1/mpeg4_qprd4
-rw-r--r--tests/ref/vsynth1/mpeg4adv4
-rw-r--r--tests/ref/vsynth1/mpeg4nr4
-rw-r--r--tests/ref/vsynth1/mpeg4thread4
-rw-r--r--tests/ref/vsynth1/mpng4
-rw-r--r--tests/ref/vsynth1/msmpeg44
-rw-r--r--tests/ref/vsynth1/msmpeg4v24
-rw-r--r--tests/ref/vsynth1/msvideo14
-rw-r--r--tests/ref/vsynth1/prores4
-rw-r--r--tests/ref/vsynth1/prores_kostya4
-rw-r--r--tests/ref/vsynth1/qtrle4
-rw-r--r--tests/ref/vsynth1/qtrlegray4
-rw-r--r--tests/ref/vsynth1/r2104
-rw-r--r--tests/ref/vsynth1/rc4
-rw-r--r--tests/ref/vsynth1/rgb4
-rw-r--r--tests/ref/vsynth1/roq4
-rw-r--r--tests/ref/vsynth1/rv104
-rw-r--r--tests/ref/vsynth1/rv204
-rw-r--r--tests/ref/vsynth1/snow4
-rw-r--r--tests/ref/vsynth1/snowll4
-rw-r--r--tests/ref/vsynth1/svq14
-rw-r--r--tests/ref/vsynth1/v2104
-rw-r--r--tests/ref/vsynth1/v3084
-rw-r--r--tests/ref/vsynth1/v4084
-rw-r--r--tests/ref/vsynth1/vref2
-rw-r--r--tests/ref/vsynth1/wmv14
-rw-r--r--tests/ref/vsynth1/wmv24
-rw-r--r--tests/ref/vsynth1/y41p4
-rw-r--r--tests/ref/vsynth1/yuv44
-rw-r--r--tests/ref/vsynth1/zlib4
-rw-r--r--tests/ref/vsynth1/zmbv3
-rw-r--r--tests/ref/vsynth2/amv/vsynth2-amv4
-rw-r--r--tests/ref/vsynth2/asv14
-rw-r--r--tests/ref/vsynth2/asv24
-rw-r--r--tests/ref/vsynth2/avui4
-rw-r--r--tests/ref/vsynth2/dnxhd_720p4
-rw-r--r--tests/ref/vsynth2/dnxhd_720p_10bit4
-rw-r--r--tests/ref/vsynth2/dnxhd_720p_rd4
-rw-r--r--tests/ref/vsynth2/dv4
-rw-r--r--tests/ref/vsynth2/dv504
-rw-r--r--tests/ref/vsynth2/error4
-rw-r--r--tests/ref/vsynth2/ffv14
-rw-r--r--tests/ref/vsynth2/ffvhuff4
-rw-r--r--tests/ref/vsynth2/flashsv4
-rw-r--r--tests/ref/vsynth2/flashsv26
-rw-r--r--tests/ref/vsynth2/flv4
-rw-r--r--tests/ref/vsynth2/h2614
-rw-r--r--tests/ref/vsynth2/h2634
-rw-r--r--tests/ref/vsynth2/h263p4
-rw-r--r--tests/ref/vsynth2/jpeg20004
-rw-r--r--tests/ref/vsynth2/jpegls4
-rw-r--r--tests/ref/vsynth2/ljpeg4
-rw-r--r--tests/ref/vsynth2/mjpeg4
-rw-r--r--tests/ref/vsynth2/mpeg4
-rw-r--r--tests/ref/vsynth2/mpeg1b4
-rw-r--r--tests/ref/vsynth2/mpeg24
-rw-r--r--tests/ref/vsynth2/mpeg2_4224
-rw-r--r--tests/ref/vsynth2/mpeg2_idct_int4
-rw-r--r--tests/ref/vsynth2/mpeg2_ilace4
-rw-r--r--tests/ref/vsynth2/mpeg2_ivlc_qprd4
-rw-r--r--tests/ref/vsynth2/mpeg2thread4
-rw-r--r--tests/ref/vsynth2/mpeg2thread_ilace4
-rw-r--r--tests/ref/vsynth2/mpeg44
-rw-r--r--tests/ref/vsynth2/mpeg4_adap4
-rw-r--r--tests/ref/vsynth2/mpeg4_qpel4
-rw-r--r--tests/ref/vsynth2/mpeg4_qprd4
-rw-r--r--tests/ref/vsynth2/mpeg4adv4
-rw-r--r--tests/ref/vsynth2/mpeg4nr4
-rw-r--r--tests/ref/vsynth2/mpeg4thread4
-rw-r--r--tests/ref/vsynth2/mpng4
-rw-r--r--tests/ref/vsynth2/msmpeg44
-rw-r--r--tests/ref/vsynth2/msmpeg4v24
-rw-r--r--tests/ref/vsynth2/msvideo14
-rw-r--r--tests/ref/vsynth2/prores4
-rw-r--r--tests/ref/vsynth2/prores_kostya4
-rw-r--r--tests/ref/vsynth2/qtrle4
-rw-r--r--tests/ref/vsynth2/qtrlegray4
-rw-r--r--tests/ref/vsynth2/r2104
-rw-r--r--tests/ref/vsynth2/rc4
-rw-r--r--tests/ref/vsynth2/rgb4
-rw-r--r--tests/ref/vsynth2/roq4
-rw-r--r--tests/ref/vsynth2/rv104
-rw-r--r--tests/ref/vsynth2/rv204
-rw-r--r--tests/ref/vsynth2/snow4
-rw-r--r--tests/ref/vsynth2/snowll4
-rw-r--r--tests/ref/vsynth2/svq14
-rw-r--r--tests/ref/vsynth2/v2104
-rw-r--r--tests/ref/vsynth2/v3084
-rw-r--r--tests/ref/vsynth2/v4084
-rw-r--r--tests/ref/vsynth2/vref2
-rw-r--r--tests/ref/vsynth2/wmv14
-rw-r--r--tests/ref/vsynth2/wmv24
-rw-r--r--tests/ref/vsynth2/y41p4
-rw-r--r--tests/ref/vsynth2/yuv44
-rw-r--r--tests/ref/vsynth2/zlib4
-rw-r--r--tests/ref/vsynth2/zmbv3
-rwxr-xr-xtests/regression-funcs.sh36
-rw-r--r--tests/rotozoom.c17
-rw-r--r--tests/utils.c33
-rw-r--r--tests/videogen.c15
366 files changed, 1218 insertions, 880 deletions
diff --git a/configure b/configure
index 4e1a61196a..d8c59471dc 100755
--- a/configure
+++ b/configure
@@ -1737,56 +1737,6 @@ test_deps(){
mxf_d10_test_deps="avfilter"
seek_lavf_mxf_d10_test_deps="mxf_d10_test"
-test_deps _encoder _decoder \
- adpcm_ima_qt \
- adpcm_ima_wav \
- adpcm_ms \
- adpcm_swf \
- adpcm_yamaha=adpcm_yam \
- alac \
- asv1 \
- asv2 \
- bmp \
- dnxhd="dnxhd_1080i dnxhd_720p dnxhd_720p_rd" \
- dvvideo="dv dv_411 dv50" \
- ffv1 \
- flac \
- flashsv \
- flv \
- adpcm_g726=g726 \
- gif \
- h261 \
- h263="h263 h263p" \
- huffyuv \
- jpegls \
- mjpeg="jpg mjpeg ljpeg" \
- mp2 \
- mpeg1video="mpeg mpeg1b" \
- mpeg2video="mpeg2 mpeg2_422 mpeg2_idct_int mpeg2_ilace mpeg2_ivlc_qprd" \
- mpeg2video="mpeg2thread mpeg2thread_ilace" \
- mpeg4="mpeg4 mpeg4_adap mpeg4_qpel mpeg4_qprd mpeg4adv mpeg4nr" \
- mpeg4="mpeg4thread error rc" \
- msmpeg4v3=msmpeg4 \
- msmpeg4v2 \
- pbm=pbmpipe \
- pcx \
- pgm="pgm pgmpipe" \
- png \
- ppm="ppm ppmpipe" \
- rawvideo="rgb yuv" \
- roq \
- rv10 \
- rv20 \
- sgi \
- snow="snow snowll" \
- svq1 \
- targa=tga \
- tiff \
- wmav1 \
- wmav2 \
- wmv1 \
- wmv2 \
-
test_deps _muxer _demuxer \
aiff \
pcm_alaw=alaw \
@@ -1812,7 +1762,6 @@ test_deps _muxer _demuxer \
wav \
yuv4mpegpipe=yuv4mpeg \
-ac3_fixed_test_deps="ac3_fixed_encoder ac3_decoder"
colormatrix1_test_deps="colormatrix_filter"
colormatrix2_test_deps="colormatrix_filter"
flashsv2_test_deps="zlib"
@@ -1981,16 +1930,12 @@ find_tests(){
map "echo ${2}\${v}_test" $(ls "$source_path"/tests/ref/$1 | grep -v '[^-a-z0-9_]')
}
-ACODEC_TESTS=$(find_tests acodec)
-VCODEC_TESTS=$(find_tests vsynth1)
LAVF_FATE_TESTS=$(find_tests lavf-fate)
LAVF_TESTS=$(find_tests lavf)
LAVFI_TESTS=$(find_tests lavfi)
SEEK_TESTS=$(find_tests seek seek_)
-ALL_TESTS="$ACODEC_TESTS $VCODEC_TESTS $LAVF_FATE_TESTS $LAVF_TESTS $LAVFI_TESTS $SEEK_TESTS"
-
-pcm_test_deps=$(map 'echo ${v%_*}_decoder $v' $(filter pcm_* $ENCODER_LIST))
+ALL_TESTS="$LAVF_FATE_TESTS $LAVF_TESTS $LAVFI_TESTS $SEEK_TESTS"
for n in $COMPONENT_LIST; do
v=$(toupper ${n%s})_LIST
@@ -3791,8 +3736,6 @@ print_config CONFIG_ "$config_files" $CONFIG_LIST \
$ALL_COMPONENTS \
cat >>config.mak <<EOF
-ACODEC_TESTS=$(print_enabled -n _test $ACODEC_TESTS)
-VCODEC_TESTS=$(print_enabled -n _test $VCODEC_TESTS)
LAVF_FATE_TESTS=$(print_enabled -n _test $LAVF_FATE_TESTS)
LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS)
LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS)
diff --git a/libavcodec/pcm-mpeg.c b/libavcodec/pcm-mpeg.c
index 8e1c924021..a268a64c11 100644
--- a/libavcodec/pcm-mpeg.c
+++ b/libavcodec/pcm-mpeg.c
@@ -312,7 +312,7 @@ static int pcm_bluray_decode_frame(AVCodecContext *avctx, void *data,
if (avctx->debug & FF_DEBUG_BITSTREAM)
av_dlog(avctx, "pcm_bluray_decode_frame: decoded %d -> %d bytes\n",
retval, buf_size);
- return retval;
+ return retval + 4;
}
AVCodec ff_pcm_bluray_decoder = {
diff --git a/libavcodec/x86/fft_mmx.asm b/libavcodec/x86/fft_mmx.asm
index e50dfb94c2..e1b485b697 100644
--- a/libavcodec/x86/fft_mmx.asm
+++ b/libavcodec/x86/fft_mmx.asm
@@ -442,7 +442,7 @@ fft16_sse:
%macro FFT48_3DN 0
align 16
-fft4_ %+ cpuname:
+fft4 %+ SUFFIX:
T2_3DN m0, m1, Z(0), Z(1)
mova m2, Z(2)
mova m3, Z(3)
@@ -456,7 +456,7 @@ fft4_ %+ cpuname:
ret
align 16
-fft8_ %+ cpuname:
+fft8 %+ SUFFIX:
T2_3DN m0, m1, Z(0), Z(1)
mova m2, Z(2)
mova m3, Z(3)
@@ -593,12 +593,15 @@ DECL_PASS pass_interleave_3dnow, PASS_BIG 0
call r2
%endmacro ; FFT_DISPATCH
-%macro DECL_FFT 1-2 ; nbits, cpu, suffix
-%xdefine cpusuffix _ %+ cpuname
-%xdefine fullsuffix %2_ %+ cpuname
-%xdefine list_of_fft fft4 %+ cpusuffix SECTION_REL, fft8 %+ cpusuffix SECTION_REL
+%macro DECL_FFT 1-2 ; nbits, suffix
+%ifidn %0, 1
+%xdefine fullsuffix SUFFIX
+%else
+%xdefine fullsuffix %2 %+ SUFFIX
+%endif
+%xdefine list_of_fft fft4 %+ SUFFIX SECTION_REL, fft8 %+ SUFFIX SECTION_REL
%if %1>=5
-%xdefine list_of_fft list_of_fft, fft16 %+ cpusuffix SECTION_REL
+%xdefine list_of_fft list_of_fft, fft16 %+ SUFFIX SECTION_REL
%endif
%if %1>=6
%xdefine list_of_fft list_of_fft, fft32 %+ fullsuffix SECTION_REL
@@ -612,11 +615,11 @@ DECL_PASS pass_interleave_3dnow, PASS_BIG 0
align 16
fft %+ n %+ fullsuffix:
- call fft %+ n2 %+ cpusuffix
+ call fft %+ n2 %+ SUFFIX
add r0, n*4 - (n&(-2<<%1))
- call fft %+ n4 %+ cpusuffix
+ call fft %+ n4 %+ SUFFIX
add r0, n*2 - (n2&(-2<<%1))
- call fft %+ n4 %+ cpusuffix
+ call fft %+ n4 %+ SUFFIX
sub r0, n*6 + (n2&(-2<<%1))
lea r1, [cos_ %+ n]
mov r2d, n4/2
@@ -825,7 +828,7 @@ cglobal imdct_half, 3,12,8; FFTContext *s, FFTSample *output, const FFTSample *i
mov r0, r1
mov r1d, [r5+FFTContext.nbits]
- FFT_DISPATCH _ %+ cpuname, r1
+ FFT_DISPATCH SUFFIX, r1
mov r0d, [r5+FFTContext.mdctsize]
add r6, r0
diff --git a/libavformat/g723_1.c b/libavformat/g723_1.c
index a12a47a1ae..1e0fd07857 100644
--- a/libavformat/g723_1.c
+++ b/libavformat/g723_1.c
@@ -77,6 +77,6 @@ AVInputFormat ff_g723_1_demuxer = {
.long_name = NULL_IF_CONFIG_SMALL("G.723.1 format"),
.read_header = g723_1_init,
.read_packet = g723_1_read_packet,
- .extensions = "tco,rco",
+ .extensions = "tco,rco,g723_1",
.flags = AVFMT_GENERIC_INDEX
};
diff --git a/libavformat/http.c b/libavformat/http.c
index 40c06d6083..ddba5f59b6 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -54,6 +54,7 @@ typedef struct {
int chunked_post;
int end_chunked_post; /**< A flag which indicates if the end of chunked encoding has been sent. */
int end_header; /**< A flag which indicates we have finished to read POST reply. */
+ int multiple_requests; /**< A flag which indicates if we use persistent connections. */
} HTTPContext;
#define OFFSET(x) offsetof(HTTPContext, x)
@@ -64,6 +65,7 @@ static const AVOption options[] = {
{"chunked_post", "use chunked transfer-encoding for posts", OFFSET(chunked_post), AV_OPT_TYPE_INT, {.dbl = 1}, 0, 1, E },
{"headers", "custom HTTP headers, can override built in default headers", OFFSET(headers), AV_OPT_TYPE_STRING, { 0 }, 0, 0, D|E },
{"user-agent", "override User-Agent header", OFFSET(user_agent), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, DEC},
+{"multiple_requests", "use persistent connections", OFFSET(multiple_requests), AV_OPT_TYPE_INT, {.dbl = 0}, 0, 1, D|E },
{NULL}
};
#define HTTP_CLASS(flavor)\
@@ -140,12 +142,16 @@ static int http_open_cnx(URLContext *h)
}
ff_url_join(buf, sizeof(buf), lower_proto, NULL, hostname, port, NULL);
- err = ffurl_open(&hd, buf, AVIO_FLAG_READ_WRITE,
- &h->interrupt_callback, NULL);
- if (err < 0)
- goto fail;
- s->hd = hd;
+ if (!s->hd) {
+ err = ffurl_open(&hd, buf, AVIO_FLAG_READ_WRITE,
+ &h->interrupt_callback, NULL);
+ if (err < 0)
+ goto fail;
+
+ s->hd = hd;
+ }
+
cur_auth_type = s->auth_state.auth_type;
cur_proxy_auth_type = s->auth_state.auth_type;
if (http_connect(h, path, local_path, hoststr, auth, proxyauth, &location_changed) < 0)
@@ -188,6 +194,16 @@ static int http_open_cnx(URLContext *h)
return AVERROR(EIO);
}
+int ff_http_do_new_request(URLContext *h, const char *uri)
+{
+ HTTPContext *s = h->priv_data;
+
+ s->off = 0;
+ av_strlcpy(s->location, uri, sizeof(s->location));
+
+ return http_open_cnx(h);
+}
+
static int http_open(URLContext *h, const char *uri, int flags)
{
HTTPContext *s = h->priv_data;
@@ -386,9 +402,17 @@ static int http_connect(URLContext *h, const char *path, const char *local_path,
if (!has_header(s->headers, "\r\nRange: ") && !post)
len += av_strlcatf(headers + len, sizeof(headers) - len,
"Range: bytes=%"PRId64"-\r\n", s->off);
- if (!has_header(s->headers, "\r\nConnection: "))
- len += av_strlcpy(headers + len, "Connection: close\r\n",
- sizeof(headers)-len);
+
+ if (!has_header(s->headers, "\r\nConnection: ")) {
+ if (s->multiple_requests) {
+ len += av_strlcpy(headers + len, "Connection: keep-alive\r\n",
+ sizeof(headers) - len);
+ } else {
+ len += av_strlcpy(headers + len, "Connection: close\r\n",
+ sizeof(headers) - len);
+ }
+ }
+
if (!has_header(s->headers, "\r\nHost: "))
len += av_strlcatf(headers + len, sizeof(headers) - len,
"Host: %s\r\n", hoststr);
@@ -424,6 +448,7 @@ static int http_connect(URLContext *h, const char *path, const char *local_path,
s->filesize = -1;
s->willclose = 0;
s->end_chunked_post = 0;
+ s->end_header = 0;
if (post) {
/* Pretend that it did work. We didn't read any header yet, since
* we've still to send the POST data, but the code calling this
diff --git a/libavformat/http.h b/libavformat/http.h
index 342434d202..aaedbd6835 100644
--- a/libavformat/http.h
+++ b/libavformat/http.h
@@ -35,4 +35,14 @@
*/
void ff_http_init_auth_state(URLContext *dest, const URLContext *src);
+/**
+ * Send a new HTTP request, reusing the old connection.
+ *
+ * @param h pointer to the ressource
+ * @param uri uri used to perform the request
+ * @return a negative value if an error condition occured, 0
+ * otherwise
+ */
+int ff_http_do_new_request(URLContext *h, const char *uri);
+
#endif /* AVFORMAT_HTTP_H */
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm
index 258626af21..34959f2c94 100644
--- a/libavutil/x86/x86util.asm
+++ b/libavutil/x86/x86util.asm
@@ -84,13 +84,12 @@
%macro TRANSPOSE4x4PS 5
SBUTTERFLYPS %1, %2, %5
SBUTTERFLYPS %3, %4, %5
- movaps m%5, m%1
- movlhps m%1, m%3
- movhlps m%3, m%5
- movaps m%5, m%2
- movlhps m%2, m%4
- movhlps m%4, m%5
- SWAP %2, %3
+ movlhps m%5, m%1, m%3
+ movhlps m%3, m%1
+ SWAP %5, %1
+ movlhps m%5, m%2, m%4
+ movhlps m%4, m%2
+ SWAP %5, %2, %3
%endmacro
%macro TRANSPOSE8x8W 9-11
diff --git a/tests/Makefile b/tests/Makefile
index 39a2ca919b..e9d9fc578d 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,11 +1,9 @@
FFSERVER_REFFILE = $(SRC_PATH)/tests/ffserver.regression.ref
-AREF = fate-acodec-aref
-VREF = fate-vsynth1-vref fate-vsynth2-vref
-REFS = $(AREF) $(VREF)
+VREF = tests/vsynth1/00.pgm
+AREF = tests/data/asynth1.sw
+
-$(VREF): ffmpeg$(EXESUF) tests/vsynth1/00.pgm tests/vsynth2/00.pgm
-$(AREF): ffmpeg$(EXESUF) tests/data/asynth1.sw tests/data/asynth-16000-1.wav
$(AREF): CMP=
ffservertest: ffserver$(EXESUF) tests/vsynth1/00.pgm tests/data/asynth1.sw
@@ -15,7 +13,7 @@ ffservertest: ffserver$(EXESUF) tests/vsynth1/00.pgm tests/data/asynth1.sw
@echo
$(SRC_PATH)/tests/ffserver-regression.sh $(FFSERVER_REFFILE) $(SRC_PATH)/tests/ffserver.conf
-OBJDIRS += tests/data tests/vsynth1 tests/vsynth2
+OBJDIRS += tests/data tests/vsynth1
# Required due to missing automatic dependency tracking for HOSTOBJS.
tests/rotozoom.o tests/videogen.o: tests/utils.c
@@ -23,16 +21,22 @@ tests/rotozoom.o tests/videogen.o: tests/utils.c
tests/vsynth1/00.pgm: tests/videogen$(HOSTEXESUF) | tests/vsynth1
$(M)./$< 'tests/vsynth1/'
-tests/vsynth2/00.pgm: tests/rotozoom$(HOSTEXESUF) | tests/vsynth2
- $(M)./$< 'tests/vsynth2/' $(SRC_PATH)/tests/lena.pnm
-
tests/data/asynth1.sw: tests/audiogen$(HOSTEXESUF) | tests/data
$(M)./$< $@
tests/data/asynth-%.wav: tests/audiogen$(HOSTEXESUF) | tests/data
$(M)./$< $@ $(subst -, ,$*)
-tests/data/%.sw tests/data/asynth% tests/vsynth%/00.pgm: TAG = GEN
+tests/data/vsynth1.yuv: tests/videogen$(HOSTEXESUF) | tests/data
+ $(M)$< >$@
+
+tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
+ $(M)$< $(SRC_PATH)/tests/lena.pnm >$@
+
+tests/data/%.sw tests/data/asynth% tests/data/vsynth%.yuv tests/vsynth%/00.pgm: TAG = GEN
+
+include $(SRC_PATH)/tests/fate/acodec.mak
+include $(SRC_PATH)/tests/fate/vcodec.mak
include $(SRC_PATH)/tests/fate/aac.mak
include $(SRC_PATH)/tests/fate/ac3.mak
@@ -77,18 +81,12 @@ include $(SRC_PATH)/tests/fate/vqf.mak
include $(SRC_PATH)/tests/fate/wavpack.mak
include $(SRC_PATH)/tests/fate/wma.mak
-FATE_ACODEC = $(ACODEC_TESTS:%=fate-acodec-%)
-FATE_VSYNTH1 = $(VCODEC_TESTS:%=fate-vsynth1-%)
-FATE_VSYNTH2 = $(VCODEC_TESTS:%=fate-vsynth2-%)
-FATE_VCODEC = $(FATE_VSYNTH1) $(FATE_VSYNTH2)
FATE_LAVF_FATE = $(LAVF_FATE_TESTS:%=fate-lavf-fate-%)
FATE_LAVF = $(LAVF_TESTS:%=fate-lavf-%)
FATE_LAVFI = $(LAVFI_TESTS:%=fate-lavfi-%)
FATE_SEEK = $(SEEK_TESTS:seek_%=fate-seek-%)
-FATE_AVCONV += $(FATE_ACODEC) \
- $(FATE_VCODEC) \
- $(FATE_LAVF) \
+FATE_AVCONV += $(FATE_LAVF) \
$(FATE_LAVFI) \
$(FATE_SEEK) \
@@ -105,24 +103,15 @@ FATE += $(FATE_LIBAVUTIL)
$(FATE_FFMPEG) $(FATE_LAVF_FATE) $(FATE_SAMPLES_AVCONV) $(FATE_SAMPLES_FFMPEG): ffmpeg$(EXESUF)
-$(filter-out %-aref,$(FATE_ACODEC)): $(AREF)
-$(filter-out %-vref,$(FATE_VSYNTH1)): fate-vsynth1-vref
-$(filter-out %-vref,$(FATE_VSYNTH2)): fate-vsynth2-vref
-$(FATE_LAVF): $(REFS)
-$(FATE_LAVFI): $(REFS) tools/lavfi-showfiltfmts$(EXESUF)
-$(FATE_SEEK): fate-codec fate-lavf libavformat/seek-test$(EXESUF)
+$(FATE_LAVF): $(AREF) $(VREF)
+$(FATE_LAVFI): $(VREF) tools/lavfi-showfiltfmts$(EXESUF)
+$(FATE_SEEK): fate-acodec fate-vsynth2 fate-lavf libavformat/seek-test$(EXESUF)
-$(FATE_ACODEC): CMD = codectest acodec
-$(FATE_VSYNTH1): CMD = codectest vsynth1
-$(FATE_VSYNTH2): CMD = codectest vsynth2
$(FATE_LAVF_FATE): CMD = lavffatetest
$(FATE_LAVF): CMD = lavftest
$(FATE_LAVFI): CMD = lavfitest
$(FATE_SEEK): CMD = seektest
-fate-codec: fate-acodec fate-vcodec
-fate-acodec: $(FATE_ACODEC)
-fate-vcodec: $(FATE_VCODEC)
fate-lavf-fate: $(FATE_LAVF_FATE)
fate-lavf: $(FATE_LAVF)
fate-lavfi: $(FATE_LAVFI)
@@ -151,7 +140,7 @@ fate:: $(FATE)
$(FATE) $(FATE_TESTS-no): $(FATE_UTILS:%=tests/%$(HOSTEXESUF))
@echo "TEST $(@:fate-%=%)"
- $(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)'
+ $(Q)$(SRC_PATH)/tests/fate-run.sh $@ "$(SAMPLES)" "$(TARGET_EXEC)" "$(TARGET_PATH)" '$(CMD)' '$(CMP)' '$(REF)' '$(FUZZ)' '$(THREADS)' '$(THREAD_TYPE)' '$(CPUFLAGS)' '$(CMP_SHIFT)' '$(CMP_TARGET)' '$(SIZE_TOLERANCE)' '$(CMP_UNIT)'
fate-list:
@printf '%s\n' $(sort $(FATE))
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index a2cf299554..26ccaea3f5 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -21,6 +21,7 @@ cpuflags=${11:-all}
cmp_shift=${12:-0}
cmp_target=${13:-0}
size_tolerance=${14:-0}
+cmp_unit=${15:-2}
outdir="tests/data/fate"
outfile="${outdir}/${test}"
@@ -40,7 +41,7 @@ compare(){
}
do_tiny_psnr(){
- psnr=$(tests/tiny_psnr "$1" "$2" 2 $cmp_shift 0)
+ psnr=$(tests/tiny_psnr "$1" "$2" $cmp_unit $cmp_shift 0)
val=$(expr "$psnr" : ".*$3: *\([0-9.]*\)")
size1=$(expr "$psnr" : '.*bytes: *\([0-9]*\)')
size2=$(expr "$psnr" : '.*bytes:[ 0-9]*/ *\([0-9]*\)')
@@ -110,16 +111,40 @@ enc_dec_pcm(){
ffmpeg -i ${encfile} -c:a pcm_${pcm_fmt} -f ${dec_fmt} -
}
+FLAGS="-flags +bitexact -sws_flags +accurate_rnd+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
+}
+
regtest(){
t="${test#$2-}"
ref=${base}/ref/$2/$t
${base}/${1}-regression.sh $t $2 $3 "$target_exec" "$target_path" "$threads" "$thread_type" "$cpuflags" "$samples"
}
-codectest(){
- regtest codec $1 tests/$1
-}
-
lavffatetest(){
regtest lavf lavf-fate tests/vsynth1
}
@@ -139,10 +164,10 @@ seektest(){
case $t in
image_*) file="tests/data/images/${t#image_}/%02d.${t#image_}" ;;
*) file=$(echo $t | tr _ '?')
- for d in acodec vsynth2 lavf; do
- test -f tests/data/$d/$file && break
+ for d in fate/acodec- fate/vsynth2- lavf/; do
+ test -f tests/data/$d$file && break
done
- file=$(echo tests/data/$d/$file)
+ file=$(echo tests/data/$d$file)
;;
esac
run libavformat/seek-test $target_path/$file
@@ -151,7 +176,7 @@ seektest(){
mkdir -p "$outdir"
exec 3>&2
-$command > "$outfile" 2>$errfile
+eval $command >"$outfile" 2>$errfile
err=$?
if [ $err -gt 128 ]; then
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 314bc82c35..673dbf2d8f 100644
--- a/tests/fate/aac.mak
+++ b/tests/fate/aac.mak
@@ -75,7 +75,7 @@ FATE_AAC_ENCODE += fate-aac-aref-encode
fate-aac-aref-encode: $(AREF)
fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -b:a 512k
fate-aac-aref-encode: CMP = stddev
-fate-aac-aref-encode: REF = ./tests/data/acodec.ref.wav
+fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
fate-aac-aref-encode: CMP_SHIFT = -4096
fate-aac-aref-encode: CMP_TARGET = 1862
fate-aac-aref-encode: SIZE_TOLERANCE = 2464
diff --git a/tests/fate/ac3.mak b/tests/fate/ac3.mak
index 5a5169d624..9e4884de9a 100644
--- a/tests/fate/ac3.mak
+++ b/tests/fate/ac3.mak
@@ -46,5 +46,12 @@ fate-eac3-encode: CMP_TARGET = 514.02
fate-eac3-encode: SIZE_TOLERANCE = 488
fate-eac3-encode: FUZZ = 3
+FATE_AC3 += fate-ac3-fixed-encode
+fate-ac3-fixed-encode: tests/data/asynth-44100-2.wav
+fate-ac3-fixed-encode: SRC = tests/data/asynth-44100-2.wav
+fate-ac3-fixed-encode: CMD = md5 -i $(SRC) -c ac3_fixed -ab 128k -f ac3
+fate-ac3-fixed-encode: CMP = oneline
+fate-ac3-fixed-encode: REF = a1d1fc116463b771abf5aef7ed37d7b1
+
FATE_SAMPLES_AVCONV += $(FATE_AC3)
fate-ac3: $(FATE_AC3)
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
new file mode 100644
index 0000000000..58e742bb7d
--- /dev/null
+++ b/tests/fate/acodec.mak
@@ -0,0 +1,69 @@
+fate-acodec-%: CODEC = $(@:fate-acodec-%=%)
+fate-acodec-%: SRC = tests/data/asynth-44100-2.wav
+fate-acodec-%: CMD = enc_dec wav $(SRC) $(FMT) "-b 128k -c $(CODEC) $(ENCOPTS)" wav "-c pcm_s16le $(DECOPTS)" -keep
+fate-acodec-%: CMP_UNIT = 2
+
+FATE_ACODEC_PCM = alaw mulaw \
+ s8 u8 \
+ s16be s16le \
+ s24be s24le \
+ s32be s32le \
+ f32be f32le \
+ f64be f64le
+
+FATE_ACODEC += $(FATE_ACODEC_PCM:%=fate-acodec-pcm-%)
+
+fate-acodec-pcm-%: FMT = wav
+fate-acodec-pcm-%: CODEC = pcm_$(@:fate-acodec-pcm-%=%)
+
+fate-acodec-pcm-s8: FMT = mov
+fate-acodec-pcm-s%be: FMT = mov
+fate-acodec-pcm-f%be: FMT = au
+
+FATE_ACODEC_ADPCM = adx ima_qt ima_wav ms swf yamaha
+FATE_ACODEC += $(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 += fate-acodec-mp2
+fate-acodec-mp2: FMT = mp2
+fate-acodec-mp2: CMP_SHIFT = -1924
+
+FATE_ACODEC += fate-acodec-alac
+fate-acodec-alac: FMT = mov
+fate-acodec-alac: CODEC = alac -compression_level 1
+
+FATE_ACODEC += fate-acodec-flac
+fate-acodec-flac: FMT = flac
+fate-acodec-flac: CODEC = flac -compression_level 2
+
+FATE_ACODEC += fate-acodec-g723_1
+fate-acodec-g723_1: FMT = g723_1
+fate-acodec-g723_1: CODEC = g723_1
+fate-acodec-g723_1: ENCOPTS = -b:a 6.3k -ac 1 -ar 8000
+#fate-acodec-g723_1: DECOPTS = -ac 2 -ar 44100
+
+FATE_ACODEC += fate-acodec-ra144
+fate-acodec-ra144: FMT = rm
+fate-acodec-ra144: CODEC = real_144
+fate-acodec-ra144: ENCOPTS = -ac 1
+fate-acodec-ra144: DECOPTS = -ac 2
+fate-acodec-ra144: CMP_SHIFT = -640
+
+FATE_ACODEC += 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): tests/data/asynth-44100-2.wav
+
+FATE_AVCONV += $(FATE_ACODEC)
+fate-acodec: $(FATE_ACODEC)
diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index d741faddb2..120c50e72e 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -38,7 +38,7 @@ FATE_SAMPLES_AUDIO += fate-nellymoser-aref-encode
fate-nellymoser-aref-encode: $(AREF)
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/acodec-16000-1.ref.wav
+fate-nellymoser-aref-encode: REF = ./tests/data/asynth-16000-1.wav
fate-nellymoser-aref-encode: CMP_SHIFT = -244
fate-nellymoser-aref-encode: CMP_TARGET = 9612
fate-nellymoser-aref-encode: SIZE_TOLERANCE = 268
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
new file mode 100644
index 0000000000..5d8366ca2a
--- /dev/null
+++ b/tests/fate/vcodec.mak
@@ -0,0 +1,288 @@
+fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
+fate-vsynth2-%: SRC = tests/data/vsynth2.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-vsynth%: CMP_UNIT = 1
+
+FATE_VCODEC += amv
+
+FATE_VCODEC += asv1
+fate-vsynth%-asv1: ENCOPTS = -qscale 10
+
+FATE_VCODEC += asv2
+fate-vsynth%-asv2: ENCOPTS = -qscale 10
+
+FATE_VCODEC += cljr
+
+FATE_VCODEC += dnxhd-720p
+fate-vsynth%-dnxhd-720p: ENCOPTS = -s hd720 -b 90M \
+ -pix_fmt yuv422p -frames 5
+fate-vsynth%-dnxhd-720p: FMT = dnxhd
+
+FATE_VCODEC += dnxhd-720p-rd
+fate-vsynth%-dnxhd-720p-rd: ENCOPTS = -s hd720 -b 90M -threads 4 -mbd rd \
+ -pix_fmt yuv422p -frames 5
+fate-vsynth%-dnxhd-720p-rd: FMT = dnxhd
+
+FATE_VCODEC += dnxhd-720p-10bit
+fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \
+ -pix_fmt yuv422p10 -frames 5
+fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd
+
+FATE_VCODEC += dnxhd-1080i
+fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \
+ -pix_fmt yuv422p -frames 5
+fate-vsynth%-dnxhd-1080i: FMT = mov
+
+FATE_VCODEC += dv
+fate-vsynth%-dv: CODEC = dvvideo
+fate-vsynth%-dv: ENCOPTS = -dct int -s pal
+fate-vsynth%-dv: FMT = dv
+
+FATE_VCODEC += dv-411
+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_VCODEC += dv-50
+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 += ffv1
+fate-vsynth%-ffv1: ENCOPTS = -strict -2
+
+FATE_VCODEC += ffvhuff
+
+FATE_VCODEC += 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 += 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 += flv
+fate-vsynth%-flv: ENCOPTS = -qscale 10
+fate-vsynth%-flv: FMT = flv
+
+FATE_VCODEC += h261
+fate-vsynth%-h261: ENCOPTS = -qscale 11
+
+FATE_VCODEC += h263
+fate-vsynth%-h263: ENCOPTS = -qscale 10
+
+FATE_VCODEC += h263p
+fate-vsynth%-h263p: ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
+
+FATE_VCODEC += huffyuv
+fate-vsynth%-huffyuv: ENCOPTS = -pix_fmt yuv422p -sws_flags neighbor
+fate-vsynth%-huffyuv: DECOPTS = -strict -2 -sws_flags neighbor
+
+FATE_VCODEC += jpegls
+fate-vsynth%-jpegls: ENCOPTS = -sws_flags neighbor+full_chroma_int
+fate-vsynth%-jpegls: DECOPTS = -sws_flags area
+
+FATE_VCODEC += j2k
+fate-vsynth%-j2k: ENCOPTS = -qscale 7 -strict experimental -pix_fmt rgb24
+fate-vsynth%-j2k: DECINOPTS = -vcodec j2k -strict experimental
+
+FATE_VCODEC += ljpeg
+fate-vsynth%-ljpeg: ENCOPTS = -strict -1
+
+FATE_VCODEC += mjpeg
+fate-vsynth%-mjpeg: ENCOPTS = -qscale 9 -pix_fmt yuvj420p
+
+FATE_VCODEC += mpeg1
+fate-vsynth%-mpeg1: FMT = mpeg1video
+fate-vsynth%-mpeg1: CODEC = mpeg1video
+fate-vsynth%-mpeg1: ENCOPTS = -qscale 10
+
+FATE_VCODEC += mpeg1b
+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 += $(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 = -vb 1000k \
+ -bf 2 \
+ -trellis 1 \
+ -flags +mv0+ildct+ilme \
+ -mpv_flags +qp_rd \
+ -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 = -vb 500k \
+ -bf 2 \
+ -trellis 1 \
+ -flags +mv0 \
+ -mpv_flags +qp_rd \
+ -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_VCODEC += mpeg4
+fate-vsynth%-mpeg4: ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
+fate-vsynth%-mpeg4: FMT = mp4
+
+FATE_VCODEC += mpeg4-rc
+fate-vsynth%-mpeg4-rc: ENCOPTS = -b 400k -bf 2
+
+FATE_VCODEC += mpeg4-adv
+fate-vsynth%-mpeg4-adv: ENCOPTS = -qscale 9 -flags +mv4+aic \
+ -data_partitioning 1 -trellis 1 \
+ -mbd bits -ps 200
+
+FATE_VCODEC += mpeg4-qprd
+fate-vsynth%-mpeg4-qprd: ENCOPTS = -b 450k -bf 2 -trellis 1 \
+ -flags +mv4+mv0 -mpv_flags +qp_rd \
+ -cmp 2 -subcmp 2 -mbd rd
+
+FATE_VCODEC += mpeg4-adap
+fate-vsynth%-mpeg4-adap: ENCOPTS = -b 550k -bf 2 -flags +mv4+mv0 \
+ -trellis 1 -cmp 1 -subcmp 2 \
+ -mbd rd -scplx_mask 0.3
+
+FATE_VCODEC += mpeg4-qpel
+fate-vsynth%-mpeg4-qpel: ENCOPTS = -qscale 7 -flags +mv4+qpel -mbd 2 \
+ -bf 2 -cmp 1 -subcmp 2
+
+FATE_VCODEC += mpeg4-thread
+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 += mpeg4-error
+fate-vsynth%-mpeg4-error: ENCOPTS = -qscale 7 -flags +mv4+aic \
+ -data_partitioning 1 -mbd rd \
+ -ps 250 -error 10
+
+FATE_VCODEC += mpeg4-nr
+fate-vsynth%-mpeg4-nr: ENCOPTS = -qscale 8 -flags +mv4 -mbd rd -nr 200
+
+FATE_VCODEC += msmpeg4
+fate-vsynth%-msmpeg4: ENCOPTS = -qscale 10
+
+FATE_VCODEC += msmpeg4v2
+fate-vsynth%-msmpeg4v2: ENCOPTS = -qscale 10
+
+FATE_VCODEC += mpng
+fate-vsynth%-mpng: CODEC = png
+
+FATE_VCODEC += msvideo1
+
+FATE_VCODEC += prores
+fate-vsynth%-prores: FMT = mov
+
+FATE_VCODEC += prores_kostya
+fate-vsynth%-prores_kostya: ENCOPTS = -profile hq
+fate-vsynth%-prores_kostya: FMT = mov
+
+FATE_VCODEC += qtrle
+fate-vsynth%-qtrle: FMT = mov
+
+FATE_VCODEC += qtrlegray
+fate-vsynth%-qtrlegray: CODEC = qtrle
+fate-vsynth%-qtrlegray: ENCOPTS = -pix_fmt gray
+fate-vsynth%-qtrlegray: FMT = mov
+
+FATE_VCODEC += rgb
+fate-vsynth%-rgb: CODEC = rawvideo
+fate-vsynth%-rgb: ENCOPTS = -pix_fmt bgr24
+
+FATE_VCODEC += 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 += rv10
+fate-vsynth%-rv10: ENCOPTS = -qscale 10
+fate-vsynth%-rv10: FMT = rm
+
+FATE_VCODEC += rv20
+fate-vsynth%-rv20: ENCOPTS = -qscale 10
+fate-vsynth%-rv20: FMT = rm
+
+FATE_VCODEC += snow
+fate-vsynth%-snow: ENCOPTS = -strict -2 -qscale 2 -flags +qpel \
+ -me_method iter -dia_size 2 \
+ -cmp 12 -subcmp 12 -s 128x64
+
+FATE_VCODEC += snow-ll
+fate-vsynth%-snow-ll: ENCOPTS = -strict -2 -qscale .001 -pred 1 \
+ -flags +mv4+qpel
+
+FATE_VCODEC += svq1
+fate-vsynth%-svq1: ENCOPTS = -qscale 3 -pix_fmt yuv410p
+fate-vsynth%-svq1: FMT = mov
+
+FATE_VCODEC += r210
+
+FATE_VCODEC += v210
+
+FATE_VCODEC += v308
+
+FATE_VCODEC += v408
+fate-vsynth%-v408: ENCOPTS = -sws_flags neighbor+bitexact
+fate-vsynth%-v408: DECOPTS = -sws_flags neighbor+bitexact
+
+FATE_VCODEC += 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 += wmv1
+fate-vsynth%-wmv1: ENCOPTS = -qscale 10
+
+FATE_VCODEC += wmv2
+fate-vsynth%-wmv2: ENCOPTS = -qscale 10
+
+FATE_VCODEC += yuv
+fate-vsynth%-yuv: CODEC = rawvideo
+
+FATE_VCODEC += yuv4
+
+FATE_VCODEC += y41p
+
+FATE_VCODEC += zlib
+
+
+FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
+FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)
+
+$(FATE_VSYNTH1): tests/data/vsynth1.yuv
+$(FATE_VSYNTH2): tests/data/vsynth2.yuv
+
+FATE_AVCONV += $(FATE_VSYNTH1) $(FATE_VSYNTH2)
+
+fate-vsynth1: $(FATE_VSYNTH1)
+fate-vsynth2: $(FATE_VSYNTH2)
+fate-vcodec: fate-vsynth1 fate-vsynth2
diff --git a/tests/ref/acodec/ac3_fixed b/tests/ref/acodec/ac3_fixed
deleted file mode 100644
index 0c2f9b7214..0000000000
--- a/tests/ref/acodec/ac3_fixed
+++ /dev/null
@@ -1,2 +0,0 @@
-a1d1fc116463b771abf5aef7ed37d7b1 *./tests/data/acodec/ac3.ac3
-96408 ./tests/data/acodec/ac3.ac3
diff --git a/tests/ref/acodec/adpcm_adx b/tests/ref/acodec/adpcm_adx
deleted file mode 100644
index 8d86698101..0000000000
--- a/tests/ref/acodec/adpcm_adx
+++ /dev/null
@@ -1,4 +0,0 @@
-0a30509d9296b857e134b762b76dbc31 *./tests/data/acodec/adpcm_adx.adx
-297720 ./tests/data/acodec/adpcm_adx.adx
-2dbc601ed5259f4d74dc48ccd8da7eaf *./tests/data/adpcm_adx.acodec.out.wav
-stddev: 6989.46 PSNR: 19.44 MAXDIFF:65398 bytes: 1058432/ 1058400
diff --git a/tests/ref/acodec/adpcm_ima_wav b/tests/ref/acodec/adpcm_ima_wav
deleted file mode 100644
index f83dbadad9..0000000000
--- a/tests/ref/acodec/adpcm_ima_wav
+++ /dev/null
@@ -1,4 +0,0 @@
-56b75c3a6dacedcf2ce7b0586aa33594 *./tests/data/acodec/adpcm_ima.wav
-267324 ./tests/data/acodec/adpcm_ima.wav
-ddddfa47302da540abf19224202bef57 *./tests/data/adpcm_ima_wav.acodec.out.wav
-stddev: 903.51 PSNR: 37.21 MAXDIFF:34026 bytes: 1061748/ 1058400
diff --git a/tests/ref/acodec/adpcm_ms b/tests/ref/acodec/adpcm_ms
deleted file mode 100644
index 301bc80042..0000000000
--- a/tests/ref/acodec/adpcm_ms
+++ /dev/null
@@ -1,4 +0,0 @@
-a407b87daeef5b25dfb6c5b3f519e9c1 *./tests/data/acodec/adpcm_ms.wav
-268378 ./tests/data/acodec/adpcm_ms.wav
-22863fb278c4e0ebe9c34cb15db5dd6b *./tests/data/adpcm_ms.acodec.out.wav
-stddev: 1050.01 PSNR: 35.91 MAXDIFF:29806 bytes: 1060576/ 1058400
diff --git a/tests/ref/acodec/adpcm_swf b/tests/ref/acodec/adpcm_swf
deleted file mode 100644
index 5306dc464a..0000000000
--- a/tests/ref/acodec/adpcm_swf
+++ /dev/null
@@ -1,4 +0,0 @@
-42d4639866ed4d692eaf126228a4fa2a *./tests/data/acodec/adpcm_swf.flv
-269166 ./tests/data/acodec/adpcm_swf.flv
-f7df69d3fe708303820f2a9d00140a5b *./tests/data/adpcm_swf.acodec.out.wav
-stddev: 933.58 PSNR: 36.93 MAXDIFF:51119 bytes: 1064960/ 1058400
diff --git a/tests/ref/acodec/adpcm_yam b/tests/ref/acodec/adpcm_yam
deleted file mode 100644
index f7c9f757a6..0000000000
--- a/tests/ref/acodec/adpcm_yam
+++ /dev/null
@@ -1,4 +0,0 @@
-e9c14f701d25947317db9367b9dc772d *./tests/data/acodec/adpcm_yam.wav
-265274 ./tests/data/acodec/adpcm_yam.wav
-1488b5974fa040a65f0d407fc0224c6a *./tests/data/adpcm_yam.acodec.out.wav
-stddev: 1247.60 PSNR: 34.41 MAXDIFF:39895 bytes: 1060864/ 1058400
diff --git a/tests/ref/acodec/alac b/tests/ref/acodec/alac
deleted file mode 100644
index 3d98f279fb..0000000000
--- a/tests/ref/acodec/alac
+++ /dev/null
@@ -1,4 +0,0 @@
-acaed80b0b5bbec7ee9dc0899166a6e2 *./tests/data/acodec/alac.m4a
-388910 ./tests/data/acodec/alac.m4a
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/alac.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/flac b/tests/ref/acodec/flac
deleted file mode 100644
index 992a4e387b..0000000000
--- a/tests/ref/acodec/flac
+++ /dev/null
@@ -1,4 +0,0 @@
-151eef9097f944726968bec48649f00a *./tests/data/acodec/flac.flac
-361582 ./tests/data/acodec/flac.flac
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/flac.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/g723_1 b/tests/ref/acodec/g723_1
deleted file mode 100644
index 2588f1e0da..0000000000
--- a/tests/ref/acodec/g723_1
+++ /dev/null
@@ -1,4 +0,0 @@
-d34f35011a3d596eb359cc62c92fa737 *./tests/data/acodec/g723_1.tco
-4800 ./tests/data/acodec/g723_1.tco
-bc1807ce2a90997c09df66ced6900ebc *./tests/data/g723_1.acodec.out.wav
-stddev: 8507.27 PSNR: 17.73 MAXDIFF:26473 bytes: 96000/ 1058400
diff --git a/tests/ref/acodec/mp2 b/tests/ref/acodec/mp2
deleted file mode 100644
index 3be6c58fb1..0000000000
--- a/tests/ref/acodec/mp2
+++ /dev/null
@@ -1,5 +0,0 @@
-f6eb0a205350bbd7fb1028a01c7ae8aa *./tests/data/acodec/mp2.mp2
-96130 ./tests/data/acodec/mp2.mp2
-5a669ca7321adc6ab66a3eade4035909 *./tests/data/mp2.acodec.out.wav
-stddev: 9315.99 PSNR: 16.94 MAXDIFF:65388 bytes: 1059840/ 1058400
-stddev: 4384.33 PSNR: 23.49 MAXDIFF:52631 bytes: 1057916/ 1058400
diff --git a/tests/ref/acodec/pcm_alaw b/tests/ref/acodec/pcm_alaw
deleted file mode 100644
index 0eba43a0c4..0000000000
--- a/tests/ref/acodec/pcm_alaw
+++ /dev/null
@@ -1,4 +0,0 @@
-a2dd6a934ec6d5ec901a211652e85227 *./tests/data/acodec/pcm_alaw.wav
-529258 ./tests/data/acodec/pcm_alaw.wav
-f323f7551ffad91de8613f44dcb198b6 *./tests/data/pcm_alaw.acodec.out.wav
-stddev: 101.67 PSNR: 56.19 MAXDIFF: 515 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_f32be b/tests/ref/acodec/pcm_f32be
deleted file mode 100644
index 5f067c2dfb..0000000000
--- a/tests/ref/acodec/pcm_f32be
+++ /dev/null
@@ -1,4 +0,0 @@
-118ff3dc83c62ce9ce669eef57e55bb2 *./tests/data/acodec/pcm_f32be.au
-2116824 ./tests/data/acodec/pcm_f32be.au
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_f32be.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_f32le b/tests/ref/acodec/pcm_f32le
deleted file mode 100644
index eb6ea93687..0000000000
--- a/tests/ref/acodec/pcm_f32le
+++ /dev/null
@@ -1,4 +0,0 @@
-653d82a64b7bd96ac193e105e9f92d4c *./tests/data/acodec/pcm_f32le.wav
-2116880 ./tests/data/acodec/pcm_f32le.wav
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_f32le.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_f64be b/tests/ref/acodec/pcm_f64be
deleted file mode 100644
index 9abdabc747..0000000000
--- a/tests/ref/acodec/pcm_f64be
+++ /dev/null
@@ -1,4 +0,0 @@
-8112296b1ed94f72f20d04b1a54850a7 *./tests/data/acodec/pcm_f64be.au
-4233624 ./tests/data/acodec/pcm_f64be.au
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_f64be.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_f64le b/tests/ref/acodec/pcm_f64le
deleted file mode 100644
index 2f0576bf91..0000000000
--- a/tests/ref/acodec/pcm_f64le
+++ /dev/null
@@ -1,4 +0,0 @@
-48b4cd378f47a50dc902aa03cc8280ed *./tests/data/acodec/pcm_f64le.wav
-4233680 ./tests/data/acodec/pcm_f64le.wav
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_f64le.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_mulaw b/tests/ref/acodec/pcm_mulaw
deleted file mode 100644
index e1abcbe60c..0000000000
--- a/tests/ref/acodec/pcm_mulaw
+++ /dev/null
@@ -1,4 +0,0 @@
-fd10ee54bd298fc29fd6fc70baa71414 *./tests/data/acodec/pcm_mulaw.wav
-529258 ./tests/data/acodec/pcm_mulaw.wav
-7ae8c3fc804bd574006fd547fe28980c *./tests/data/pcm_mulaw.acodec.out.wav
-stddev: 103.38 PSNR: 56.04 MAXDIFF: 644 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s16be b/tests/ref/acodec/pcm_s16be
deleted file mode 100644
index 967876fc73..0000000000
--- a/tests/ref/acodec/pcm_s16be
+++ /dev/null
@@ -1,4 +0,0 @@
-a874f5c08b8d104a6bbf41b21454180d *./tests/data/acodec/pcm_s16be.mov
-1059045 ./tests/data/acodec/pcm_s16be.mov
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_s16be.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s16le b/tests/ref/acodec/pcm_s16le
deleted file mode 100644
index c7b5de7b92..0000000000
--- a/tests/ref/acodec/pcm_s16le
+++ /dev/null
@@ -1,4 +0,0 @@
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/acodec/pcm_s16le.wav
-1058446 ./tests/data/acodec/pcm_s16le.wav
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_s16le.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s24be b/tests/ref/acodec/pcm_s24be
deleted file mode 100644
index 26f0cc73d8..0000000000
--- a/tests/ref/acodec/pcm_s24be
+++ /dev/null
@@ -1,4 +0,0 @@
-833d4afd907139af7106a5642a9c23d3 *./tests/data/acodec/pcm_s24be.mov
-1588245 ./tests/data/acodec/pcm_s24be.mov
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_s24be.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s24le b/tests/ref/acodec/pcm_s24le
deleted file mode 100644
index 0d86d1e7f7..0000000000
--- a/tests/ref/acodec/pcm_s24le
+++ /dev/null
@@ -1,4 +0,0 @@
-18ea73985dbdf59e23f5aba66145e6fe *./tests/data/acodec/pcm_s24le.wav
-1587668 ./tests/data/acodec/pcm_s24le.wav
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_s24le.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s32be b/tests/ref/acodec/pcm_s32be
deleted file mode 100644
index 1e495a68d9..0000000000
--- a/tests/ref/acodec/pcm_s32be
+++ /dev/null
@@ -1,4 +0,0 @@
-c02c96e37b321f2c978968e3a102c669 *./tests/data/acodec/pcm_s32be.mov
-2117449 ./tests/data/acodec/pcm_s32be.mov
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_s32be.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s32le b/tests/ref/acodec/pcm_s32le
deleted file mode 100644
index 2b81c29e6a..0000000000
--- a/tests/ref/acodec/pcm_s32le
+++ /dev/null
@@ -1,4 +0,0 @@
-8d8849fa5c5d91b9cb74f5c74e937faf *./tests/data/acodec/pcm_s32le.wav
-2116868 ./tests/data/acodec/pcm_s32le.wav
-64151e4bcc2b717aa5a8454d424d6a1f *./tests/data/pcm_s32le.acodec.out.wav
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_s8 b/tests/ref/acodec/pcm_s8
deleted file mode 100644
index 4877a77489..0000000000
--- a/tests/ref/acodec/pcm_s8
+++ /dev/null
@@ -1,4 +0,0 @@
-111d465266385298fde83005402ac171 *./tests/data/acodec/pcm_s8.mov
-529829 ./tests/data/acodec/pcm_s8.mov
-651d4eb8d98dfcdda96ae6c43d8f156b *./tests/data/pcm_s8.acodec.out.wav
-stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/pcm_u8 b/tests/ref/acodec/pcm_u8
deleted file mode 100644
index e8d70c93e9..0000000000
--- a/tests/ref/acodec/pcm_u8
+++ /dev/null
@@ -1,4 +0,0 @@
-70fecbae732f81143a560c7315eda49a *./tests/data/acodec/pcm_u8.wav
-529246 ./tests/data/acodec/pcm_u8.wav
-651d4eb8d98dfcdda96ae6c43d8f156b *./tests/data/pcm_u8.acodec.out.wav
-stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/ra144 b/tests/ref/acodec/ra144
deleted file mode 100644
index 83c8ebdc1b..0000000000
--- a/tests/ref/acodec/ra144
+++ /dev/null
@@ -1,5 +0,0 @@
-d6740bee5e20fa665e6c94298125b834 *./tests/data/acodec/ra144.ra
-53227 ./tests/data/acodec/ra144.ra
-16d1a0d6cae06cf8a4db009d0fe7a952 *./tests/data/ra144.acodec.out.wav
-stddev: 9525.99 PSNR: 16.75 MAXDIFF:55906 bytes: 1059200/ 1058400
-stddev: 5696.26 PSNR: 21.22 MAXDIFF:44956 bytes: 1058560/ 1058400
diff --git a/tests/ref/acodec/roqaudio b/tests/ref/acodec/roqaudio
deleted file mode 100644
index 3e47302a26..0000000000
--- a/tests/ref/acodec/roqaudio
+++ /dev/null
@@ -1,4 +0,0 @@
-c8ff13cf7ebece23af76502f5785202e *./tests/data/acodec/roqaudio.roq
-265992 ./tests/data/acodec/roqaudio.roq
-709fd60aea880c73b375094ab5307c77 *./tests/data/roqaudio.acodec.out.wav
-stddev: 4610.71 PSNR: 23.05 MAXDIFF:43883 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-adpcm-adx b/tests/ref/fate/acodec-adpcm-adx
new file mode 100644
index 0000000000..2bc49ab94b
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-adx
@@ -0,0 +1,4 @@
+0a30509d9296b857e134b762b76dbc31 *tests/data/fate/acodec-adpcm-adx.adx
+297720 tests/data/fate/acodec-adpcm-adx.adx
+2dbc601ed5259f4d74dc48ccd8da7eaf *tests/data/fate/acodec-adpcm-adx.out.wav
+stddev: 6989.46 PSNR: 19.44 MAXDIFF:65398 bytes: 1058400/ 1058432
diff --git a/tests/ref/fate/acodec-adpcm-ima_qt b/tests/ref/fate/acodec-adpcm-ima_qt
new file mode 100644
index 0000000000..80015275fc
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-ima_qt
@@ -0,0 +1,4 @@
+23cbae1182e150ebf28e0abfb9cba127 *tests/data/fate/acodec-adpcm-ima_qt.aiff
+281252 tests/data/fate/acodec-adpcm-ima_qt.aiff
+b0fafd002c38fb70acaddfda1a31ed61 *tests/data/fate/acodec-adpcm-ima_qt.out.wav
+stddev: 904.76 PSNR: 37.20 MAXDIFF:34029 bytes: 1058400/ 1058560
diff --git a/tests/ref/fate/acodec-adpcm-ima_wav b/tests/ref/fate/acodec-adpcm-ima_wav
new file mode 100644
index 0000000000..6d83fd5f1c
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-ima_wav
@@ -0,0 +1,4 @@
+56b75c3a6dacedcf2ce7b0586aa33594 *tests/data/fate/acodec-adpcm-ima_wav.wav
+267324 tests/data/fate/acodec-adpcm-ima_wav.wav
+ddddfa47302da540abf19224202bef57 *tests/data/fate/acodec-adpcm-ima_wav.out.wav
+stddev: 903.51 PSNR: 37.21 MAXDIFF:34026 bytes: 1058400/ 1061748
diff --git a/tests/ref/fate/acodec-adpcm-ms b/tests/ref/fate/acodec-adpcm-ms
new file mode 100644
index 0000000000..eb8515d986
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-ms
@@ -0,0 +1,4 @@
+a407b87daeef5b25dfb6c5b3f519e9c1 *tests/data/fate/acodec-adpcm-ms.wav
+268378 tests/data/fate/acodec-adpcm-ms.wav
+22863fb278c4e0ebe9c34cb15db5dd6b *tests/data/fate/acodec-adpcm-ms.out.wav
+stddev: 1050.01 PSNR: 35.91 MAXDIFF:29806 bytes: 1058400/ 1060576
diff --git a/tests/ref/fate/acodec-adpcm-swf b/tests/ref/fate/acodec-adpcm-swf
new file mode 100644
index 0000000000..fddb771c8b
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-swf
@@ -0,0 +1,4 @@
+42d4639866ed4d692eaf126228a4fa2a *tests/data/fate/acodec-adpcm-swf.flv
+269166 tests/data/fate/acodec-adpcm-swf.flv
+f7df69d3fe708303820f2a9d00140a5b *tests/data/fate/acodec-adpcm-swf.out.wav
+stddev: 933.58 PSNR: 36.93 MAXDIFF:51119 bytes: 1058400/ 1064960
diff --git a/tests/ref/fate/acodec-adpcm-yamaha b/tests/ref/fate/acodec-adpcm-yamaha
new file mode 100644
index 0000000000..da60f44d58
--- /dev/null
+++ b/tests/ref/fate/acodec-adpcm-yamaha
@@ -0,0 +1,4 @@
+e9c14f701d25947317db9367b9dc772d *tests/data/fate/acodec-adpcm-yamaha.wav
+265274 tests/data/fate/acodec-adpcm-yamaha.wav
+1488b5974fa040a65f0d407fc0224c6a *tests/data/fate/acodec-adpcm-yamaha.out.wav
+stddev: 1247.60 PSNR: 34.41 MAXDIFF:39895 bytes: 1058400/ 1060864
diff --git a/tests/ref/acodec/adpcm_ima_qt b/tests/ref/fate/acodec-adpcm_ima_qt
index a50c30a27c..a50c30a27c 100644
--- a/tests/ref/acodec/adpcm_ima_qt
+++ b/tests/ref/fate/acodec-adpcm_ima_qt
diff --git a/tests/ref/fate/acodec-alac b/tests/ref/fate/acodec-alac
new file mode 100644
index 0000000000..6f52d8b084
--- /dev/null
+++ b/tests/ref/fate/acodec-alac
@@ -0,0 +1,4 @@
+1e5266b204b33ab4608e368d309716cb *tests/data/fate/acodec-alac.mov
+388994 tests/data/fate/acodec-alac.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-alac.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/acodec/aref b/tests/ref/fate/acodec-aref
index d70876d9d9..d70876d9d9 100644
--- a/tests/ref/acodec/aref
+++ b/tests/ref/fate/acodec-aref
diff --git a/tests/ref/acodec/dca b/tests/ref/fate/acodec-dca
index f4f4a1963b..f4f4a1963b 100644
--- a/tests/ref/acodec/dca
+++ b/tests/ref/fate/acodec-dca
diff --git a/tests/ref/fate/acodec-flac b/tests/ref/fate/acodec-flac
new file mode 100644
index 0000000000..1cc3770667
--- /dev/null
+++ b/tests/ref/fate/acodec-flac
@@ -0,0 +1,4 @@
+151eef9097f944726968bec48649f00a *tests/data/fate/acodec-flac.flac
+361582 tests/data/fate/acodec-flac.flac
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-flac.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-g723_1 b/tests/ref/fate/acodec-g723_1
new file mode 100644
index 0000000000..6452661baa
--- /dev/null
+++ b/tests/ref/fate/acodec-g723_1
@@ -0,0 +1,4 @@
+d34f35011a3d596eb359cc62c92fa737 *tests/data/fate/acodec-g723_1.g723_1
+4800 tests/data/fate/acodec-g723_1.g723_1
+bc1807ce2a90997c09df66ced6900ebc *tests/data/fate/acodec-g723_1.out.wav
+stddev: 8507.27 PSNR: 17.73 MAXDIFF:26473 bytes: 1058400/ 96000
diff --git a/tests/ref/fate/acodec-mp2 b/tests/ref/fate/acodec-mp2
new file mode 100644
index 0000000000..42381b4784
--- /dev/null
+++ b/tests/ref/fate/acodec-mp2
@@ -0,0 +1,4 @@
+f6eb0a205350bbd7fb1028a01c7ae8aa *tests/data/fate/acodec-mp2.mp2
+96130 tests/data/fate/acodec-mp2.mp2
+5a669ca7321adc6ab66a3eade4035909 *tests/data/fate/acodec-mp2.out.wav
+stddev: 4384.33 PSNR: 23.49 MAXDIFF:52631 bytes: 1058400/ 1057916
diff --git a/tests/ref/fate/acodec-pcm-alaw b/tests/ref/fate/acodec-pcm-alaw
new file mode 100644
index 0000000000..28ce960efe
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-alaw
@@ -0,0 +1,4 @@
+a2dd6a934ec6d5ec901a211652e85227 *tests/data/fate/acodec-pcm-alaw.wav
+529258 tests/data/fate/acodec-pcm-alaw.wav
+f323f7551ffad91de8613f44dcb198b6 *tests/data/fate/acodec-pcm-alaw.out.wav
+stddev: 101.67 PSNR: 56.19 MAXDIFF: 515 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f32be b/tests/ref/fate/acodec-pcm-f32be
new file mode 100644
index 0000000000..5b0f4980d5
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f32be
@@ -0,0 +1,4 @@
+118ff3dc83c62ce9ce669eef57e55bb2 *tests/data/fate/acodec-pcm-f32be.au
+2116824 tests/data/fate/acodec-pcm-f32be.au
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f32be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f32le b/tests/ref/fate/acodec-pcm-f32le
new file mode 100644
index 0000000000..681f0836c8
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f32le
@@ -0,0 +1,4 @@
+653d82a64b7bd96ac193e105e9f92d4c *tests/data/fate/acodec-pcm-f32le.wav
+2116880 tests/data/fate/acodec-pcm-f32le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f32le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f64be b/tests/ref/fate/acodec-pcm-f64be
new file mode 100644
index 0000000000..dd882d38b8
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f64be
@@ -0,0 +1,4 @@
+8112296b1ed94f72f20d04b1a54850a7 *tests/data/fate/acodec-pcm-f64be.au
+4233624 tests/data/fate/acodec-pcm-f64be.au
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f64be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-f64le b/tests/ref/fate/acodec-pcm-f64le
new file mode 100644
index 0000000000..c6cb027220
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-f64le
@@ -0,0 +1,4 @@
+48b4cd378f47a50dc902aa03cc8280ed *tests/data/fate/acodec-pcm-f64le.wav
+4233680 tests/data/fate/acodec-pcm-f64le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-f64le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-mulaw b/tests/ref/fate/acodec-pcm-mulaw
new file mode 100644
index 0000000000..bd2a1e81b5
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-mulaw
@@ -0,0 +1,4 @@
+fd10ee54bd298fc29fd6fc70baa71414 *tests/data/fate/acodec-pcm-mulaw.wav
+529258 tests/data/fate/acodec-pcm-mulaw.wav
+7ae8c3fc804bd574006fd547fe28980c *tests/data/fate/acodec-pcm-mulaw.out.wav
+stddev: 103.38 PSNR: 56.04 MAXDIFF: 644 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s16be b/tests/ref/fate/acodec-pcm-s16be
new file mode 100644
index 0000000000..00285b8bfd
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s16be
@@ -0,0 +1,4 @@
+a874f5c08b8d104a6bbf41b21454180d *tests/data/fate/acodec-pcm-s16be.mov
+1059045 tests/data/fate/acodec-pcm-s16be.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s16le b/tests/ref/fate/acodec-pcm-s16le
new file mode 100644
index 0000000000..51366ad0d7
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s16le
@@ -0,0 +1,4 @@
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le.wav
+1058446 tests/data/fate/acodec-pcm-s16le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s24be b/tests/ref/fate/acodec-pcm-s24be
new file mode 100644
index 0000000000..894844a1c2
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s24be
@@ -0,0 +1,4 @@
+833d4afd907139af7106a5642a9c23d3 *tests/data/fate/acodec-pcm-s24be.mov
+1588245 tests/data/fate/acodec-pcm-s24be.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s24le b/tests/ref/fate/acodec-pcm-s24le
new file mode 100644
index 0000000000..a7e77e2fc1
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s24le
@@ -0,0 +1,4 @@
+18ea73985dbdf59e23f5aba66145e6fe *tests/data/fate/acodec-pcm-s24le.wav
+1587668 tests/data/fate/acodec-pcm-s24le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s32be b/tests/ref/fate/acodec-pcm-s32be
new file mode 100644
index 0000000000..5360fc1038
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s32be
@@ -0,0 +1,4 @@
+c02c96e37b321f2c978968e3a102c669 *tests/data/fate/acodec-pcm-s32be.mov
+2117449 tests/data/fate/acodec-pcm-s32be.mov
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s32le b/tests/ref/fate/acodec-pcm-s32le
new file mode 100644
index 0000000000..1c3e412427
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s32le
@@ -0,0 +1,4 @@
+8d8849fa5c5d91b9cb74f5c74e937faf *tests/data/fate/acodec-pcm-s32le.wav
+2116868 tests/data/fate/acodec-pcm-s32le.wav
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s8 b/tests/ref/fate/acodec-pcm-s8
new file mode 100644
index 0000000000..e7c09f4430
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s8
@@ -0,0 +1,4 @@
+111d465266385298fde83005402ac171 *tests/data/fate/acodec-pcm-s8.mov
+529829 tests/data/fate/acodec-pcm-s8.mov
+651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-s8.out.wav
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u8 b/tests/ref/fate/acodec-pcm-u8
new file mode 100644
index 0000000000..80e70eab04
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u8
@@ -0,0 +1,4 @@
+70fecbae732f81143a560c7315eda49a *tests/data/fate/acodec-pcm-u8.wav
+529246 tests/data/fate/acodec-pcm-u8.wav
+651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-u8.out.wav
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-ra144 b/tests/ref/fate/acodec-ra144
new file mode 100644
index 0000000000..129b276c4d
--- /dev/null
+++ b/tests/ref/fate/acodec-ra144
@@ -0,0 +1,4 @@
+d6740bee5e20fa665e6c94298125b834 *tests/data/fate/acodec-ra144.rm
+53227 tests/data/fate/acodec-ra144.rm
+16d1a0d6cae06cf8a4db009d0fe7a952 *tests/data/fate/acodec-ra144.out.wav
+stddev: 5696.26 PSNR: 21.22 MAXDIFF:44956 bytes: 1058400/ 1058560
diff --git a/tests/ref/fate/acodec-roqaudio b/tests/ref/fate/acodec-roqaudio
new file mode 100644
index 0000000000..ec28668983
--- /dev/null
+++ b/tests/ref/fate/acodec-roqaudio
@@ -0,0 +1,4 @@
+c8ff13cf7ebece23af76502f5785202e *tests/data/fate/acodec-roqaudio.roq
+265992 tests/data/fate/acodec-roqaudio.roq
+709fd60aea880c73b375094ab5307c77 *tests/data/fate/acodec-roqaudio.out.wav
+stddev: 4610.71 PSNR: 23.05 MAXDIFF:43883 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/vsynth1-amv b/tests/ref/fate/vsynth1-amv
new file mode 100644
index 0000000000..a2d114169e
--- /dev/null
+++ b/tests/ref/fate/vsynth1-amv
@@ -0,0 +1,4 @@
+539c26ba470de4d72279855fcf61f5a2 *tests/data/fate/vsynth1-amv.avi
+1365534 tests/data/fate/vsynth1-amv.avi
+cd45dca00f94927bb36ade2ea7d1f77e *tests/data/fate/vsynth1-amv.out.rawvideo
+stddev: 10.07 PSNR: 28.06 MAXDIFF: 98 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-asv1 b/tests/ref/fate/vsynth1-asv1
new file mode 100644
index 0000000000..768729e05b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-asv1
@@ -0,0 +1,4 @@
+b4ce4698764ef2328346badb7227ecbe *tests/data/fate/vsynth1-asv1.avi
+1489656 tests/data/fate/vsynth1-asv1.avi
+2dfc5dfc2c1cbbc2543257cd3d2df6af *tests/data/fate/vsynth1-asv1.out.rawvideo
+stddev: 20.00 PSNR: 22.11 MAXDIFF: 158 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-asv2 b/tests/ref/fate/vsynth1-asv2
new file mode 100644
index 0000000000..38c6cefe24
--- /dev/null
+++ b/tests/ref/fate/vsynth1-asv2
@@ -0,0 +1,4 @@
+dfba6eaf58e515e324c2b370bfcd9158 *tests/data/fate/vsynth1-asv2.avi
+1456056 tests/data/fate/vsynth1-asv2.avi
+d451be09793cd0f35b6d91fc36e2571a *tests/data/fate/vsynth1-asv2.out.rawvideo
+stddev: 18.82 PSNR: 22.63 MAXDIFF: 131 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-avui b/tests/ref/fate/vsynth1-avui
new file mode 100644
index 0000000000..810c694813
--- /dev/null
+++ b/tests/ref/fate/vsynth1-avui
@@ -0,0 +1,4 @@
+6eaf08e0e02bccb135b934c5036eac25 *tests/data/fate/vsynth1-avui.mov
+42624903 tests/data/fate/vsynth1-avui.mov
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-avui.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-cljr b/tests/ref/fate/vsynth1-cljr
new file mode 100644
index 0000000000..77d73b210f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-cljr
@@ -0,0 +1,4 @@
+041982e4fa83428c621a127647d47b3f *tests/data/fate/vsynth1-cljr.avi
+5075660 tests/data/fate/vsynth1-cljr.avi
+7bd979b8b397f7bac22a0102c7889452 *tests/data/fate/vsynth1-cljr.out.rawvideo
+stddev: 6.74 PSNR: 31.55 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dnxhd-1080i b/tests/ref/fate/vsynth1-dnxhd-1080i
new file mode 100644
index 0000000000..3a9fd6667f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-1080i
@@ -0,0 +1,4 @@
+027c985483caab9397592bf27477dce1 *tests/data/fate/vsynth1-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth1-dnxhd-1080i.mov
+0c651e840f860592f0d5b66030d9fa32 *tests/data/fate/vsynth1-dnxhd-1080i.out.rawvideo
+stddev: 6.29 PSNR: 32.15 MAXDIFF: 64 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p b/tests/ref/fate/vsynth1-dnxhd-720p
new file mode 100644
index 0000000000..94c28ed2fc
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-720p
@@ -0,0 +1,4 @@
+81f5be451dc18cf8a1d333c7885de60b *tests/data/fate/vsynth1-dnxhd-720p.dnxhd
+2293760 tests/data/fate/vsynth1-dnxhd-720p.dnxhd
+94b21e5e68ccf9471eff74afd0ebe319 *tests/data/fate/vsynth1-dnxhd-720p.out.rawvideo
+stddev: 6.32 PSNR: 32.11 MAXDIFF: 183 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p-10bit b/tests/ref/fate/vsynth1-dnxhd-720p-10bit
new file mode 100644
index 0000000000..a667b9d144
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-720p-10bit
@@ -0,0 +1,4 @@
+b5e24a055af02edec8674333260214fd *tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd
+2293760 tests/data/fate/vsynth1-dnxhd-720p-10bit.dnxhd
+4466ff3d73d01bbe75ea25001d379b63 *tests/data/fate/vsynth1-dnxhd-720p-10bit.out.rawvideo
+stddev: 6.27 PSNR: 32.18 MAXDIFF: 64 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-dnxhd-720p-rd b/tests/ref/fate/vsynth1-dnxhd-720p-rd
new file mode 100644
index 0000000000..1de576a870
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dnxhd-720p-rd
@@ -0,0 +1,4 @@
+1dc6e95925c4f3a230848ec17c02abed *tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
+2293760 tests/data/fate/vsynth1-dnxhd-720p-rd.dnxhd
+02972d2aec120ec1577ec9053d68ae0f *tests/data/fate/vsynth1-dnxhd-720p-rd.out.rawvideo
+stddev: 6.26 PSNR: 32.19 MAXDIFF: 65 bytes: 7603200/ 760320
diff --git a/tests/ref/vsynth1/dnxhd_1080i b/tests/ref/fate/vsynth1-dnxhd_1080i
index f8f6df09bf..f8f6df09bf 100644
--- a/tests/ref/vsynth1/dnxhd_1080i
+++ b/tests/ref/fate/vsynth1-dnxhd_1080i
diff --git a/tests/ref/fate/vsynth1-dv b/tests/ref/fate/vsynth1-dv
new file mode 100644
index 0000000000..d051e8d810
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv
@@ -0,0 +1,4 @@
+4d572f758b55a1756adf9f54132f3b9e *tests/data/fate/vsynth1-dv.dv
+7200000 tests/data/fate/vsynth1-dv.dv
+02ac7cdeab91d4d5621e7ce96dddc498 *tests/data/fate/vsynth1-dv.out.rawvideo
+stddev: 6.90 PSNR: 31.34 MAXDIFF: 76 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dv-411 b/tests/ref/fate/vsynth1-dv-411
new file mode 100644
index 0000000000..bc4b8026a4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv-411
@@ -0,0 +1,4 @@
+f179899efba432c6f01149c36c709092 *tests/data/fate/vsynth1-dv-411.dv
+7200000 tests/data/fate/vsynth1-dv-411.dv
+53946d51762b7826773e681fb02f377b *tests/data/fate/vsynth1-dv-411.out.rawvideo
+stddev: 9.45 PSNR: 28.62 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-dv-50 b/tests/ref/fate/vsynth1-dv-50
new file mode 100644
index 0000000000..e747075b22
--- /dev/null
+++ b/tests/ref/fate/vsynth1-dv-50
@@ -0,0 +1,4 @@
+a193c5f92bf6e74c604e759d5f4f0f94 *tests/data/fate/vsynth1-dv-50.dv
+14400000 tests/data/fate/vsynth1-dv-50.dv
+a2ff093e93ffed10f730fa21df02fc50 *tests/data/fate/vsynth1-dv-50.out.rawvideo
+stddev: 1.72 PSNR: 43.38 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/dv_411 b/tests/ref/fate/vsynth1-dv_411
index c45b593c02..c45b593c02 100644
--- a/tests/ref/vsynth1/dv_411
+++ b/tests/ref/fate/vsynth1-dv_411
diff --git a/tests/ref/fate/vsynth1-ffv1 b/tests/ref/fate/vsynth1-ffv1
new file mode 100644
index 0000000000..ab1a58280b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-ffv1
@@ -0,0 +1,4 @@
+67ddc7edde5cca49290245d881787890 *tests/data/fate/vsynth1-ffv1.avi
+2655376 tests/data/fate/vsynth1-ffv1.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ffv1.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-ffvhuff b/tests/ref/fate/vsynth1-ffvhuff
new file mode 100644
index 0000000000..fc44dffa2b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-ffvhuff
@@ -0,0 +1,4 @@
+0632ffae6f1e06dd299bf41a845b9099 *tests/data/fate/vsynth1-ffvhuff.avi
+5987208 tests/data/fate/vsynth1-ffvhuff.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ffvhuff.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-flashsv b/tests/ref/fate/vsynth1-flashsv
new file mode 100644
index 0000000000..8b2783032b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-flashsv
@@ -0,0 +1,4 @@
+97894502b4cb57aca1105b6333f72dae *tests/data/fate/vsynth1-flashsv.flv
+14681925 tests/data/fate/vsynth1-flashsv.flv
+791e1fb999deb2e4156e2286d48c4ed1 *tests/data/fate/vsynth1-flashsv.out.rawvideo
+stddev: 2.84 PSNR: 39.04 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-flashsv2 b/tests/ref/fate/vsynth1-flashsv2
new file mode 100644
index 0000000000..d21d63f2d6
--- /dev/null
+++ b/tests/ref/fate/vsynth1-flashsv2
@@ -0,0 +1,4 @@
+8d105780bb79915bc36f96f7a754f289 *tests/data/fate/vsynth1-flashsv2.flv
+9371095 tests/data/fate/vsynth1-flashsv2.flv
+efa88d09115a2e947eff00ee435ba3f3 *tests/data/fate/vsynth1-flashsv2.out.rawvideo
+stddev: 3.47 PSNR: 37.31 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-flv b/tests/ref/fate/vsynth1-flv
new file mode 100644
index 0000000000..4b57bdfb5f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-flv
@@ -0,0 +1,4 @@
+d6a80659cedee7698aefe9c4a8285fa4 *tests/data/fate/vsynth1-flv.flv
+636269 tests/data/fate/vsynth1-flv.flv
+5ab46d8dd01dbb1d63df2a84858a4b05 *tests/data/fate/vsynth1-flv.out.rawvideo
+stddev: 8.02 PSNR: 30.04 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-h261 b/tests/ref/fate/vsynth1-h261
new file mode 100644
index 0000000000..be7f80a4a3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-h261
@@ -0,0 +1,4 @@
+d155470b713aeebacb85980b0d5f2ce3 *tests/data/fate/vsynth1-h261.avi
+707588 tests/data/fate/vsynth1-h261.avi
+716e83cb51afb1246bfaa80967df48ea *tests/data/fate/vsynth1-h261.out.rawvideo
+stddev: 9.11 PSNR: 28.93 MAXDIFF: 113 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-h263 b/tests/ref/fate/vsynth1-h263
new file mode 100644
index 0000000000..5d5d28adf0
--- /dev/null
+++ b/tests/ref/fate/vsynth1-h263
@@ -0,0 +1,4 @@
+fb4dc9b9eac2628c56cb82cf332e1f58 *tests/data/fate/vsynth1-h263.avi
+659686 tests/data/fate/vsynth1-h263.avi
+1a1ba9a3a63ec1a1a9585fded0a7c954 *tests/data/fate/vsynth1-h263.out.rawvideo
+stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-h263p b/tests/ref/fate/vsynth1-h263p
new file mode 100644
index 0000000000..9161a1d5cd
--- /dev/null
+++ b/tests/ref/fate/vsynth1-h263p
@@ -0,0 +1,4 @@
+bbcadeceba295e1dad148aea1e57c370 *tests/data/fate/vsynth1-h263p.avi
+2328348 tests/data/fate/vsynth1-h263p.avi
+9554cda00c3487ab3ffda2c3ea22fa2f *tests/data/fate/vsynth1-h263p.out.rawvideo
+stddev: 2.06 PSNR: 41.83 MAXDIFF: 20 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-huffyuv b/tests/ref/fate/vsynth1-huffyuv
new file mode 100644
index 0000000000..3d55c6b3fb
--- /dev/null
+++ b/tests/ref/fate/vsynth1-huffyuv
@@ -0,0 +1,4 @@
+f5f2e109af0612694ff3cd6464063e82 *tests/data/fate/vsynth1-huffyuv.avi
+7933800 tests/data/fate/vsynth1-huffyuv.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-huffyuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-j2k b/tests/ref/fate/vsynth1-j2k
new file mode 100644
index 0000000000..e434db82a1
--- /dev/null
+++ b/tests/ref/fate/vsynth1-j2k
@@ -0,0 +1,4 @@
+8da8ef50cccb9996f4bebbc585c4edb4 *tests/data/fate/vsynth1-j2k.avi
+2306914 tests/data/fate/vsynth1-j2k.avi
+ee9b245b3b07eed90bc6f2147bbd916c *tests/data/fate/vsynth1-j2k.out.rawvideo
+stddev: 5.47 PSNR: 33.37 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-jpegls b/tests/ref/fate/vsynth1-jpegls
new file mode 100644
index 0000000000..de4f1095b0
--- /dev/null
+++ b/tests/ref/fate/vsynth1-jpegls
@@ -0,0 +1,4 @@
+870dceeb6d3931dd68b34f0c33be5d26 *tests/data/fate/vsynth1-jpegls.avi
+9089812 tests/data/fate/vsynth1-jpegls.avi
+791e1fb999deb2e4156e2286d48c4ed1 *tests/data/fate/vsynth1-jpegls.out.rawvideo
+stddev: 2.84 PSNR: 39.04 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-ljpeg b/tests/ref/fate/vsynth1-ljpeg
new file mode 100644
index 0000000000..4f9566740f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-ljpeg
@@ -0,0 +1,4 @@
+9092f306f165b98ab0bb4f576f198ad5 *tests/data/fate/vsynth1-ljpeg.avi
+6312936 tests/data/fate/vsynth1-ljpeg.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-ljpeg.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mjpeg b/tests/ref/fate/vsynth1-mjpeg
new file mode 100644
index 0000000000..e32f452e5d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mjpeg
@@ -0,0 +1,4 @@
+8bbf9513b1822945539f27a6eff3c7fa *tests/data/fate/vsynth1-mjpeg.avi
+1516140 tests/data/fate/vsynth1-mjpeg.avi
+c6ae81b5b896e4d05ff584311aebdb18 *tests/data/fate/vsynth1-mjpeg.out.rawvideo
+stddev: 7.87 PSNR: 30.21 MAXDIFF: 63 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg1 b/tests/ref/fate/vsynth1-mpeg1
new file mode 100644
index 0000000000..5f3d703d68
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg1
@@ -0,0 +1,4 @@
+1428744c6d5835f27506e69be4f837f4 *tests/data/fate/vsynth1-mpeg1.mpeg1video
+712006 tests/data/fate/vsynth1-mpeg1.mpeg1video
+58f0c332bf689117b57fa629a2bc0d2b *tests/data/fate/vsynth1-mpeg1.out.rawvideo
+stddev: 7.62 PSNR: 30.48 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg1b b/tests/ref/fate/vsynth1-mpeg1b
new file mode 100644
index 0000000000..ddd9bef6c2
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg1b
@@ -0,0 +1,4 @@
+777639666b449ab0a7ef260511e40532 *tests/data/fate/vsynth1-mpeg1b.mpeg1video
+1030337 tests/data/fate/vsynth1-mpeg1b.mpeg1video
+91a7fce732b34748e7bf753ebabe2483 *tests/data/fate/vsynth1-mpeg1b.out.rawvideo
+stddev: 6.30 PSNR: 32.13 MAXDIFF: 75 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2 b/tests/ref/fate/vsynth1-mpeg2
new file mode 100644
index 0000000000..1ee3674abc
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2
@@ -0,0 +1,4 @@
+fbddea2368cd2028fc8db4dfd4682e94 *tests/data/fate/vsynth1-mpeg2.mpeg2video
+728044 tests/data/fate/vsynth1-mpeg2.mpeg2video
+b41ca49c1a02e66ce64d262e2cdaec15 *tests/data/fate/vsynth1-mpeg2.out.rawvideo
+stddev: 7.65 PSNR: 30.45 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-422 b/tests/ref/fate/vsynth1-mpeg2-422
new file mode 100644
index 0000000000..5948446899
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-422
@@ -0,0 +1,4 @@
+af0cb75451aaa807beb5102707a98823 *tests/data/fate/vsynth1-mpeg2-422.mpeg2video
+728200 tests/data/fate/vsynth1-mpeg2-422.mpeg2video
+eb7fe83ce09af2d79ec16577c9d44e3c *tests/data/fate/vsynth1-mpeg2-422.out.rawvideo
+stddev: 10.29 PSNR: 27.88 MAXDIFF: 168 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-idct-int b/tests/ref/fate/vsynth1-mpeg2-idct-int
new file mode 100644
index 0000000000..dd72d715b0
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-idct-int
@@ -0,0 +1,4 @@
+4c067397b504d65532d7779cd36f3f88 *tests/data/fate/vsynth1-mpeg2-idct-int.mpeg2video
+725668 tests/data/fate/vsynth1-mpeg2-idct-int.mpeg2video
+8130f71a467315c9e7bd1a25a01dbb23 *tests/data/fate/vsynth1-mpeg2-idct-int.out.rawvideo
+stddev: 7.65 PSNR: 30.45 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-ilace b/tests/ref/fate/vsynth1-mpeg2-ilace
new file mode 100644
index 0000000000..be08c3136b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-ilace
@@ -0,0 +1,4 @@
+ec3f6713c88a2b41f6c369fd64341077 *tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
+737473 tests/data/fate/vsynth1-mpeg2-ilace.mpeg2video
+97615390fdd69abfcbc7e02df863a7d2 *tests/data/fate/vsynth1-mpeg2-ilace.out.rawvideo
+stddev: 7.67 PSNR: 30.43 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd b/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
new file mode 100644
index 0000000000..5ef30cd360
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-ivlc-qprd
@@ -0,0 +1,4 @@
+8f6b20714918e6443e0c03716ed06f0d *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
+783552 tests/data/fate/vsynth1-mpeg2-ivlc-qprd.mpeg2video
+98eb9da15f880978e7f2ee1e7ce476ef *tests/data/fate/vsynth1-mpeg2-ivlc-qprd.out.rawvideo
+stddev: 10.07 PSNR: 28.06 MAXDIFF: 165 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-thread b/tests/ref/fate/vsynth1-mpeg2-thread
new file mode 100644
index 0000000000..55a4fab343
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-thread
@@ -0,0 +1,4 @@
+ecd183706688bd977c9994c3d1b23d61 *tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
+801313 tests/data/fate/vsynth1-mpeg2-thread.mpeg2video
+d1658911ca83f5616c1d32abc40750de *tests/data/fate/vsynth1-mpeg2-thread.out.rawvideo
+stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg2-thread-ivlc b/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
new file mode 100644
index 0000000000..7d040526cd
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg2-thread-ivlc
@@ -0,0 +1,4 @@
+23d600b026222253c2340e23300a4c02 *tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
+791773 tests/data/fate/vsynth1-mpeg2-thread-ivlc.mpeg2video
+d1658911ca83f5616c1d32abc40750de *tests/data/fate/vsynth1-mpeg2-thread-ivlc.out.rawvideo
+stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4 b/tests/ref/fate/vsynth1-mpeg4
new file mode 100644
index 0000000000..988c921236
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4
@@ -0,0 +1,4 @@
+6ea715a2de70af8d37128ce643e4cca0 *tests/data/fate/vsynth1-mpeg4.mp4
+539996 tests/data/fate/vsynth1-mpeg4.mp4
+8828a375448dc5c2215163ba70656f89 *tests/data/fate/vsynth1-mpeg4.out.rawvideo
+stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-adap b/tests/ref/fate/vsynth1-mpeg4-adap
new file mode 100644
index 0000000000..12cd15e6d1
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-adap
@@ -0,0 +1,4 @@
+2d870c0da9ab2231ab5fc06981e70399 *tests/data/fate/vsynth1-mpeg4-adap.avi
+403456 tests/data/fate/vsynth1-mpeg4-adap.avi
+fa2049396479b5f170aa764fed5b2a31 *tests/data/fate/vsynth1-mpeg4-adap.out.rawvideo
+stddev: 14.05 PSNR: 25.17 MAXDIFF: 184 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-adv b/tests/ref/fate/vsynth1-mpeg4-adv
new file mode 100644
index 0000000000..e223d5f92d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-adv
@@ -0,0 +1,4 @@
+7d8eb01fd68d83d62a98585757704d47 *tests/data/fate/vsynth1-mpeg4-adv.avi
+589716 tests/data/fate/vsynth1-mpeg4-adv.avi
+f8b226876b1b2c0b98fd6928fd9adbd8 *tests/data/fate/vsynth1-mpeg4-adv.out.rawvideo
+stddev: 6.98 PSNR: 31.25 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-error b/tests/ref/fate/vsynth1-mpeg4-error
new file mode 100644
index 0000000000..74d5aaa710
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-error
@@ -0,0 +1,4 @@
+7416dfd319f04044d4575dc9d1b406e1 *tests/data/fate/vsynth1-mpeg4-error.avi
+756836 tests/data/fate/vsynth1-mpeg4-error.avi
+79e94ba32b37759397362cbcb479d4d3 *tests/data/fate/vsynth1-mpeg4-error.out.rawvideo
+stddev: 18.36 PSNR: 22.85 MAXDIFF: 243 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-nr b/tests/ref/fate/vsynth1-mpeg4-nr
new file mode 100644
index 0000000000..a83f4fd1d3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-nr
@@ -0,0 +1,4 @@
+c02f54157ba08ca12ad979c6308212ad *tests/data/fate/vsynth1-mpeg4-nr.avi
+675638 tests/data/fate/vsynth1-mpeg4-nr.avi
+d2b89d5958fb7331f6c9e5b7ecaaa5b6 *tests/data/fate/vsynth1-mpeg4-nr.out.rawvideo
+stddev: 6.99 PSNR: 31.23 MAXDIFF: 86 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-qpel b/tests/ref/fate/vsynth1-mpeg4-qpel
new file mode 100644
index 0000000000..254c3ee091
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-qpel
@@ -0,0 +1,4 @@
+3bf17c3d04f52988386ce106a2a58976 *tests/data/fate/vsynth1-mpeg4-qpel.avi
+860678 tests/data/fate/vsynth1-mpeg4-qpel.avi
+756928496245ecc701f79eebeec8e5e6 *tests/data/fate/vsynth1-mpeg4-qpel.out.rawvideo
+stddev: 5.63 PSNR: 33.12 MAXDIFF: 70 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-qprd b/tests/ref/fate/vsynth1-mpeg4-qprd
new file mode 100644
index 0000000000..1a61654608
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-qprd
@@ -0,0 +1,4 @@
+d6b7e724a6ad66ab5e4c5a499218b40d *tests/data/fate/vsynth1-mpeg4-qprd.avi
+710944 tests/data/fate/vsynth1-mpeg4-qprd.avi
+e65f4c7f343fe2bad1cac44b7da5f7c4 *tests/data/fate/vsynth1-mpeg4-qprd.out.rawvideo
+stddev: 9.79 PSNR: 28.31 MAXDIFF: 176 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-rc b/tests/ref/fate/vsynth1-mpeg4-rc
new file mode 100644
index 0000000000..180df10800
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-rc
@@ -0,0 +1,4 @@
+1c6dadf75f60f4ba59a0fe0b6eaedf57 *tests/data/fate/vsynth1-mpeg4-rc.avi
+830160 tests/data/fate/vsynth1-mpeg4-rc.avi
+4d95e340db9bc57a559162c039f3784e *tests/data/fate/vsynth1-mpeg4-rc.out.rawvideo
+stddev: 10.24 PSNR: 27.92 MAXDIFF: 196 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpeg4-thread b/tests/ref/fate/vsynth1-mpeg4-thread
new file mode 100644
index 0000000000..66a5508c2b
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpeg4-thread
@@ -0,0 +1,4 @@
+4f4ea04faad7212374919aa1ec7ff994 *tests/data/fate/vsynth1-mpeg4-thread.avi
+774760 tests/data/fate/vsynth1-mpeg4-thread.avi
+64b96cddf5301990e118978b3a3bcd0d *tests/data/fate/vsynth1-mpeg4-thread.out.rawvideo
+stddev: 10.13 PSNR: 28.02 MAXDIFF: 183 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-mpng b/tests/ref/fate/vsynth1-mpng
new file mode 100644
index 0000000000..875d81b4a6
--- /dev/null
+++ b/tests/ref/fate/vsynth1-mpng
@@ -0,0 +1,4 @@
+a8e7393fa534289eee9319ded7807f99 *tests/data/fate/vsynth1-mpng.avi
+12157242 tests/data/fate/vsynth1-mpng.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-mpng.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-msmpeg4 b/tests/ref/fate/vsynth1-msmpeg4
new file mode 100644
index 0000000000..55fb06d694
--- /dev/null
+++ b/tests/ref/fate/vsynth1-msmpeg4
@@ -0,0 +1,4 @@
+4b08952b0afceb17ee3db31b67f6b778 *tests/data/fate/vsynth1-msmpeg4.avi
+624718 tests/data/fate/vsynth1-msmpeg4.avi
+5ca72c39e3fc5df8e62f223c869589f5 *tests/data/fate/vsynth1-msmpeg4.out.rawvideo
+stddev: 7.98 PSNR: 30.09 MAXDIFF: 104 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-msmpeg4v2 b/tests/ref/fate/vsynth1-msmpeg4v2
new file mode 100644
index 0000000000..839078a56d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-msmpeg4v2
@@ -0,0 +1,4 @@
+88957e35efcc718bce0307627ad3298d *tests/data/fate/vsynth1-msmpeg4v2.avi
+623788 tests/data/fate/vsynth1-msmpeg4v2.avi
+c6ff1041a0ef62c2a2e5ef519e5e94c4 *tests/data/fate/vsynth1-msmpeg4v2.out.rawvideo
+stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-msvideo1 b/tests/ref/fate/vsynth1-msvideo1
new file mode 100644
index 0000000000..9beb739afe
--- /dev/null
+++ b/tests/ref/fate/vsynth1-msvideo1
@@ -0,0 +1,4 @@
+37aa67b5928794534cb6a268d4adf48c *tests/data/fate/vsynth1-msvideo1.avi
+2162264 tests/data/fate/vsynth1-msvideo1.avi
+c0665fac1bd896b6fe7fe0eead805bd5 *tests/data/fate/vsynth1-msvideo1.out.rawvideo
+stddev: 11.80 PSNR: 26.69 MAXDIFF: 151 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-prores b/tests/ref/fate/vsynth1-prores
new file mode 100644
index 0000000000..1df41d67b4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-prores
@@ -0,0 +1,4 @@
+31159cc9d1693bc66ad7a3083c48bcc4 *tests/data/fate/vsynth1-prores.mov
+5022811 tests/data/fate/vsynth1-prores.mov
+a2e2d1d45341a94ff994d1d92629f778 *tests/data/fate/vsynth1-prores.out.rawvideo
+stddev: 2.47 PSNR: 40.27 MAXDIFF: 31 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-prores_kostya b/tests/ref/fate/vsynth1-prores_kostya
new file mode 100644
index 0000000000..c9350e9135
--- /dev/null
+++ b/tests/ref/fate/vsynth1-prores_kostya
@@ -0,0 +1,4 @@
+f8fe98b7f9bb66857c81dbca409a9037 *tests/data/fate/vsynth1-prores_kostya.mov
+3858901 tests/data/fate/vsynth1-prores_kostya.mov
+0a4153637d0cc0a88a8bcbf04cfaf8c6 *tests/data/fate/vsynth1-prores_kostya.out.rawvideo
+stddev: 3.17 PSNR: 38.09 MAXDIFF: 39 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-qtrle b/tests/ref/fate/vsynth1-qtrle
new file mode 100644
index 0000000000..8c12699ea3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-qtrle
@@ -0,0 +1,4 @@
+9c6ee876369fceac1ff2478a0225bc9b *tests/data/fate/vsynth1-qtrle.mov
+15263148 tests/data/fate/vsynth1-qtrle.mov
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-qtrle.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-qtrlegray b/tests/ref/fate/vsynth1-qtrlegray
new file mode 100644
index 0000000000..3fe3e30378
--- /dev/null
+++ b/tests/ref/fate/vsynth1-qtrlegray
@@ -0,0 +1,4 @@
+dfb185e38b3557eca0ead72d57ca48f8 *tests/data/fate/vsynth1-qtrlegray.mov
+5113284 tests/data/fate/vsynth1-qtrlegray.mov
+29def4aed035ed65d3a89f7d382fccbe *tests/data/fate/vsynth1-qtrlegray.out.rawvideo
+stddev: 25.95 PSNR: 19.85 MAXDIFF: 122 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-r210 b/tests/ref/fate/vsynth1-r210
new file mode 100644
index 0000000000..68cdac8fb3
--- /dev/null
+++ b/tests/ref/fate/vsynth1-r210
@@ -0,0 +1,4 @@
+604a34c9f9151891c2d63d2652b75329 *tests/data/fate/vsynth1-r210.avi
+22125260 tests/data/fate/vsynth1-r210.avi
+ecaafa9eec11b5e1453a63ed6d194eed *tests/data/fate/vsynth1-r210.out.rawvideo
+stddev: 3.23 PSNR: 37.94 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-rgb b/tests/ref/fate/vsynth1-rgb
new file mode 100644
index 0000000000..94e11e99b1
--- /dev/null
+++ b/tests/ref/fate/vsynth1-rgb
@@ -0,0 +1,4 @@
+05f0719cb52486d9a4beb9cfae3f2571 *tests/data/fate/vsynth1-rgb.avi
+15213260 tests/data/fate/vsynth1-rgb.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-rgb.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-roqvideo b/tests/ref/fate/vsynth1-roqvideo
new file mode 100644
index 0000000000..5adba69490
--- /dev/null
+++ b/tests/ref/fate/vsynth1-roqvideo
@@ -0,0 +1,4 @@
+cf8b7b0e539bab3169c234ca63d71dd8 *tests/data/fate/vsynth1-roqvideo.roq
+101671 tests/data/fate/vsynth1-roqvideo.roq
+0ad983c291b1ed373645c5b12a108c61 *tests/data/fate/vsynth1-roqvideo.out.rawvideo
+stddev: 7.74 PSNR: 30.35 MAXDIFF: 89 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth1-rv10 b/tests/ref/fate/vsynth1-rv10
new file mode 100644
index 0000000000..234015f46d
--- /dev/null
+++ b/tests/ref/fate/vsynth1-rv10
@@ -0,0 +1,4 @@
+4d7e82de72a83905cf84b8abc3e70b8f *tests/data/fate/vsynth1-rv10.rm
+653905 tests/data/fate/vsynth1-rv10.rm
+1a1ba9a3a63ec1a1a9585fded0a7c954 *tests/data/fate/vsynth1-rv10.out.rawvideo
+stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-rv20 b/tests/ref/fate/vsynth1-rv20
new file mode 100644
index 0000000000..abcc4a1f7a
--- /dev/null
+++ b/tests/ref/fate/vsynth1-rv20
@@ -0,0 +1,4 @@
+81868601e602eee5b6d80f5ece4aaa98 *tests/data/fate/vsynth1-rv20.rm
+646016 tests/data/fate/vsynth1-rv20.rm
+b45fdb0201b06f7649f44050e262c54c *tests/data/fate/vsynth1-rv20.out.rawvideo
+stddev: 8.26 PSNR: 29.79 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-snow b/tests/ref/fate/vsynth1-snow
new file mode 100644
index 0000000000..0b47513158
--- /dev/null
+++ b/tests/ref/fate/vsynth1-snow
@@ -0,0 +1,4 @@
+d593b3c1a9729ce6dd1721f58fa93712 *tests/data/fate/vsynth1-snow.avi
+136088 tests/data/fate/vsynth1-snow.avi
+91021b7d6d7908648fe78cc1975af8c4 *tests/data/fate/vsynth1-snow.out.rawvideo
+stddev: 22.77 PSNR: 20.98 MAXDIFF: 172 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-snow-ll b/tests/ref/fate/vsynth1-snow-ll
new file mode 100644
index 0000000000..fdc5046fb4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-snow-ll
@@ -0,0 +1,4 @@
+6d29e8c06a645cdee45073c4f3d0004e *tests/data/fate/vsynth1-snow-ll.avi
+3419980 tests/data/fate/vsynth1-snow-ll.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-snow-ll.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-svq1 b/tests/ref/fate/vsynth1-svq1
new file mode 100644
index 0000000000..0c40dbd4b2
--- /dev/null
+++ b/tests/ref/fate/vsynth1-svq1
@@ -0,0 +1,4 @@
+4654e7af0d4aa58c3db1eb145e278038 *tests/data/fate/vsynth1-svq1.mov
+1334223 tests/data/fate/vsynth1-svq1.mov
+9cc35c54b2c77d36bd7e308b393c1f81 *tests/data/fate/vsynth1-svq1.out.rawvideo
+stddev: 9.58 PSNR: 28.50 MAXDIFF: 210 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-v210 b/tests/ref/fate/vsynth1-v210
new file mode 100644
index 0000000000..5248676d05
--- /dev/null
+++ b/tests/ref/fate/vsynth1-v210
@@ -0,0 +1,4 @@
+dd6c870a2a52c9e75ce61c3670e710e7 *tests/data/fate/vsynth1-v210.avi
+14752460 tests/data/fate/vsynth1-v210.avi
+50973792d3f1abe04a51ee0121f077f2 *tests/data/fate/vsynth1-v210.out.rawvideo
+stddev: 1.85 PSNR: 42.78 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-v308 b/tests/ref/fate/vsynth1-v308
new file mode 100644
index 0000000000..137dcf9737
--- /dev/null
+++ b/tests/ref/fate/vsynth1-v308
@@ -0,0 +1,4 @@
+8d5f2065ce6547acc51041a679b7d6c4 *tests/data/fate/vsynth1-v308.avi
+15213260 tests/data/fate/vsynth1-v308.avi
+10fb42f1abf40a289c3edafc0390482c *tests/data/fate/vsynth1-v308.out.rawvideo
+stddev: 2.67 PSNR: 39.60 MAXDIFF: 43 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-v408 b/tests/ref/fate/vsynth1-v408
new file mode 100644
index 0000000000..c7f414cbd4
--- /dev/null
+++ b/tests/ref/fate/vsynth1-v408
@@ -0,0 +1,4 @@
+98057c4d5ce12a1b1b3ca15839f47c95 *tests/data/fate/vsynth1-v408.avi
+20282060 tests/data/fate/vsynth1-v408.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-v408.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-wmv1 b/tests/ref/fate/vsynth1-wmv1
new file mode 100644
index 0000000000..d487e4ef3f
--- /dev/null
+++ b/tests/ref/fate/vsynth1-wmv1
@@ -0,0 +1,4 @@
+4f3461315776e5118866fa3819cff9b6 *tests/data/fate/vsynth1-wmv1.avi
+626908 tests/data/fate/vsynth1-wmv1.avi
+5182edba5b5e0354b39ce4f3604b62da *tests/data/fate/vsynth1-wmv1.out.rawvideo
+stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-wmv2 b/tests/ref/fate/vsynth1-wmv2
new file mode 100644
index 0000000000..14304dd6dd
--- /dev/null
+++ b/tests/ref/fate/vsynth1-wmv2
@@ -0,0 +1,4 @@
+13efda9d3811345aadc0632fc9a9332b *tests/data/fate/vsynth1-wmv2.avi
+659852 tests/data/fate/vsynth1-wmv2.avi
+5182edba5b5e0354b39ce4f3604b62da *tests/data/fate/vsynth1-wmv2.out.rawvideo
+stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-y41p b/tests/ref/fate/vsynth1-y41p
new file mode 100644
index 0000000000..d2147f6f81
--- /dev/null
+++ b/tests/ref/fate/vsynth1-y41p
@@ -0,0 +1,4 @@
+70bbcb52acac0a3cb3217719669a8242 *tests/data/fate/vsynth1-y41p.avi
+7610060 tests/data/fate/vsynth1-y41p.avi
+3aef1d83732a3f9835ee2523a11c95c1 *tests/data/fate/vsynth1-y41p.out.rawvideo
+stddev: 5.98 PSNR: 32.59 MAXDIFF: 87 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-yuv b/tests/ref/fate/vsynth1-yuv
new file mode 100644
index 0000000000..5dc29aa255
--- /dev/null
+++ b/tests/ref/fate/vsynth1-yuv
@@ -0,0 +1,4 @@
+eaa66c3b27a2602e882befe154a8b119 *tests/data/fate/vsynth1-yuv.avi
+7610060 tests/data/fate/vsynth1-yuv.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-yuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-yuv4 b/tests/ref/fate/vsynth1-yuv4
new file mode 100644
index 0000000000..5b7b925736
--- /dev/null
+++ b/tests/ref/fate/vsynth1-yuv4
@@ -0,0 +1,4 @@
+e0d593eb635432f421b93224e425ee03 *tests/data/fate/vsynth1-yuv4.avi
+7610060 tests/data/fate/vsynth1-yuv4.avi
+c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-yuv4.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-zlib b/tests/ref/fate/vsynth1-zlib
new file mode 100644
index 0000000000..068f15448a
--- /dev/null
+++ b/tests/ref/fate/vsynth1-zlib
@@ -0,0 +1,4 @@
+fe4983e551b48dc555e1aeaf628f649f *tests/data/fate/vsynth1-zlib.avi
+12108644 tests/data/fate/vsynth1-zlib.avi
+93695a27c24a61105076ca7b1f010bbd *tests/data/fate/vsynth1-zlib.out.rawvideo
+stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth1-zmbv b/tests/ref/fate/vsynth1-zmbv
new file mode 100644
index 0000000000..c608c4bb36
--- /dev/null
+++ b/tests/ref/fate/vsynth1-zmbv
@@ -0,0 +1,4 @@
+09bae55394f86ddb9e5c3254b174f865 *tests/data/fate/vsynth1-zmbv.avi
+2285442 tests/data/fate/vsynth1-zmbv.avi
+4ad1ca9de7c65eab68a619c54fffaec8 *tests/data/fate/vsynth1-zmbv.out.rawvideo
+stddev: 8.61 PSNR: 29.43 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-amv b/tests/ref/fate/vsynth2-amv
new file mode 100644
index 0000000000..fa0672d654
--- /dev/null
+++ b/tests/ref/fate/vsynth2-amv
@@ -0,0 +1,4 @@
+816a4226fe7640a835139f8a44286a12 *tests/data/fate/vsynth2-amv.avi
+761976 tests/data/fate/vsynth2-amv.avi
+4f8991a2b25c90f44b18c4b83eb0090d *tests/data/fate/vsynth2-amv.out.rawvideo
+stddev: 4.30 PSNR: 35.46 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-asv1 b/tests/ref/fate/vsynth2-asv1
new file mode 100644
index 0000000000..702244e5f8
--- /dev/null
+++ b/tests/ref/fate/vsynth2-asv1
@@ -0,0 +1,4 @@
+4eb34d2de25f67a2706456e999338fe9 *tests/data/fate/vsynth2-asv1.avi
+832512 tests/data/fate/vsynth2-asv1.avi
+c96ff7fd17c52f99ddb7922a4cb9168f *tests/data/fate/vsynth2-asv1.out.rawvideo
+stddev: 10.47 PSNR: 27.73 MAXDIFF: 98 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-asv2 b/tests/ref/fate/vsynth2-asv2
new file mode 100644
index 0000000000..8f6f617e9b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-asv2
@@ -0,0 +1,4 @@
+9649a4b68fb1107bad13e8a7574cc72d *tests/data/fate/vsynth2-asv2.avi
+789072 tests/data/fate/vsynth2-asv2.avi
+74a78015b64b2cf8cb9da2e44f508a69 *tests/data/fate/vsynth2-asv2.out.rawvideo
+stddev: 10.28 PSNR: 27.89 MAXDIFF: 95 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-avui b/tests/ref/fate/vsynth2-avui
new file mode 100644
index 0000000000..f24023cc31
--- /dev/null
+++ b/tests/ref/fate/vsynth2-avui
@@ -0,0 +1,4 @@
+3f7c7bb5eba0006feb727badcad2b9bd *tests/data/fate/vsynth2-avui.mov
+42624903 tests/data/fate/vsynth2-avui.mov
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-avui.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-cljr b/tests/ref/fate/vsynth2-cljr
new file mode 100644
index 0000000000..ae131856ed
--- /dev/null
+++ b/tests/ref/fate/vsynth2-cljr
@@ -0,0 +1,4 @@
+fdc1926e0a599de94513f0a3472b598f *tests/data/fate/vsynth2-cljr.avi
+5075660 tests/data/fate/vsynth2-cljr.avi
+965c4a134144b30b24d6d138b03ddb8c *tests/data/fate/vsynth2-cljr.out.rawvideo
+stddev: 3.29 PSNR: 37.76 MAXDIFF: 23 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dnxhd-1080i b/tests/ref/fate/vsynth2-dnxhd-1080i
new file mode 100644
index 0000000000..ba5bc85add
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-1080i
@@ -0,0 +1,4 @@
+204e80f2e406ada90fca596ab2810b3e *tests/data/fate/vsynth2-dnxhd-1080i.mov
+3031911 tests/data/fate/vsynth2-dnxhd-1080i.mov
+3c559af629ae0a8fb1a9a0e4b4da7733 *tests/data/fate/vsynth2-dnxhd-1080i.out.rawvideo
+stddev: 1.31 PSNR: 45.77 MAXDIFF: 23 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p b/tests/ref/fate/vsynth2-dnxhd-720p
new file mode 100644
index 0000000000..afc6fde333
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-720p
@@ -0,0 +1,4 @@
+58e07cc6ae0a2d36787044d0e82708a6 *tests/data/fate/vsynth2-dnxhd-720p.dnxhd
+2293760 tests/data/fate/vsynth2-dnxhd-720p.dnxhd
+ab601eaafef74d80d3d20b780dddd836 *tests/data/fate/vsynth2-dnxhd-720p.out.rawvideo
+stddev: 1.36 PSNR: 45.45 MAXDIFF: 127 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p-10bit b/tests/ref/fate/vsynth2-dnxhd-720p-10bit
new file mode 100644
index 0000000000..f087c133b1
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-720p-10bit
@@ -0,0 +1,4 @@
+4b57da2c0c1280469ff3579f7151c227 *tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd
+2293760 tests/data/fate/vsynth2-dnxhd-720p-10bit.dnxhd
+31a6aa8b8702e85fa3b48e73f035c4e4 *tests/data/fate/vsynth2-dnxhd-720p-10bit.out.rawvideo
+stddev: 1.35 PSNR: 45.46 MAXDIFF: 23 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-dnxhd-720p-rd b/tests/ref/fate/vsynth2-dnxhd-720p-rd
new file mode 100644
index 0000000000..c1b8f9630d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dnxhd-720p-rd
@@ -0,0 +1,4 @@
+092ffb7b8cf3c11556bb05dbb8b476ac *tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
+2293760 tests/data/fate/vsynth2-dnxhd-720p-rd.dnxhd
+33547ca318acff9448cba719cb99296d *tests/data/fate/vsynth2-dnxhd-720p-rd.out.rawvideo
+stddev: 1.32 PSNR: 45.66 MAXDIFF: 22 bytes: 7603200/ 760320
diff --git a/tests/ref/vsynth2/dnxhd_1080i b/tests/ref/fate/vsynth2-dnxhd_1080i
index 81ecc5eb44..81ecc5eb44 100644
--- a/tests/ref/vsynth2/dnxhd_1080i
+++ b/tests/ref/fate/vsynth2-dnxhd_1080i
diff --git a/tests/ref/fate/vsynth2-dv b/tests/ref/fate/vsynth2-dv
new file mode 100644
index 0000000000..0d1465cfc7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv
@@ -0,0 +1,4 @@
+85b8d55b0b68bb3fc2e90babb580f9b7 *tests/data/fate/vsynth2-dv.dv
+7200000 tests/data/fate/vsynth2-dv.dv
+7ec62bd3350a6848364669e6e1e4b9cc *tests/data/fate/vsynth2-dv.out.rawvideo
+stddev: 1.71 PSNR: 43.47 MAXDIFF: 33 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dv-411 b/tests/ref/fate/vsynth2-dv-411
new file mode 100644
index 0000000000..d0e6d291ba
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv-411
@@ -0,0 +1,4 @@
+e428508f400327aeb96969c08fb9e1b5 *tests/data/fate/vsynth2-dv-411.dv
+7200000 tests/data/fate/vsynth2-dv-411.dv
+3cd4b85065d67bfb7fbab3bea4039711 *tests/data/fate/vsynth2-dv-411.out.rawvideo
+stddev: 2.89 PSNR: 38.91 MAXDIFF: 45 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-dv-50 b/tests/ref/fate/vsynth2-dv-50
new file mode 100644
index 0000000000..c5ac608aa2
--- /dev/null
+++ b/tests/ref/fate/vsynth2-dv-50
@@ -0,0 +1,4 @@
+0032a07167199e6f49e07fa7ed4d5f62 *tests/data/fate/vsynth2-dv-50.dv
+14400000 tests/data/fate/vsynth2-dv-50.dv
+af3f2dd5ab62c1a1d98b07d4aeb6852f *tests/data/fate/vsynth2-dv-50.out.rawvideo
+stddev: 0.82 PSNR: 49.82 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/dv_411 b/tests/ref/fate/vsynth2-dv_411
index 708ac889f6..708ac889f6 100644
--- a/tests/ref/vsynth2/dv_411
+++ b/tests/ref/fate/vsynth2-dv_411
diff --git a/tests/ref/fate/vsynth2-ffv1 b/tests/ref/fate/vsynth2-ffv1
new file mode 100644
index 0000000000..0a6b1841dd
--- /dev/null
+++ b/tests/ref/fate/vsynth2-ffv1
@@ -0,0 +1,4 @@
+d72b0960e162d4998b9acbabb07e99ab *tests/data/fate/vsynth2-ffv1.avi
+3525804 tests/data/fate/vsynth2-ffv1.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-ffv1.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-ffvhuff b/tests/ref/fate/vsynth2-ffvhuff
new file mode 100644
index 0000000000..ac58147d91
--- /dev/null
+++ b/tests/ref/fate/vsynth2-ffvhuff
@@ -0,0 +1,4 @@
+63926d8835dd5779dca0a4bc081ca8ae *tests/data/fate/vsynth2-ffvhuff.avi
+4988056 tests/data/fate/vsynth2-ffvhuff.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-ffvhuff.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-flashsv b/tests/ref/fate/vsynth2-flashsv
new file mode 100644
index 0000000000..e44fa8fc42
--- /dev/null
+++ b/tests/ref/fate/vsynth2-flashsv
@@ -0,0 +1,4 @@
+0667077971e0cb63b5f49c580006e90e *tests/data/fate/vsynth2-flashsv.flv
+12368953 tests/data/fate/vsynth2-flashsv.flv
+3a984506f1ebfc9fb73b6814cab201cc *tests/data/fate/vsynth2-flashsv.out.rawvideo
+stddev: 0.66 PSNR: 51.73 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-flashsv2 b/tests/ref/fate/vsynth2-flashsv2
new file mode 100644
index 0000000000..0ccfb9126f
--- /dev/null
+++ b/tests/ref/fate/vsynth2-flashsv2
@@ -0,0 +1,4 @@
+3f4a7454fa664896ac7532e3551c4071 *tests/data/fate/vsynth2-flashsv2.flv
+9293862 tests/data/fate/vsynth2-flashsv2.flv
+8f63e24049ba1789a7f8353c695a3d99 *tests/data/fate/vsynth2-flashsv2.out.rawvideo
+stddev: 2.39 PSNR: 40.55 MAXDIFF: 21 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-flv b/tests/ref/fate/vsynth2-flv
new file mode 100644
index 0000000000..6864a1ba40
--- /dev/null
+++ b/tests/ref/fate/vsynth2-flv
@@ -0,0 +1,4 @@
+2edc92093d36506bcc0a5c0e17e86113 *tests/data/fate/vsynth2-flv.flv
+131360 tests/data/fate/vsynth2-flv.flv
+8999c8264fb0941561f64c4a736e9d88 *tests/data/fate/vsynth2-flv.out.rawvideo
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-h261 b/tests/ref/fate/vsynth2-h261
new file mode 100644
index 0000000000..908e670ce2
--- /dev/null
+++ b/tests/ref/fate/vsynth2-h261
@@ -0,0 +1,4 @@
+dfd005d4c9030a0dc889c828a6408b9c *tests/data/fate/vsynth2-h261.avi
+191086 tests/data/fate/vsynth2-h261.avi
+db7ceff174823b98834faa2320ca89ac *tests/data/fate/vsynth2-h261.out.rawvideo
+stddev: 6.37 PSNR: 32.03 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-h263 b/tests/ref/fate/vsynth2-h263
new file mode 100644
index 0000000000..46169d7631
--- /dev/null
+++ b/tests/ref/fate/vsynth2-h263
@@ -0,0 +1,4 @@
+9a368687ab34c48079f11a202839a6bc *tests/data/fate/vsynth2-h263.avi
+160106 tests/data/fate/vsynth2-h263.avi
+61213b91b359697ebcefb9e0a53ac54a *tests/data/fate/vsynth2-h263.out.rawvideo
+stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-h263p b/tests/ref/fate/vsynth2-h263p
new file mode 100644
index 0000000000..6e45957fa7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-h263p
@@ -0,0 +1,4 @@
+c7644d40e9f40bbd98e5a978f9f94bb4 *tests/data/fate/vsynth2-h263p.avi
+868018 tests/data/fate/vsynth2-h263p.avi
+4b0ee791f280029dc03c528f76f195d4 *tests/data/fate/vsynth2-h263p.out.rawvideo
+stddev: 1.91 PSNR: 42.50 MAXDIFF: 19 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-huffyuv b/tests/ref/fate/vsynth2-huffyuv
new file mode 100644
index 0000000000..d94cbd6bc7
--- /dev/null
+++ b/tests/ref/fate/vsynth2-huffyuv
@@ -0,0 +1,4 @@
+ed66182be0d515e8b6cb970ad63162da *tests/data/fate/vsynth2-huffyuv.avi
+6455232 tests/data/fate/vsynth2-huffyuv.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-huffyuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-j2k b/tests/ref/fate/vsynth2-j2k
new file mode 100644
index 0000000000..1ad4482be0
--- /dev/null
+++ b/tests/ref/fate/vsynth2-j2k
@@ -0,0 +1,4 @@
+b30dc1851c0fb37726d977ec1d5ad527 *tests/data/fate/vsynth2-j2k.avi
+1151156 tests/data/fate/vsynth2-j2k.avi
+ec5218eec33a021945c28c72093382a5 *tests/data/fate/vsynth2-j2k.out.rawvideo
+stddev: 4.54 PSNR: 34.99 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-jpegls b/tests/ref/fate/vsynth2-jpegls
new file mode 100644
index 0000000000..728d54fceb
--- /dev/null
+++ b/tests/ref/fate/vsynth2-jpegls
@@ -0,0 +1,4 @@
+8a94dc94b6df8bdde9a639246351d816 *tests/data/fate/vsynth2-jpegls.avi
+8334630 tests/data/fate/vsynth2-jpegls.avi
+3a984506f1ebfc9fb73b6814cab201cc *tests/data/fate/vsynth2-jpegls.out.rawvideo
+stddev: 0.66 PSNR: 51.73 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-ljpeg b/tests/ref/fate/vsynth2-ljpeg
new file mode 100644
index 0000000000..529b790be1
--- /dev/null
+++ b/tests/ref/fate/vsynth2-ljpeg
@@ -0,0 +1,4 @@
+554a4a6a5a9058c588f8bf2de405bc70 *tests/data/fate/vsynth2-ljpeg.avi
+4766914 tests/data/fate/vsynth2-ljpeg.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-ljpeg.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mjpeg b/tests/ref/fate/vsynth2-mjpeg
new file mode 100644
index 0000000000..e7649fff6d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mjpeg
@@ -0,0 +1,4 @@
+89df32b46c977fb4cb140ec6c489dd76 *tests/data/fate/vsynth2-mjpeg.avi
+673224 tests/data/fate/vsynth2-mjpeg.avi
+a96a4e15ffcb13e44360df642d049496 *tests/data/fate/vsynth2-mjpeg.out.rawvideo
+stddev: 4.32 PSNR: 35.40 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg1 b/tests/ref/fate/vsynth2-mpeg1
new file mode 100644
index 0000000000..a9759732fc
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg1
@@ -0,0 +1,4 @@
+73ca6f1deab02d1d67a0e8495c026a9e *tests/data/fate/vsynth2-mpeg1.mpeg1video
+192783 tests/data/fate/vsynth2-mpeg1.mpeg1video
+56147e94b12f08df7213e610e177823d *tests/data/fate/vsynth2-mpeg1.out.rawvideo
+stddev: 4.95 PSNR: 34.22 MAXDIFF: 57 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg1b b/tests/ref/fate/vsynth2-mpeg1b
new file mode 100644
index 0000000000..4b92ac570a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg1b
@@ -0,0 +1,4 @@
+e026a2fef80c9679776d2b5c8be09338 *tests/data/fate/vsynth2-mpeg1b.mpeg1video
+225198 tests/data/fate/vsynth2-mpeg1b.mpeg1video
+1150495f4bd487486ee53326c42d0bb8 *tests/data/fate/vsynth2-mpeg1b.out.rawvideo
+stddev: 4.10 PSNR: 35.86 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2 b/tests/ref/fate/vsynth2-mpeg2
new file mode 100644
index 0000000000..a2a2ca6f9a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2
@@ -0,0 +1,4 @@
+2d55ce623a7be4e8136f80266e487678 *tests/data/fate/vsynth2-mpeg2.mpeg2video
+198667 tests/data/fate/vsynth2-mpeg2.mpeg2video
+b7cae8a1f751b821cddcbe4d5dbc518c *tests/data/fate/vsynth2-mpeg2.out.rawvideo
+stddev: 4.96 PSNR: 34.20 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-422 b/tests/ref/fate/vsynth2-mpeg2-422
new file mode 100644
index 0000000000..2405cf0c8e
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-422
@@ -0,0 +1,4 @@
+2c8e33c2d2efab86fc16a195f6877682 *tests/data/fate/vsynth2-mpeg2-422.mpeg2video
+356124 tests/data/fate/vsynth2-mpeg2-422.mpeg2video
+df6e54e2d8a4feb8382029286857ca6d *tests/data/fate/vsynth2-mpeg2-422.out.rawvideo
+stddev: 3.16 PSNR: 38.13 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-idct-int b/tests/ref/fate/vsynth2-mpeg2-idct-int
new file mode 100644
index 0000000000..83874b14d8
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-idct-int
@@ -0,0 +1,4 @@
+f979bcca866e6e4cad5dc6cb06e56cfb *tests/data/fate/vsynth2-mpeg2-idct-int.mpeg2video
+198041 tests/data/fate/vsynth2-mpeg2-idct-int.mpeg2video
+92794e70e4a19a494f10efe353d9895d *tests/data/fate/vsynth2-mpeg2-idct-int.out.rawvideo
+stddev: 4.97 PSNR: 34.19 MAXDIFF: 58 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-ilace b/tests/ref/fate/vsynth2-mpeg2-ilace
new file mode 100644
index 0000000000..e488bc545b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-ilace
@@ -0,0 +1,4 @@
+f90197a8b6e62ae25f82625337f27240 *tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
+204579 tests/data/fate/vsynth2-mpeg2-ilace.mpeg2video
+ea5057b60146c06d40449cdfc686bf13 *tests/data/fate/vsynth2-mpeg2-ilace.out.rawvideo
+stddev: 4.98 PSNR: 34.18 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-ivlc-qprd b/tests/ref/fate/vsynth2-mpeg2-ivlc-qprd
new file mode 100644
index 0000000000..30e129bafa
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-ivlc-qprd
@@ -0,0 +1,4 @@
+1ba5efeb53fab7b4b71edc96d86f6c91 *tests/data/fate/vsynth2-mpeg2-ivlc-qprd.mpeg2video
+244694 tests/data/fate/vsynth2-mpeg2-ivlc-qprd.mpeg2video
+b26e21599dee48a174bdbc40b2817e55 *tests/data/fate/vsynth2-mpeg2-ivlc-qprd.out.rawvideo
+stddev: 4.15 PSNR: 35.76 MAXDIFF: 74 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-thread b/tests/ref/fate/vsynth2-mpeg2-thread
new file mode 100644
index 0000000000..f43cdbc72d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-thread
@@ -0,0 +1,4 @@
+889c754a42d7689b228853e1ece6d345 *tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
+179650 tests/data/fate/vsynth2-mpeg2-thread.mpeg2video
+8c6a7ed2eb73bd18fd2bb9829464100d *tests/data/fate/vsynth2-mpeg2-thread.out.rawvideo
+stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg2-thread-ivlc b/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
new file mode 100644
index 0000000000..2c42a21bab
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg2-thread-ivlc
@@ -0,0 +1,4 @@
+10b900e32809758857c596d56746e00e *tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
+178801 tests/data/fate/vsynth2-mpeg2-thread-ivlc.mpeg2video
+8c6a7ed2eb73bd18fd2bb9829464100d *tests/data/fate/vsynth2-mpeg2-thread-ivlc.out.rawvideo
+stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4 b/tests/ref/fate/vsynth2-mpeg4
new file mode 100644
index 0000000000..9e81c17796
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4
@@ -0,0 +1,4 @@
+051ff85797971b9047723044eaec07be *tests/data/fate/vsynth2-mpeg4.mp4
+119649 tests/data/fate/vsynth2-mpeg4.mp4
+90a3577850239083a9042bef33c50e85 *tests/data/fate/vsynth2-mpeg4.out.rawvideo
+stddev: 5.34 PSNR: 33.57 MAXDIFF: 83 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-adap b/tests/ref/fate/vsynth2-mpeg4-adap
new file mode 100644
index 0000000000..d2f3bd19fc
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-adap
@@ -0,0 +1,4 @@
+547e1849dcf910935ff6383ca49e5706 *tests/data/fate/vsynth2-mpeg4-adap.avi
+198510 tests/data/fate/vsynth2-mpeg4-adap.avi
+4affb83f6adc94f31024b4f9e0168945 *tests/data/fate/vsynth2-mpeg4-adap.out.rawvideo
+stddev: 3.75 PSNR: 36.65 MAXDIFF: 71 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-adv b/tests/ref/fate/vsynth2-mpeg4-adv
new file mode 100644
index 0000000000..6d7d507a4b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-adv
@@ -0,0 +1,4 @@
+dee7be19486a76d96c88d18eefba8f86 *tests/data/fate/vsynth2-mpeg4-adv.avi
+141546 tests/data/fate/vsynth2-mpeg4-adv.avi
+3f3a21e9db85a9c0f7022f557a5374c1 *tests/data/fate/vsynth2-mpeg4-adv.out.rawvideo
+stddev: 4.94 PSNR: 34.25 MAXDIFF: 69 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-error b/tests/ref/fate/vsynth2-mpeg4-error
new file mode 100644
index 0000000000..a3f4453704
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-error
@@ -0,0 +1,4 @@
+90e65096aa9ebafa3fe3f44a5a47cdc4 *tests/data/fate/vsynth2-mpeg4-error.avi
+176588 tests/data/fate/vsynth2-mpeg4-error.avi
+96baa9e4c24c837a3ba5abd8dd2cdd30 *tests/data/fate/vsynth2-mpeg4-error.out.rawvideo
+stddev: 8.98 PSNR: 29.06 MAXDIFF: 184 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-nr b/tests/ref/fate/vsynth2-mpeg4-nr
new file mode 100644
index 0000000000..752b504582
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-nr
@@ -0,0 +1,4 @@
+c41187c99588fb7229ad330b2f80d28b *tests/data/fate/vsynth2-mpeg4-nr.avi
+155044 tests/data/fate/vsynth2-mpeg4-nr.avi
+f7fc191308679f709405e62271f5c65f *tests/data/fate/vsynth2-mpeg4-nr.out.rawvideo
+stddev: 4.73 PSNR: 34.63 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-qpel b/tests/ref/fate/vsynth2-mpeg4-qpel
new file mode 100644
index 0000000000..3cba30d01f
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-qpel
@@ -0,0 +1,4 @@
+7680d2e7d34399dfdfb8a49cf1e10239 *tests/data/fate/vsynth2-mpeg4-qpel.avi
+163688 tests/data/fate/vsynth2-mpeg4-qpel.avi
+26dc7c78955fa678fbf150e236eb5627 *tests/data/fate/vsynth2-mpeg4-qpel.out.rawvideo
+stddev: 3.97 PSNR: 36.14 MAXDIFF: 54 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-qprd b/tests/ref/fate/vsynth2-mpeg4-qprd
new file mode 100644
index 0000000000..87f5e02097
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-qprd
@@ -0,0 +1,4 @@
+fd5ab0f55dbc959316e32923e86290df *tests/data/fate/vsynth2-mpeg4-qprd.avi
+231458 tests/data/fate/vsynth2-mpeg4-qprd.avi
+de8a883865e2dff7a51f66da6c48df48 *tests/data/fate/vsynth2-mpeg4-qprd.out.rawvideo
+stddev: 3.71 PSNR: 36.72 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-rc b/tests/ref/fate/vsynth2-mpeg4-rc
new file mode 100644
index 0000000000..bdd897b007
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-rc
@@ -0,0 +1,4 @@
+c25ede9e268b834a09a63f5136cd1b95 *tests/data/fate/vsynth2-mpeg4-rc.avi
+226332 tests/data/fate/vsynth2-mpeg4-rc.avi
+2b34e606af895b62a250de98749a19b0 *tests/data/fate/vsynth2-mpeg4-rc.out.rawvideo
+stddev: 4.23 PSNR: 35.60 MAXDIFF: 85 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpeg4-thread b/tests/ref/fate/vsynth2-mpeg4-thread
new file mode 100644
index 0000000000..e0040090a8
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpeg4-thread
@@ -0,0 +1,4 @@
+ba30d10ff70d46e7c5b7fa859ea1faa4 *tests/data/fate/vsynth2-mpeg4-thread.avi
+250140 tests/data/fate/vsynth2-mpeg4-thread.avi
+5355deb8c7609a3f1ff2173aab1dee70 *tests/data/fate/vsynth2-mpeg4-thread.out.rawvideo
+stddev: 3.69 PSNR: 36.78 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-mpng b/tests/ref/fate/vsynth2-mpng
new file mode 100644
index 0000000000..1a298f982d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-mpng
@@ -0,0 +1,4 @@
+198a3d67c56e1b5b12bdd3ffa67d8128 *tests/data/fate/vsynth2-mpng.avi
+12557288 tests/data/fate/vsynth2-mpng.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-mpng.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-msmpeg4 b/tests/ref/fate/vsynth2-msmpeg4
new file mode 100644
index 0000000000..c65a9af1c9
--- /dev/null
+++ b/tests/ref/fate/vsynth2-msmpeg4
@@ -0,0 +1,4 @@
+26dee25a62a66daba4f38ac6bd8f4677 *tests/data/fate/vsynth2-msmpeg4.avi
+127680 tests/data/fate/vsynth2-msmpeg4.avi
+0e1c6e25c71c6a8fa8e506e3d97ca4c9 *tests/data/fate/vsynth2-msmpeg4.out.rawvideo
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 78 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-msmpeg4v2 b/tests/ref/fate/vsynth2-msmpeg4v2
new file mode 100644
index 0000000000..d2b63d8387
--- /dev/null
+++ b/tests/ref/fate/vsynth2-msmpeg4v2
@@ -0,0 +1,4 @@
+c09815e40a9d260628e1ebad8b2b3774 *tests/data/fate/vsynth2-msmpeg4v2.avi
+129918 tests/data/fate/vsynth2-msmpeg4v2.avi
+8920194f8bf8f9cdd6c65b3df9e1a292 *tests/data/fate/vsynth2-msmpeg4v2.out.rawvideo
+stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-msvideo1 b/tests/ref/fate/vsynth2-msvideo1
new file mode 100644
index 0000000000..8338ac4fb5
--- /dev/null
+++ b/tests/ref/fate/vsynth2-msvideo1
@@ -0,0 +1,4 @@
+e70658b8b97eb4c7e63b2081c3a602de *tests/data/fate/vsynth2-msvideo1.avi
+1259308 tests/data/fate/vsynth2-msvideo1.avi
+cd83ffcbc73573044e3aead3094229e5 *tests/data/fate/vsynth2-msvideo1.out.rawvideo
+stddev: 7.42 PSNR: 30.72 MAXDIFF: 123 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-prores b/tests/ref/fate/vsynth2-prores
new file mode 100644
index 0000000000..5db45d9a13
--- /dev/null
+++ b/tests/ref/fate/vsynth2-prores
@@ -0,0 +1,4 @@
+0faf42c187120c61d64a5e0cea4fc92a *tests/data/fate/vsynth2-prores.mov
+2844066 tests/data/fate/vsynth2-prores.mov
+b5844025c0f4c7c37db702c3213db232 *tests/data/fate/vsynth2-prores.out.rawvideo
+stddev: 1.31 PSNR: 45.77 MAXDIFF: 11 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-prores_kostya b/tests/ref/fate/vsynth2-prores_kostya
new file mode 100644
index 0000000000..68acf9cc01
--- /dev/null
+++ b/tests/ref/fate/vsynth2-prores_kostya
@@ -0,0 +1,4 @@
+26adb18726c08dde23bc4bee2eb591e2 *tests/data/fate/vsynth2-prores_kostya.mov
+3884586 tests/data/fate/vsynth2-prores_kostya.mov
+ca2f6c1162635dedfa468c90f1fdc0ef *tests/data/fate/vsynth2-prores_kostya.out.rawvideo
+stddev: 0.92 PSNR: 48.77 MAXDIFF: 10 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-qtrle b/tests/ref/fate/vsynth2-qtrle
new file mode 100644
index 0000000000..d3b045b068
--- /dev/null
+++ b/tests/ref/fate/vsynth2-qtrle
@@ -0,0 +1,4 @@
+6ac61c011e1811ebd045535b141351de *tests/data/fate/vsynth2-qtrle.mov
+14798335 tests/data/fate/vsynth2-qtrle.mov
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-qtrle.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-qtrlegray b/tests/ref/fate/vsynth2-qtrlegray
new file mode 100644
index 0000000000..1306f3e17a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-qtrlegray
@@ -0,0 +1,4 @@
+5a66c6d2b2db71eddbc50819483aa647 *tests/data/fate/vsynth2-qtrlegray.mov
+5111273 tests/data/fate/vsynth2-qtrlegray.mov
+f63b5ebdfdba750e547c25131b0a3fd1 *tests/data/fate/vsynth2-qtrlegray.out.rawvideo
+stddev: 19.42 PSNR: 22.36 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-r210 b/tests/ref/fate/vsynth2-r210
new file mode 100644
index 0000000000..610ba2c9d6
--- /dev/null
+++ b/tests/ref/fate/vsynth2-r210
@@ -0,0 +1,4 @@
+d7a6f298e6869a74c0988fc3b30d0351 *tests/data/fate/vsynth2-r210.avi
+22125260 tests/data/fate/vsynth2-r210.avi
+6ea4fcd93fc83defc8770e85b64b60bb *tests/data/fate/vsynth2-r210.out.rawvideo
+stddev: 0.70 PSNR: 51.12 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-rgb b/tests/ref/fate/vsynth2-rgb
new file mode 100644
index 0000000000..c89f46fa1f
--- /dev/null
+++ b/tests/ref/fate/vsynth2-rgb
@@ -0,0 +1,4 @@
+f2e9c419023c743bf99aa5b2e55ad233 *tests/data/fate/vsynth2-rgb.avi
+15213260 tests/data/fate/vsynth2-rgb.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-rgb.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-roqvideo b/tests/ref/fate/vsynth2-roqvideo
new file mode 100644
index 0000000000..d4c075a89d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-roqvideo
@@ -0,0 +1,4 @@
+b46f899b2363065c60f3782ba1f8b7bd *tests/data/fate/vsynth2-roqvideo.roq
+92786 tests/data/fate/vsynth2-roqvideo.roq
+e69fca960dd0911e9b8d589c13e11dc1 *tests/data/fate/vsynth2-roqvideo.out.rawvideo
+stddev: 3.81 PSNR: 36.49 MAXDIFF: 54 bytes: 7603200/ 760320
diff --git a/tests/ref/fate/vsynth2-rv10 b/tests/ref/fate/vsynth2-rv10
new file mode 100644
index 0000000000..7afe4fca40
--- /dev/null
+++ b/tests/ref/fate/vsynth2-rv10
@@ -0,0 +1,4 @@
+b1467b0e8d8cad730e36d1e8ab49d573 *tests/data/fate/vsynth2-rv10.rm
+154310 tests/data/fate/vsynth2-rv10.rm
+61213b91b359697ebcefb9e0a53ac54a *tests/data/fate/vsynth2-rv10.out.rawvideo
+stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-rv20 b/tests/ref/fate/vsynth2-rv20
new file mode 100644
index 0000000000..a3440fa0cb
--- /dev/null
+++ b/tests/ref/fate/vsynth2-rv20
@@ -0,0 +1,4 @@
+96acb098850b9bf309f89e48b08fe96f *tests/data/fate/vsynth2-rv20.rm
+153302 tests/data/fate/vsynth2-rv20.rm
+46f314e70d9bac2e7d82cfc230534977 *tests/data/fate/vsynth2-rv20.out.rawvideo
+stddev: 5.48 PSNR: 33.35 MAXDIFF: 81 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-snow b/tests/ref/fate/vsynth2-snow
new file mode 100644
index 0000000000..0e78f3245d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-snow
@@ -0,0 +1,4 @@
+af651d8ef0a66257ac8b2ef8b229f27b *tests/data/fate/vsynth2-snow.avi
+57700 tests/data/fate/vsynth2-snow.avi
+8890189af71a0dd3447c4e8424c9a76b *tests/data/fate/vsynth2-snow.out.rawvideo
+stddev: 10.47 PSNR: 27.72 MAXDIFF: 119 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-snow-ll b/tests/ref/fate/vsynth2-snow-ll
new file mode 100644
index 0000000000..2d33b083f1
--- /dev/null
+++ b/tests/ref/fate/vsynth2-snow-ll
@@ -0,0 +1,4 @@
+a8fccf278bbb17d37a756ecf11672b09 *tests/data/fate/vsynth2-snow-ll.avi
+2721758 tests/data/fate/vsynth2-snow-ll.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-snow-ll.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-svq1 b/tests/ref/fate/vsynth2-svq1
new file mode 100644
index 0000000000..b2cd35f8b3
--- /dev/null
+++ b/tests/ref/fate/vsynth2-svq1
@@ -0,0 +1,4 @@
+320a7fbbaecc0989df054bf9678bfdf6 *tests/data/fate/vsynth2-svq1.mov
+766691 tests/data/fate/vsynth2-svq1.mov
+aa03471dac3f49455a33a2b19fda1098 *tests/data/fate/vsynth2-svq1.out.rawvideo
+stddev: 3.23 PSNR: 37.93 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-v210 b/tests/ref/fate/vsynth2-v210
new file mode 100644
index 0000000000..407ad0e5a0
--- /dev/null
+++ b/tests/ref/fate/vsynth2-v210
@@ -0,0 +1,4 @@
+db0579bd46e1ba133ff86c0f7cdd761f *tests/data/fate/vsynth2-v210.avi
+14752460 tests/data/fate/vsynth2-v210.avi
+a627fb50c8276200fd71383977d87ca3 *tests/data/fate/vsynth2-v210.out.rawvideo
+stddev: 0.34 PSNR: 57.43 MAXDIFF: 6 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-v308 b/tests/ref/fate/vsynth2-v308
new file mode 100644
index 0000000000..cd20214b69
--- /dev/null
+++ b/tests/ref/fate/vsynth2-v308
@@ -0,0 +1,4 @@
+214671673e6c82bad8190d0329f01fdc *tests/data/fate/vsynth2-v308.avi
+15213260 tests/data/fate/vsynth2-v308.avi
+d43cb310c130c69214332d74f6ee5f9a *tests/data/fate/vsynth2-v308.out.rawvideo
+stddev: 0.41 PSNR: 55.80 MAXDIFF: 7 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-v408 b/tests/ref/fate/vsynth2-v408
new file mode 100644
index 0000000000..8d12fc706a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-v408
@@ -0,0 +1,4 @@
+033d112ec5a1a78882233d0b791e5ef7 *tests/data/fate/vsynth2-v408.avi
+20282060 tests/data/fate/vsynth2-v408.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-v408.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-wmv1 b/tests/ref/fate/vsynth2-wmv1
new file mode 100644
index 0000000000..4545d4247d
--- /dev/null
+++ b/tests/ref/fate/vsynth2-wmv1
@@ -0,0 +1,4 @@
+1011e26e7d351c96d7bbfe106d831b69 *tests/data/fate/vsynth2-wmv1.avi
+129530 tests/data/fate/vsynth2-wmv1.avi
+81eee429b665254d19a06607463c0b5e *tests/data/fate/vsynth2-wmv1.out.rawvideo
+stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-wmv2 b/tests/ref/fate/vsynth2-wmv2
new file mode 100644
index 0000000000..a7384ad853
--- /dev/null
+++ b/tests/ref/fate/vsynth2-wmv2
@@ -0,0 +1,4 @@
+1f6598e9776ed00aebdc44cc8d48cb7c *tests/data/fate/vsynth2-wmv2.avi
+129860 tests/data/fate/vsynth2-wmv2.avi
+81eee429b665254d19a06607463c0b5e *tests/data/fate/vsynth2-wmv2.out.rawvideo
+stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-y41p b/tests/ref/fate/vsynth2-y41p
new file mode 100644
index 0000000000..b310e3bf66
--- /dev/null
+++ b/tests/ref/fate/vsynth2-y41p
@@ -0,0 +1,4 @@
+8e0139963e79180a0fc1c154e36cebe5 *tests/data/fate/vsynth2-y41p.avi
+7610060 tests/data/fate/vsynth2-y41p.avi
+d27a84ccdac09055724d122e03fea82a *tests/data/fate/vsynth2-y41p.out.rawvideo
+stddev: 1.07 PSNR: 47.54 MAXDIFF: 21 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-yuv b/tests/ref/fate/vsynth2-yuv
new file mode 100644
index 0000000000..e5409b0d5b
--- /dev/null
+++ b/tests/ref/fate/vsynth2-yuv
@@ -0,0 +1,4 @@
+3d5ee6d2023bc15bba898819e4977e46 *tests/data/fate/vsynth2-yuv.avi
+7610060 tests/data/fate/vsynth2-yuv.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-yuv.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-yuv4 b/tests/ref/fate/vsynth2-yuv4
new file mode 100644
index 0000000000..a5e9ee5a09
--- /dev/null
+++ b/tests/ref/fate/vsynth2-yuv4
@@ -0,0 +1,4 @@
+3d24f1d320c4ead1efbf3c952a902379 *tests/data/fate/vsynth2-yuv4.avi
+7610060 tests/data/fate/vsynth2-yuv4.avi
+dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth2-yuv4.out.rawvideo
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-zlib b/tests/ref/fate/vsynth2-zlib
new file mode 100644
index 0000000000..d3295e3b0a
--- /dev/null
+++ b/tests/ref/fate/vsynth2-zlib
@@ -0,0 +1,4 @@
+f4bfa774c853abe8f06a29596c1f16cb *tests/data/fate/vsynth2-zlib.avi
+12517188 tests/data/fate/vsynth2-zlib.avi
+98d0e2854731472c5bf13d8638502d0a *tests/data/fate/vsynth2-zlib.out.rawvideo
+stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/fate/vsynth2-zmbv b/tests/ref/fate/vsynth2-zmbv
new file mode 100644
index 0000000000..93e0b6ac29
--- /dev/null
+++ b/tests/ref/fate/vsynth2-zmbv
@@ -0,0 +1,4 @@
+e9cc761eb3fedc36ce5f97744196ed8b *tests/data/fate/vsynth2-zmbv.avi
+1808720 tests/data/fate/vsynth2-zmbv.avi
+ee68a5292fd0745834246b4ec0d85e9b *tests/data/fate/vsynth2-zmbv.out.rawvideo
+stddev: 8.12 PSNR: 29.94 MAXDIFF: 32 bytes: 7603200/ 7603200
diff --git a/tests/ref/seek/ac3_ac3 b/tests/ref/seek/ac3_ac3
deleted file mode 100644
index 167dc8d716..0000000000
--- a/tests/ref/seek/ac3_ac3
+++ /dev/null
@@ -1,49 +0,0 @@
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 556
-ret: 0 st:-1 flags:0 ts:-1.000000
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 556
-ret: 0 st:-1 flags:1 ts: 1.894167
-ret: 0 st: 0 flags:1 dts: 1.880400 pts: 1.880400 pos: 30092 size: 558
-ret: 0 st: 0 flags:0 ts: 0.788333
-ret: 0 st: 0 flags:1 dts: 0.800911 pts: 0.800911 pos: 12818 size: 556
-ret:-1 st: 0 flags:1 ts:-0.317500
-ret: 0 st:-1 flags:0 ts: 2.576668
-ret: 0 st: 0 flags:1 dts: 2.576844 pts: 2.576844 pos: 41238 size: 558
-ret: 0 st:-1 flags:1 ts: 1.470835
-ret: 0 st: 0 flags:1 dts: 1.462533 pts: 1.462533 pos: 23406 size: 556
-ret: 0 st: 0 flags:0 ts: 0.365000
-ret: 0 st: 0 flags:1 dts: 0.383044 pts: 0.383044 pos: 6130 size: 558
-ret:-1 st: 0 flags:1 ts:-0.740833
-ret: 0 st:-1 flags:0 ts: 2.153336
-ret: 0 st: 0 flags:1 dts: 2.158978 pts: 2.158978 pos: 34552 size: 556
-ret: 0 st:-1 flags:1 ts: 1.047503
-ret: 0 st: 0 flags:1 dts: 1.044667 pts: 1.044667 pos: 16718 size: 558
-ret: 0 st: 0 flags:0 ts:-0.058333
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 556
-ret: 0 st: 0 flags:1 ts: 2.835833
-ret: 0 st: 0 flags:1 dts: 2.820600 pts: 2.820600 pos: 45140 size: 556
-ret: 0 st:-1 flags:0 ts: 1.730004
-ret: 0 st: 0 flags:1 dts: 1.741111 pts: 1.741111 pos: 27864 size: 556
-ret: 0 st:-1 flags:1 ts: 0.624171
-ret: 0 st: 0 flags:1 dts: 0.591978 pts: 0.591978 pos: 9474 size: 556
-ret: 0 st: 0 flags:0 ts:-0.481667
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 556
-ret: 0 st: 0 flags:1 ts: 2.412500
-ret: 0 st: 0 flags:1 dts: 2.402733 pts: 2.402733 pos: 38452 size: 558
-ret: 0 st:-1 flags:0 ts: 1.306672
-ret: 0 st: 0 flags:1 dts: 1.323244 pts: 1.323244 pos: 21176 size: 558
-ret: 0 st:-1 flags:1 ts: 0.200839
-ret: 0 st: 0 flags:1 dts: 0.174111 pts: 0.174111 pos: 2786 size: 558
-ret: 0 st: 0 flags:0 ts:-0.904989
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 0 size: 556
-ret: 0 st: 0 flags:1 ts: 1.989178
-ret: 0 st: 0 flags:1 dts: 1.984867 pts: 1.984867 pos: 31764 size: 558
-ret: 0 st:-1 flags:0 ts: 0.883340
-ret: 0 st: 0 flags:1 dts: 0.905378 pts: 0.905378 pos: 14488 size: 558
-ret:-1 st:-1 flags:1 ts:-0.222493
-ret: 0 st: 0 flags:0 ts: 2.671678
-ret: 0 st: 0 flags:1 dts: 2.681311 pts: 2.681311 pos: 42910 size: 558
-ret: 0 st: 0 flags:1 ts: 1.565844
-ret: 0 st: 0 flags:1 dts: 1.532178 pts: 1.532178 pos: 24520 size: 558
-ret: 0 st:-1 flags:0 ts: 0.460008
-ret: 0 st: 0 flags:1 dts: 0.487511 pts: 0.487511 pos: 7802 size: 556
-ret:-1 st:-1 flags:1 ts:-0.645825
diff --git a/tests/ref/seek/adpcm_qt_aiff b/tests/ref/seek/adpcm_ima_qt_aiff
index bdaf1f0f0c..bdaf1f0f0c 100644
--- a/tests/ref/seek/adpcm_qt_aiff
+++ b/tests/ref/seek/adpcm_ima_qt_aiff
diff --git a/tests/ref/seek/adpcm_ima_wav b/tests/ref/seek/adpcm_ima_wav_wav
index b6517c5438..b6517c5438 100644
--- a/tests/ref/seek/adpcm_ima_wav
+++ b/tests/ref/seek/adpcm_ima_wav_wav
diff --git a/tests/ref/seek/adpcm_yam_wav b/tests/ref/seek/adpcm_yamaha_wav
index 5cbfaed73e..5cbfaed73e 100644
--- a/tests/ref/seek/adpcm_yam_wav
+++ b/tests/ref/seek/adpcm_yamaha_wav
diff --git a/tests/ref/seek/alac_m4a b/tests/ref/seek/alac_mov
index 51e23e1dd4..a281d2e249 100644
--- a/tests/ref/seek/alac_m4a
+++ b/tests/ref/seek/alac_mov
@@ -1,53 +1,53 @@
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st:-1 flags:0 ts:-1.000000
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st:-1 flags:1 ts: 1.894167
-ret: 0 st: 0 flags:1 dts: 1.857596 pts: 1.857596 pos: 73651 size: 4961
+ret: 0 st: 0 flags:1 dts: 1.857596 pts: 1.857596 pos: 73647 size: 4961
ret: 0 st: 0 flags:0 ts: 0.788345
-ret: 0 st: 0 flags:1 dts: 0.835918 pts: 0.835918 pos: 29036 size: 3194
+ret: 0 st: 0 flags:1 dts: 0.835918 pts: 0.835918 pos: 29032 size: 3194
ret: 0 st: 0 flags:1 ts:-0.317506
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st:-1 flags:0 ts: 2.576668
-ret: 0 st: 0 flags:1 dts: 2.600635 pts: 2.600635 pos: 137557 size: 12843
+ret: 0 st: 0 flags:1 dts: 2.600635 pts: 2.600635 pos: 137553 size: 12843
ret: 0 st:-1 flags:1 ts: 1.470835
-ret: 0 st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos: 50159 size: 4414
+ret: 0 st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos: 50155 size: 4414
ret: 0 st: 0 flags:0 ts: 0.365011
-ret: 0 st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos: 12946 size: 3209
+ret: 0 st: 0 flags:1 dts: 0.371519 pts: 0.371519 pos: 12942 size: 3209
ret: 0 st: 0 flags:1 ts:-0.740839
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st:-1 flags:0 ts: 2.153336
-ret: 0 st: 0 flags:1 dts: 2.229116 pts: 2.229116 pos: 100935 size: 7896
+ret: 0 st: 0 flags:1 dts: 2.229116 pts: 2.229116 pos: 100931 size: 7896
ret: 0 st:-1 flags:1 ts: 1.047503
-ret: 0 st: 0 flags:1 dts: 1.021678 pts: 1.021678 pos: 35318 size: 3031
+ret: 0 st: 0 flags:1 dts: 1.021678 pts: 1.021678 pos: 35314 size: 3031
ret: 0 st: 0 flags:0 ts:-0.058322
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st: 0 flags:1 ts: 2.835828
-ret: 0 st: 0 flags:1 dts: 2.786395 pts: 2.786395 pos: 163180 size: 12765
+ret: 0 st: 0 flags:1 dts: 2.786395 pts: 2.786395 pos: 163176 size: 12765
ret: 0 st:-1 flags:0 ts: 1.730004
-ret: 0 st: 0 flags:1 dts: 1.764717 pts: 1.764717 pos: 68680 size: 4971
+ret: 0 st: 0 flags:1 dts: 1.764717 pts: 1.764717 pos: 68676 size: 4971
ret: 0 st:-1 flags:1 ts: 0.624171
-ret: 0 st: 0 flags:1 dts: 0.557279 pts: 0.557279 pos: 19341 size: 3234
+ret: 0 st: 0 flags:1 dts: 0.557279 pts: 0.557279 pos: 19337 size: 3234
ret: 0 st: 0 flags:0 ts:-0.481655
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st: 0 flags:1 ts: 2.412494
-ret: 0 st: 0 flags:1 dts: 2.321995 pts: 2.321995 pos: 108831 size: 7886
+ret: 0 st: 0 flags:1 dts: 2.321995 pts: 2.321995 pos: 108827 size: 7886
ret: 0 st:-1 flags:0 ts: 1.306672
-ret: 0 st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos: 50159 size: 4414
+ret: 0 st: 0 flags:1 dts: 1.393197 pts: 1.393197 pos: 50155 size: 4414
ret: 0 st:-1 flags:1 ts: 0.200839
-ret: 0 st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos: 6470 size: 3245
+ret: 0 st: 0 flags:1 dts: 0.185760 pts: 0.185760 pos: 6466 size: 3245
ret: 0 st: 0 flags:0 ts:-0.904989
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st: 0 flags:1 ts: 1.989184
-ret: 0 st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos: 78612 size: 6514
+ret: 0 st: 0 flags:1 dts: 1.950476 pts: 1.950476 pos: 78608 size: 6514
ret: 0 st:-1 flags:0 ts: 0.883340
-ret: 0 st: 0 flags:1 dts: 0.928798 pts: 0.928798 pos: 32230 size: 3088
+ret: 0 st: 0 flags:1 dts: 0.928798 pts: 0.928798 pos: 32226 size: 3088
ret: 0 st:-1 flags:1 ts:-0.222493
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
ret: 0 st: 0 flags:0 ts: 2.671678
-ret: 0 st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 150400 size: 12780
+ret: 0 st: 0 flags:1 dts: 2.693515 pts: 2.693515 pos: 150396 size: 12780
ret: 0 st: 0 flags:1 ts: 1.565850
-ret: 0 st: 0 flags:1 dts: 1.486077 pts: 1.486077 pos: 54573 size: 4554
+ret: 0 st: 0 flags:1 dts: 1.486077 pts: 1.486077 pos: 54569 size: 4554
ret: 0 st:-1 flags:0 ts: 0.460008
-ret: 0 st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 16155 size: 3186
+ret: 0 st: 0 flags:1 dts: 0.464399 pts: 0.464399 pos: 16151 size: 3186
ret: 0 st:-1 flags:1 ts:-0.645825
-ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 40 size: 3236
+ret: 0 st: 0 flags:1 dts: 0.000000 pts: 0.000000 pos: 36 size: 3236
diff --git a/tests/ref/seek/dv411_dv b/tests/ref/seek/dv_411_dv
index d318794157..d318794157 100644
--- a/tests/ref/seek/dv411_dv
+++ b/tests/ref/seek/dv_411_dv
diff --git a/tests/ref/seek/dv50_dv b/tests/ref/seek/dv_50_dv
index fae6d1b225..fae6d1b225 100644
--- a/tests/ref/seek/dv50_dv
+++ b/tests/ref/seek/dv_50_dv
diff --git a/tests/ref/seek/mpeg1_mpg b/tests/ref/seek/mpeg1_mpeg1video
index 54f0b166b9..54f0b166b9 100644
--- a/tests/ref/seek/mpeg1_mpg
+++ b/tests/ref/seek/mpeg1_mpeg1video
diff --git a/tests/ref/seek/mpeg1b_mpg b/tests/ref/seek/mpeg1b_mpeg1video
index 4c83997934..4c83997934 100644
--- a/tests/ref/seek/mpeg1b_mpg
+++ b/tests/ref/seek/mpeg1b_mpeg1video
diff --git a/tests/ref/seek/mpeg2_422_mpg b/tests/ref/seek/mpeg2_422_mpeg2video
index 3b4e1e7d14..3b4e1e7d14 100644
--- a/tests/ref/seek/mpeg2_422_mpg
+++ b/tests/ref/seek/mpeg2_422_mpeg2video
diff --git a/tests/ref/seek/mpeg2_idct_int_mpg b/tests/ref/seek/mpeg2_idct_int_mpeg2video
index b096f6fe7c..b096f6fe7c 100644
--- a/tests/ref/seek/mpeg2_idct_int_mpg
+++ b/tests/ref/seek/mpeg2_idct_int_mpeg2video
diff --git a/tests/ref/seek/mpeg2i_mpg b/tests/ref/seek/mpeg2_ilace_mpeg2video
index 0708cfd7b3..0708cfd7b3 100644
--- a/tests/ref/seek/mpeg2i_mpg
+++ b/tests/ref/seek/mpeg2_ilace_mpeg2video
diff --git a/tests/ref/seek/mpeg2ivlc_qprd_mpg b/tests/ref/seek/mpeg2_ivlc_qprd_mpeg2video
index 330dc16a47..330dc16a47 100644
--- a/tests/ref/seek/mpeg2ivlc_qprd_mpg
+++ b/tests/ref/seek/mpeg2_ivlc_qprd_mpeg2video
diff --git a/tests/ref/seek/mpeg2threadivlc_mpg b/tests/ref/seek/mpeg2_thread_ivlc_mpeg2video
index c2f9895ab5..c2f9895ab5 100644
--- a/tests/ref/seek/mpeg2threadivlc_mpg
+++ b/tests/ref/seek/mpeg2_thread_ivlc_mpeg2video
diff --git a/tests/ref/seek/mpeg2thread_mpg b/tests/ref/seek/mpeg2_thread_mpeg2video
index 24ee04f718..24ee04f718 100644
--- a/tests/ref/seek/mpeg2thread_mpg
+++ b/tests/ref/seek/mpeg2_thread_mpeg2video
diff --git a/tests/ref/seek/error_mpeg4_adv_avi b/tests/ref/seek/mpeg4_error_avi
index 3c6fa21e7c..3c6fa21e7c 100644
--- a/tests/ref/seek/error_mpeg4_adv_avi
+++ b/tests/ref/seek/mpeg4_error_avi
diff --git a/tests/ref/seek/odivx_mp4 b/tests/ref/seek/mpeg4_mp4
index 0600ed0273..0600ed0273 100644
--- a/tests/ref/seek/odivx_mp4
+++ b/tests/ref/seek/mpeg4_mp4
diff --git a/tests/ref/seek/mpeg4_Q_avi b/tests/ref/seek/mpeg4_qpel_avi
index 1bb15046f9..1bb15046f9 100644
--- a/tests/ref/seek/mpeg4_Q_avi
+++ b/tests/ref/seek/mpeg4_qpel_avi
diff --git a/tests/ref/seek/roqav_roq b/tests/ref/seek/roqvideo_roq
index d003a37404..d003a37404 100644
--- a/tests/ref/seek/roqav_roq
+++ b/tests/ref/seek/roqvideo_roq
diff --git a/tests/ref/seek/snow53_avi b/tests/ref/seek/snow_ll_avi
index 5eb0ba0799..5eb0ba0799 100644
--- a/tests/ref/seek/snow53_avi
+++ b/tests/ref/seek/snow_ll_avi
diff --git a/tests/ref/vsynth1/amv/vsynth1-amv b/tests/ref/vsynth1/amv/vsynth1-amv
deleted file mode 100644
index 50d14a4430..0000000000
--- a/tests/ref/vsynth1/amv/vsynth1-amv
+++ /dev/null
@@ -1,4 +0,0 @@
-539c26ba470de4d72279855fcf61f5a2 *./tests/data/vsynth1/amv.avi
-1365534 ./tests/data/vsynth1/amv.avi
-27bbe70dd002ec67af0bb219fbae626a *./tests/data/amv.vsynth1.out.yuv
-stddev: 12.46 PSNR: 26.21 MAXDIFF: 97 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/asv1 b/tests/ref/vsynth1/asv1
deleted file mode 100644
index 10c1b0376e..0000000000
--- a/tests/ref/vsynth1/asv1
+++ /dev/null
@@ -1,4 +0,0 @@
-b4ce4698764ef2328346badb7227ecbe *./tests/data/vsynth1/asv1.avi
-1489656 ./tests/data/vsynth1/asv1.avi
-2dfc5dfc2c1cbbc2543257cd3d2df6af *./tests/data/asv1.vsynth1.out.yuv
-stddev: 20.00 PSNR: 22.11 MAXDIFF: 158 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/asv2 b/tests/ref/vsynth1/asv2
deleted file mode 100644
index 14b0d1cd79..0000000000
--- a/tests/ref/vsynth1/asv2
+++ /dev/null
@@ -1,4 +0,0 @@
-dfba6eaf58e515e324c2b370bfcd9158 *./tests/data/vsynth1/asv2.avi
-1456056 ./tests/data/vsynth1/asv2.avi
-d451be09793cd0f35b6d91fc36e2571a *./tests/data/asv2.vsynth1.out.yuv
-stddev: 18.82 PSNR: 22.63 MAXDIFF: 131 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/avui b/tests/ref/vsynth1/avui
deleted file mode 100644
index 20d8218065..0000000000
--- a/tests/ref/vsynth1/avui
+++ /dev/null
@@ -1,4 +0,0 @@
-6eaf08e0e02bccb135b934c5036eac25 *./tests/data/vsynth1/avui.mov
-42624903 ./tests/data/vsynth1/avui.mov
-c5ccac874dbf808e9088bc3107860042 *./tests/data/avui.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/dnxhd_720p b/tests/ref/vsynth1/dnxhd_720p
deleted file mode 100644
index 263843df57..0000000000
--- a/tests/ref/vsynth1/dnxhd_720p
+++ /dev/null
@@ -1,4 +0,0 @@
-81f5be451dc18cf8a1d333c7885de60b *./tests/data/vsynth1/dnxhd-720p.dnxhd
-2293760 ./tests/data/vsynth1/dnxhd-720p.dnxhd
-94b21e5e68ccf9471eff74afd0ebe319 *./tests/data/dnxhd_720p.vsynth1.out.yuv
-stddev: 6.32 PSNR: 32.11 MAXDIFF: 183 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/dnxhd_720p_10bit b/tests/ref/vsynth1/dnxhd_720p_10bit
deleted file mode 100644
index 499714c80b..0000000000
--- a/tests/ref/vsynth1/dnxhd_720p_10bit
+++ /dev/null
@@ -1,4 +0,0 @@
-b5e24a055af02edec8674333260214fd *./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
-2293760 ./tests/data/vsynth1/dnxhd-720p-10bit.dnxhd
-4466ff3d73d01bbe75ea25001d379b63 *./tests/data/dnxhd_720p_10bit.vsynth1.out.yuv
-stddev: 6.27 PSNR: 32.18 MAXDIFF: 64 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/dnxhd_720p_rd b/tests/ref/vsynth1/dnxhd_720p_rd
deleted file mode 100644
index e77c725a42..0000000000
--- a/tests/ref/vsynth1/dnxhd_720p_rd
+++ /dev/null
@@ -1,4 +0,0 @@
-1dc6e95925c4f3a230848ec17c02abed *./tests/data/vsynth1/dnxhd-720p-rd.dnxhd
-2293760 ./tests/data/vsynth1/dnxhd-720p-rd.dnxhd
-02972d2aec120ec1577ec9053d68ae0f *./tests/data/dnxhd_720p_rd.vsynth1.out.yuv
-stddev: 6.26 PSNR: 32.19 MAXDIFF: 65 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/dv b/tests/ref/vsynth1/dv
deleted file mode 100644
index 3e71feceeb..0000000000
--- a/tests/ref/vsynth1/dv
+++ /dev/null
@@ -1,4 +0,0 @@
-4d572f758b55a1756adf9f54132f3b9e *./tests/data/vsynth1/dv.dv
-7200000 ./tests/data/vsynth1/dv.dv
-02ac7cdeab91d4d5621e7ce96dddc498 *./tests/data/dv.vsynth1.out.yuv
-stddev: 6.90 PSNR: 31.34 MAXDIFF: 76 bytes: 7603200/ 7603200 \ No newline at end of file
diff --git a/tests/ref/vsynth1/dv50 b/tests/ref/vsynth1/dv50
deleted file mode 100644
index 461392e288..0000000000
--- a/tests/ref/vsynth1/dv50
+++ /dev/null
@@ -1,4 +0,0 @@
-a193c5f92bf6e74c604e759d5f4f0f94 *./tests/data/vsynth1/dv50.dv
-14400000 ./tests/data/vsynth1/dv50.dv
-a2ff093e93ffed10f730fa21df02fc50 *./tests/data/dv50.vsynth1.out.yuv
-stddev: 1.72 PSNR: 43.38 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/error b/tests/ref/vsynth1/error
deleted file mode 100644
index 4d1e9e5b0c..0000000000
--- a/tests/ref/vsynth1/error
+++ /dev/null
@@ -1,4 +0,0 @@
-7416dfd319f04044d4575dc9d1b406e1 *./tests/data/vsynth1/error-mpeg4-adv.avi
-756836 ./tests/data/vsynth1/error-mpeg4-adv.avi
-79e94ba32b37759397362cbcb479d4d3 *./tests/data/error.vsynth1.out.yuv
-stddev: 18.36 PSNR: 22.85 MAXDIFF: 243 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/ffv1 b/tests/ref/vsynth1/ffv1
deleted file mode 100644
index bf909153cd..0000000000
--- a/tests/ref/vsynth1/ffv1
+++ /dev/null
@@ -1,4 +0,0 @@
-67ddc7edde5cca49290245d881787890 *./tests/data/vsynth1/ffv1.avi
-2655376 ./tests/data/vsynth1/ffv1.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/ffv1.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/ffvhuff b/tests/ref/vsynth1/ffvhuff
deleted file mode 100644
index aa45211706..0000000000
--- a/tests/ref/vsynth1/ffvhuff
+++ /dev/null
@@ -1,4 +0,0 @@
-0632ffae6f1e06dd299bf41a845b9099 *./tests/data/vsynth1/ffvhuff.avi
-5987208 ./tests/data/vsynth1/ffvhuff.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/ffvhuff.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/flashsv b/tests/ref/vsynth1/flashsv
deleted file mode 100644
index 77fefe0bc0..0000000000
--- a/tests/ref/vsynth1/flashsv
+++ /dev/null
@@ -1,4 +0,0 @@
-97894502b4cb57aca1105b6333f72dae *./tests/data/vsynth1/flashsv.flv
-14681925 ./tests/data/vsynth1/flashsv.flv
-791e1fb999deb2e4156e2286d48c4ed1 *./tests/data/flashsv.vsynth1.out.yuv
-stddev: 2.84 PSNR: 39.04 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/flashsv2 b/tests/ref/vsynth1/flashsv2
deleted file mode 100644
index 58e2e8ff52..0000000000
--- a/tests/ref/vsynth1/flashsv2
+++ /dev/null
@@ -1,6 +0,0 @@
-8d105780bb79915bc36f96f7a754f289 *./tests/data/vsynth1/flashsv2.flv
-9371095 ./tests/data/vsynth1/flashsv2.flv
-ed28c0021768629b2675e72bf1632426 *./tests/data/vsynth1/flashsv2I.flv
-8755723 ./tests/data/vsynth1/flashsv2I.flv
-efa88d09115a2e947eff00ee435ba3f3 *./tests/data/flashsv2.vsynth1.out.yuv
-stddev: 3.47 PSNR: 37.31 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/flv b/tests/ref/vsynth1/flv
deleted file mode 100644
index 17f565608b..0000000000
--- a/tests/ref/vsynth1/flv
+++ /dev/null
@@ -1,4 +0,0 @@
-d6a80659cedee7698aefe9c4a8285fa4 *./tests/data/vsynth1/flv.flv
-636269 ./tests/data/vsynth1/flv.flv
-5ab46d8dd01dbb1d63df2a84858a4b05 *./tests/data/flv.vsynth1.out.yuv
-stddev: 8.02 PSNR: 30.04 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/h261 b/tests/ref/vsynth1/h261
deleted file mode 100644
index 36d04f1736..0000000000
--- a/tests/ref/vsynth1/h261
+++ /dev/null
@@ -1,4 +0,0 @@
-d155470b713aeebacb85980b0d5f2ce3 *./tests/data/vsynth1/h261.avi
-707588 ./tests/data/vsynth1/h261.avi
-716e83cb51afb1246bfaa80967df48ea *./tests/data/h261.vsynth1.out.yuv
-stddev: 9.11 PSNR: 28.93 MAXDIFF: 113 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/h263 b/tests/ref/vsynth1/h263
deleted file mode 100644
index 6351adc7ae..0000000000
--- a/tests/ref/vsynth1/h263
+++ /dev/null
@@ -1,4 +0,0 @@
-fb4dc9b9eac2628c56cb82cf332e1f58 *./tests/data/vsynth1/h263.avi
-659686 ./tests/data/vsynth1/h263.avi
-1a1ba9a3a63ec1a1a9585fded0a7c954 *./tests/data/h263.vsynth1.out.yuv
-stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/h263p b/tests/ref/vsynth1/h263p
deleted file mode 100644
index 93df5497b1..0000000000
--- a/tests/ref/vsynth1/h263p
+++ /dev/null
@@ -1,4 +0,0 @@
-bbcadeceba295e1dad148aea1e57c370 *./tests/data/vsynth1/h263p.avi
-2328348 ./tests/data/vsynth1/h263p.avi
-9554cda00c3487ab3ffda2c3ea22fa2f *./tests/data/h263p.vsynth1.out.yuv
-stddev: 2.06 PSNR: 41.83 MAXDIFF: 20 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/huffyuv b/tests/ref/vsynth1/huffyuv
deleted file mode 100644
index 9ec091eb36..0000000000
--- a/tests/ref/vsynth1/huffyuv
+++ /dev/null
@@ -1,4 +0,0 @@
-f5f2e109af0612694ff3cd6464063e82 *./tests/data/vsynth1/huffyuv.avi
-7933800 ./tests/data/vsynth1/huffyuv.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/huffyuv.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/jpeg2000 b/tests/ref/vsynth1/jpeg2000
deleted file mode 100644
index fa60ac2be6..0000000000
--- a/tests/ref/vsynth1/jpeg2000
+++ /dev/null
@@ -1,4 +0,0 @@
-8da8ef50cccb9996f4bebbc585c4edb4 *./tests/data/vsynth1/jpeg2000.avi
-2306914 ./tests/data/vsynth1/jpeg2000.avi
-ee9b245b3b07eed90bc6f2147bbd916c *./tests/data/jpeg2000.vsynth1.out.yuv
-stddev: 5.47 PSNR: 33.37 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/jpegls b/tests/ref/vsynth1/jpegls
deleted file mode 100644
index 153f9b9c0f..0000000000
--- a/tests/ref/vsynth1/jpegls
+++ /dev/null
@@ -1,4 +0,0 @@
-519e26bb1ac0f3db8f90b36537f2f760 *./tests/data/vsynth1/jpegls.avi
-9089812 ./tests/data/vsynth1/jpegls.avi
-791e1fb999deb2e4156e2286d48c4ed1 *./tests/data/jpegls.vsynth1.out.yuv
-stddev: 2.84 PSNR: 39.04 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/ljpeg b/tests/ref/vsynth1/ljpeg
deleted file mode 100644
index 01d59e71c6..0000000000
--- a/tests/ref/vsynth1/ljpeg
+++ /dev/null
@@ -1,4 +0,0 @@
-9092f306f165b98ab0bb4f576f198ad5 *./tests/data/vsynth1/ljpeg.avi
-6312936 ./tests/data/vsynth1/ljpeg.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/ljpeg.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mjpeg b/tests/ref/vsynth1/mjpeg
deleted file mode 100644
index 63a0ff0328..0000000000
--- a/tests/ref/vsynth1/mjpeg
+++ /dev/null
@@ -1,4 +0,0 @@
-8bbf9513b1822945539f27a6eff3c7fa *./tests/data/vsynth1/mjpeg.avi
-1516140 ./tests/data/vsynth1/mjpeg.avi
-c6ae81b5b896e4d05ff584311aebdb18 *./tests/data/mjpeg.vsynth1.out.yuv
-stddev: 7.87 PSNR: 30.21 MAXDIFF: 63 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg b/tests/ref/vsynth1/mpeg
deleted file mode 100644
index 7ae92f10e6..0000000000
--- a/tests/ref/vsynth1/mpeg
+++ /dev/null
@@ -1,4 +0,0 @@
-1428744c6d5835f27506e69be4f837f4 *./tests/data/vsynth1/mpeg1.mpg
-712006 ./tests/data/vsynth1/mpeg1.mpg
-58f0c332bf689117b57fa629a2bc0d2b *./tests/data/mpeg.vsynth1.out.yuv
-stddev: 7.62 PSNR: 30.48 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg1b b/tests/ref/vsynth1/mpeg1b
deleted file mode 100644
index 897a0ce8f3..0000000000
--- a/tests/ref/vsynth1/mpeg1b
+++ /dev/null
@@ -1,4 +0,0 @@
-777639666b449ab0a7ef260511e40532 *./tests/data/vsynth1/mpeg1b.mpg
-1030337 ./tests/data/vsynth1/mpeg1b.mpg
-91a7fce732b34748e7bf753ebabe2483 *./tests/data/mpeg1b.vsynth1.out.yuv
-stddev: 6.30 PSNR: 32.13 MAXDIFF: 75 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2 b/tests/ref/vsynth1/mpeg2
deleted file mode 100644
index 0df3b7f248..0000000000
--- a/tests/ref/vsynth1/mpeg2
+++ /dev/null
@@ -1,4 +0,0 @@
-fbddea2368cd2028fc8db4dfd4682e94 *./tests/data/vsynth1/mpeg2.mpg
-728044 ./tests/data/vsynth1/mpeg2.mpg
-b41ca49c1a02e66ce64d262e2cdaec15 *./tests/data/mpeg2.vsynth1.out.yuv
-stddev: 7.65 PSNR: 30.45 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2_422 b/tests/ref/vsynth1/mpeg2_422
deleted file mode 100644
index beef80bdfd..0000000000
--- a/tests/ref/vsynth1/mpeg2_422
+++ /dev/null
@@ -1,4 +0,0 @@
-af0cb75451aaa807beb5102707a98823 *./tests/data/vsynth1/mpeg2_422.mpg
-728200 ./tests/data/vsynth1/mpeg2_422.mpg
-29b518282493203e83b27a939795dc3a *./tests/data/mpeg2_422.vsynth1.out.yuv
-stddev: 63.33 PSNR: 12.10 MAXDIFF: 242 bytes: 10137600/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2_idct_int b/tests/ref/vsynth1/mpeg2_idct_int
deleted file mode 100644
index be73750373..0000000000
--- a/tests/ref/vsynth1/mpeg2_idct_int
+++ /dev/null
@@ -1,4 +0,0 @@
-4c067397b504d65532d7779cd36f3f88 *./tests/data/vsynth1/mpeg2_idct_int.mpg
-725668 ./tests/data/vsynth1/mpeg2_idct_int.mpg
-9f7b065f98d57cdecf90e6f7a2524eb5 *./tests/data/mpeg2_idct_int.vsynth1.out.yuv
-stddev: 7.65 PSNR: 30.45 MAXDIFF: 81 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2_ilace b/tests/ref/vsynth1/mpeg2_ilace
deleted file mode 100644
index e05951fc64..0000000000
--- a/tests/ref/vsynth1/mpeg2_ilace
+++ /dev/null
@@ -1,4 +0,0 @@
-ec3f6713c88a2b41f6c369fd64341077 *./tests/data/vsynth1/mpeg2i.mpg
-737473 ./tests/data/vsynth1/mpeg2i.mpg
-97615390fdd69abfcbc7e02df863a7d2 *./tests/data/mpeg2_ilace.vsynth1.out.yuv
-stddev: 7.67 PSNR: 30.43 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2_ivlc_qprd b/tests/ref/vsynth1/mpeg2_ivlc_qprd
deleted file mode 100644
index c8a6694d82..0000000000
--- a/tests/ref/vsynth1/mpeg2_ivlc_qprd
+++ /dev/null
@@ -1,4 +0,0 @@
-8f6b20714918e6443e0c03716ed06f0d *./tests/data/vsynth1/mpeg2ivlc-qprd.mpg
-783552 ./tests/data/vsynth1/mpeg2ivlc-qprd.mpg
-98eb9da15f880978e7f2ee1e7ce476ef *./tests/data/mpeg2_ivlc_qprd.vsynth1.out.yuv
-stddev: 10.07 PSNR: 28.06 MAXDIFF: 165 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg2thread b/tests/ref/vsynth1/mpeg2thread
deleted file mode 100644
index b12997eaa7..0000000000
--- a/tests/ref/vsynth1/mpeg2thread
+++ /dev/null
@@ -1,4 +0,0 @@
-ecd183706688bd977c9994c3d1b23d61 *./tests/data/vsynth1/mpeg2thread.mpg
-801313 ./tests/data/vsynth1/mpeg2thread.mpg
-d1658911ca83f5616c1d32abc40750de *./tests/data/mpeg2thread.vsynth1.out.yuv
-stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200 \ No newline at end of file
diff --git a/tests/ref/vsynth1/mpeg2thread_ilace b/tests/ref/vsynth1/mpeg2thread_ilace
deleted file mode 100644
index 0667b68fae..0000000000
--- a/tests/ref/vsynth1/mpeg2thread_ilace
+++ /dev/null
@@ -1,4 +0,0 @@
-23d600b026222253c2340e23300a4c02 *./tests/data/vsynth1/mpeg2threadivlc.mpg
-791773 ./tests/data/vsynth1/mpeg2threadivlc.mpg
-d1658911ca83f5616c1d32abc40750de *./tests/data/mpeg2thread_ilace.vsynth1.out.yuv
-stddev: 7.63 PSNR: 30.48 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4 b/tests/ref/vsynth1/mpeg4
deleted file mode 100644
index 88436f617a..0000000000
--- a/tests/ref/vsynth1/mpeg4
+++ /dev/null
@@ -1,4 +0,0 @@
-6ea715a2de70af8d37128ce643e4cca0 *./tests/data/vsynth1/odivx.mp4
-539996 ./tests/data/vsynth1/odivx.mp4
-8828a375448dc5c2215163ba70656f89 *./tests/data/mpeg4.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4_adap b/tests/ref/vsynth1/mpeg4_adap
deleted file mode 100644
index 7513a22f08..0000000000
--- a/tests/ref/vsynth1/mpeg4_adap
+++ /dev/null
@@ -1,4 +0,0 @@
-2d870c0da9ab2231ab5fc06981e70399 *./tests/data/vsynth1/mpeg4-adap.avi
-403456 ./tests/data/vsynth1/mpeg4-adap.avi
-fa2049396479b5f170aa764fed5b2a31 *./tests/data/mpeg4_adap.vsynth1.out.yuv
-stddev: 14.05 PSNR: 25.17 MAXDIFF: 184 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4_qpel b/tests/ref/vsynth1/mpeg4_qpel
deleted file mode 100644
index 51547d8038..0000000000
--- a/tests/ref/vsynth1/mpeg4_qpel
+++ /dev/null
@@ -1,4 +0,0 @@
-3bf17c3d04f52988386ce106a2a58976 *./tests/data/vsynth1/mpeg4-Q.avi
-860678 ./tests/data/vsynth1/mpeg4-Q.avi
-756928496245ecc701f79eebeec8e5e6 *./tests/data/mpeg4_qpel.vsynth1.out.yuv
-stddev: 5.63 PSNR: 33.12 MAXDIFF: 70 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4_qprd b/tests/ref/vsynth1/mpeg4_qprd
deleted file mode 100644
index aa3b506a76..0000000000
--- a/tests/ref/vsynth1/mpeg4_qprd
+++ /dev/null
@@ -1,4 +0,0 @@
-d6b7e724a6ad66ab5e4c5a499218b40d *./tests/data/vsynth1/mpeg4-qprd.avi
-710944 ./tests/data/vsynth1/mpeg4-qprd.avi
-e65f4c7f343fe2bad1cac44b7da5f7c4 *./tests/data/mpeg4_qprd.vsynth1.out.yuv
-stddev: 9.79 PSNR: 28.31 MAXDIFF: 176 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4adv b/tests/ref/vsynth1/mpeg4adv
deleted file mode 100644
index 374f0b206e..0000000000
--- a/tests/ref/vsynth1/mpeg4adv
+++ /dev/null
@@ -1,4 +0,0 @@
-7d8eb01fd68d83d62a98585757704d47 *./tests/data/vsynth1/mpeg4-adv.avi
-589716 ./tests/data/vsynth1/mpeg4-adv.avi
-f8b226876b1b2c0b98fd6928fd9adbd8 *./tests/data/mpeg4adv.vsynth1.out.yuv
-stddev: 6.98 PSNR: 31.25 MAXDIFF: 84 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4nr b/tests/ref/vsynth1/mpeg4nr
deleted file mode 100644
index c821490304..0000000000
--- a/tests/ref/vsynth1/mpeg4nr
+++ /dev/null
@@ -1,4 +0,0 @@
-c02f54157ba08ca12ad979c6308212ad *./tests/data/vsynth1/mpeg4-nr.avi
-675638 ./tests/data/vsynth1/mpeg4-nr.avi
-d2b89d5958fb7331f6c9e5b7ecaaa5b6 *./tests/data/mpeg4nr.vsynth1.out.yuv
-stddev: 6.99 PSNR: 31.23 MAXDIFF: 86 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpeg4thread b/tests/ref/vsynth1/mpeg4thread
deleted file mode 100644
index d04f43685b..0000000000
--- a/tests/ref/vsynth1/mpeg4thread
+++ /dev/null
@@ -1,4 +0,0 @@
-4f4ea04faad7212374919aa1ec7ff994 *./tests/data/vsynth1/mpeg4-thread.avi
-774760 ./tests/data/vsynth1/mpeg4-thread.avi
-64b96cddf5301990e118978b3a3bcd0d *./tests/data/mpeg4thread.vsynth1.out.yuv
-stddev: 10.13 PSNR: 28.02 MAXDIFF: 183 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/mpng b/tests/ref/vsynth1/mpng
deleted file mode 100644
index 40e13d4309..0000000000
--- a/tests/ref/vsynth1/mpng
+++ /dev/null
@@ -1,4 +0,0 @@
-a8e7393fa534289eee9319ded7807f99 *./tests/data/vsynth1/mpng.avi
-12157242 ./tests/data/vsynth1/mpng.avi
-93695a27c24a61105076ca7b1f010bbd *./tests/data/mpng.vsynth1.out.yuv
-stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/msmpeg4 b/tests/ref/vsynth1/msmpeg4
deleted file mode 100644
index d94d3f095f..0000000000
--- a/tests/ref/vsynth1/msmpeg4
+++ /dev/null
@@ -1,4 +0,0 @@
-4b08952b0afceb17ee3db31b67f6b778 *./tests/data/vsynth1/msmpeg4.avi
-624718 ./tests/data/vsynth1/msmpeg4.avi
-5ca72c39e3fc5df8e62f223c869589f5 *./tests/data/msmpeg4.vsynth1.out.yuv
-stddev: 7.98 PSNR: 30.09 MAXDIFF: 104 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/msmpeg4v2 b/tests/ref/vsynth1/msmpeg4v2
deleted file mode 100644
index dde152d81a..0000000000
--- a/tests/ref/vsynth1/msmpeg4v2
+++ /dev/null
@@ -1,4 +0,0 @@
-88957e35efcc718bce0307627ad3298d *./tests/data/vsynth1/msmpeg4v2.avi
-623788 ./tests/data/vsynth1/msmpeg4v2.avi
-c6ff1041a0ef62c2a2e5ef519e5e94c4 *./tests/data/msmpeg4v2.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.10 MAXDIFF: 105 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/msvideo1 b/tests/ref/vsynth1/msvideo1
deleted file mode 100644
index 2dc529ba03..0000000000
--- a/tests/ref/vsynth1/msvideo1
+++ /dev/null
@@ -1,4 +0,0 @@
-37aa67b5928794534cb6a268d4adf48c *./tests/data/vsynth1/msvideo1.avi
-2162264 ./tests/data/vsynth1/msvideo1.avi
-c0665fac1bd896b6fe7fe0eead805bd5 *./tests/data/msvideo1.vsynth1.out.yuv
-stddev: 11.80 PSNR: 26.69 MAXDIFF: 151 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/prores b/tests/ref/vsynth1/prores
deleted file mode 100644
index dc25a69ed5..0000000000
--- a/tests/ref/vsynth1/prores
+++ /dev/null
@@ -1,4 +0,0 @@
-31159cc9d1693bc66ad7a3083c48bcc4 *./tests/data/vsynth1/prores.mov
-5022811 ./tests/data/vsynth1/prores.mov
-a2e2d1d45341a94ff994d1d92629f778 *./tests/data/prores.vsynth1.out.yuv
-stddev: 2.47 PSNR: 40.27 MAXDIFF: 31 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/prores_kostya b/tests/ref/vsynth1/prores_kostya
deleted file mode 100644
index 032cda2c90..0000000000
--- a/tests/ref/vsynth1/prores_kostya
+++ /dev/null
@@ -1,4 +0,0 @@
-f8fe98b7f9bb66857c81dbca409a9037 *./tests/data/vsynth1/prores_kostya.mov
-3858901 ./tests/data/vsynth1/prores_kostya.mov
-0a4153637d0cc0a88a8bcbf04cfaf8c6 *./tests/data/prores_kostya.vsynth1.out.yuv
-stddev: 3.17 PSNR: 38.09 MAXDIFF: 39 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/qtrle b/tests/ref/vsynth1/qtrle
deleted file mode 100644
index 81cf6db3c2..0000000000
--- a/tests/ref/vsynth1/qtrle
+++ /dev/null
@@ -1,4 +0,0 @@
-9c6ee876369fceac1ff2478a0225bc9b *./tests/data/vsynth1/qtrle.mov
-15263148 ./tests/data/vsynth1/qtrle.mov
-93695a27c24a61105076ca7b1f010bbd *./tests/data/qtrle.vsynth1.out.yuv
-stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/qtrlegray b/tests/ref/vsynth1/qtrlegray
deleted file mode 100644
index ff0a81c546..0000000000
--- a/tests/ref/vsynth1/qtrlegray
+++ /dev/null
@@ -1,4 +0,0 @@
-dfb185e38b3557eca0ead72d57ca48f8 *./tests/data/vsynth1/qtrlegray.mov
-5113284 ./tests/data/vsynth1/qtrlegray.mov
-29def4aed035ed65d3a89f7d382fccbe *./tests/data/qtrlegray.vsynth1.out.yuv
-stddev: 25.95 PSNR: 19.85 MAXDIFF: 122 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/r210 b/tests/ref/vsynth1/r210
deleted file mode 100644
index 3d561ad71e..0000000000
--- a/tests/ref/vsynth1/r210
+++ /dev/null
@@ -1,4 +0,0 @@
-604a34c9f9151891c2d63d2652b75329 *./tests/data/vsynth1/r210.avi
-22125260 ./tests/data/vsynth1/r210.avi
-ecaafa9eec11b5e1453a63ed6d194eed *./tests/data/r210.vsynth1.out.yuv
-stddev: 3.23 PSNR: 37.94 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/rc b/tests/ref/vsynth1/rc
deleted file mode 100644
index be50952075..0000000000
--- a/tests/ref/vsynth1/rc
+++ /dev/null
@@ -1,4 +0,0 @@
-1c6dadf75f60f4ba59a0fe0b6eaedf57 *./tests/data/vsynth1/mpeg4-rc.avi
-830160 ./tests/data/vsynth1/mpeg4-rc.avi
-4d95e340db9bc57a559162c039f3784e *./tests/data/rc.vsynth1.out.yuv
-stddev: 10.24 PSNR: 27.92 MAXDIFF: 196 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/rgb b/tests/ref/vsynth1/rgb
deleted file mode 100644
index 1c353dae7f..0000000000
--- a/tests/ref/vsynth1/rgb
+++ /dev/null
@@ -1,4 +0,0 @@
-05f0719cb52486d9a4beb9cfae3f2571 *./tests/data/vsynth1/rgb.avi
-15213260 ./tests/data/vsynth1/rgb.avi
-93695a27c24a61105076ca7b1f010bbd *./tests/data/rgb.vsynth1.out.yuv
-stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/roq b/tests/ref/vsynth1/roq
deleted file mode 100644
index 42456e4e34..0000000000
--- a/tests/ref/vsynth1/roq
+++ /dev/null
@@ -1,4 +0,0 @@
-cf8b7b0e539bab3169c234ca63d71dd8 *./tests/data/vsynth1/roqav.roq
-101671 ./tests/data/vsynth1/roqav.roq
-0ad983c291b1ed373645c5b12a108c61 *./tests/data/roq.vsynth1.out.yuv
-stddev: 7.74 PSNR: 30.35 MAXDIFF: 89 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth1/rv10 b/tests/ref/vsynth1/rv10
deleted file mode 100644
index 9e0ceec2f1..0000000000
--- a/tests/ref/vsynth1/rv10
+++ /dev/null
@@ -1,4 +0,0 @@
-4d7e82de72a83905cf84b8abc3e70b8f *./tests/data/vsynth1/rv10.rm
-653905 ./tests/data/vsynth1/rv10.rm
-1a1ba9a3a63ec1a1a9585fded0a7c954 *./tests/data/rv10.vsynth1.out.yuv
-stddev: 8.03 PSNR: 30.03 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/rv20 b/tests/ref/vsynth1/rv20
deleted file mode 100644
index d3b8814f1a..0000000000
--- a/tests/ref/vsynth1/rv20
+++ /dev/null
@@ -1,4 +0,0 @@
-81868601e602eee5b6d80f5ece4aaa98 *./tests/data/vsynth1/rv20.rm
-646016 ./tests/data/vsynth1/rv20.rm
-b45fdb0201b06f7649f44050e262c54c *./tests/data/rv20.vsynth1.out.yuv
-stddev: 8.26 PSNR: 29.79 MAXDIFF: 103 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/snow b/tests/ref/vsynth1/snow
deleted file mode 100644
index ac34760783..0000000000
--- a/tests/ref/vsynth1/snow
+++ /dev/null
@@ -1,4 +0,0 @@
-d593b3c1a9729ce6dd1721f58fa93712 *./tests/data/vsynth1/snow.avi
-136088 ./tests/data/vsynth1/snow.avi
-91021b7d6d7908648fe78cc1975af8c4 *./tests/data/snow.vsynth1.out.yuv
-stddev: 22.77 PSNR: 20.98 MAXDIFF: 172 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/snowll b/tests/ref/vsynth1/snowll
deleted file mode 100644
index 427e52de5b..0000000000
--- a/tests/ref/vsynth1/snowll
+++ /dev/null
@@ -1,4 +0,0 @@
-6d29e8c06a645cdee45073c4f3d0004e *./tests/data/vsynth1/snow53.avi
-3419980 ./tests/data/vsynth1/snow53.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/snowll.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/svq1 b/tests/ref/vsynth1/svq1
deleted file mode 100644
index a95bd94f73..0000000000
--- a/tests/ref/vsynth1/svq1
+++ /dev/null
@@ -1,4 +0,0 @@
-4654e7af0d4aa58c3db1eb145e278038 *./tests/data/vsynth1/svq1.mov
-1334223 ./tests/data/vsynth1/svq1.mov
-9cc35c54b2c77d36bd7e308b393c1f81 *./tests/data/svq1.vsynth1.out.yuv
-stddev: 9.58 PSNR: 28.50 MAXDIFF: 210 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/v210 b/tests/ref/vsynth1/v210
deleted file mode 100644
index bb84c3ec98..0000000000
--- a/tests/ref/vsynth1/v210
+++ /dev/null
@@ -1,4 +0,0 @@
-dd6c870a2a52c9e75ce61c3670e710e7 *./tests/data/vsynth1/v210.avi
-14752460 ./tests/data/vsynth1/v210.avi
-50973792d3f1abe04a51ee0121f077f2 *./tests/data/v210.vsynth1.out.yuv
-stddev: 1.85 PSNR: 42.78 MAXDIFF: 29 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/v308 b/tests/ref/vsynth1/v308
deleted file mode 100644
index 4f293b8917..0000000000
--- a/tests/ref/vsynth1/v308
+++ /dev/null
@@ -1,4 +0,0 @@
-8d5f2065ce6547acc51041a679b7d6c4 *./tests/data/vsynth1/v308.avi
-15213260 ./tests/data/vsynth1/v308.avi
-10fb42f1abf40a289c3edafc0390482c *./tests/data/v308.vsynth1.out.yuv
-stddev: 2.67 PSNR: 39.60 MAXDIFF: 43 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/v408 b/tests/ref/vsynth1/v408
deleted file mode 100644
index 664755027a..0000000000
--- a/tests/ref/vsynth1/v408
+++ /dev/null
@@ -1,4 +0,0 @@
-98057c4d5ce12a1b1b3ca15839f47c95 *./tests/data/vsynth1/v408.avi
-20282060 ./tests/data/vsynth1/v408.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/v408.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/vref b/tests/ref/vsynth1/vref
deleted file mode 100644
index 2defdac870..0000000000
--- a/tests/ref/vsynth1/vref
+++ /dev/null
@@ -1,2 +0,0 @@
-c5ccac874dbf808e9088bc3107860042 *./tests/data/vsynth1.ref.yuv
-7603200 ./tests/data/vsynth1.ref.yuv
diff --git a/tests/ref/vsynth1/wmv1 b/tests/ref/vsynth1/wmv1
deleted file mode 100644
index 8c32ea80c5..0000000000
--- a/tests/ref/vsynth1/wmv1
+++ /dev/null
@@ -1,4 +0,0 @@
-4f3461315776e5118866fa3819cff9b6 *./tests/data/vsynth1/wmv1.avi
-626908 ./tests/data/vsynth1/wmv1.avi
-5182edba5b5e0354b39ce4f3604b62da *./tests/data/wmv1.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/wmv2 b/tests/ref/vsynth1/wmv2
deleted file mode 100644
index 8e1e88d6fd..0000000000
--- a/tests/ref/vsynth1/wmv2
+++ /dev/null
@@ -1,4 +0,0 @@
-13efda9d3811345aadc0632fc9a9332b *./tests/data/vsynth1/wmv2.avi
-659852 ./tests/data/vsynth1/wmv2.avi
-5182edba5b5e0354b39ce4f3604b62da *./tests/data/wmv2.vsynth1.out.yuv
-stddev: 7.97 PSNR: 30.09 MAXDIFF: 110 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/y41p b/tests/ref/vsynth1/y41p
deleted file mode 100644
index 3039813499..0000000000
--- a/tests/ref/vsynth1/y41p
+++ /dev/null
@@ -1,4 +0,0 @@
-70bbcb52acac0a3cb3217719669a8242 *./tests/data/vsynth1/y41p.avi
-7610060 ./tests/data/vsynth1/y41p.avi
-665f6045e3b3031f719fa4a44f63daba *./tests/data/y41p.vsynth1.out.yuv
-stddev: 30.54 PSNR: 18.43 MAXDIFF: 222 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/yuv4 b/tests/ref/vsynth1/yuv4
deleted file mode 100644
index 90293bf7bb..0000000000
--- a/tests/ref/vsynth1/yuv4
+++ /dev/null
@@ -1,4 +0,0 @@
-e0d593eb635432f421b93224e425ee03 *./tests/data/vsynth1/yuv4.avi
-7610060 ./tests/data/vsynth1/yuv4.avi
-c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv4.vsynth1.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/zlib b/tests/ref/vsynth1/zlib
deleted file mode 100644
index d4cc004f75..0000000000
--- a/tests/ref/vsynth1/zlib
+++ /dev/null
@@ -1,4 +0,0 @@
-fe4983e551b48dc555e1aeaf628f649f *./tests/data/vsynth1/zlib.avi
-12108644 ./tests/data/vsynth1/zlib.avi
-93695a27c24a61105076ca7b1f010bbd *./tests/data/zlib.vsynth1.out.yuv
-stddev: 3.42 PSNR: 37.44 MAXDIFF: 48 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth1/zmbv b/tests/ref/vsynth1/zmbv
deleted file mode 100644
index e49cb26401..0000000000
--- a/tests/ref/vsynth1/zmbv
+++ /dev/null
@@ -1,3 +0,0 @@
-5112508 ./tests/data/vsynth1/zmbv.avi
-4ad1ca9de7c65eab68a619c54fffaec8 *./tests/data/zmbv.vsynth1.out.yuv
-stddev: 8.61 PSNR: 29.43 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/amv/vsynth2-amv b/tests/ref/vsynth2/amv/vsynth2-amv
deleted file mode 100644
index 94010a2f8b..0000000000
--- a/tests/ref/vsynth2/amv/vsynth2-amv
+++ /dev/null
@@ -1,4 +0,0 @@
-816a4226fe7640a835139f8a44286a12 *./tests/data/vsynth2/amv.avi
-761976 ./tests/data/vsynth2/amv.avi
-f1a9e46e77934d4cc5ca9f927662c4be *./tests/data/amv.vsynth2.out.yuv
-stddev: 8.14 PSNR: 29.91 MAXDIFF: 66 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/asv1 b/tests/ref/vsynth2/asv1
deleted file mode 100644
index 1d0385c942..0000000000
--- a/tests/ref/vsynth2/asv1
+++ /dev/null
@@ -1,4 +0,0 @@
-4eb34d2de25f67a2706456e999338fe9 *./tests/data/vsynth2/asv1.avi
-832512 ./tests/data/vsynth2/asv1.avi
-c96ff7fd17c52f99ddb7922a4cb9168f *./tests/data/asv1.vsynth2.out.yuv
-stddev: 10.47 PSNR: 27.73 MAXDIFF: 98 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/asv2 b/tests/ref/vsynth2/asv2
deleted file mode 100644
index 21ce40aab4..0000000000
--- a/tests/ref/vsynth2/asv2
+++ /dev/null
@@ -1,4 +0,0 @@
-9649a4b68fb1107bad13e8a7574cc72d *./tests/data/vsynth2/asv2.avi
-789072 ./tests/data/vsynth2/asv2.avi
-74a78015b64b2cf8cb9da2e44f508a69 *./tests/data/asv2.vsynth2.out.yuv
-stddev: 10.28 PSNR: 27.89 MAXDIFF: 95 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/avui b/tests/ref/vsynth2/avui
deleted file mode 100644
index c17ee897fb..0000000000
--- a/tests/ref/vsynth2/avui
+++ /dev/null
@@ -1,4 +0,0 @@
-3f7c7bb5eba0006feb727badcad2b9bd *./tests/data/vsynth2/avui.mov
-42624903 ./tests/data/vsynth2/avui.mov
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/avui.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/dnxhd_720p b/tests/ref/vsynth2/dnxhd_720p
deleted file mode 100644
index eab04c609b..0000000000
--- a/tests/ref/vsynth2/dnxhd_720p
+++ /dev/null
@@ -1,4 +0,0 @@
-58e07cc6ae0a2d36787044d0e82708a6 *./tests/data/vsynth2/dnxhd-720p.dnxhd
-2293760 ./tests/data/vsynth2/dnxhd-720p.dnxhd
-ab601eaafef74d80d3d20b780dddd836 *./tests/data/dnxhd_720p.vsynth2.out.yuv
-stddev: 1.36 PSNR: 45.45 MAXDIFF: 127 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/dnxhd_720p_10bit b/tests/ref/vsynth2/dnxhd_720p_10bit
deleted file mode 100644
index 9409e246cf..0000000000
--- a/tests/ref/vsynth2/dnxhd_720p_10bit
+++ /dev/null
@@ -1,4 +0,0 @@
-4b57da2c0c1280469ff3579f7151c227 *./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
-2293760 ./tests/data/vsynth2/dnxhd-720p-10bit.dnxhd
-31a6aa8b8702e85fa3b48e73f035c4e4 *./tests/data/dnxhd_720p_10bit.vsynth2.out.yuv
-stddev: 1.35 PSNR: 45.46 MAXDIFF: 23 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/dnxhd_720p_rd b/tests/ref/vsynth2/dnxhd_720p_rd
deleted file mode 100644
index 2d5c4d5509..0000000000
--- a/tests/ref/vsynth2/dnxhd_720p_rd
+++ /dev/null
@@ -1,4 +0,0 @@
-092ffb7b8cf3c11556bb05dbb8b476ac *./tests/data/vsynth2/dnxhd-720p-rd.dnxhd
-2293760 ./tests/data/vsynth2/dnxhd-720p-rd.dnxhd
-33547ca318acff9448cba719cb99296d *./tests/data/dnxhd_720p_rd.vsynth2.out.yuv
-stddev: 1.32 PSNR: 45.66 MAXDIFF: 22 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/dv b/tests/ref/vsynth2/dv
deleted file mode 100644
index 613312d837..0000000000
--- a/tests/ref/vsynth2/dv
+++ /dev/null
@@ -1,4 +0,0 @@
-85b8d55b0b68bb3fc2e90babb580f9b7 *./tests/data/vsynth2/dv.dv
-7200000 ./tests/data/vsynth2/dv.dv
-7ec62bd3350a6848364669e6e1e4b9cc *./tests/data/dv.vsynth2.out.yuv
-stddev: 1.71 PSNR: 43.47 MAXDIFF: 33 bytes: 7603200/ 7603200 \ No newline at end of file
diff --git a/tests/ref/vsynth2/dv50 b/tests/ref/vsynth2/dv50
deleted file mode 100644
index cc468b8cd4..0000000000
--- a/tests/ref/vsynth2/dv50
+++ /dev/null
@@ -1,4 +0,0 @@
-0032a07167199e6f49e07fa7ed4d5f62 *./tests/data/vsynth2/dv50.dv
-14400000 ./tests/data/vsynth2/dv50.dv
-af3f2dd5ab62c1a1d98b07d4aeb6852f *./tests/data/dv50.vsynth2.out.yuv
-stddev: 0.82 PSNR: 49.82 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/error b/tests/ref/vsynth2/error
deleted file mode 100644
index a6bfcd4fe2..0000000000
--- a/tests/ref/vsynth2/error
+++ /dev/null
@@ -1,4 +0,0 @@
-90e65096aa9ebafa3fe3f44a5a47cdc4 *./tests/data/vsynth2/error-mpeg4-adv.avi
-176588 ./tests/data/vsynth2/error-mpeg4-adv.avi
-96baa9e4c24c837a3ba5abd8dd2cdd30 *./tests/data/error.vsynth2.out.yuv
-stddev: 8.98 PSNR: 29.06 MAXDIFF: 184 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/ffv1 b/tests/ref/vsynth2/ffv1
deleted file mode 100644
index d251af557a..0000000000
--- a/tests/ref/vsynth2/ffv1
+++ /dev/null
@@ -1,4 +0,0 @@
-d72b0960e162d4998b9acbabb07e99ab *./tests/data/vsynth2/ffv1.avi
-3525804 ./tests/data/vsynth2/ffv1.avi
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ffv1.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/ffvhuff b/tests/ref/vsynth2/ffvhuff
deleted file mode 100644
index 844be3e80c..0000000000
--- a/tests/ref/vsynth2/ffvhuff
+++ /dev/null
@@ -1,4 +0,0 @@
-63926d8835dd5779dca0a4bc081ca8ae *./tests/data/vsynth2/ffvhuff.avi
-4988056 ./tests/data/vsynth2/ffvhuff.avi
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ffvhuff.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/flashsv b/tests/ref/vsynth2/flashsv
deleted file mode 100644
index 0b7b7d925e..0000000000
--- a/tests/ref/vsynth2/flashsv
+++ /dev/null
@@ -1,4 +0,0 @@
-0667077971e0cb63b5f49c580006e90e *./tests/data/vsynth2/flashsv.flv
-12368953 ./tests/data/vsynth2/flashsv.flv
-3a984506f1ebfc9fb73b6814cab201cc *./tests/data/flashsv.vsynth2.out.yuv
-stddev: 0.66 PSNR: 51.73 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/flashsv2 b/tests/ref/vsynth2/flashsv2
deleted file mode 100644
index 71023083e8..0000000000
--- a/tests/ref/vsynth2/flashsv2
+++ /dev/null
@@ -1,6 +0,0 @@
-3f4a7454fa664896ac7532e3551c4071 *./tests/data/vsynth2/flashsv2.flv
-9293862 ./tests/data/vsynth2/flashsv2.flv
-d5a22183d9fe670174340a8a1847e52a *./tests/data/vsynth2/flashsv2I.flv
-5037122 ./tests/data/vsynth2/flashsv2I.flv
-8f63e24049ba1789a7f8353c695a3d99 *./tests/data/flashsv2.vsynth2.out.yuv
-stddev: 2.39 PSNR: 40.55 MAXDIFF: 21 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/flv b/tests/ref/vsynth2/flv
deleted file mode 100644
index 716177fb9b..0000000000
--- a/tests/ref/vsynth2/flv
+++ /dev/null
@@ -1,4 +0,0 @@
-2edc92093d36506bcc0a5c0e17e86113 *./tests/data/vsynth2/flv.flv
-131360 ./tests/data/vsynth2/flv.flv
-8999c8264fb0941561f64c4a736e9d88 *./tests/data/flv.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/h261 b/tests/ref/vsynth2/h261
deleted file mode 100644
index 07c29ab677..0000000000
--- a/tests/ref/vsynth2/h261
+++ /dev/null
@@ -1,4 +0,0 @@
-dfd005d4c9030a0dc889c828a6408b9c *./tests/data/vsynth2/h261.avi
-191086 ./tests/data/vsynth2/h261.avi
-db7ceff174823b98834faa2320ca89ac *./tests/data/h261.vsynth2.out.yuv
-stddev: 6.37 PSNR: 32.03 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/h263 b/tests/ref/vsynth2/h263
deleted file mode 100644
index 7e3fd33447..0000000000
--- a/tests/ref/vsynth2/h263
+++ /dev/null
@@ -1,4 +0,0 @@
-9a368687ab34c48079f11a202839a6bc *./tests/data/vsynth2/h263.avi
-160106 ./tests/data/vsynth2/h263.avi
-61213b91b359697ebcefb9e0a53ac54a *./tests/data/h263.vsynth2.out.yuv
-stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/h263p b/tests/ref/vsynth2/h263p
deleted file mode 100644
index 314726fd7c..0000000000
--- a/tests/ref/vsynth2/h263p
+++ /dev/null
@@ -1,4 +0,0 @@
-c7644d40e9f40bbd98e5a978f9f94bb4 *./tests/data/vsynth2/h263p.avi
-868018 ./tests/data/vsynth2/h263p.avi
-4b0ee791f280029dc03c528f76f195d4 *./tests/data/h263p.vsynth2.out.yuv
-stddev: 1.91 PSNR: 42.50 MAXDIFF: 19 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/jpeg2000 b/tests/ref/vsynth2/jpeg2000
deleted file mode 100644
index 4fc70ede5b..0000000000
--- a/tests/ref/vsynth2/jpeg2000
+++ /dev/null
@@ -1,4 +0,0 @@
-b30dc1851c0fb37726d977ec1d5ad527 *./tests/data/vsynth2/jpeg2000.avi
-1151156 ./tests/data/vsynth2/jpeg2000.avi
-ec5218eec33a021945c28c72093382a5 *./tests/data/jpeg2000.vsynth2.out.yuv
-stddev: 4.54 PSNR: 34.99 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/jpegls b/tests/ref/vsynth2/jpegls
deleted file mode 100644
index 229937ec80..0000000000
--- a/tests/ref/vsynth2/jpegls
+++ /dev/null
@@ -1,4 +0,0 @@
-4fc53937f048c900ae6d50fda9dba206 *./tests/data/vsynth2/jpegls.avi
-8334630 ./tests/data/vsynth2/jpegls.avi
-3a984506f1ebfc9fb73b6814cab201cc *./tests/data/jpegls.vsynth2.out.yuv
-stddev: 0.66 PSNR: 51.73 MAXDIFF: 14 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/ljpeg b/tests/ref/vsynth2/ljpeg
deleted file mode 100644
index 54c1d864dc..0000000000
--- a/tests/ref/vsynth2/ljpeg
+++ /dev/null
@@ -1,4 +0,0 @@
-554a4a6a5a9058c588f8bf2de405bc70 *./tests/data/vsynth2/ljpeg.avi
-4766914 ./tests/data/vsynth2/ljpeg.avi
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/ljpeg.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mjpeg b/tests/ref/vsynth2/mjpeg
deleted file mode 100644
index adee328055..0000000000
--- a/tests/ref/vsynth2/mjpeg
+++ /dev/null
@@ -1,4 +0,0 @@
-89df32b46c977fb4cb140ec6c489dd76 *./tests/data/vsynth2/mjpeg.avi
-673224 ./tests/data/vsynth2/mjpeg.avi
-a96a4e15ffcb13e44360df642d049496 *./tests/data/mjpeg.vsynth2.out.yuv
-stddev: 4.32 PSNR: 35.40 MAXDIFF: 49 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg b/tests/ref/vsynth2/mpeg
deleted file mode 100644
index 5a051c8a60..0000000000
--- a/tests/ref/vsynth2/mpeg
+++ /dev/null
@@ -1,4 +0,0 @@
-73ca6f1deab02d1d67a0e8495c026a9e *./tests/data/vsynth2/mpeg1.mpg
-192783 ./tests/data/vsynth2/mpeg1.mpg
-56147e94b12f08df7213e610e177823d *./tests/data/mpeg.vsynth2.out.yuv
-stddev: 4.95 PSNR: 34.22 MAXDIFF: 57 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg1b b/tests/ref/vsynth2/mpeg1b
deleted file mode 100644
index f51aa3fd68..0000000000
--- a/tests/ref/vsynth2/mpeg1b
+++ /dev/null
@@ -1,4 +0,0 @@
-e026a2fef80c9679776d2b5c8be09338 *./tests/data/vsynth2/mpeg1b.mpg
-225198 ./tests/data/vsynth2/mpeg1b.mpg
-1150495f4bd487486ee53326c42d0bb8 *./tests/data/mpeg1b.vsynth2.out.yuv
-stddev: 4.10 PSNR: 35.86 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2 b/tests/ref/vsynth2/mpeg2
deleted file mode 100644
index 5232eea988..0000000000
--- a/tests/ref/vsynth2/mpeg2
+++ /dev/null
@@ -1,4 +0,0 @@
-2d55ce623a7be4e8136f80266e487678 *./tests/data/vsynth2/mpeg2.mpg
-198667 ./tests/data/vsynth2/mpeg2.mpg
-b7cae8a1f751b821cddcbe4d5dbc518c *./tests/data/mpeg2.vsynth2.out.yuv
-stddev: 4.96 PSNR: 34.20 MAXDIFF: 59 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2_422 b/tests/ref/vsynth2/mpeg2_422
deleted file mode 100644
index c4e28dd0d4..0000000000
--- a/tests/ref/vsynth2/mpeg2_422
+++ /dev/null
@@ -1,4 +0,0 @@
-2c8e33c2d2efab86fc16a195f6877682 *./tests/data/vsynth2/mpeg2_422.mpg
-356124 ./tests/data/vsynth2/mpeg2_422.mpg
-de44597c6c470f3e7019b31245a3ff69 *./tests/data/mpeg2_422.vsynth2.out.yuv
-stddev: 54.55 PSNR: 13.39 MAXDIFF: 201 bytes: 10137600/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2_idct_int b/tests/ref/vsynth2/mpeg2_idct_int
deleted file mode 100644
index 9900497868..0000000000
--- a/tests/ref/vsynth2/mpeg2_idct_int
+++ /dev/null
@@ -1,4 +0,0 @@
-f979bcca866e6e4cad5dc6cb06e56cfb *./tests/data/vsynth2/mpeg2_idct_int.mpg
-198041 ./tests/data/vsynth2/mpeg2_idct_int.mpg
-f6d9bf24ff8676a7f6076c05cd2c81a3 *./tests/data/mpeg2_idct_int.vsynth2.out.yuv
-stddev: 4.97 PSNR: 34.19 MAXDIFF: 58 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2_ilace b/tests/ref/vsynth2/mpeg2_ilace
deleted file mode 100644
index 99d80a4fef..0000000000
--- a/tests/ref/vsynth2/mpeg2_ilace
+++ /dev/null
@@ -1,4 +0,0 @@
-f90197a8b6e62ae25f82625337f27240 *./tests/data/vsynth2/mpeg2i.mpg
-204579 ./tests/data/vsynth2/mpeg2i.mpg
-ea5057b60146c06d40449cdfc686bf13 *./tests/data/mpeg2_ilace.vsynth2.out.yuv
-stddev: 4.98 PSNR: 34.18 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2_ivlc_qprd b/tests/ref/vsynth2/mpeg2_ivlc_qprd
deleted file mode 100644
index d8aa1ab659..0000000000
--- a/tests/ref/vsynth2/mpeg2_ivlc_qprd
+++ /dev/null
@@ -1,4 +0,0 @@
-1ba5efeb53fab7b4b71edc96d86f6c91 *./tests/data/vsynth2/mpeg2ivlc-qprd.mpg
-244694 ./tests/data/vsynth2/mpeg2ivlc-qprd.mpg
-b26e21599dee48a174bdbc40b2817e55 *./tests/data/mpeg2_ivlc_qprd.vsynth2.out.yuv
-stddev: 4.15 PSNR: 35.76 MAXDIFF: 74 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg2thread b/tests/ref/vsynth2/mpeg2thread
deleted file mode 100644
index 75cfc7522f..0000000000
--- a/tests/ref/vsynth2/mpeg2thread
+++ /dev/null
@@ -1,4 +0,0 @@
-889c754a42d7689b228853e1ece6d345 *./tests/data/vsynth2/mpeg2thread.mpg
-179650 ./tests/data/vsynth2/mpeg2thread.mpg
-8c6a7ed2eb73bd18fd2bb9829464100d *./tests/data/mpeg2thread.vsynth2.out.yuv
-stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200 \ No newline at end of file
diff --git a/tests/ref/vsynth2/mpeg2thread_ilace b/tests/ref/vsynth2/mpeg2thread_ilace
deleted file mode 100644
index 1320db98ad..0000000000
--- a/tests/ref/vsynth2/mpeg2thread_ilace
+++ /dev/null
@@ -1,4 +0,0 @@
-10b900e32809758857c596d56746e00e *./tests/data/vsynth2/mpeg2threadivlc.mpg
-178801 ./tests/data/vsynth2/mpeg2threadivlc.mpg
-8c6a7ed2eb73bd18fd2bb9829464100d *./tests/data/mpeg2thread_ilace.vsynth2.out.yuv
-stddev: 4.72 PSNR: 34.65 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4 b/tests/ref/vsynth2/mpeg4
deleted file mode 100644
index e201df8501..0000000000
--- a/tests/ref/vsynth2/mpeg4
+++ /dev/null
@@ -1,4 +0,0 @@
-051ff85797971b9047723044eaec07be *./tests/data/vsynth2/odivx.mp4
-119649 ./tests/data/vsynth2/odivx.mp4
-90a3577850239083a9042bef33c50e85 *./tests/data/mpeg4.vsynth2.out.yuv
-stddev: 5.34 PSNR: 33.57 MAXDIFF: 83 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4_adap b/tests/ref/vsynth2/mpeg4_adap
deleted file mode 100644
index b7a07dea5d..0000000000
--- a/tests/ref/vsynth2/mpeg4_adap
+++ /dev/null
@@ -1,4 +0,0 @@
-547e1849dcf910935ff6383ca49e5706 *./tests/data/vsynth2/mpeg4-adap.avi
-198510 ./tests/data/vsynth2/mpeg4-adap.avi
-4affb83f6adc94f31024b4f9e0168945 *./tests/data/mpeg4_adap.vsynth2.out.yuv
-stddev: 3.75 PSNR: 36.65 MAXDIFF: 71 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4_qpel b/tests/ref/vsynth2/mpeg4_qpel
deleted file mode 100644
index d1f45153ba..0000000000
--- a/tests/ref/vsynth2/mpeg4_qpel
+++ /dev/null
@@ -1,4 +0,0 @@
-7680d2e7d34399dfdfb8a49cf1e10239 *./tests/data/vsynth2/mpeg4-Q.avi
-163688 ./tests/data/vsynth2/mpeg4-Q.avi
-26dc7c78955fa678fbf150e236eb5627 *./tests/data/mpeg4_qpel.vsynth2.out.yuv
-stddev: 3.97 PSNR: 36.14 MAXDIFF: 54 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4_qprd b/tests/ref/vsynth2/mpeg4_qprd
deleted file mode 100644
index 17eec96eff..0000000000
--- a/tests/ref/vsynth2/mpeg4_qprd
+++ /dev/null
@@ -1,4 +0,0 @@
-fd5ab0f55dbc959316e32923e86290df *./tests/data/vsynth2/mpeg4-qprd.avi
-231458 ./tests/data/vsynth2/mpeg4-qprd.avi
-de8a883865e2dff7a51f66da6c48df48 *./tests/data/mpeg4_qprd.vsynth2.out.yuv
-stddev: 3.71 PSNR: 36.72 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4adv b/tests/ref/vsynth2/mpeg4adv
deleted file mode 100644
index b47cbf19fe..0000000000
--- a/tests/ref/vsynth2/mpeg4adv
+++ /dev/null
@@ -1,4 +0,0 @@
-dee7be19486a76d96c88d18eefba8f86 *./tests/data/vsynth2/mpeg4-adv.avi
-141546 ./tests/data/vsynth2/mpeg4-adv.avi
-3f3a21e9db85a9c0f7022f557a5374c1 *./tests/data/mpeg4adv.vsynth2.out.yuv
-stddev: 4.94 PSNR: 34.25 MAXDIFF: 69 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4nr b/tests/ref/vsynth2/mpeg4nr
deleted file mode 100644
index ec36d27bd3..0000000000
--- a/tests/ref/vsynth2/mpeg4nr
+++ /dev/null
@@ -1,4 +0,0 @@
-c41187c99588fb7229ad330b2f80d28b *./tests/data/vsynth2/mpeg4-nr.avi
-155044 ./tests/data/vsynth2/mpeg4-nr.avi
-f7fc191308679f709405e62271f5c65f *./tests/data/mpeg4nr.vsynth2.out.yuv
-stddev: 4.73 PSNR: 34.63 MAXDIFF: 64 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpeg4thread b/tests/ref/vsynth2/mpeg4thread
deleted file mode 100644
index 63f355ba12..0000000000
--- a/tests/ref/vsynth2/mpeg4thread
+++ /dev/null
@@ -1,4 +0,0 @@
-ba30d10ff70d46e7c5b7fa859ea1faa4 *./tests/data/vsynth2/mpeg4-thread.avi
-250140 ./tests/data/vsynth2/mpeg4-thread.avi
-5355deb8c7609a3f1ff2173aab1dee70 *./tests/data/mpeg4thread.vsynth2.out.yuv
-stddev: 3.69 PSNR: 36.78 MAXDIFF: 65 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/mpng b/tests/ref/vsynth2/mpng
deleted file mode 100644
index 99b91fe9e0..0000000000
--- a/tests/ref/vsynth2/mpng
+++ /dev/null
@@ -1,4 +0,0 @@
-198a3d67c56e1b5b12bdd3ffa67d8128 *./tests/data/vsynth2/mpng.avi
-12557288 ./tests/data/vsynth2/mpng.avi
-98d0e2854731472c5bf13d8638502d0a *./tests/data/mpng.vsynth2.out.yuv
-stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/msmpeg4 b/tests/ref/vsynth2/msmpeg4
deleted file mode 100644
index 762027379b..0000000000
--- a/tests/ref/vsynth2/msmpeg4
+++ /dev/null
@@ -1,4 +0,0 @@
-26dee25a62a66daba4f38ac6bd8f4677 *./tests/data/vsynth2/msmpeg4.avi
-127680 ./tests/data/vsynth2/msmpeg4.avi
-0e1c6e25c71c6a8fa8e506e3d97ca4c9 *./tests/data/msmpeg4.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.59 MAXDIFF: 78 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/msmpeg4v2 b/tests/ref/vsynth2/msmpeg4v2
deleted file mode 100644
index 9fe913d62e..0000000000
--- a/tests/ref/vsynth2/msmpeg4v2
+++ /dev/null
@@ -1,4 +0,0 @@
-c09815e40a9d260628e1ebad8b2b3774 *./tests/data/vsynth2/msmpeg4v2.avi
-129918 ./tests/data/vsynth2/msmpeg4v2.avi
-8920194f8bf8f9cdd6c65b3df9e1a292 *./tests/data/msmpeg4v2.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.59 MAXDIFF: 80 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/msvideo1 b/tests/ref/vsynth2/msvideo1
deleted file mode 100644
index 9c049e7c10..0000000000
--- a/tests/ref/vsynth2/msvideo1
+++ /dev/null
@@ -1,4 +0,0 @@
-e70658b8b97eb4c7e63b2081c3a602de *./tests/data/vsynth2/msvideo1.avi
-1259308 ./tests/data/vsynth2/msvideo1.avi
-cd83ffcbc73573044e3aead3094229e5 *./tests/data/msvideo1.vsynth2.out.yuv
-stddev: 7.42 PSNR: 30.72 MAXDIFF: 123 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/prores b/tests/ref/vsynth2/prores
deleted file mode 100644
index e686e2163c..0000000000
--- a/tests/ref/vsynth2/prores
+++ /dev/null
@@ -1,4 +0,0 @@
-0faf42c187120c61d64a5e0cea4fc92a *./tests/data/vsynth2/prores.mov
-2844066 ./tests/data/vsynth2/prores.mov
-b5844025c0f4c7c37db702c3213db232 *./tests/data/prores.vsynth2.out.yuv
-stddev: 1.31 PSNR: 45.77 MAXDIFF: 11 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/prores_kostya b/tests/ref/vsynth2/prores_kostya
deleted file mode 100644
index efdcd8fabd..0000000000
--- a/tests/ref/vsynth2/prores_kostya
+++ /dev/null
@@ -1,4 +0,0 @@
-26adb18726c08dde23bc4bee2eb591e2 *./tests/data/vsynth2/prores_kostya.mov
-3884586 ./tests/data/vsynth2/prores_kostya.mov
-ca2f6c1162635dedfa468c90f1fdc0ef *./tests/data/prores_kostya.vsynth2.out.yuv
-stddev: 0.92 PSNR: 48.77 MAXDIFF: 10 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/qtrle b/tests/ref/vsynth2/qtrle
deleted file mode 100644
index 70a15a8ddd..0000000000
--- a/tests/ref/vsynth2/qtrle
+++ /dev/null
@@ -1,4 +0,0 @@
-6ac61c011e1811ebd045535b141351de *./tests/data/vsynth2/qtrle.mov
-14798335 ./tests/data/vsynth2/qtrle.mov
-98d0e2854731472c5bf13d8638502d0a *./tests/data/qtrle.vsynth2.out.yuv
-stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/qtrlegray b/tests/ref/vsynth2/qtrlegray
deleted file mode 100644
index 967aec1381..0000000000
--- a/tests/ref/vsynth2/qtrlegray
+++ /dev/null
@@ -1,4 +0,0 @@
-5a66c6d2b2db71eddbc50819483aa647 *./tests/data/vsynth2/qtrlegray.mov
-5111273 ./tests/data/vsynth2/qtrlegray.mov
-f63b5ebdfdba750e547c25131b0a3fd1 *./tests/data/qtrlegray.vsynth2.out.yuv
-stddev: 19.42 PSNR: 22.36 MAXDIFF: 72 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/r210 b/tests/ref/vsynth2/r210
deleted file mode 100644
index 0ae6c816e5..0000000000
--- a/tests/ref/vsynth2/r210
+++ /dev/null
@@ -1,4 +0,0 @@
-d7a6f298e6869a74c0988fc3b30d0351 *./tests/data/vsynth2/r210.avi
-22125260 ./tests/data/vsynth2/r210.avi
-6ea4fcd93fc83defc8770e85b64b60bb *./tests/data/r210.vsynth2.out.yuv
-stddev: 0.70 PSNR: 51.12 MAXDIFF: 12 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/rc b/tests/ref/vsynth2/rc
deleted file mode 100644
index 14d9a6ce0a..0000000000
--- a/tests/ref/vsynth2/rc
+++ /dev/null
@@ -1,4 +0,0 @@
-c25ede9e268b834a09a63f5136cd1b95 *./tests/data/vsynth2/mpeg4-rc.avi
-226332 ./tests/data/vsynth2/mpeg4-rc.avi
-2b34e606af895b62a250de98749a19b0 *./tests/data/rc.vsynth2.out.yuv
-stddev: 4.23 PSNR: 35.60 MAXDIFF: 85 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/rgb b/tests/ref/vsynth2/rgb
deleted file mode 100644
index bcdef36b72..0000000000
--- a/tests/ref/vsynth2/rgb
+++ /dev/null
@@ -1,4 +0,0 @@
-f2e9c419023c743bf99aa5b2e55ad233 *./tests/data/vsynth2/rgb.avi
-15213260 ./tests/data/vsynth2/rgb.avi
-98d0e2854731472c5bf13d8638502d0a *./tests/data/rgb.vsynth2.out.yuv
-stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/roq b/tests/ref/vsynth2/roq
deleted file mode 100644
index a9650deef1..0000000000
--- a/tests/ref/vsynth2/roq
+++ /dev/null
@@ -1,4 +0,0 @@
-b46f899b2363065c60f3782ba1f8b7bd *./tests/data/vsynth2/roqav.roq
-92786 ./tests/data/vsynth2/roqav.roq
-e69fca960dd0911e9b8d589c13e11dc1 *./tests/data/roq.vsynth2.out.yuv
-stddev: 3.81 PSNR: 36.49 MAXDIFF: 54 bytes: 760320/ 7603200
diff --git a/tests/ref/vsynth2/rv10 b/tests/ref/vsynth2/rv10
deleted file mode 100644
index 75b92652d9..0000000000
--- a/tests/ref/vsynth2/rv10
+++ /dev/null
@@ -1,4 +0,0 @@
-b1467b0e8d8cad730e36d1e8ab49d573 *./tests/data/vsynth2/rv10.rm
-154310 ./tests/data/vsynth2/rv10.rm
-61213b91b359697ebcefb9e0a53ac54a *./tests/data/rv10.vsynth2.out.yuv
-stddev: 5.43 PSNR: 33.42 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/rv20 b/tests/ref/vsynth2/rv20
deleted file mode 100644
index 903881f2c1..0000000000
--- a/tests/ref/vsynth2/rv20
+++ /dev/null
@@ -1,4 +0,0 @@
-96acb098850b9bf309f89e48b08fe96f *./tests/data/vsynth2/rv20.rm
-153302 ./tests/data/vsynth2/rv20.rm
-46f314e70d9bac2e7d82cfc230534977 *./tests/data/rv20.vsynth2.out.yuv
-stddev: 5.48 PSNR: 33.35 MAXDIFF: 81 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/snow b/tests/ref/vsynth2/snow
deleted file mode 100644
index 922110bfa9..0000000000
--- a/tests/ref/vsynth2/snow
+++ /dev/null
@@ -1,4 +0,0 @@
-af651d8ef0a66257ac8b2ef8b229f27b *./tests/data/vsynth2/snow.avi
-57700 ./tests/data/vsynth2/snow.avi
-8890189af71a0dd3447c4e8424c9a76b *./tests/data/snow.vsynth2.out.yuv
-stddev: 10.47 PSNR: 27.72 MAXDIFF: 119 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/snowll b/tests/ref/vsynth2/snowll
deleted file mode 100644
index 0eb494513f..0000000000
--- a/tests/ref/vsynth2/snowll
+++ /dev/null
@@ -1,4 +0,0 @@
-a8fccf278bbb17d37a756ecf11672b09 *./tests/data/vsynth2/snow53.avi
-2721758 ./tests/data/vsynth2/snow53.avi
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/snowll.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/svq1 b/tests/ref/vsynth2/svq1
deleted file mode 100644
index 77c55c10ee..0000000000
--- a/tests/ref/vsynth2/svq1
+++ /dev/null
@@ -1,4 +0,0 @@
-320a7fbbaecc0989df054bf9678bfdf6 *./tests/data/vsynth2/svq1.mov
-766691 ./tests/data/vsynth2/svq1.mov
-aa03471dac3f49455a33a2b19fda1098 *./tests/data/svq1.vsynth2.out.yuv
-stddev: 3.23 PSNR: 37.93 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/v210 b/tests/ref/vsynth2/v210
deleted file mode 100644
index 31160bdc61..0000000000
--- a/tests/ref/vsynth2/v210
+++ /dev/null
@@ -1,4 +0,0 @@
-db0579bd46e1ba133ff86c0f7cdd761f *./tests/data/vsynth2/v210.avi
-14752460 ./tests/data/vsynth2/v210.avi
-a627fb50c8276200fd71383977d87ca3 *./tests/data/v210.vsynth2.out.yuv
-stddev: 0.34 PSNR: 57.43 MAXDIFF: 6 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/v308 b/tests/ref/vsynth2/v308
deleted file mode 100644
index 2cc2a4bfdf..0000000000
--- a/tests/ref/vsynth2/v308
+++ /dev/null
@@ -1,4 +0,0 @@
-214671673e6c82bad8190d0329f01fdc *./tests/data/vsynth2/v308.avi
-15213260 ./tests/data/vsynth2/v308.avi
-d43cb310c130c69214332d74f6ee5f9a *./tests/data/v308.vsynth2.out.yuv
-stddev: 0.41 PSNR: 55.80 MAXDIFF: 7 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/v408 b/tests/ref/vsynth2/v408
deleted file mode 100644
index 544acd3f5e..0000000000
--- a/tests/ref/vsynth2/v408
+++ /dev/null
@@ -1,4 +0,0 @@
-033d112ec5a1a78882233d0b791e5ef7 *./tests/data/vsynth2/v408.avi
-20282060 ./tests/data/vsynth2/v408.avi
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/v408.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/vref b/tests/ref/vsynth2/vref
deleted file mode 100644
index 8f83b6c7ba..0000000000
--- a/tests/ref/vsynth2/vref
+++ /dev/null
@@ -1,2 +0,0 @@
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/vsynth2.ref.yuv
-7603200 ./tests/data/vsynth2.ref.yuv
diff --git a/tests/ref/vsynth2/wmv1 b/tests/ref/vsynth2/wmv1
deleted file mode 100644
index 12c3f5765c..0000000000
--- a/tests/ref/vsynth2/wmv1
+++ /dev/null
@@ -1,4 +0,0 @@
-1011e26e7d351c96d7bbfe106d831b69 *./tests/data/vsynth2/wmv1.avi
-129530 ./tests/data/vsynth2/wmv1.avi
-81eee429b665254d19a06607463c0b5e *./tests/data/wmv1.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/wmv2 b/tests/ref/vsynth2/wmv2
deleted file mode 100644
index 27fcd12872..0000000000
--- a/tests/ref/vsynth2/wmv2
+++ /dev/null
@@ -1,4 +0,0 @@
-1f6598e9776ed00aebdc44cc8d48cb7c *./tests/data/vsynth2/wmv2.avi
-129860 ./tests/data/vsynth2/wmv2.avi
-81eee429b665254d19a06607463c0b5e *./tests/data/wmv2.vsynth2.out.yuv
-stddev: 5.33 PSNR: 33.60 MAXDIFF: 77 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/y41p b/tests/ref/vsynth2/y41p
deleted file mode 100644
index ce88b7faf3..0000000000
--- a/tests/ref/vsynth2/y41p
+++ /dev/null
@@ -1,4 +0,0 @@
-8e0139963e79180a0fc1c154e36cebe5 *./tests/data/vsynth2/y41p.avi
-7610060 ./tests/data/vsynth2/y41p.avi
-0e0996e1d8b62f02af91fabb3c0a6f76 *./tests/data/y41p.vsynth2.out.yuv
-stddev: 9.87 PSNR: 28.24 MAXDIFF: 61 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/yuv4 b/tests/ref/vsynth2/yuv4
deleted file mode 100644
index 026a8762d9..0000000000
--- a/tests/ref/vsynth2/yuv4
+++ /dev/null
@@ -1,4 +0,0 @@
-3d24f1d320c4ead1efbf3c952a902379 *./tests/data/vsynth2/yuv4.avi
-7610060 ./tests/data/vsynth2/yuv4.avi
-dde5895817ad9d219f79a52d0bdfb001 *./tests/data/yuv4.vsynth2.out.yuv
-stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/zlib b/tests/ref/vsynth2/zlib
deleted file mode 100644
index 49cb42efb1..0000000000
--- a/tests/ref/vsynth2/zlib
+++ /dev/null
@@ -1,4 +0,0 @@
-f4bfa774c853abe8f06a29596c1f16cb *./tests/data/vsynth2/zlib.avi
-12517188 ./tests/data/vsynth2/zlib.avi
-98d0e2854731472c5bf13d8638502d0a *./tests/data/zlib.vsynth2.out.yuv
-stddev: 1.26 PSNR: 46.10 MAXDIFF: 13 bytes: 7603200/ 7603200
diff --git a/tests/ref/vsynth2/zmbv b/tests/ref/vsynth2/zmbv
deleted file mode 100644
index 6d7d6149b2..0000000000
--- a/tests/ref/vsynth2/zmbv
+++ /dev/null
@@ -1,3 +0,0 @@
-5116352 ./tests/data/vsynth2/zmbv.avi
-ee68a5292fd0745834246b4ec0d85e9b *./tests/data/zmbv.vsynth2.out.yuv
-stddev: 8.12 PSNR: 29.94 MAXDIFF: 32 bytes: 7603200/ 7603200
diff --git a/tests/regression-funcs.sh b/tests/regression-funcs.sh
index c4a0f40684..5f47b567fc 100755
--- a/tests/regression-funcs.sh
+++ b/tests/regression-funcs.sh
@@ -21,19 +21,15 @@ outfile="$datadir/$test_ref/"
# various files
ffmpeg="$target_exec ${target_path}/ffmpeg"
-tiny_psnr="tests/tiny_psnr"
raw_src="${target_path}/$raw_src_dir/%02d.pgm"
raw_dst="$datadir/$this.out.yuv"
-raw_ref="$datadir/$test_ref.ref.yuv"
pcm_src="$target_datadir/asynth1.sw"
-pcm_dst="$datadir/$this.out.wav"
-pcm_ref="$datadir/$test_ref.ref.wav"
pcm_src_1ch="$target_datadir/asynth-16000-1.wav"
pcm_ref_1ch="$datadir/$test_ref-16000-1.ref.wav"
crcfile="$datadir/$this.crc"
target_crcfile="$target_datadir/$this.crc"
-cleanfiles="$raw_dst $pcm_dst $crcfile"
+cleanfiles="$raw_dst $crcfile"
trap 'rm -f -- $cleanfiles' EXIT
mkdir -p "$datadir"
@@ -65,13 +61,7 @@ do_avconv()
set -- $* ${target_path}/$f
run_avconv $*
do_md5sum $f
- if [ $f = $raw_dst ] ; then
- $tiny_psnr $f $raw_ref
- elif [ $f = $pcm_dst ] ; then
- $tiny_psnr $f $pcm_ref 2
- else
- echo $(wc -c $f)
- fi
+ echo $(wc -c $f)
}
do_avconv_nomd5()
@@ -97,34 +87,12 @@ do_avconv_crc()
echo "$f $(cat $crcfile)"
}
-do_video_decoding()
-{
- do_avconv $raw_dst $DEC_OPTS $1 -i $target_path/$file -f rawvideo $ENC_OPTS -vsync 0 $2
-}
-
-do_video_encoding()
-{
- file=${outfile}$1
- do_avconv $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS $2
-}
-
do_video_encoding_nomd5()
{
file=${outfile}$1
do_avconv_nomd5 $file $DEC_OPTS -f image2 -vcodec pgmyuv -i $raw_src $ENC_OPTS $2
}
-do_audio_encoding()
-{
- file=${outfile}$1
- do_avconv $file $DEC_OPTS -ac 2 -ar 44100 -f s16le -i $pcm_src -ab 128k $ENC_OPTS $2
-}
-
-do_audio_decoding()
-{
- do_avconv $pcm_dst $DEC_OPTS -i $target_path/$file -sample_fmt s16 -f wav $1
-}
-
do_audio_decoding_nomd5()
{
do_avconv_nomd5 $pcm_dst $DEC_OPTS -i $target_path/$file -sample_fmt s16 -f wav $1
diff --git a/tests/rotozoom.c b/tests/rotozoom.c
index afe16822fd..296ab701f5 100644
--- a/tests/rotozoom.c
+++ b/tests/rotozoom.c
@@ -159,12 +159,15 @@ int main(int argc, char **argv)
int w, h, i;
char buf[1024];
- if (argc != 3) {
- printf("usage: %s directory/ image.pnm\n"
+ if (argc > 3) {
+ printf("usage: %s image.pnm [directory/]\n"
"generate a test video stream\n", argv[0]);
return 1;
}
+ if (argc < 3)
+ err_if(!freopen(NULL, "wb", stdout));
+
w = DEFAULT_WIDTH;
h = DEFAULT_HEIGHT;
@@ -173,13 +176,17 @@ int main(int argc, char **argv)
width = w;
height = h;
- if (init_demo(argv[2]))
+ if (init_demo(argv[1]))
return 1;
for (i = 0; i < DEFAULT_NB_PICT; i++) {
- snprintf(buf, sizeof(buf), "%s%02d.pgm", argv[1], i);
gen_image(i, w, h);
- pgmyuv_save(buf, w, h, rgb_tab);
+ if (argc > 2) {
+ snprintf(buf, sizeof(buf), "%s%02d.pgm", argv[2], i);
+ pgmyuv_save(buf, w, h, rgb_tab);
+ } else {
+ pgmyuv_save(NULL, w, h, rgb_tab);
+ }
}
free(rgb_tab);
diff --git a/tests/utils.c b/tests/utils.c
index 3fef048476..e8ef06f7ef 100644
--- a/tests/utils.c
+++ b/tests/utils.c
@@ -117,20 +117,37 @@ static void pgmyuv_save(const char *filename, int w, int h,
rgb24_to_yuv420p(lum_tab, cb_tab, cr_tab, rgb_tab, w, h);
- f = fopen(filename, "wb");
- fprintf(f, "P5\n%d %d\n%d\n", w, h * 3 / 2, 255);
+ if (filename) {
+ f = fopen(filename, "wb");
+ fprintf(f, "P5\n%d %d\n%d\n", w, h * 3 / 2, 255);
+ } else {
+ f = stdout;
+ }
+
err_if(fwrite(lum_tab, 1, w * h, f) != w * h);
h2 = h / 2;
w2 = w / 2;
cb = cb_tab;
cr = cr_tab;
- for (i = 0; i < h2; i++) {
- err_if(fwrite(cb, 1, w2, f) != w2);
- err_if(fwrite(cr, 1, w2, f) != w2);
- cb += w2;
- cr += w2;
+
+ if (filename) {
+ for (i = 0; i < h2; i++) {
+ err_if(fwrite(cb, 1, w2, f) != w2);
+ err_if(fwrite(cr, 1, w2, f) != w2);
+ cb += w2;
+ cr += w2;
+ }
+ fclose(f);
+ } else {
+ for (i = 0; i < h2; i++) {
+ err_if(fwrite(cb, 1, w2, f) != w2);
+ cb += w2;
+ }
+ for (i = 0; i < h2; i++) {
+ err_if(fwrite(cr, 1, w2, f) != w2);
+ cr += w2;
+ }
}
- fclose(f);
free(lum_tab);
free(cb_tab);
diff --git a/tests/videogen.c b/tests/videogen.c
index f151f3edf8..aa4b767ded 100644
--- a/tests/videogen.c
+++ b/tests/videogen.c
@@ -146,12 +146,15 @@ int main(int argc, char **argv)
int w, h, i;
char buf[1024];
- if (argc != 2) {
- printf("usage: %s file\n"
+ if (argc > 2) {
+ printf("usage: %s [file]\n"
"generate a test video stream\n", argv[0]);
exit(1);
}
+ if (argc < 2)
+ err_if(!freopen(NULL, "wb", stdout));
+
w = DEFAULT_WIDTH;
h = DEFAULT_HEIGHT;
@@ -161,9 +164,13 @@ int main(int argc, char **argv)
height = h;
for (i = 0; i < DEFAULT_NB_PICT; i++) {
- snprintf(buf, sizeof(buf), "%s%02d.pgm", argv[1], i);
gen_image(i, w, h);
- pgmyuv_save(buf, w, h, rgb_tab);
+ if (argc > 1) {
+ snprintf(buf, sizeof(buf), "%s%02d.pgm", argv[1], i);
+ pgmyuv_save(buf, w, h, rgb_tab);
+ } else {
+ pgmyuv_save(NULL, w, h, rgb_tab);
+ }
}
free(rgb_tab);