Browse Source

fate: yadif: add >8 bit tests

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Christophe Gisquet Michael Niedermayer 11 years ago
parent
commit
2a1158ff3b
3 changed files with 68 additions and 0 deletions
  1. +6
    -0
      tests/fate/filter-video.mak
  2. +31
    -0
      tests/ref/fate/filter-yadif10
  3. +31
    -0
      tests/ref/fate/filter-yadif16

+ 6
- 0
tests/fate/filter-video.mak View File

@@ -7,6 +7,12 @@ fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET
FATE_YADIF += fate-filter-yadif-mode1
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 59 -vf yadif=1

FATE_YADIF += fate-filter-yadif10
fate-filter-yadif10: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p10le -vframes 30 -vf yadif=0

FATE_YADIF += fate-filter-yadif16
fate-filter-yadif16: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -flags bitexact -pix_fmt yuv420p16le -vframes 30 -vf yadif=0

FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF)

FATE_MCDEINT += fate-filter-mcdeint-fast


+ 31
- 0
tests/ref/fate/filter-yadif10 View File

@@ -0,0 +1,31 @@
#tb 0: 1/25
0, 9, 9, 1, 1244160, 0x5b49e0c0
0, 10, 10, 1, 1244160, 0x76ba6bab
0, 11, 11, 1, 1244160, 0x0298cb8d
0, 12, 12, 1, 1244160, 0x9c81759a
0, 13, 13, 1, 1244160, 0xa239d1ae
0, 14, 14, 1, 1244160, 0x3e95ada9
0, 15, 15, 1, 1244160, 0x8b87e8f8
0, 16, 16, 1, 1244160, 0x64f89653
0, 17, 17, 1, 1244160, 0x58e5d12e
0, 18, 18, 1, 1244160, 0x38b4003a
0, 19, 19, 1, 1244160, 0xc005c29c
0, 20, 20, 1, 1244160, 0x10c0c60d
0, 21, 21, 1, 1244160, 0x1b550998
0, 22, 22, 1, 1244160, 0x7aacf6ab
0, 23, 23, 1, 1244160, 0xeb205d98
0, 24, 24, 1, 1244160, 0x6ad2134c
0, 25, 25, 1, 1244160, 0x8aea4e56
0, 26, 26, 1, 1244160, 0x0d910a6b
0, 27, 27, 1, 1244160, 0x749ae307
0, 28, 28, 1, 1244160, 0x8ff7af3c
0, 29, 29, 1, 1244160, 0x9ba51b91
0, 30, 30, 1, 1244160, 0xad476514
0, 31, 31, 1, 1244160, 0x674481d6
0, 32, 32, 1, 1244160, 0x0937e677
0, 33, 33, 1, 1244160, 0x6c2c53ee
0, 34, 34, 1, 1244160, 0x524a164e
0, 35, 35, 1, 1244160, 0x77a405ab
0, 36, 36, 1, 1244160, 0xaa6b47c4
0, 37, 37, 1, 1244160, 0x0b5ab556
0, 38, 38, 1, 1244160, 0xbe1edab9

+ 31
- 0
tests/ref/fate/filter-yadif16 View File

@@ -0,0 +1,31 @@
#tb 0: 1/25
0, 9, 9, 1, 1244160, 0xfb65caee
0, 10, 10, 1, 1244160, 0x6222e690
0, 11, 11, 1, 1244160, 0x020ac648
0, 12, 12, 1, 1244160, 0xb76691ca
0, 13, 13, 1, 1244160, 0xe0fd7404
0, 14, 14, 1, 1244160, 0x3ab29705
0, 15, 15, 1, 1244160, 0xbe807835
0, 16, 16, 1, 1244160, 0x77d358fd
0, 17, 17, 1, 1244160, 0x359b174f
0, 18, 18, 1, 1244160, 0xe20f0e7f
0, 19, 19, 1, 1244160, 0x988966ec
0, 20, 20, 1, 1244160, 0xd078da72
0, 21, 21, 1, 1244160, 0x276d97f7
0, 22, 22, 1, 1244160, 0xf8ee7ca0
0, 23, 23, 1, 1244160, 0x776bed72
0, 24, 24, 1, 1244160, 0xb9bf92b2
0, 25, 25, 1, 1244160, 0x30e01094
0, 26, 26, 1, 1244160, 0xbc5f3139
0, 27, 27, 1, 1244160, 0x44324902
0, 28, 28, 1, 1244160, 0x64aab8f5
0, 29, 29, 1, 1244160, 0x0a05aeac
0, 30, 30, 1, 1244160, 0x31e5aa36
0, 31, 31, 1, 1244160, 0xa685405f
0, 32, 32, 1, 1244160, 0x54a6e776
0, 33, 33, 1, 1244160, 0x9af4d8c9
0, 34, 34, 1, 1244160, 0xf709ac9a
0, 35, 35, 1, 1244160, 0x12a9441d
0, 36, 36, 1, 1244160, 0xf3f1bd5e
0, 37, 37, 1, 1244160, 0x7bcef716
0, 38, 38, 1, 1244160, 0xe3a2f129

Loading…
Cancel
Save