image.mak 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. FATE_ALIASPIX += fate-aliaspix-bgr
  2. fate-aliaspix-bgr: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/first.pix -pix_fmt bgr24
  3. FATE_ALIASPIX += fate-aliaspix-gray
  4. fate-aliaspix-gray: CMD = framecrc -i $(TARGET_SAMPLES)/aliaspix/firstgray.pix -pix_fmt gray
  5. FATE_ALIASPIX-$(call DEMDEC, IMAGE2, ALIAS_PIX) += $(FATE_ALIASPIX)
  6. FATE_IMAGE += $(FATE_ALIASPIX-yes)
  7. fate-aliaspix: $(FATE_ALIASPIX-yes)
  8. FATE_BRENDERPIX += fate-brenderpix-24
  9. fate-brenderpix-24: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/sbwheel.pix
  10. FATE_BRENDERPIX += fate-brenderpix-565
  11. fate-brenderpix-565: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/maximafront.pix
  12. FATE_BRENDERPIX += fate-brenderpix-defpal
  13. fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24
  14. FATE_BRENDERPIX += fate-brenderpix-intpal
  15. fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24
  16. FATE_BRENDERPIX += fate-brenderpix-y400a
  17. fate-brenderpix-y400a: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/gears.pix
  18. FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX)
  19. FATE_IMAGE += $(FATE_BRENDERPIX-yes)
  20. fate-brenderpix: $(FATE_BRENDERPIX-yes)
  21. FATE_IMAGE-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP) += fate-bmpparser
  22. fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/numbers.bmp -pix_fmt rgb24
  23. FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
  24. fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
  25. FATE_EXR += fate-exr-slice-raw
  26. fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
  27. FATE_EXR += fate-exr-slice-rle
  28. fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
  29. FATE_EXR += fate-exr-slice-zip1
  30. fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
  31. FATE_EXR += fate-exr-slice-zip16
  32. fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
  33. FATE_EXR += fate-exr-slice-pxr24
  34. fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
  35. FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
  36. FATE_IMAGE += $(FATE_EXR-yes)
  37. fate-exr: $(FATE_EXR-yes)
  38. FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
  39. fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
  40. FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
  41. fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
  42. define FATE_IMGSUITE_PNG
  43. FATE_PNG += fate-png-$(1)
  44. fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
  45. endef
  46. PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba ya8 ya16
  47. $(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
  48. FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
  49. FATE_IMAGE += $(FATE_PNG-yes)
  50. fate-png: $(FATE_PNG-yes)
  51. FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
  52. fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
  53. FATE_SGI += fate-sgi-gray
  54. fate-sgi-gray: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_gray.sgi -pix_fmt gray
  55. FATE_SGI += fate-sgi-gray16
  56. fate-sgi-gray16: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_gray16.sgi -pix_fmt gray16le
  57. FATE_SGI += fate-sgi-rgb24
  58. fate-sgi-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgb24.sgi -pix_fmt rgb24
  59. FATE_SGI += fate-sgi-rgb24-rle
  60. fate-sgi-rgb24-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb24_rle.sgi -pix_fmt rgb24
  61. FATE_SGI += fate-sgi-rgb48
  62. fate-sgi-rgb48: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgb48.sgi -pix_fmt rgb48be
  63. FATE_SGI += fate-sgi-rgb48-rle
  64. fate-sgi-rgb48-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/uvmap_rgb48_rle.sgi -pix_fmt rgb48be
  65. FATE_SGI += fate-sgi-rgba
  66. fate-sgi-rgba: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgba.sgi -pix_fmt rgba
  67. FATE_SGI += fate-sgi-rgba64
  68. fate-sgi-rgba64: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/lena_rgba64.sgi -pix_fmt rgba64be
  69. FATE_SGI += fate-sgi-rgba64-rle
  70. fate-sgi-rgba64-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/maya_rgba64_rle.sgi -pix_fmt rgba64be
  71. FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
  72. FATE_SAMPLES_AVCONV += $(FATE_SGI-yes)
  73. fate-sgi: $(FATE_SGI-yes)
  74. FATE_SUNRASTER += fate-sunraster-1bit-raw
  75. fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
  76. FATE_SUNRASTER += fate-sunraster-1bit-rle
  77. fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
  78. FATE_SUNRASTER += fate-sunraster-8bit-raw
  79. fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
  80. FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
  81. fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
  82. FATE_SUNRASTER += fate-sunraster-8bit-rle
  83. fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
  84. FATE_SUNRASTER += fate-sunraster-24bit-raw
  85. fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
  86. FATE_SUNRASTER += fate-sunraster-24bit-rle
  87. fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
  88. FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
  89. FATE_IMAGE += $(FATE_SUNRASTER-yes)
  90. fate-sunraster: $(FATE_SUNRASTER-yes)
  91. FATE_TARGA = CBW8 \
  92. CCM8 \
  93. CTC16 \
  94. CTC24 \
  95. CTC32 \
  96. UBW8 \
  97. UCM8 \
  98. UTC16 \
  99. UTC24 \
  100. UTC32
  101. FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \
  102. fate-targa-top-to-bottom
  103. FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
  104. FATE_IMAGE += $(FATE_TARGA-yes)
  105. fate-targa: $(FATE_TARGA-yes)
  106. fate-targa-conformance-CBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
  107. fate-targa-conformance-CCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA -pix_fmt rgba
  108. fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
  109. fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
  110. fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
  111. fate-targa-conformance-UBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
  112. fate-targa-conformance-UCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA -pix_fmt rgba
  113. fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
  114. fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
  115. fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
  116. fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
  117. FATE_TIFF += fate-tiff-fax-g3
  118. fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
  119. FATE_TIFF += fate-tiff-fax-g3s
  120. fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
  121. FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
  122. FATE_IMAGE += $(FATE_TIFF-yes)
  123. fate-tiff: $(FATE_TIFF-yes)
  124. FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
  125. fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
  126. FATE_XBM += fate-xbm10
  127. fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
  128. FATE_XBM += fate-xbm11
  129. fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
  130. FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
  131. FATE_IMAGE += $(FATE_XBM-yes)
  132. fate-xbm: $(FATE_XBM-yes)
  133. FATE_IMAGE += $(FATE_IMAGE-yes)
  134. FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
  135. fate-image: $(FATE_IMAGE)