Browse Source

fate: add framepack filter test

tags/n2.2-rc1
Vittorio Giovara 12 years ago
parent
commit
11d704dc94
6 changed files with 88 additions and 0 deletions
  1. +8
    -0
      tests/fate/filter-video.mak
  2. +16
    -0
      tests/ref/fate/filter-framepack-columns
  3. +16
    -0
      tests/ref/fate/filter-framepack-frameseq
  4. +16
    -0
      tests/ref/fate/filter-framepack-lines
  5. +16
    -0
      tests/ref/fate/filter-framepack-sbs
  6. +16
    -0
      tests/ref/fate/filter-framepack-tab

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

@@ -24,6 +24,14 @@ fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out
FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder
fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff -sws_flags +accurate_rnd+bitexact fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff -sws_flags +accurate_rnd+bitexact


define FATE_FPFILTER_SUITE
FATE_FILTER_VSYNTH-$(CONFIG_FRAMEPACK_FILTER) += fate-filter-framepack-$(1)
fate-filter-framepack-$(1): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(1) -frames 15
endef

FPMODES = columns frameseq lines sbs tab
$(foreach MODE,$(FPMODES),$(eval $(call FATE_FPFILTER_SUITE,$(MODE))))

FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun




+ 16
- 0
tests/ref/fate/filter-framepack-columns View File

@@ -0,0 +1,16 @@
#tb 0: 1/25
0, 0, 0, 1, 304128, 0x8cde13ed
0, 1, 1, 1, 304128, 0xc97fcaa2
0, 2, 2, 1, 304128, 0x8139eca3
0, 3, 3, 1, 304128, 0x295c016f
0, 4, 4, 1, 304128, 0x813a6cb3
0, 5, 5, 1, 304128, 0x0e1b51db
0, 6, 6, 1, 304128, 0x0c46f846
0, 7, 7, 1, 304128, 0xdf281767
0, 8, 8, 1, 304128, 0xfc37005b
0, 9, 9, 1, 304128, 0x0be5722a
0, 10, 10, 1, 304128, 0xc1618ec0
0, 11, 11, 1, 304128, 0xc6f0f9b9
0, 12, 12, 1, 304128, 0x6f015ad1
0, 13, 13, 1, 304128, 0xf17e4455
0, 14, 14, 1, 304128, 0xbcb31bc9

+ 16
- 0
tests/ref/fate/filter-framepack-frameseq View File

@@ -0,0 +1,16 @@
#tb 0: 1/50
0, 0, 0, 1, 152064, 0x05b789ef
0, 1, 1, 1, 152064, 0x05b789ef
0, 2, 2, 1, 152064, 0x4bb46551
0, 3, 3, 1, 152064, 0x4bb46551
0, 4, 4, 1, 152064, 0x9dddf64a
0, 5, 5, 1, 152064, 0x9dddf64a
0, 6, 6, 1, 152064, 0x2a8380b0
0, 7, 7, 1, 152064, 0x2a8380b0
0, 8, 8, 1, 152064, 0x4de3b652
0, 9, 9, 1, 152064, 0x4de3b652
0, 10, 10, 1, 152064, 0xedb5a8e6
0, 11, 11, 1, 152064, 0xedb5a8e6
0, 12, 12, 1, 152064, 0xe20f7c23
0, 13, 13, 1, 152064, 0xe20f7c23
0, 14, 14, 1, 152064, 0x5ab58bac

+ 16
- 0
tests/ref/fate/filter-framepack-lines View File

@@ -0,0 +1,16 @@
#tb 0: 1/25
0, 0, 0, 1, 304128, 0x901a13ed
0, 1, 1, 1, 304128, 0x793ccaa2
0, 2, 2, 1, 304128, 0x9eafeca3
0, 3, 3, 1, 304128, 0x18f0016f
0, 4, 4, 1, 304128, 0xc90f6cb3
0, 5, 5, 1, 304128, 0x82d751db
0, 6, 6, 1, 304128, 0x7cd2f846
0, 7, 7, 1, 304128, 0xb3801767
0, 8, 8, 1, 304128, 0x3372005b
0, 9, 9, 1, 304128, 0x822a722a
0, 10, 10, 1, 304128, 0x05908ec0
0, 11, 11, 1, 304128, 0xabbbf9b9
0, 12, 12, 1, 304128, 0x1b345ad1
0, 13, 13, 1, 304128, 0x6ccd4455
0, 14, 14, 1, 304128, 0xad541bc9

+ 16
- 0
tests/ref/fate/filter-framepack-sbs View File

@@ -0,0 +1,16 @@
#tb 0: 1/25
0, 0, 0, 1, 304128, 0x901a13ed
0, 1, 1, 1, 304128, 0x793ccaa2
0, 2, 2, 1, 304128, 0x9eafeca3
0, 3, 3, 1, 304128, 0x18f0016f
0, 4, 4, 1, 304128, 0xc90f6cb3
0, 5, 5, 1, 304128, 0x82d751db
0, 6, 6, 1, 304128, 0x7cd2f846
0, 7, 7, 1, 304128, 0xb3801767
0, 8, 8, 1, 304128, 0x3372005b
0, 9, 9, 1, 304128, 0x822a722a
0, 10, 10, 1, 304128, 0x05908ec0
0, 11, 11, 1, 304128, 0xabbbf9b9
0, 12, 12, 1, 304128, 0x1b345ad1
0, 13, 13, 1, 304128, 0x6ccd4455
0, 14, 14, 1, 304128, 0xad541bc9

+ 16
- 0
tests/ref/fate/filter-framepack-tab View File

@@ -0,0 +1,16 @@
#tb 0: 1/25
0, 0, 0, 1, 304128, 0x0b6b13ed
0, 1, 1, 1, 304128, 0x406bcaa2
0, 2, 2, 1, 304128, 0xb0deeca3
0, 3, 3, 1, 304128, 0x5781016f
0, 4, 4, 1, 304128, 0xff6c6cb3
0, 5, 5, 1, 304128, 0x197151db
0, 6, 6, 1, 304128, 0xca1cf846
0, 7, 7, 1, 304128, 0x396e1767
0, 8, 8, 1, 304128, 0x0215005b
0, 9, 9, 1, 304128, 0xd9ae722a
0, 10, 10, 1, 304128, 0xd0f98ec0
0, 11, 11, 1, 304128, 0x1d0ef9b9
0, 12, 12, 1, 304128, 0xef005ad1
0, 13, 13, 1, 304128, 0x00564455
0, 14, 14, 1, 304128, 0xe3eb1bc9

Loading…
Cancel
Save