vcodec.mak 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
  2. fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
  3. fate-vsynth_lena-%: SRC = tests/data/vsynth_lena.yuv
  4. fate-vsynth3-%: SRC = tests/data/vsynth3.yuv
  5. fate-vsynth%: CODEC = $(word 3, $(subst -, ,$(@)))
  6. fate-vsynth%: FMT = avi
  7. fate-vsynth%: CMD = enc_dec "rawvideo -s 352x288 -pix_fmt yuv420p $(RAWDECOPTS)" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s 352x288 -pix_fmt yuv420p -vsync 0 $(DECOPTS)" -keep "$(DECINOPTS)"
  8. fate-vsynth3-%: CMD = enc_dec "rawvideo -s $(FATEW)x$(FATEH) -pix_fmt yuv420p $(RAWDECOPTS)" $(SRC) $(FMT) "-c $(CODEC) $(ENCOPTS)" rawvideo "-s $(FATEW)x$(FATEH) -pix_fmt yuv420p -vsync 0 $(DECOPTS)" -keep "$(DECINOPTS)"
  9. fate-vsynth%: CMP_UNIT = 1
  10. fate-vsynth%: REF = $(SRC_PATH)/tests/ref/vsynth/$(@:fate-%=%)
  11. FATE_VCODEC-$(call ENCDEC, AMV, AVI) += amv
  12. fate-vsynth%-amv: ENCOPTS = -strict -1
  13. FATE_VCODEC-$(call ENCDEC, ASV1, AVI) += asv1
  14. fate-vsynth%-asv1: ENCOPTS = -qscale 10
  15. FATE_VCODEC-$(call ENCDEC, ASV2, AVI) += asv2
  16. fate-vsynth%-asv2: ENCOPTS = -qscale 10
  17. FATE_VCODEC-$(call ENCDEC, CINEPAK, AVI) += cinepak
  18. fate-vsynth%-cinepak: ENCOPTS = -s sqcif -strip_number_adaptivity 1
  19. fate-vsynth%-cinepak: DECOPTS = -s sqcif
  20. FATE_VCODEC-$(call ENCDEC, CLJR, AVI) += cljr
  21. fate-vsynth%-cljr: ENCOPTS = -strict -1
  22. FATE_VCODEC-$(call ENCDEC, DNXHD, DNXHD) += dnxhd-720p \
  23. dnxhd-720p-rd \
  24. dnxhd-720p-10bit \
  25. dnxhd-720p-hr-lb \
  26. dnxhd-4k-hr-lb \
  27. dnxhd-uhd-hr-sq \
  28. dnxhd-2k-hr-hq \
  29. dnxhd-edge1-hr \
  30. dnxhd-edge2-hr \
  31. dnxhd-edge3-hr
  32. FATE_VCODEC-$(call ENCDEC, VC2 DIRAC, MOV) += vc2-420p vc2-420p10 vc2-420p12 \
  33. vc2-422p vc2-422p10 vc2-422p12 \
  34. vc2-444p vc2-444p10 vc2-444p12 \
  35. vc2-thaar vc2-t5_3
  36. fate-vsynth1-vc2-4%: FMT = mov
  37. fate-vsynth1-vc2-4%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth1-vc2-%=%) \
  38. -c:v vc2 -frames 5 -strict -1
  39. fate-vsynth2-vc2-4%: FMT = mov
  40. fate-vsynth2-vc2-4%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth2-vc2-%=%) \
  41. -c:v vc2 -frames 5 -strict -1
  42. fate-vsynth_lena-vc2-4%: FMT = mov
  43. fate-vsynth_lena-vc2-4%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth_lena-vc2-%=%) \
  44. -c:v vc2 -frames 5 -strict -1
  45. fate-vsynth1-vc2-t%: FMT = mov
  46. fate-vsynth1-vc2-t%: ENCOPTS = -pix_fmt yuv422p10 -c:v vc2 -frames 5 -strict -1 -wavelet_type $(@:fate-vsynth1-vc2-t%=%)
  47. fate-vsynth2-vc2-t%: FMT = mov
  48. fate-vsynth2-vc2-t%: ENCOPTS = -pix_fmt yuv422p10 -c:v vc2 -frames 5 -strict -1 -wavelet_type $(@:fate-vsynth2-vc2-t%=%)
  49. fate-vsynth_lena-vc2-t%: FMT = mov
  50. fate-vsynth_lena-vc2-t%: ENCOPTS = -pix_fmt yuv422p10 -c:v vc2 -frames 5 -strict -1 -wavelet_type $(@:fate-vsynth_lena-vc2-t%=%)
  51. fate-vsynth%-dnxhd-720p: ENCOPTS = -s hd720 -b 90M \
  52. -pix_fmt yuv422p -frames 5 -qmax 8
  53. fate-vsynth%-dnxhd-720p: FMT = dnxhd
  54. fate-vsynth%-dnxhd-720p-rd: ENCOPTS = -s hd720 -b 90M -threads 4 -mbd rd \
  55. -pix_fmt yuv422p -frames 5 -qmax 8
  56. fate-vsynth%-dnxhd-720p-rd: FMT = dnxhd
  57. fate-vsynth%-dnxhd-720p-10bit: ENCOPTS = -s hd720 -b 90M \
  58. -pix_fmt yuv422p10 -frames 5 -qmax 8
  59. fate-vsynth%-dnxhd-720p-10bit: FMT = dnxhd
  60. fate-vsynth%-dnxhd-720p-hr-lb: ENCOPTS = -s hd720 -profile:v dnxhr_lb \
  61. -pix_fmt yuv422p -frames 5
  62. fate-vsynth%-dnxhd-720p-hr-lb: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  63. fate-vsynth%-dnxhd-720p-hr-lb: FMT = dnxhd
  64. fate-vsynth%-dnxhd-4k-hr-lb: ENCOPTS = -s 4k -profile:v dnxhr_lb \
  65. -pix_fmt yuv422p -frames 5
  66. fate-vsynth%-dnxhd-4k-hr-lb: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  67. fate-vsynth%-dnxhd-4k-hr-lb: FMT = dnxhd
  68. fate-vsynth%-dnxhd-uhd-hr-sq: ENCOPTS = -s uhd2160 -profile:v dnxhr_sq \
  69. -pix_fmt yuv422p -frames 5
  70. fate-vsynth%-dnxhd-uhd-hr-sq: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  71. fate-vsynth%-dnxhd-uhd-hr-sq: FMT = dnxhd
  72. fate-vsynth%-dnxhd-2k-hr-hq: ENCOPTS = -s 2k -profile:v dnxhr_hq \
  73. -pix_fmt yuv422p -frames 5
  74. fate-vsynth%-dnxhd-2k-hr-hq: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  75. fate-vsynth%-dnxhd-2k-hr-hq: FMT = dnxhd
  76. fate-vsynth%-dnxhd-edge1-hr: ENCOPTS = -s 264x128 -profile:v dnxhr_hq \
  77. -pix_fmt yuv422p -frames 5
  78. fate-vsynth%-dnxhd-edge1-hr: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  79. fate-vsynth%-dnxhd-edge1-hr: FMT = dnxhd
  80. fate-vsynth%-dnxhd-edge2-hr: ENCOPTS = -s 271x135 -profile:v dnxhr_hq \
  81. -pix_fmt yuv422p -frames 5
  82. fate-vsynth%-dnxhd-edge2-hr: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  83. fate-vsynth%-dnxhd-edge2-hr: FMT = dnxhd
  84. fate-vsynth%-dnxhd-edge3-hr: ENCOPTS = -s 257x121 -profile:v dnxhr_hq \
  85. -pix_fmt yuv422p -frames 5
  86. fate-vsynth%-dnxhd-edge3-hr: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  87. fate-vsynth%-dnxhd-edge3-hr: FMT = dnxhd
  88. FATE_VCODEC-$(call ENCDEC, DNXHD, MOV) += dnxhd-1080i dnxhd-1080i-10bit dnxhd-1080i-colr \
  89. dnxhd-hr-lb-mov dnxhd-hr-sq-mov dnxhd-hr-hq-mov
  90. fate-vsynth%-dnxhd-1080i: ENCOPTS = -s hd1080 -b 120M -flags +ildct \
  91. -pix_fmt yuv422p -frames 5 -qmax 8
  92. fate-vsynth%-dnxhd-1080i: FMT = mov
  93. fate-vsynth%-dnxhd-1080i-10bit: ENCOPTS = -s hd1080 -b 185M -flags +ildct \
  94. -pix_fmt yuv422p10 -frames 5 -qmax 8
  95. fate-vsynth%-dnxhd-1080i-10bit: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  96. fate-vsynth%-dnxhd-1080i-10bit: FMT = mov
  97. fate-vsynth%-dnxhd-1080i-colr: ENCOPTS = -s hd1080 -b 120M -flags +ildct -movflags write_colr \
  98. -pix_fmt yuv422p -frames 5 -qmax 8
  99. fate-vsynth%-dnxhd-1080i-colr: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  100. fate-vsynth%-dnxhd-1080i-colr: FMT = mov
  101. fate-vsynth%-dnxhd-hr-lb-mov: ENCOPTS = -s uhd2160 -profile:v dnxhr_lb \
  102. -pix_fmt yuv422p -frames 5
  103. fate-vsynth%-dnxhd-hr-lb-mov: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  104. fate-vsynth%-dnxhd-hr-lb-mov: FMT = mov
  105. fate-vsynth%-dnxhd-hr-sq-mov: ENCOPTS = -s 2kscope -profile:v dnxhr_sq \
  106. -pix_fmt yuv422p -frames 5
  107. fate-vsynth%-dnxhd-hr-sq-mov: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  108. fate-vsynth%-dnxhd-hr-sq-mov: FMT = mov
  109. fate-vsynth%-dnxhd-hr-hq-mov: ENCOPTS = -s 2kflat -profile:v dnxhr_hq \
  110. -pix_fmt yuv422p -frames 5
  111. fate-vsynth%-dnxhd-hr-hq-mov: DECOPTS = -sws_flags area+accurate_rnd+bitexact
  112. fate-vsynth%-dnxhd-hr-hq-mov: FMT = mov
  113. FATE_VCODEC-$(call ENCDEC, DVVIDEO, DV) += dv dv-411 dv-50
  114. fate-vsynth%-dv: CODEC = dvvideo
  115. fate-vsynth%-dv: ENCOPTS = -dct int -s pal
  116. fate-vsynth%-dv: FMT = dv
  117. fate-vsynth%-dv-411: CODEC = dvvideo
  118. fate-vsynth%-dv-411: ENCOPTS = -dct int -s pal -pix_fmt yuv411p \
  119. -sws_flags area
  120. fate-vsynth%-dv-411: DECOPTS = -sws_flags area
  121. fate-vsynth%-dv-411: FMT = dv
  122. fate-vsynth%-dv-50: CODEC = dvvideo
  123. fate-vsynth%-dv-50: ENCOPTS = -dct int -s pal -pix_fmt yuv422p \
  124. -sws_flags neighbor
  125. fate-vsynth%-dv-50: DECOPTS = -sws_flags neighbor
  126. fate-vsynth%-dv-50: FMT = dv
  127. FATE_VCODEC-$(call ENCDEC, FFV1, AVI) += ffv1 ffv1-v0 \
  128. ffv1-v3-yuv420p ffv1-v3-yuv422p10 ffv1-v3-yuv444p16 \
  129. ffv1-v3-bgr0 ffv1-v3-rgb48
  130. fate-vsynth%-ffv1: ENCOPTS = -slices 4
  131. fate-vsynth%-ffv1-v0: CODEC = ffv1
  132. fate-vsynth%-ffv1-v3-yuv420p: ENCOPTS = -level 3 -pix_fmt yuv420p
  133. fate-vsynth%-ffv1-v3-yuv422p10: ENCOPTS = -level 3 -pix_fmt yuv422p10 \
  134. -sws_flags neighbor+bitexact
  135. fate-vsynth%-ffv1-v3-yuv422p10: DECOPTS = -sws_flags neighbor+bitexact
  136. fate-vsynth%-ffv1-v3-yuv444p16: ENCOPTS = -level 3 -pix_fmt yuv444p16 \
  137. -sws_flags neighbor+bitexact
  138. fate-vsynth%-ffv1-v3-yuv444p16: DECOPTS = -sws_flags neighbor+bitexact
  139. fate-vsynth%-ffv1-v3-bgr0: ENCOPTS = -level 3 -pix_fmt bgr0 \
  140. -sws_flags neighbor+bitexact
  141. fate-vsynth%-ffv1-v3-bgr0: DECOPTS = -sws_flags neighbor+bitexact
  142. fate-vsynth%-ffv1-v3-rgb48: ENCOPTS = -level 3 -pix_fmt rgb48 -strict -2 \
  143. -sws_flags neighbor+bitexact
  144. fate-vsynth%-ffv1-v3-rgb48: DECOPTS = -sws_flags neighbor+bitexact
  145. FATE_VCODEC-$(call ENCDEC, FFVHUFF, AVI) += ffvhuff ffvhuff444 ffvhuff420p12 ffvhuff422p10left ffvhuff444p16
  146. fate-vsynth%-ffvhuff444: ENCOPTS = -c:v ffvhuff -pix_fmt yuv444p
  147. fate-vsynth%-ffvhuff420p12: ENCOPTS = -c:v ffvhuff -pix_fmt yuv420p12le
  148. fate-vsynth%-ffvhuff422p10left: ENCOPTS = -c:v ffvhuff -pix_fmt yuv422p10le -pred left
  149. fate-vsynth%-ffvhuff444p16: ENCOPTS = -c:v ffvhuff -pix_fmt yuv444p16le -pred plane
  150. FATE_VCODEC-$(call ENCDEC, FLASHSV, FLV) += flashsv
  151. fate-vsynth%-flashsv: ENCOPTS = -sws_flags neighbor+full_chroma_int
  152. fate-vsynth%-flashsv: DECOPTS = -sws_flags area
  153. fate-vsynth%-flashsv: FMT = flv
  154. FATE_VCODEC-$(call ENCDEC, FLASHSV2, FLV) += flashsv2
  155. fate-vsynth%-flashsv2: ENCOPTS = -sws_flags neighbor+full_chroma_int -strict experimental -compression_level 0
  156. fate-vsynth%-flashsv2: DECOPTS = -sws_flags area
  157. fate-vsynth%-flashsv2: FMT = flv
  158. FATE_VCODEC-$(call ENCDEC, FLV, FLV) += flv
  159. fate-vsynth%-flv: ENCOPTS = -qscale 10
  160. fate-vsynth%-flv: FMT = flv
  161. FATE_VCODEC-$(call ENCDEC, H261, AVI) += h261 h261-trellis
  162. fate-vsynth%-h261: ENCOPTS = -qscale 11
  163. fate-vsynth%-h261-trellis: ENCOPTS = -qscale 12 -trellis 1 -mbd rd
  164. FATE_VCODEC-$(call ENCDEC, H263, AVI) += h263 h263-obmc h263p
  165. fate-vsynth%-h263: ENCOPTS = -qscale 10
  166. fate-vsynth%-h263-obmc: ENCOPTS = -qscale 10 -obmc 1
  167. fate-vsynth%-h263p: ENCOPTS = -qscale 2 -flags +aic -umv 1 -aiv 1 -ps 300
  168. FATE_VCODEC-$(call ENCDEC, HUFFYUV, AVI) += huffyuv huffyuvbgr24 huffyuvbgra
  169. fate-vsynth%-huffyuv: ENCOPTS = -c:v huffyuv -pix_fmt yuv422p -sws_flags neighbor
  170. fate-vsynth%-huffyuv: DECOPTS = -sws_flags neighbor
  171. fate-vsynth%-huffyuvbgr24: ENCOPTS = -c:v huffyuv -pix_fmt bgr24 -sws_flags neighbor
  172. fate-vsynth%-huffyuvbgr24: DECOPTS = -sws_flags neighbor
  173. fate-vsynth%-huffyuvbgra: ENCOPTS = -c:v huffyuv -pix_fmt bgr32 -sws_flags neighbor
  174. fate-vsynth%-huffyuvbgra: DECOPTS = -sws_flags neighbor
  175. FATE_VCODEC-$(call ENCDEC, JPEGLS, AVI) += jpegls
  176. fate-vsynth%-jpegls: ENCOPTS = -sws_flags neighbor+full_chroma_int
  177. fate-vsynth%-jpegls: DECOPTS = -sws_flags area
  178. FATE_VCODEC-$(call ENCDEC, JPEG2000, AVI) += jpeg2000 jpeg2000-97
  179. fate-vsynth%-jpeg2000: ENCOPTS = -qscale 7 -strict experimental -pred 1 -pix_fmt rgb24
  180. fate-vsynth%-jpeg2000: DECINOPTS = -c:v jpeg2000
  181. fate-vsynth%-jpeg2000-97: ENCOPTS = -qscale 7 -strict experimental -pix_fmt rgb24
  182. fate-vsynth%-jpeg2000-97: DECINOPTS = -c:v jpeg2000
  183. FATE_VCODEC-$(call ENCDEC, LJPEG MJPEG, AVI) += ljpeg
  184. fate-vsynth%-ljpeg: ENCOPTS = -strict -1
  185. FATE_VCODEC-$(call ENCDEC, MJPEG, AVI) += mjpeg mjpeg-422 mjpeg-444 mjpeg-trell mjpeg-huffman mjpeg-trell-huffman
  186. fate-vsynth%-mjpeg: ENCOPTS = -qscale 9 -pix_fmt yuvj420p
  187. fate-vsynth%-mjpeg-422: ENCOPTS = -qscale 9 -pix_fmt yuvj422p
  188. fate-vsynth%-mjpeg-444: ENCOPTS = -qscale 9 -pix_fmt yuvj444p
  189. fate-vsynth%-mjpeg-trell: ENCOPTS = -qscale 9 -pix_fmt yuvj420p -trellis 1
  190. fate-vsynth%-mjpeg-huffman: ENCOPTS = -qscale 9 -pix_fmt yuvj420p -huffman optimal
  191. fate-vsynth%-mjpeg-trell-huffman: ENCOPTS = -qscale 9 -pix_fmt yuvj420p -trellis 1 -huffman optimal
  192. FATE_VCODEC-$(call ENCDEC, MPEG1VIDEO, MPEG1VIDEO MPEGVIDEO) += mpeg1 mpeg1b
  193. fate-vsynth%-mpeg1: FMT = mpeg1video
  194. fate-vsynth%-mpeg1: CODEC = mpeg1video
  195. fate-vsynth%-mpeg1: ENCOPTS = -qscale 10
  196. fate-vsynth%-mpeg1b: CODEC = mpeg1video
  197. fate-vsynth%-mpeg1b: ENCOPTS = -qscale 8 -bf 3 -ps 200
  198. fate-vsynth%-mpeg1b: FMT = mpeg1video
  199. FATE_MPEG2 = mpeg2 \
  200. mpeg2-422 \
  201. mpeg2-idct-int \
  202. mpeg2-ilace \
  203. mpeg2-ivlc-qprd \
  204. mpeg2-thread \
  205. mpeg2-thread-ivlc
  206. FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
  207. $(FATE_MPEG2:%=fate-vsynth\%-%): FMT = mpeg2video
  208. $(FATE_MPEG2:%=fate-vsynth\%-%): CODEC = mpeg2video
  209. fate-vsynth%-mpeg2: ENCOPTS = -qscale 10
  210. fate-vsynth%-mpeg2-422: ENCOPTS = -b:v 1000k \
  211. -bf 2 \
  212. -trellis 1 \
  213. -flags +ildct+ilme \
  214. -mpv_flags +qp_rd+mv0 \
  215. -intra_vlc 1 \
  216. -mbd rd \
  217. -pix_fmt yuv422p
  218. fate-vsynth%-mpeg2-idct-int: ENCOPTS = -qscale 10 -idct int -dct int
  219. fate-vsynth%-mpeg2-ilace: ENCOPTS = -qscale 10 -flags +ildct+ilme
  220. fate-vsynth%-mpeg2-ivlc-qprd: ENCOPTS = -b:v 500k \
  221. -bf 2 \
  222. -trellis 1 \
  223. -mpv_flags +qp_rd+mv0 \
  224. -intra_vlc 1 \
  225. -cmp 2 -subcmp 2 \
  226. -mbd rd
  227. fate-vsynth%-mpeg2-thread: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
  228. -threads 2 -slices 2
  229. fate-vsynth%-mpeg2-thread-ivlc: ENCOPTS = -qscale 10 -bf 2 -flags +ildct+ilme \
  230. -intra_vlc 1 -threads 2 -slices 2
  231. FATE_MPEG4_MP4 = mpeg4
  232. FATE_MPEG4_AVI = mpeg4-rc \
  233. mpeg4-adv \
  234. mpeg4-qprd \
  235. mpeg4-adap \
  236. mpeg4-qpel \
  237. mpeg4-thread \
  238. mpeg4-error \
  239. mpeg4-nr \
  240. mpeg4-nsse
  241. FATE_VCODEC-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
  242. FATE_VCODEC-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
  243. fate-vsynth%-mpeg4: ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
  244. fate-vsynth%-mpeg4: FMT = mp4
  245. fate-vsynth%-mpeg4-adap: ENCOPTS = -b 550k -bf 2 -flags +mv4 \
  246. -trellis 1 -cmp 1 -subcmp 2 \
  247. -mbd rd -scplx_mask 0.3 \
  248. -mpv_flags +mv0
  249. fate-vsynth%-mpeg4-adv: ENCOPTS = -qscale 9 -flags +mv4+aic \
  250. -data_partitioning 1 -trellis 1 \
  251. -mbd bits -ps 200
  252. fate-vsynth%-mpeg4-error: ENCOPTS = -qscale 7 -flags +mv4+aic \
  253. -data_partitioning 1 -mbd rd \
  254. -ps 250 -error_rate 10
  255. fate-vsynth%-mpeg4-nr: ENCOPTS = -qscale 8 -flags +mv4 -mbd rd \
  256. -noise_reduction 200
  257. fate-vsynth%-mpeg4-nsse: ENCOPTS = -qscale 7 -cmp nsse -subcmp nsse \
  258. -mbcmp nsse -precmp nsse \
  259. -skipcmp nsse
  260. fate-vsynth%-mpeg4-qpel: ENCOPTS = -qscale 7 -flags +mv4+qpel -mbd 2 \
  261. -bf 2 -cmp 1 -subcmp 2
  262. fate-vsynth%-mpeg4-qprd: ENCOPTS = -b 450k -bf 2 -trellis 1 \
  263. -flags +mv4 -mpv_flags +qp_rd+mv0 \
  264. -cmp 2 -subcmp 2 -mbd rd
  265. fate-vsynth%-mpeg4-rc: ENCOPTS = -b 400k -bf 2
  266. fate-vsynth%-mpeg4-thread: ENCOPTS = -b 500k -flags +mv4+aic \
  267. -data_partitioning 1 -trellis 1 \
  268. -mbd bits -ps 200 -bf 2 \
  269. -threads 2 -slices 2
  270. FATE_VCODEC-$(call ENCDEC, MSMPEG4V3, AVI) += msmpeg4
  271. fate-vsynth%-msmpeg4: ENCOPTS = -qscale 10
  272. FATE_VCODEC-$(call ENCDEC, MSMPEG4V2, AVI) += msmpeg4v2
  273. fate-vsynth%-msmpeg4v2: ENCOPTS = -qscale 10
  274. FATE_VCODEC-$(call ENCDEC, PNG, AVI) += mpng
  275. fate-vsynth%-mpng: CODEC = png
  276. FATE_VCODEC-$(call ENCDEC, MSVIDEO1, AVI) += msvideo1
  277. FATE_VCODEC-$(call ENCDEC, PRORES, MOV) += prores prores_int prores_444 prores_444_int prores_ks
  278. fate-vsynth%-prores: FMT = mov
  279. fate-vsynth%-prores_int: CODEC = prores
  280. fate-vsynth%-prores_int: ENCOPTS = -flags +ildct
  281. fate-vsynth%-prores_int: FMT = mov
  282. fate-vsynth%-prores_444: CODEC = prores
  283. fate-vsynth%-prores_444: ENCOPTS = -pix_fmt yuv444p10
  284. fate-vsynth%-prores_444: FMT = mov
  285. fate-vsynth%-prores_444_int: CODEC = prores
  286. fate-vsynth%-prores_444_int: ENCOPTS = -pix_fmt yuv444p10 -flags +ildct
  287. fate-vsynth%-prores_444_int: FMT = mov
  288. fate-vsynth%-prores_ks: ENCOPTS = -profile hq
  289. fate-vsynth%-prores_ks: FMT = mov
  290. FATE_VCODEC-$(call ENCDEC, QTRLE, MOV) += qtrle qtrlegray
  291. fate-vsynth%-qtrle: FMT = mov
  292. fate-vsynth%-qtrlegray: CODEC = qtrle
  293. fate-vsynth%-qtrlegray: ENCOPTS = -pix_fmt gray
  294. fate-vsynth%-qtrlegray: FMT = mov
  295. FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += rgb bpp1 bpp15
  296. fate-vsynth%-rgb: CODEC = rawvideo
  297. fate-vsynth%-rgb: ENCOPTS = -pix_fmt bgr24
  298. fate-vsynth%-bpp1: CODEC = rawvideo
  299. fate-vsynth%-bpp1: ENCOPTS = -pix_fmt monow
  300. fate-vsynth%-bpp15: CODEC = rawvideo
  301. fate-vsynth%-bpp15: ENCOPTS = -pix_fmt bgr555le
  302. FATE_VCODEC-$(call ENCDEC, RAWVIDEO, MOV) += mov-bgr24 mov-bpp15 mov-bpp16
  303. fate-vsynth%-mov-bgr24: CODEC = rawvideo
  304. fate-vsynth%-mov-bgr24: ENCOPTS = -pix_fmt bgr24
  305. fate-vsynth%-mov-bgr24: FMT = mov
  306. fate-vsynth%-mov-bpp15: CODEC = rawvideo
  307. fate-vsynth%-mov-bpp15: ENCOPTS = -pix_fmt rgb555le
  308. fate-vsynth%-mov-bpp15: FMT = mov
  309. fate-vsynth%-mov-bpp16: CODEC = rawvideo
  310. fate-vsynth%-mov-bpp16: ENCOPTS = -pix_fmt rgb565le
  311. fate-vsynth%-mov-bpp16: FMT = mov
  312. FATE_VCODEC-$(call ENCDEC, ROQ, ROQ) += roqvideo
  313. fate-vsynth%-roqvideo: CODEC = roqvideo
  314. fate-vsynth%-roqvideo: ENCOPTS = -frames 5
  315. fate-vsynth%-roqvideo: RAWDECOPTS = -r 30
  316. fate-vsynth%-roqvideo: FMT = roq
  317. FATE_VCODEC-$(call ENCDEC, RV10, RM) += rv10
  318. fate-vsynth%-rv10: ENCOPTS = -qscale 10
  319. fate-vsynth%-rv10: FMT = rm
  320. FATE_VCODEC-$(call ENCDEC, RV20, RM) += rv20
  321. fate-vsynth%-rv20: ENCOPTS = -qscale 10
  322. fate-vsynth%-rv20: FMT = rm
  323. FATE_VCODEC-$(call ENCDEC, SNOW, AVI) += snow snow-hpel snow-ll
  324. fate-vsynth%-snow: ENCOPTS = -qscale 2 -flags +qpel \
  325. -motion_est iter -dia_size 2 \
  326. -cmp 12 -subcmp 12 -s 128x64
  327. fate-vsynth%-snow-hpel: ENCOPTS = -qscale 2 \
  328. -motion_est iter -dia_size 2 \
  329. -cmp 12 -subcmp 12 -s 128x64
  330. fate-vsynth%-snow-ll: ENCOPTS = -qscale .001 -pred 1 \
  331. -flags +mv4+qpel
  332. FATE_VCODEC-$(call ENCDEC, SVQ1, MOV) += svq1
  333. fate-vsynth%-svq1: ENCOPTS = -qscale 3 -pix_fmt yuv410p
  334. fate-vsynth%-svq1: FMT = mov
  335. FATE_VCODEC-$(call ENCDEC, R210, AVI) += r210
  336. FATE_VCODEC-$(call ENCDEC, V210, AVI) += v210 v210-10
  337. fate-vsynth%-v210-10: ENCOPTS = -pix_fmt yuv422p10
  338. FATE_VCODEC-$(call ENCDEC, V308, AVI) += v308
  339. FATE_VCODEC-$(call ENCDEC, V408, AVI) += v408
  340. fate-vsynth%-v408: ENCOPTS = -sws_flags neighbor+bitexact
  341. fate-vsynth%-v408: DECOPTS = -sws_flags neighbor+bitexact
  342. FATE_VCODEC-$(call ENCDEC, AVUI, MOV) += avui
  343. fate-vsynth%-avui: ENCOPTS = -s pal -strict experimental -sws_flags neighbor+bitexact
  344. fate-vsynth%-avui: DECOPTS = -sws_flags neighbor+bitexact
  345. fate-vsynth%-avui: FMT = mov
  346. FATE_VCODEC-$(call ENCDEC, WMV1, AVI) += wmv1
  347. fate-vsynth%-wmv1: ENCOPTS = -qscale 10
  348. FATE_VCODEC-$(call ENCDEC, WMV2, AVI) += wmv2
  349. fate-vsynth%-wmv2: ENCOPTS = -qscale 10
  350. FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += yuv
  351. fate-vsynth%-yuv: CODEC = rawvideo
  352. FATE_VCODEC-$(call ENCDEC, XFACE, NUT) += xface
  353. fate-vsynth%-xface: ENCOPTS = -s 48x48 -sws_flags neighbor+bitexact
  354. fate-vsynth%-xface: DECOPTS = -sws_flags neighbor+bitexact
  355. fate-vsynth%-xface: FMT = nut
  356. FATE_VCODEC-$(call ENCDEC, YUV4, AVI) += yuv4
  357. FATE_VCODEC-$(call ENCDEC, Y41P, AVI) += y41p
  358. FATE_VCODEC-$(call ENCDEC, ZLIB, AVI) += zlib
  359. FATE_VCODEC += $(FATE_VCODEC-yes)
  360. FATE_VSYNTH1 = $(FATE_VCODEC:%=fate-vsynth1-%)
  361. FATE_VSYNTH2 = $(FATE_VCODEC:%=fate-vsynth2-%)
  362. FATE_VSYNTH_LENA = $(FATE_VCODEC:%=fate-vsynth_lena-%)
  363. # Redundant tests because they just resize the input
  364. RESIZE_OFF = dnxhd-720p dnxhd-720p-rd dnxhd-720p-10bit dnxhd-1080i \
  365. dv dv-411 dv-50 avui snow snow-hpel snow-ll vc2-420p \
  366. vc2-420p10 vc2-420p12 vc2-422p vc2-422p10 vc2-422p12 \
  367. vc2-444p vc2-444p10 vc2-444p12 vc2-thaar vc2-t5_3
  368. # Incorrect parameters - usually size or color format restrictions
  369. INC_PAR_OFF = cinepak h261 h261-trellis h263 h263p h263-obmc msvideo1 \
  370. roqvideo rv10 rv20 y41p qtrlegray
  371. VSYNTH3_OFF = $(RESIZE_OFF) $(INC_PAR_OFF)
  372. FATE_VCODEC3 = $(filter-out $(VSYNTH3_OFF),$(FATE_VCODEC))
  373. FATE_VSYNTH3 = $(FATE_VCODEC3:%=fate-vsynth3-%)
  374. $(FATE_VSYNTH1): tests/data/vsynth1.yuv
  375. $(FATE_VSYNTH2): tests/data/vsynth2.yuv
  376. $(FATE_VSYNTH_LENA): tests/data/vsynth_lena.yuv
  377. $(FATE_VSYNTH3): tests/data/vsynth3.yuv
  378. FATE_AVCONV += $(FATE_VSYNTH1) $(FATE_VSYNTH2) $(FATE_VSYNTH3)
  379. FATE_SAMPLES_AVCONV += $(FATE_VSYNTH_LENA)
  380. fate-vsynth1: $(FATE_VSYNTH1)
  381. fate-vsynth2: $(FATE_VSYNTH2)
  382. fate-vsynth_lena: $(FATE_VSYNTH_LENA)
  383. fate-vsynth3: $(FATE_VSYNTH3)
  384. fate-vcodec: fate-vsynth1 fate-vsynth_lena fate-vsynth2 fate-vsynth3