Browse Source

fate: add a pngparser test

tags/n2.2-rc1
Vittorio Giovara 12 years ago
parent
commit
cfb4ee3097
2 changed files with 8 additions and 0 deletions
  1. +3
    -0
      tests/fate/image.mak
  2. +5
    -0
      tests/ref/fate/pngparser

+ 3
- 0
tests/fate/image.mak View File

@@ -4,6 +4,9 @@ fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24

FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/libav_4x_concat.png

FATE_SAMPLES_AVCONV-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24



+ 5
- 0
tests/ref/fate/pngparser View File

@@ -0,0 +1,5 @@
#tb 0: 1/25
0, 0, 0, 1, 271040, 0xffe62f5f
0, 1, 1, 1, 271040, 0xcf502f5f
0, 2, 2, 1, 271040, 0x72612f5f
0, 3, 3, 1, 271040, 0x41cb2f5f

Loading…
Cancel
Save