image.mak 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601
  1. ADD_SCALE_IF = $(if $(findstring -vf scale,$(1)), SCALE_FILTER)
  2. FATE_ALIASPIX += fate-aliaspix-bgr
  3. fate-aliaspix-bgr: CMD = transcode alias_pix $(TARGET_SAMPLES)/aliaspix/first.pix image2 "-c alias_pix" "-map 0 -map 0 -pix_fmt:0 bgr24 -c:v:1 copy"
  4. FATE_ALIASPIX += fate-aliaspix-gray
  5. fate-aliaspix-gray: CMD = transcode alias_pix $(TARGET_SAMPLES)/aliaspix/firstgray.pix image2 "-c alias_pix" "-map 0 -map 0 -pix_fmt:0 gray -c:v:1 copy"
  6. FATE_ALIASPIX-$(call TRANSCODE, ALIAS_PIX, IMAGE2 IMAGE2_ALIAS_PIX) += $(FATE_ALIASPIX)
  7. FATE_IMAGE += $(FATE_ALIASPIX-yes)
  8. fate-aliaspix: $(FATE_ALIASPIX-yes)
  9. FATE_BRENDERPIX += fate-brenderpix-24
  10. fate-brenderpix-24: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/sbwheel.pix
  11. FATE_BRENDERPIX += fate-brenderpix-565
  12. fate-brenderpix-565: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/maximafront.pix
  13. FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX, SCALE_FILTER) += fate-brenderpix-defpal
  14. fate-brenderpix-defpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/rivrock1.pix -pix_fmt rgb24 -vf scale
  15. FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX, SCALE_FILTER) += fate-brenderpix-intpal
  16. fate-brenderpix-intpal: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/testtex.pix -pix_fmt rgb24 -vf scale
  17. FATE_BRENDERPIX += fate-brenderpix-y400a
  18. fate-brenderpix-y400a: CMD = framecrc -c:v brender_pix -i $(TARGET_SAMPLES)/brenderpix/gears.pix
  19. FATE_BRENDERPIX-$(call DEMDEC, IMAGE2, BRENDER_PIX) += $(FATE_BRENDERPIX)
  20. FATE_IMAGE_FRAMECRC += $(FATE_BRENDERPIX-yes)
  21. fate-brenderpix: $(FATE_BRENDERPIX-yes)
  22. FATE_IMAGE_FRAMECRC-$(call PARSERDEMDEC, BMP, IMAGE2PIPE, BMP, SCALE_FILTER) += fate-bmpparser
  23. fate-bmpparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/bmp/numbers.bmp -pix_fmt rgb24 -vf scale
  24. define FATE_IMGSUITE_DDS
  25. FATE_DDS-$(call DEMDEC, IMAGE2, DDS, $(call ADD_SCALE_IF, $(DDS_OPTS_$(1)))) += fate-dds-$(1)
  26. fate-dds-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/dds/fate_$(1).dds $(DDS_OPTS_$(1))
  27. endef
  28. DDS_OPTS_pal := -sws_flags +accurate_rnd+bitexact -pix_fmt rgba -vf scale
  29. DDS_OPTS_pal-ati:= -sws_flags +accurate_rnd+bitexact -pix_fmt rgba -vf scale
  30. DDS_FMT = alpha8 \
  31. argb \
  32. argb-aexp \
  33. dx10-bc1 \
  34. dx10-bc1a \
  35. dx10-bc2 \
  36. dx10-bc3 \
  37. dx10-bc4 \
  38. dx10-bc5 \
  39. dxt1 \
  40. dxt1a \
  41. dxt1-normalmap \
  42. dxt2 \
  43. dxt3 \
  44. dxt4 \
  45. dxt5 \
  46. dxt5-aexp \
  47. dxt5-normalmap \
  48. dxt5-normalmap-ati \
  49. dxt5-rbxg \
  50. dxt5-rgxb \
  51. dxt5-rxbg \
  52. dxt5-rxgb \
  53. dxt5-xgbr \
  54. dxt5-xgxr \
  55. dxt5-xrbg \
  56. dxt5-ycocg \
  57. dxt5-ycocg-scaled \
  58. monob \
  59. pal \
  60. pal-ati \
  61. rgb1555 \
  62. rgb16 \
  63. rgb24 \
  64. rgb555 \
  65. rgba \
  66. rgtc1s \
  67. rgtc1u \
  68. rgtc2s \
  69. rgtc2u \
  70. rgtc2u-xy \
  71. uyvy \
  72. xbgr \
  73. xrgb \
  74. y \
  75. ya \
  76. ycocg \
  77. yuyv
  78. $(foreach FMT,$(DDS_FMT),$(eval $(call FATE_IMGSUITE_DDS,$(FMT))))
  79. FATE_IMAGE_FRAMECRC += $(FATE_DDS-yes)
  80. fate-dds: $(FATE_DDS-yes)
  81. FATE_IMAGE_FRAMECRC-$(call DEMDEC, IMAGE2, DPX) += fate-dpx
  82. fate-dpx: CMD = framecrc -i $(TARGET_SAMPLES)/dpx/lighthouse_rgb48.dpx
  83. # The following sample has frames whose dimensions differ on a per-frame basis
  84. # and therefore needs the scale filter.
  85. FATE_IMAGE_FRAMECRC-$(call PARSERDEMDEC, DPX, IMAGE2PIPE, DPX, SCALE_FILTER) += fate-dpxparser
  86. fate-dpxparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/dpx/lena_4x_concat.dpx -sws_flags +accurate_rnd+bitexact
  87. FATE_IMAGE_PROBE-$(call DEMDEC, IMAGE2, DPX) += fate-dpx-probe
  88. fate-dpx-probe: CMD = probeframes -show_entries frame=color_transfer,color_range,color_space,color_primaries,sample_aspect_ratio $(TARGET_SAMPLES)/dpx/cyan.dpx
  89. FATE_EXR += fate-exr-slice-raw
  90. fate-exr-slice-raw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_raw.exr -vf scale -pix_fmt gbrapf32le
  91. FATE_EXR += fate-exr-slice-rle
  92. fate-exr-slice-rle: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_rle.exr -vf scale -pix_fmt gbrapf32le
  93. FATE_EXR += fate-exr-slice-zip1
  94. fate-exr-slice-zip1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip1.exr -vf scale -pix_fmt gbrapf32le
  95. FATE_EXR += fate-exr-slice-zip16
  96. fate-exr-slice-zip16: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_slice_zip16.exr -vf scale -pix_fmt gbrapf32le
  97. FATE_EXR += fate-exr-slice-pxr24
  98. fate-exr-slice-pxr24: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_slice_pxr24.exr -vf scale -pix_fmt gbrpf32le
  99. FATE_EXR += fate-exr-rgb-scanline-pxr24-float-12x8
  100. fate-exr-rgb-scanline-pxr24-float-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_12x8.exr -vf scale -pix_fmt gbrpf32le
  101. FATE_EXR += fate-exr-rgba-multiscanline-half-b44
  102. fate-exr-rgba-multiscanline-half-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_multiscanline_half_b44.exr -vf scale -pix_fmt gbrapf32le
  103. FATE_EXR += fate-exr-rgb-scanline-float-b44
  104. fate-exr-rgb-scanline-float-b44: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_b44.exr -vf scale -pix_fmt gbrpf32le
  105. FATE_EXR += fate-exr-rgb-scanline-half-b44-12x8
  106. fate-exr-rgb-scanline-half-b44-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_12x8.exr -vf scale -pix_fmt gbrpf32le
  107. FATE_EXR += fate-exr-rgb-scanline-half-b44-13x9
  108. fate-exr-rgb-scanline-half-b44-13x9: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_b44_13x9.exr -vf scale -pix_fmt gbrpf32le
  109. FATE_EXR += fate-exr-rgb-tile-float-raw-12x8
  110. fate-exr-rgb-tile-float-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_12x8.exr -vf scale -pix_fmt gbrpf32le
  111. FATE_EXR += fate-exr-rgb-tile-float-raw-150x130
  112. fate-exr-rgb-tile-float-raw-150x130: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_float_raw_150x130.exr -vf scale -pix_fmt gbrpf32le
  113. FATE_EXR += fate-exr-rgb-tile-half-raw-12x8
  114. fate-exr-rgb-tile-half-raw-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_raw_12x8.exr -vf scale -pix_fmt gbrpf32le
  115. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l1
  116. fate-exr-rgba-scanline-float-half-b44-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_13x9.exr -vf scale -pix_fmt gbrapf32le
  117. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-13x9-l2
  118. fate-exr-rgba-scanline-float-half-b44-13x9-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_13x9.exr -vf scale -pix_fmt gbrapf32le
  119. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l1
  120. fate-exr-rgba-scanline-float-half-b44-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_12x8.exr -vf scale -pix_fmt gbrapf32le
  121. FATE_EXR += fate-exr-rgba-scanline-float-half-b44-12x8-l2
  122. fate-exr-rgba-scanline-float-half-b44-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44_12x8.exr -vf scale -pix_fmt gbrapf32le
  123. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l1
  124. fate-exr-rgba-scanline-float-half-b44a-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_12x8.exr -vf scale -pix_fmt gbrapf32le
  125. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-12x8-l2
  126. fate-exr-rgba-scanline-float-half-b44a-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_12x8.exr -vf scale -pix_fmt gbrapf32le
  127. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l1
  128. fate-exr-rgba-scanline-float-half-b44a-13x9-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_13x9.exr -vf scale -pix_fmt gbrapf32le
  129. FATE_EXR += fate-exr-rgba-scanline-float-half-b44a-13x9-l2
  130. fate-exr-rgba-scanline-float-half-b44a-13x9-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgba_scanline_float_half_b44a_13x9.exr -vf scale -pix_fmt gbrapf32le
  131. FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l1
  132. fate-exr-rgb-tile-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -vf scale -pix_fmt gbrpf32le
  133. FATE_EXR += fate-exr-rgb-tile-pxr24-float-half-l2
  134. fate-exr-rgb-tile-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_float_half.exr -vf scale -pix_fmt gbrapf32le
  135. FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l1
  136. fate-exr-rgb-tile-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -vf scale -pix_fmt gbrpf32le
  137. FATE_EXR += fate-exr-rgb-tile-pxr24-half-float-l2
  138. fate-exr-rgb-tile-pxr24-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_pxr24_half_float.exr -vf scale -pix_fmt gbrapf32le
  139. FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l1
  140. fate-exr-rgb-tile-half-float-b44-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_float_b44_12x8.exr -vf scale -pix_fmt gbrpf32le
  141. FATE_EXR += fate-exr-rgb-tile-half-float-b44-12x8-l2
  142. fate-exr-rgb-tile-half-float-b44-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_half_float_b44_12x8.exr -vf scale -pix_fmt gbrapf32le
  143. FATE_EXR += fate-exr-rgb-tile-zip-half-float-l1
  144. fate-exr-rgb-tile-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -vf scale -pix_fmt gbrpf32le
  145. FATE_EXR += fate-exr-rgb-tile-zip-half-float-l2
  146. fate-exr-rgb-tile-zip-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_zip_half_float.exr -vf scale -pix_fmt gbrapf32le
  147. FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l1
  148. fate-exr-rgb-tile-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -vf scale -pix_fmt gbrpf32le
  149. FATE_EXR += fate-exr-rgb-tile-zip1-half-float-l2
  150. fate-exr-rgb-tile-zip1-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_zip1_half_float.exr -vf scale -pix_fmt gbrapf32le
  151. FATE_EXR += fate-exr-rgb-tile-rle-half-float-l1
  152. fate-exr-rgb-tile-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -vf scale -pix_fmt gbrpf32le
  153. FATE_EXR += fate-exr-rgb-tile-rle-half-float-l2
  154. fate-exr-rgb-tile-rle-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_rle_half_float.exr -vf scale -pix_fmt gbrapf32le
  155. FATE_EXR += fate-exr-rgb-tile-raw-half-float-l1
  156. fate-exr-rgb-tile-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -vf scale -pix_fmt gbrpf32le
  157. FATE_EXR += fate-exr-rgb-tile-raw-half-float-l2
  158. fate-exr-rgb-tile-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_tile_raw_half_float.exr -vf scale -pix_fmt gbrapf32le
  159. FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l1
  160. fate-exr-rgb-scanline-b44-half-float-12x8-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_half_float_12x8.exr -vf scale -pix_fmt gbrpf32le
  161. FATE_EXR += fate-exr-rgb-scanline-b44-half-float-12x8-l2
  162. fate-exr-rgb-scanline-b44-half-float-12x8-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_half_float_12x8.exr -vf scale -pix_fmt gbrapf32le
  163. FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l1
  164. fate-exr-rgb-scanline-pxr24-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -vf scale -pix_fmt gbrpf32le
  165. FATE_EXR += fate-exr-rgb-scanline-pxr24-half-float-l2
  166. fate-exr-rgb-scanline-pxr24-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_float.exr -vf scale -pix_fmt gbrapf32le
  167. FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l1
  168. fate-exr-rgb-scanline-pxr24-float-half-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -vf scale -pix_fmt gbrpf32le
  169. FATE_EXR += fate-exr-rgb-scanline-pxr24-float-half-l2
  170. fate-exr-rgb-scanline-pxr24-float-half-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_float_half.exr -vf scale -pix_fmt gbrapf32le
  171. FATE_EXR += fate-exr-rgb-scanline-pxr24-half-uint32-13x9
  172. fate-exr-rgb-scanline-pxr24-half-uint32-13x9: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_half_uint32_13x9.exr -pix_fmt rgb48le -vf scale
  173. FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l1
  174. fate-exr-rgb-scanline-zip-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -vf scale -pix_fmt gbrpf32le
  175. FATE_EXR += fate-exr-rgb-scanline-zip-half-float-l2
  176. fate-exr-rgb-scanline-zip-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float.exr -vf scale -pix_fmt gbrapf32le
  177. FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1
  178. fate-exr-rgb-scanline-zip1-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -vf scale -pix_fmt gbrpf32le
  179. FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l2
  180. fate-exr-rgb-scanline-zip1-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float.exr -vf scale -pix_fmt gbrapf32le
  181. FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l1
  182. fate-exr-rgb-scanline-rle-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -vf scale -pix_fmt gbrpf32le
  183. FATE_EXR += fate-exr-rgb-scanline-rle-half-float-l2
  184. fate-exr-rgb-scanline-rle-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_rle_half_float.exr -vf scale -pix_fmt gbrapf32le
  185. FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l1
  186. fate-exr-rgb-scanline-raw-half-float-l1: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -vf scale -pix_fmt gbrpf32le
  187. FATE_EXR += fate-exr-rgb-scanline-raw-half-float-l2
  188. fate-exr-rgb-scanline-raw-half-float-l2: CMD = framecrc -layer "VRaySamplerInfo" -i $(TARGET_SAMPLES)/exr/rgb_scanline_raw_half_float.exr -vf scale -pix_fmt gbrapf32le
  189. FATE_EXR += fate-exr-rgb-scanline-b44-uint32
  190. fate-exr-rgb-scanline-b44-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_b44_uint32.exr -vf scale -pix_fmt rgb48le
  191. FATE_EXR += fate-exr-rgb-scanline-pxr24-uint32
  192. fate-exr-rgb-scanline-pxr24-uint32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_pxr24_uint32.exr -vf scale -pix_fmt rgb48le
  193. FATE_EXR += fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets
  194. fate-exr-rgb-scanline-zip1-half-float-l1-zero-offsets: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip1_half_float_zero_offsets.exr -vf scale -pix_fmt gbrpf32le
  195. FATE_EXR += fate-exr-rgb-scanline-half-piz-bw
  196. fate-exr-rgb-scanline-half-piz-bw: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_bw.exr -vf scale -pix_fmt gbrpf32le
  197. FATE_EXR += fate-exr-rgb-scanline-half-piz-color
  198. fate-exr-rgb-scanline-half-piz-color: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_color.exr -vf scale -pix_fmt gbrpf32le
  199. FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t01
  200. fate-exr-rgb-scanline-half-piz-dw-t01: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t01.exr -vf scale -pix_fmt gbrpf32le
  201. FATE_EXR += fate-exr-rgb-scanline-float-piz-48x32
  202. fate-exr-rgb-scanline-float-piz-48x32: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_piz_48x32.exr -vf scale -pix_fmt gbrpf32le
  203. FATE_EXR += fate-exr-rgb-scanline-none-negative-red
  204. fate-exr-rgb-scanline-none-negative-red: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_none_negative_red.exr -vf scale -pix_fmt gbrpf32le
  205. FATE_EXR += fate-exr-rgb-b44a-half-negative-4x4
  206. fate-exr-rgb-b44a-half-negative-4x4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_b44a_half_negative_4x4.exr -vf scale -pix_fmt gbrpf32le
  207. FATE_EXR += fate-exr-y-tile-zip-half-12x8
  208. fate-exr-y-tile-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_tile_zip_half_12x8.exr -vf scale -pix_fmt grayf32le
  209. FATE_EXR += fate-exr-y-scanline-zip-half-12x8
  210. fate-exr-y-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/y_scanline_zip_half_12x8.exr -vf scale -pix_fmt grayf32le
  211. FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-t08
  212. fate-exr-rgb-scanline-half-piz-dw-t08: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_t08.exr -vf scale -pix_fmt gbrpf32le
  213. FATE_EXR += fate-exr-rgba-zip16-16x32-flag4
  214. fate-exr-rgba-zip16-16x32-flag4: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgba_zip16_16x32_flag4.exr -vf scale -pix_fmt gbrapf32le
  215. FATE_EXR += fate-exr-ya-scanline-zip-half-12x8
  216. fate-exr-ya-scanline-zip-half-12x8: CMD = framecrc -i $(TARGET_SAMPLES)/exr/ya_scanline_zip_half_12x8.exr -vf scale -pix_fmt gbrapf32le
  217. FATE_EXR += fate-exr-rgb-tile-half-zip
  218. fate-exr-rgb-tile-half-zip: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_zip.exr -vf scale -pix_fmt gbrpf32le
  219. FATE_EXR += fate-exr-rgb-scanline-float-zip-dw-large
  220. fate-exr-rgb-scanline-float-zip-dw-large: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_float_zip_dw_large.exr -vf scale -pix_fmt gbrpf32le
  221. FATE_EXR += fate-exr-rgb-scanline-half-piz-dw-large
  222. fate-exr-rgb-scanline-half-piz-dw-large: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_piz_dw_large.exr -vf scale -pix_fmt gbrpf32le
  223. FATE_EXR += fate-exr-rgb-scanline-half-zip-dw-large
  224. fate-exr-rgb-scanline-half-zip-dw-large: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_zip_dw_large.exr -vf scale -pix_fmt gbrpf32le
  225. FATE_EXR += fate-exr-rgb-scanline-uint32-piz-dw-large
  226. fate-exr-rgb-scanline-uint32-piz-dw-large: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_uint32_piz_dw_large.exr -vf scale -pix_fmt rgb48le
  227. FATE_EXR += fate-exr-rgb-tile-half-piz-dw-large
  228. fate-exr-rgb-tile-half-piz-dw-large: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_piz_dw_large.exr -vf scale -pix_fmt gbrpf32le
  229. FATE_EXR += fate-exr-rgb-tile-uint32-piz-dw-large
  230. fate-exr-rgb-tile-uint32-piz-dw-large: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_uint32_piz_dw_large.exr -vf scale -pix_fmt rgb48le
  231. FATE_EXR += fate-exr-rgb-scanline-half-zip-dw-outside
  232. fate-exr-rgb-scanline-half-zip-dw-outside: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_half_zip_dw_outside.exr -vf scale -pix_fmt gbrpf32le
  233. FATE_EXR += fate-exr-rgb-tile-half-zip-dw-outside
  234. fate-exr-rgb-tile-half-zip-dw-outside: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_tile_half_zip_dw_outside.exr -vf scale -pix_fmt gbrpf32le
  235. FATE_EXR += fate-exr-rgb-scanline-zip-half-0x0-0xFFFF
  236. fate-exr-rgb-scanline-zip-half-0x0-0xFFFF: CMD = framecrc -i $(TARGET_SAMPLES)/exr/rgb_scanline_zip_half_float_0x0_to_0xFFFF.exr -vf scale -pix_fmt gbrpf32le
  237. FATE_EXR-$(call DEMDEC, IMAGE2, EXR, SCALE_FILTER) += $(FATE_EXR)
  238. FATE_IMAGE_FRAMECRC += $(FATE_EXR-yes)
  239. fate-exr: $(FATE_EXR-yes)
  240. FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG, SCALE_FILTER) += fate-jpg-12bpp
  241. fate-jpg-12bpp: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/12bpp.jpg -f rawvideo -pix_fmt gray16le -vf setsar=sar=sar,scale
  242. FATE_JPG += fate-jpg-jfif
  243. fate-jpg-jfif: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/20242.jpg
  244. FATE_JPG += fate-jpg-rgb-baseline
  245. fate-jpg-rgb-baseline: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-baseline.jpg
  246. FATE_JPG += fate-jpg-rgb-progressive
  247. fate-jpg-rgb-progressive: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-progressive.jpg
  248. FATE_JPG += fate-jpg-rgb-221
  249. fate-jpg-rgb-221: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/george-insect-rgb-xyb.jpg
  250. FATE_JPG += fate-jpg-rgb-1
  251. fate-jpg-rgb-1: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-1.jpg
  252. FATE_JPG += fate-jpg-rgb-2
  253. fate-jpg-rgb-2: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-2.jpg
  254. FATE_JPG += fate-jpg-rgb-3
  255. fate-jpg-rgb-3: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-3.jpg
  256. FATE_JPG += fate-jpg-rgb-4
  257. fate-jpg-rgb-4: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-4.jpg
  258. FATE_JPG += fate-jpg-rgb-5
  259. fate-jpg-rgb-5: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpg/jpg-8930-5.jpg
  260. FATE_JPG_TRANSCODE-$(call TRANSCODE, MJPEG, MJPEG IMAGE_JPEG_PIPE, IMAGE_PNG_PIPE_DEMUXER PNG_DECODER SCALE_FILTER) += fate-jpg-icc
  261. fate-jpg-icc: CMD = transcode png_pipe $(TARGET_SAMPLES)/png1/lena-int_rgb24.png mjpeg "-vf scale" "" "-show_frames"
  262. FATE_JPG-$(call DEMDEC, IMAGE2, MJPEG) += $(FATE_JPG)
  263. FATE_IMAGE_FRAMECRC += $(FATE_JPG-yes)
  264. FATE_IMAGE_TRANSCODE += $(FATE_JPG_TRANSCODE-yes)
  265. fate-jpg: $(FATE_JPG-yes) $(FATE_JPG_TRANSCODE-yes)
  266. FATE_JPEGLS += fate-jpegls-2bpc
  267. fate-jpegls-2bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/4.jls
  268. FATE_JPEGLS += fate-jpegls-3bpc
  269. fate-jpegls-3bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/8.jls
  270. FATE_JPEGLS += fate-jpegls-5bpc
  271. fate-jpegls-5bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/32.jls
  272. FATE_JPEGLS += fate-jpegls-7bpc
  273. fate-jpegls-7bpc: CMD = framecrc -idct simple -i $(TARGET_SAMPLES)/jpegls/128.jls
  274. FATE_JPEGLS-$(call DEMDEC, IMAGE2, JPEGLS) += $(FATE_JPEGLS)
  275. FATE_IMAGE_FRAMECRC += $(FATE_JPEGLS-yes)
  276. fate-jpegls: $(FATE_JPEGLS-yes)
  277. FATE_IMAGE_FRAMECRC-$(call DEMDEC, IMAGE2, QDRAW) += fate-pict
  278. fate-pict: CMD = framecrc -i $(TARGET_SAMPLES)/quickdraw/TRU256.PCT -pix_fmt rgb24
  279. FATE_IMAGE_FRAMECRC-$(call DEMDEC, IMAGE2, PICTOR, SCALE_FILTER) += fate-pictor
  280. fate-pictor: CMD = framecrc -i $(TARGET_SAMPLES)/pictor/MFISH.PIC -pix_fmt rgb24 -vf scale
  281. FATE_IMAGE_FRAMECRC-$(call PARSERDEMDEC, PNG, IMAGE2PIPE, PNG) += fate-pngparser
  282. fate-pngparser: CMD = framecrc -f image2pipe -i $(TARGET_SAMPLES)/png1/feed_4x_concat.png -pix_fmt rgba
  283. define FATE_IMGSUITE_PNG
  284. FATE_PNG-$(call DEMDEC, IMAGE2, PNG, SCALE_FILTER) += fate-png-$(1)
  285. fate-png-$(1): CMD = framecrc -auto_conversion_filters -i $(TARGET_SAMPLES)/png1/lena-$(1).png -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24
  286. endef
  287. PNG_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
  288. $(foreach CLSP,$(PNG_COLORSPACES),$(eval $(call FATE_IMGSUITE_PNG,$(CLSP))))
  289. FATE_PNG += fate-png-int-rgb24
  290. fate-png-int-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png -sws_flags +accurate_rnd+bitexact
  291. FATE_PNG_PROBE += fate-png-frame-metadata
  292. fate-png-frame-metadata: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_entries frame_tags \
  293. -i $(TARGET_SAMPLES)/filter/pixelart0.png
  294. FATE_PNG_PROBE += fate-png-side-data
  295. fate-png-side-data: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_frames \
  296. -i $(TARGET_SAMPLES)/png1/lena-int_rgb24.png
  297. FATE_PNG_TRANSCODE-$(call TRANSCODE, PNG, IMAGE2 IMAGE_PNG_PIPE) += fate-png-icc
  298. fate-png-icc: CMD = transcode png_pipe $(TARGET_SAMPLES)/png1/lena-int_rgb24.png image2 "-c png" "" "-show_frames"
  299. FATE_PNG_PROBE-$(call ALLYES, LCMS2) += fate-png-icc-parse
  300. fate-png-icc-parse: CMD = run ffprobe$(PROGSSUF)$(EXESUF) -show_frames \
  301. -flags2 icc_profiles $(TARGET_SAMPLES)/png1/lena-int_rgb24.png
  302. FATE_PNG_TRANSCODE-$(call TRANSCODE, PNG HEVC, IMAGE2PIPE HEVC, \
  303. IMAGE_PNG_PIPE_DEMUXER HEVC_PARSER PNG_DECODER SCALE_FILTER) += fate-png-mdcv
  304. fate-png-mdcv: CMD = transcode hevc $(TARGET_SAMPLES)/hevc/hdr10_plus_h265_sample.hevc image2pipe \
  305. "-pix_fmt rgb24 -vf scale -c png" "" \
  306. "-show_frames -show_entries frame=side_data_list -of flat"
  307. FATE_PNG-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG)
  308. FATE_PNG_PROBE-$(call DEMDEC, IMAGE2, PNG) += $(FATE_PNG_PROBE)
  309. FATE_IMAGE_FRAMECRC += $(FATE_PNG-yes)
  310. FATE_IMAGE_PROBE += $(FATE_PNG_PROBE-yes)
  311. FATE_IMAGE_TRANSCODE += $(FATE_PNG_TRANSCODE-yes)
  312. fate-png: $(FATE_PNG-yes) $(FATE_PNG_PROBE-yes) $(FATE_PNG_TRANSCODE-yes)
  313. FATE_IMAGE_FRAMECRC-$(call DEMDEC, IMAGE2, PTX, SCALE_FILTER) += fate-ptx
  314. fate-ptx: CMD = framecrc -i $(TARGET_SAMPLES)/ptx/_113kw_pic.ptx -pix_fmt rgb24 -vf scale
  315. define FATE_IMGSUITE_PSD
  316. FATE_PSD-$(call DEMDEC, IMAGE2, PSD, SCALE_FILTER) += fate-psd-$(1)
  317. fate-psd-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-$(1).psd -sws_flags +accurate_rnd+bitexact -pix_fmt rgb24 -vf scale
  318. endef
  319. PSD_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64 ya8 ya16
  320. $(foreach CLSP,$(PSD_COLORSPACES),$(eval $(call FATE_IMGSUITE_PSD,$(CLSP))))
  321. FATE_PSD += fate-psd-lena-127x127-rgb24
  322. fate-psd-lena-127x127-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-127x127_rgb24.psd
  323. FATE_PSD += fate-psd-lena-rgb-rle-127x127-16b
  324. fate-psd-lena-rgb-rle-127x127-16b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_16b.psd
  325. FATE_PSD += fate-psd-lena-rgb-rle-127x127-8b
  326. fate-psd-lena-rgb-rle-127x127-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgb_rle_127x127_8b.psd
  327. FATE_PSD += fate-psd-lena-rgba-rle-128x128-8b
  328. fate-psd-lena-rgba-rle-128x128-8b: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-rgba_rle_128x128_8b.psd
  329. FATE_PSD += fate-psd-lena-256c
  330. fate-psd-lena-256c: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-256c.psd
  331. FATE_PSD += fate-psd-lena-bitmap
  332. fate-psd-lena-bitmap: CMD = framecrc -i $(TARGET_SAMPLES)/psd/lena-bitmap.psd
  333. FATE_PSD += fate-psd-duo-tone-color
  334. fate-psd-duo-tone-color: CMD = framecrc -i $(TARGET_SAMPLES)/psd/duotone-color.psd
  335. FATE_PSD-$(call DEMDEC, IMAGE2, PSD) += $(FATE_PSD)
  336. FATE_IMAGE_FRAMECRC += $(FATE_PSD-yes)
  337. fate-psd: $(FATE_PSD-yes)
  338. define FATE_IMGSUITE_SGI
  339. FATE_SGI += fate-sgi-$(1) fate-sgi-$(1)-rle
  340. fate-sgi-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1).sgi -sws_flags +accurate_rnd+bitexact
  341. fate-sgi-$(1)-rle: CMD = framecrc -i $(TARGET_SAMPLES)/sgi/libav_$(1)_rle.sgi -sws_flags +accurate_rnd+bitexact
  342. endef
  343. SGI_COLORSPACES = gray8 gray16 rgb24 rgb48 rgba rgba64
  344. $(foreach CLSP,$(SGI_COLORSPACES),$(eval $(call FATE_IMGSUITE_SGI,$(CLSP))))
  345. FATE_SGI-$(call DEMDEC, IMAGE2, SGI) += $(FATE_SGI)
  346. FATE_IMAGE_FRAMECRC += $(FATE_SGI-yes)
  347. fate-sgi: $(FATE_SGI-yes)
  348. define FATE_IMGSUITE_SUNRASTER
  349. FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST, $(call ADD_SCALE_IF, $(SUNRASTER_OPTS_$(1)))) += fate-sunraster-$(1)
  350. fate-sunraster-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/lena-$(1).sun $(SUNRASTER_OPTS_$(1))
  351. endef
  352. SUNRASTER_OPTS_8bit-raw := -pix_fmt rgb24 -vf scale
  353. SUNRASTER_OPTS_8bit-rle := -pix_fmt rgb24 -vf scale
  354. SUNRASTER_TESTS := 1bit-raw 1bit-rle 8bit-raw 8bit-rle 24bit-raw 24bit-rle
  355. $(foreach TEST,$(SUNRASTER_TESTS),$(eval $(call FATE_IMGSUITE_SUNRASTER,$(TEST))))
  356. FATE_SUNRASTER += fate-sunraster-8bit_gray-raw
  357. fate-sunraster-8bit_gray-raw: CMD = framecrc -i $(TARGET_SAMPLES)/sunraster/gray.ras
  358. FATE_SUNRASTER-$(call DEMDEC, IMAGE2, SUNRAST) += $(FATE_SUNRASTER)
  359. FATE_IMAGE_FRAMECRC += $(FATE_SUNRASTER-yes)
  360. fate-sunraster: $(FATE_SUNRASTER-yes)
  361. define FATE_IMGSUITE_TARGA
  362. FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA, $(call ADD_SCALE_IF, $(TARGA_OPTS_$(1)))) += fate-targa-conformance-$(1)
  363. fate-targa-conformance-$(1): CMD = framecrc -i $(TARGET_SAMPLES)/targa-conformance/$(1).TGA $(TARGA_OPTS_$(1))
  364. endef
  365. TARGA_FMT := CBW8 \
  366. CCM8 \
  367. CTC16 \
  368. CTC24 \
  369. CTC32 \
  370. UBW8 \
  371. UCM8 \
  372. UTC16 \
  373. UTC24 \
  374. UTC32
  375. TARGA_OPTS_CCM8 := -pix_fmt rgba -vf scale
  376. TARGA_OPTS_UCM8 := -pix_fmt rgba -vf scale
  377. TARGA_OPTS_UTC16 := -pix_fmt rgb555le
  378. $(foreach FMT,$(TARGA_FMT),$(eval $(call FATE_IMGSUITE_TARGA,$(FMT))))
  379. FATE_TARGA-$(call DEMDEC, IMAGE2, TARGA) += fate-targa-top-to-bottom
  380. fate-targa-top-to-bottom: CMD = framecrc -i $(TARGET_SAMPLES)/targa/lena-top-to-bottom.tga
  381. FATE_IMAGE_FRAMECRC += $(FATE_TARGA-yes)
  382. fate-targa: $(FATE_TARGA-yes)
  383. FATE_TIFF += fate-tiff-fax-g3
  384. fate-tiff-fax-g3: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31D.TIF
  385. FATE_TIFF += fate-tiff-fax-g3s
  386. fate-tiff-fax-g3s: CMD = framecrc -i $(TARGET_SAMPLES)/CCITT_fax/G31DS.TIF
  387. FATE_TIFF += fate-tiff-uncompressed-rgbf32le
  388. fate-tiff-uncompressed-rgbf32le: CMD = framecrc -i $(TARGET_SAMPLES)/tiff/uncompressed_rgbf32le.tif
  389. FATE_TIFF += fate-tiff-uncompressed-rgbaf32le
  390. fate-tiff-uncompressed-rgbaf32le: CMD = framecrc -i $(TARGET_SAMPLES)/tiff/uncompressed_rgbaf32le.tif
  391. FATE_TIFF += fate-tiff-lzw-rgbf32le
  392. fate-tiff-lzw-rgbf32le: CMD = framecrc -i $(TARGET_SAMPLES)/tiff/lzw_rgbf32le.tif
  393. FATE_TIFF += fate-tiff-lzw-rgbaf32le
  394. fate-tiff-lzw-rgbaf32le: CMD = framecrc -i $(TARGET_SAMPLES)/tiff/lzw_rgbaf32le.tif
  395. FATE_TIFF_ZIP += fate-tiff-zip-rgbf32le
  396. fate-tiff-zip-rgbf32le: CMD = framecrc -i $(TARGET_SAMPLES)/tiff/zip_rgbf32le.tif
  397. FATE_TIFF_ZIP += fate-tiff-zip-rgbaf32le
  398. fate-tiff-zip-rgbaf32le: CMD = framecrc -i $(TARGET_SAMPLES)/tiff/zip_rgbaf32le.tif
  399. FATE_TIFF-$(call FRAMECRC, IMAGE2, TIFF, ZLIB) += $(FATE_TIFF_ZIP)
  400. FATE_TIFF-$(call FRAMECRC, IMAGE2, TIFF) += $(FATE_TIFF)
  401. FATE_IMAGE_FRAMECRC += $(FATE_TIFF-yes)
  402. fate-tiff: $(FATE_TIFF-yes)
  403. FATE_WEBP += fate-webp-rgb-lossless
  404. fate-webp-rgb-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lossless.webp
  405. FATE_WEBP += fate-webp-rgb-lena-lossless
  406. fate-webp-rgb-lena-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp
  407. FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP, SCALE_FILTER) += fate-webp-rgb-lena-lossless-rgb24
  408. fate-webp-rgb-lena-lossless-rgb24: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_lena_lossless.webp -pix_fmt rgb24 -vf scale
  409. FATE_WEBP += fate-webp-rgba-lossless
  410. fate-webp-rgba-lossless: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_lossless.webp
  411. FATE_WEBP += fate-webp-rgb-lossless-palette-predictor
  412. fate-webp-rgb-lossless-palette-predictor: CMD = framecrc -i $(TARGET_SAMPLES)/webp/dual_transform.webp
  413. FATE_WEBP += fate-webp-rgb-lossy-q80
  414. fate-webp-rgb-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgb_q80.webp
  415. FATE_WEBP += fate-webp-rgba-lossy-q80
  416. fate-webp-rgba-lossy-q80: CMD = framecrc -i $(TARGET_SAMPLES)/webp/rgba_q80.webp
  417. FATE_WEBP-$(call DEMDEC, IMAGE2, WEBP) += $(FATE_WEBP)
  418. FATE_IMAGE_FRAMECRC += $(FATE_WEBP-yes)
  419. fate-webp: $(FATE_WEBP-yes)
  420. FATE_IMAGE_FRAMECRC-$(call DEMDEC, IMAGE2, XFACE) += fate-xface
  421. fate-xface: CMD = framecrc -i $(TARGET_SAMPLES)/xface/lena.xface
  422. FATE_XBM += fate-xbm10
  423. fate-xbm10: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/xl.xbm
  424. FATE_XBM += fate-xbm11
  425. fate-xbm11: CMD = framecrc -i $(TARGET_SAMPLES)/xbm/lbw.xbm
  426. FATE_XBM-$(call DEMDEC, IMAGE2, XBM) += $(FATE_XBM)
  427. FATE_IMAGE_FRAMECRC += $(FATE_XBM-yes)
  428. fate-xbm: $(FATE_XBM-yes)
  429. FATE_IMAGE-$(call ALLYES, FILE_PROTOCOL FRAMECRC_MUXER PIPE_PROTOCOL) += $(FATE_IMAGE_FRAMECRC) $(FATE_IMAGE_FRAMECRC-yes)
  430. FATE_IMAGE += $(FATE_IMAGE-yes)
  431. FATE_IMAGE_PROBE += $(FATE_IMAGE_PROBE-yes)
  432. FATE_IMAGE_TRANSCODE += $(FATE_IMAGE_TRANSCODE-yes)
  433. FATE_SAMPLES_FFMPEG += $(FATE_IMAGE)
  434. FATE_SAMPLES_FFPROBE += $(FATE_IMAGE_PROBE)
  435. FATE_SAMPLES_FFMPEG_FFPROBE += $(FATE_IMAGE_TRANSCODE)
  436. fate-image: $(FATE_IMAGE) $(FATE_IMAGE_PROBE) $(FATE_IMAGE_TRANSCODE)