image.mak 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486
  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. define FATE_IMGSUITE_DDS
  24. FATE_DDS += fate-dds-$(1)
  25. fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/fate_$(1).dds $(DDS_OPTS_$(1))
  26. endef
  27. DDS_OPTS_pal = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
  28. DDS_OPTS_pal-ati = -sws_flags +accurate_rnd+bitexact -pix_fmt rgba
  29. DDS_FMT = alpha8 \
  30. argb \
  31. argb-aexp \
  32. dx10-bc1 \
  33. dx10-bc1a \
  34. dx10-bc2 \
  35. dx10-bc3 \
  36. dx10-bc4 \
  37. dx10-bc5 \
  38. dxt1 \
  39. dxt1a \
  40. dxt1-normalmap \
  41. dxt2 \
  42. dxt3 \
  43. dxt4 \
  44. dxt5 \
  45. dxt5-aexp \
  46. dxt5-normalmap \
  47. dxt5-normalmap-ati \
  48. dxt5-rbxg \
  49. dxt5-rgxb \
  50. dxt5-rxbg \
  51. dxt5-rxgb \
  52. dxt5-xgbr \
  53. dxt5-xgxr \
  54. dxt5-xrbg \
  55. dxt5-ycocg \
  56. dxt5-ycocg-scaled \
  57. monob \
  58. pal \
  59. pal-ati \
  60. rgb1555 \
  61. rgb16 \
  62. rgb24 \
  63. rgb555 \
  64. rgba \
  65. rgtc1s \
  66. rgtc1u \
  67. rgtc2s \
  68. rgtc2u \
  69. rgtc2u-xy \
  70. uyvy \
  71. xbgr \
  72. xrgb \
  73. y \
  74. ya \
  75. ycocg \
  76. yuyv
  77. $(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT))))
  78. FATE_DDS-$(call DEMDEC, IMAGE2, DDS) += $(FATE_DDS)
  79. FATE_IMAGE += $(FATE_DDS-yes)
  80. fate-dds: $(FATE_DDS-yes)
  81. FATE_IMAGE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
  82. fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
  83. FATE_SAMPLES_AVCONV-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX) += fate-dpxparser
  84. fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
  85. FATE_EXR += fate-exr-slice-raw
  86. fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -pix_fmt rgba64le
  87. FATE_EXR += fate-exr-slice-rle
  88. fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -pix_fmt rgba64le
  89. FATE_EXR += fate-exr-slice-zip1
  90. fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -pix_fmt rgba64le
  91. FATE_EXR += fate-exr-slice-zip16
  92. fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -pix_fmt rgba64le
  93. FATE_EXR += fate-exr-slice-pxr24
  94. fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -pix_fmt rgb48le
  95. FATE_EXR += fate-exr-rgb-scanline-pxr24-float-12x8
  96. fate-exr-rgb-scanline-pxr24-float-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_12x8.exr -pix_fmt rgb48le
  97. FATE_EXR += fate-exr-rgba-multiscanline-half-b44
  98. fate-exr-rgba-multiscanline-half-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_multiscanline_half_b44.exr -pix_fmt rgba64le
  99. FATE_EXR += fate-exr-rgb-scanline-float-b44
  100. fate-exr-rgb-scanline-float-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_b44.exr -pix_fmt rgb48le
  101. FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8
  102. fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_12x8.exr -pix_fmt rgb48le
  103. FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9
  104. fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_13x9.exr -pix_fmt rgb48le
  105. FATE_EXR += fate-exr-rgb-tile-float-raw-12x8
  106. fate-exr-rgb-tile-float-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_12x8.exr -pix_fmt rgb48le
  107. FATE_EXR += fate-exr-rgb-tile-float-raw-150x130
  108. fate-exr-rgb-tile-float-raw-150x130: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_150x130.exr -pix_fmt rgb48le
  109. FATE_EXR += fate-exr-rgb-tile-half-raw-12x8
  110. fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.exr -pix_fmt rgb48le
  111. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l1
  112. fate-exr-rgba-scanline-float-half-b44-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_13x9.exr -pix_fmt rgba64le
  113. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l2
  114. fate-exr-rgba-scanline-float-half-b44-13x9-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_13x9.exr -pix_fmt rgba64le
  115. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l1
  116. fate-exr-rgba-scanline-float-half-b44-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_12x8.exr -pix_fmt rgba64le
  117. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l2
  118. fate-exr-rgba-scanline-float-half-b44-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_12x8.exr -pix_fmt rgba64le
  119. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l1
  120. fate-exr-rgba-scanline-float-half-b44a-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_12x8.exr -pix_fmt rgba64le
  121. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l2
  122. fate-exr-rgba-scanline-float-half-b44a-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_12x8.exr -pix_fmt rgba64le
  123. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l1
  124. fate-exr-rgba-scanline-float-half-b44a-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_13x9.exr -pix_fmt rgba64le
  125. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l2
  126. fate-exr-rgba-scanline-float-half-b44a-13x9-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_13x9.exr -pix_fmt rgba64le
  127. FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l1
  128. fate-exr-rgb-tile-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -pix_fmt rgb48le
  129. FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l2
  130. fate-exr-rgb-tile-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -pix_fmt rgba64le
  131. FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l1
  132. fate-exr-rgb-tile-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -pix_fmt rgb48le
  133. FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l2
  134. fate-exr-rgb-tile-pxr24-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -pix_fmt rgba64le
  135. FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l1
  136. fate-exr-rgb-tile-half-float-b44-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_float_b44_12x8.exr -pix_fmt rgb48le
  137. FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l2
  138. fate-exr-rgb-tile-half-float-b44-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_half_float_b44_12x8.exr -pix_fmt rgba64le
  139. FATE_EXR += fate-exr-rgb-tile-zip-half-float-l1
  140. fate-exr-rgb-tile-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -pix_fmt rgb48le
  141. FATE_EXR += fate-exr-rgb-tile-zip-half-float-l2
  142. fate-exr-rgb-tile-zip-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -pix_fmt rgba64le
  143. FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l1
  144. fate-exr-rgb-tile-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -pix_fmt rgb48le
  145. FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l2
  146. fate-exr-rgb-tile-zip1-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -pix_fmt rgba64le
  147. FATE_EXR += fate-exr-rgb-tile-rle-half-float-l1
  148. fate-exr-rgb-tile-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -pix_fmt rgb48le
  149. FATE_EXR += fate-exr-rgb-tile-rle-half-float-l2
  150. fate-exr-rgb-tile-rle-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -pix_fmt rgba64le
  151. FATE_EXR += fate-exr-rgb-tile-raw-half-float-l1
  152. fate-exr-rgb-tile-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -pix_fmt rgb48le
  153. FATE_EXR += fate-exr-rgb-tile-raw-half-float-l2
  154. fate-exr-rgb-tile-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -pix_fmt rgba64le
  155. FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l1
  156. fate-exr-rgb-scanline-b44-half-float-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_half_float_12x8.exr -pix_fmt rgb48le
  157. FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l2
  158. fate-exr-rgb-scanline-b44-half-float-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_half_float_12x8.exr -pix_fmt rgba64le
  159. FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l1
  160. fate-exr-rgb-scanline-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -pix_fmt rgb48le
  161. FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l2
  162. fate-exr-rgb-scanline-pxr24-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -pix_fmt rgba64le
  163. FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l1
  164. fate-exr-rgb-scanline-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -pix_fmt rgb48le
  165. FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l2
  166. fate-exr-rgb-scanline-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -pix_fmt rgba64le
  167. FATE_EXR += fate-exr-rgb-scanline-pxr24-half-uint32-13x9
  168. fate-exr-rgb-scanline-pxr24-half-uint32-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_uint32_13x9.exr -pix_fmt rgb48le
  169. FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l1
  170. fate-exr-rgb-scanline-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -pix_fmt rgb48le
  171. FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l2
  172. fate-exr-rgb-scanline-zip-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -pix_fmt rgba64le
  173. FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1
  174. fate-exr-rgb-scanline-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -pix_fmt rgb48le
  175. FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l2
  176. fate-exr-rgb-scanline-zip1-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -pix_fmt rgba64le
  177. FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l1
  178. fate-exr-rgb-scanline-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -pix_fmt rgb48le
  179. FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l2
  180. fate-exr-rgb-scanline-rle-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -pix_fmt rgba64le
  181. FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l1
  182. fate-exr-rgb-scanline-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -pix_fmt rgb48le
  183. FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l2
  184. fate-exr-rgb-scanline-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -pix_fmt rgba64le
  185. FATE_EXR += fate-exr-rgb-scanline-b44-uint32
  186. fate-exr-rgb-scanline-b44-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_uint32.exr -pix_fmt rgb48le
  187. FATE_EXR += fate-exr-rgb-scanline-pxr24-uint32
  188. fate-exr-rgb-scanline-pxr24-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_uint32.exr -pix_fmt rgb48le
  189. FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets
  190. fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float_zero_offsets.exr -pix_fmt rgb48le
  191. FATE_EXR += fate-exr-rgb-scanline-half-piz-bw
  192. fate-exr-rgb-scanline-half-piz-bw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_bw.exr -pix_fmt rgb48le
  193. FATE_EXR += fate-exr-rgb-scanline-half-piz-color
  194. fate-exr-rgb-scanline-half-piz-color: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_color.exr -pix_fmt rgb48le
  195. FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t01
  196. fate-exr-rgb-scanline-half-piz-dw-t01: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t01.exr -pix_fmt rgb48le
  197. FATE_EXR += fate-exr-rgb-scanline-float-piz-48x32
  198. fate-exr-rgb-scanline-float-piz-48x32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_piz_48x32.exr -pix_fmt rgb48le
  199. FATE_EXR += fate-exr-rgb-scanline-none-negative-red
  200. fate-exr-rgb-scanline-none-negative-red: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_none_negative_red.exr -pix_fmt rgb48le
  201. FATE_EXR += fate-exr-rgb-b44a-half-negative-4x4
  202. fate-exr-rgb-b44a-half-negative-4x4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_b44a_half_negative_4x4.exr -pix_fmt rgb48le
  203. FATE_EXR += fate-exr-y-tile-zip-half-12x8
  204. fate-exr-y-tile-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_tile_zip_half_12x8.exr -pix_fmt gray16le
  205. FATE_EXR += fate-exr-y-scanline-zip-half-12x8
  206. fate-exr-y-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_scanline_zip_half_12x8.exr -pix_fmt gray16le
  207. FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t08
  208. fate-exr-rgb-scanline-half-piz-dw-t08: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t08.exr -pix_fmt rgb48le
  209. FATE_EXR += fate-exr-rgba-zip16-16x32-flag4
  210. fate-exr-rgba-zip16-16x32-flag4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_zip16_16x32_flag4.exr -pix_fmt rgba64le
  211. FATE_EXR-$(call DEMDEC, IMAGE2, EXR) += $(FATE_EXR)
  212. FATE_IMAGE += $(FATE_EXR-yes)
  213. fate-exr: $(FATE_EXR-yes)
  214. FATE_JPG += fate-jpg-12bpp
  215. fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -f rawvideo -pix_fmt gray16le -vf setsar=sar=sar
  216. FATE_JPG += fate-jpg-jfif
  217. fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg
  218. FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG)
  219. FATE_IMAGE += $(FATE_JPG-yes)
  220. fate-jpg: $(FATE_JPG-yes)
  221. FATE_IMAGE-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
  222. fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
  223. FATE_IMAGE-$(call DEMDEC, IMAGE2, PICTOR) += fate-pictor
  224. fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24
  225. FATE_IMAGE-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
  226. fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
  227. define FATE_IMGSUITE_PNG
  228. FATE_PNG += fate-png-$(1)
  229. fate-png-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
  230. endef
  231. PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
  232. $(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
  233. FATE_PNG += fate-png-int-rgb24
  234. fate-png-int-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
  235. FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
  236. FATE_IMAGE += $(FATE_PNG-yes)
  237. fate-png: $(FATE_PNG-yes)
  238. FATE_IMAGE-$(call DEMDEC, IMAGE2, PTX) += fate-ptx
  239. fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24
  240. define FATE_IMGSUITE_PSD
  241. FATE_PSD += fate-psd-$(1)
  242. fate-psd-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-$(1).psd -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
  243. endef
  244. PSD_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
  245. $(foreach CLSP,$(PSD_COLORSPACES),$(eval $(call FATE_IMGSUITE_PSD,$(CLSP))))
  246. FATE_PSD += fate-psd-lena-127x127-rgb24
  247. fate-psd-lena-127x127-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-127x127_rgb24.psd
  248. FATE_PSD += fate-psd-lena-rgb-rle-127x127-16b
  249. fate-psd-lena-rgb-rle-127x127-16b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_16b.psd
  250. FATE_PSD += fate-psd-lena-rgb-rle-127x127-8b
  251. fate-psd-lena-rgb-rle-127x127-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_8b.psd
  252. FATE_PSD += fate-psd-lena-rgba-rle-128x128-8b
  253. fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgba_rle_128x128_8b.psd
  254. FATE_PSD += fate-psd-lena-256c
  255. fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd
  256. FATE_PSD += fate-psd-lena-bitmap
  257. fate-psd-lena-bitmap: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-bitmap.psd
  258. FATE_PSD += fate-psd-duo-tone-color
  259. fate-psd-duo-tone-color: CMD = framecrc -i $(TARGET_SAMPLES)/psd/duotone-color.psd
  260. FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD)
  261. FATE_IMAGE += $(FATE_PSD-yes)
  262. fate-psd: $(FATE_PSD-yes)
  263. define FATE_IMGSUITE_SGI
  264. FATE_SGI += fate-sgi-$(1) fate-sgi-$(1)-rle
  265. fate-sgi-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1).sgi -sws_flags +accurate_rnd+bitexact
  266. fate-sgi-$(1)-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1)_rle.sgi -sws_flags +accurate_rnd+bitexact
  267. endef
  268. SGI_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64
  269. $(foreach CLSP,$(SGI_COLORSPACES),$(eval $(call FATE_IMGSUITE_SGI,$(CLSP))))
  270. FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
  271. FATE_IMAGE += $(FATE_SGI-yes)
  272. fate-sgi: $(FATE_SGI-yes)
  273. FATE_SUNRASTER += fate-sunraster-1bit-raw
  274. fate-sunraster-1bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-raw.sun
  275. FATE_SUNRASTER += fate-sunraster-1bit-rle
  276. fate-sunraster-1bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-1bit-rle.sun
  277. FATE_SUNRASTER += fate-sunraster-8bit-raw
  278. fate-sunraster-8bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-raw.sun -pix_fmt rgb24
  279. FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
  280. fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
  281. FATE_SUNRASTER += fate-sunraster-8bit-rle
  282. fate-sunraster-8bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-8bit-rle.sun -pix_fmt rgb24
  283. FATE_SUNRASTER += fate-sunraster-24bit-raw
  284. fate-sunraster-24bit-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-raw.sun
  285. FATE_SUNRASTER += fate-sunraster-24bit-rle
  286. fate-sunraster-24bit-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-24bit-rle.sun
  287. FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
  288. FATE_IMAGE += $(FATE_SUNRASTER-yes)
  289. fate-sunraster: $(FATE_SUNRASTER-yes)
  290. FATE_TARGA = CBW8 \
  291. CCM8 \
  292. CTC16 \
  293. CTC24 \
  294. CTC32 \
  295. UBW8 \
  296. UCM8 \
  297. UTC16 \
  298. UTC24 \
  299. UTC32
  300. FATE_TARGA := $(FATE_TARGA:%=fate-targa-conformance-%) \
  301. fate-targa-top-to-bottom
  302. FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += $(FATE_TARGA)
  303. FATE_IMAGE += $(FATE_TARGA-yes)
  304. fate-targa: $(FATE_TARGA-yes)
  305. fate-targa-conformance-CBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CBW8.TGA
  306. fate-targa-conformance-CCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CCM8.TGA -pix_fmt rgba
  307. fate-targa-conformance-CTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC16.TGA -pix_fmt rgb555le
  308. fate-targa-conformance-CTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC24.TGA
  309. fate-targa-conformance-CTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/CTC32.TGA -pix_fmt bgra
  310. fate-targa-conformance-UBW8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UBW8.TGA
  311. fate-targa-conformance-UCM8: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UCM8.TGA -pix_fmt rgba
  312. fate-targa-conformance-UTC16: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC16.TGA -pix_fmt rgb555le
  313. fate-targa-conformance-UTC24: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC24.TGA
  314. fate-targa-conformance-UTC32: CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/UTC32.TGA -pix_fmt bgra
  315. fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
  316. FATE_TIFF += fate-tiff-fax-g3
  317. fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
  318. FATE_TIFF += fate-tiff-fax-g3s
  319. fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
  320. FATE_TIFF-$(call DEMDEC, IMAGE2, TIFF) += $(FATE_TIFF)
  321. FATE_IMAGE += $(FATE_TIFF-yes)
  322. fate-tiff: $(FATE_TIFF-yes)
  323. FATE_WEBP += fate-webp-rgb-lossless
  324. fate-webp-rgb-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lossless.webp
  325. FATE_WEBP += fate-webp-rgb-lena-lossless
  326. fate-webp-rgb-lena-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp
  327. FATE_WEBP += fate-webp-rgb-lena-lossless-rgb24
  328. fate-webp-rgb-lena-lossless-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp -pix_fmt rgb24
  329. FATE_WEBP += fate-webp-rgba-lossless
  330. fate-webp-rgba-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_lossless.webp
  331. FATE_WEBP += fate-webp-rgb-lossy-q80
  332. fate-webp-rgb-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_q80.webp
  333. FATE_WEBP += fate-webp-rgba-lossy-q80
  334. fate-webp-rgba-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_q80.webp
  335. FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
  336. FATE_IMAGE += $(FATE_WEBP-yes)
  337. fate-webp: $(FATE_WEBP-yes)
  338. FATE_IMAGE-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
  339. fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
  340. FATE_XBM += fate-xbm10
  341. fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
  342. FATE_XBM += fate-xbm11
  343. fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
  344. FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
  345. FATE_IMAGE += $(FATE_XBM-yes)
  346. fate-xbm: $(FATE_XBM-yes)
  347. FATE_IMAGE += $(FATE_IMAGE-yes)
  348. FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
  349. fate-image: $(FATE_IMAGE)