vpx.mak 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. FATE_TRUEMOTION1 += fate-truemotion1-15
  2. fate-truemotion1-15: CMD = framecrc -i $(TARGET_SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24 -an
  3. FATE_TRUEMOTION1 += fate-truemotion1-24
  4. fate-truemotion1-24: CMD = framecrc -i $(TARGET_SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24 -an
  5. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TRUEMOTION1) += $(FATE_TRUEMOTION1)
  6. fate-truemotion1: $(FATE_TRUEMOTION1)
  7. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TRUEMOTION2) += fate-truemotion2
  8. fate-truemotion2: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tm20.avi
  9. FATE_TRUEMOTION2RT += fate-truemotion2rt-low
  10. fate-truemotion2rt-low: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_low.avi -an
  11. FATE_TRUEMOTION2RT += fate-truemotion2rt-mid
  12. fate-truemotion2rt-mid: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_mid.avi -an
  13. FATE_TRUEMOTION2RT += fate-truemotion2rt-high
  14. fate-truemotion2rt-high: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tr20_high.avi -an
  15. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TRUEMOTION2RT) += $(FATE_TRUEMOTION2RT)
  16. fate-truemotion2rt: $(FATE_TRUEMOTION2RT)
  17. FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
  18. fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv
  19. FATE_VP3-$(call DEMDEC, OGG, THEORA) += fate-theora-offset
  20. fate-theora-offset: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/offset_test.ogv
  21. FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
  22. fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
  23. FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
  24. fate-vp3: $(FATE_VP3-yes)
  25. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP4) += fate-vp4
  26. fate-vp4: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp4/KTkvw8dg1J8.avi
  27. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
  28. fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
  29. FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp60
  30. fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6
  31. FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp61
  32. fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
  33. FATE_VP6-$(call DEMDEC, MOV, VP6A) += fate-vp6a
  34. fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.mov
  35. FATE_VP6-$(call DEMDEC, MOV, VP6A) += fate-vp6a-skip_alpha
  36. fate-vp6a-skip_alpha: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.mov
  37. FATE_VP6-$(call DEMDEC, FLV, VP6F) += fate-vp6f
  38. fate-vp6f: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/clip1024.flv
  39. FATE_VP8-$(CONFIG_MATROSKA_DEMUXER) += fate-vp8-alpha
  40. fate-vp8-alpha: CMD = framecrc -i $(TARGET_SAMPLES)/vp8_alpha/vp8_video_with_alpha.webm -c:v copy
  41. FATE_VP8-$(CONFIG_WEBM_DASH_MANIFEST_DEMUXER) += fate-webm-dash-manifest
  42. fate-webm-dash-manifest: CMD = run $(FFMPEG) -nostdin -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video2.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio2.webm -c copy -map 0 -map 1 -map 2 -map 3 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1 id=1,streams=2,3" -
  43. FATE_VP8-$(CONFIG_WEBM_DASH_MANIFEST_DEMUXER) += fate-webm-dash-manifest-unaligned-video-streams
  44. fate-webm-dash-manifest-unaligned-video-streams: CMD = run $(FFMPEG) -nostdin -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video3.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
  45. FATE_VP8-$(CONFIG_WEBM_DASH_MANIFEST_DEMUXER) += fate-webm-dash-manifest-unaligned-audio-streams
  46. fate-webm-dash-manifest-unaligned-audio-streams: CMD = run $(FFMPEG) -nostdin -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_audio3.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
  47. FATE_VP8-$(CONFIG_WEBM_DASH_MANIFEST_DEMUXER) += fate-webm-dash-manifest-representations
  48. fate-webm-dash-manifest-representations: CMD = run $(FFMPEG) -nostdin -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video1.webm -f webm_dash_manifest -i $(TARGET_SAMPLES)/vp8/dash_video4.webm -c copy -map 0 -map 1 -f webm_dash_manifest -adaptation_sets "id=0,streams=0,1" -
  49. FATE_VP8-$(CONFIG_WEBM_DASH_MANIFEST_DEMUXER) += fate-webm-dash-manifest-live
  50. fate-webm-dash-manifest-live: CMD = run $(FFMPEG) -nostdin -f webm_dash_manifest -live 1 -i $(TARGET_SAMPLES)/vp8/dash_live_video_360.hdr -f webm_dash_manifest -live 1 -i $(TARGET_SAMPLES)/vp8/dash_live_audio_171.hdr -c copy -map 0 -map 1 -f webm_dash_manifest -live 1 -adaptation_sets "id=0,streams=0 id=1,streams=1" -chunk_start_index 1 -chunk_duration_ms 5000 -time_shift_buffer_depth 7200 -minimum_update_period 60 -debug_mode 1 -
  51. FATE_VP8-$(CONFIG_WEBM_DASH_MANIFEST_DEMUXER) += fate-webm-dash-manifest-live-bandwidth
  52. fate-webm-dash-manifest-live-bandwidth: CMD = run $(FFMPEG) -nostdin -f webm_dash_manifest -live 1 -bandwidth 100 -i $(TARGET_SAMPLES)/vp8/dash_live_video_360.hdr -f webm_dash_manifest -live 1 -bandwidth 200 -i $(TARGET_SAMPLES)/vp8/dash_live_audio_171.hdr -c copy -map 0 -map 1 -f webm_dash_manifest -live 1 -adaptation_sets "id=0,streams=0 id=1,streams=1" -chunk_start_index 1 -chunk_duration_ms 5000 -time_shift_buffer_depth 7200 -minimum_update_period 60 -debug_mode 1 -
  53. FATE_VP8-$(call DEMDEC, MATROSKA, VP8) += fate-vp8-2451
  54. fate-vp8-2451: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp8/RRSF49-short.webm -vsync cfr -an
  55. FATE_SAMPLES_AVCONV += $(FATE_VP6-yes)
  56. fate-vp6: $(FATE_VP6-yes)
  57. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP7) += fate-vp7
  58. fate-vp7: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -an
  59. VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
  60. define FATE_VP8_SUITE
  61. FATE_VP8-$(call DEMDEC, IVF, VP8) += fate-vp8-test-vector$(2)-$(1)
  62. fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
  63. fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1)
  64. endef
  65. define FATE_VP8_FULL
  66. $(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
  67. # FIXME this file contains two frames with identical timestamps,
  68. # so ffmpeg drops one of them
  69. FATE_VP8-$(call DEMDEC, IVF, VP8) += fate-vp8-sign-bias$(1)
  70. fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(TARGET_SAMPLES)/vp8/sintel-signbias.ivf
  71. fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
  72. FATE_VP8-$(call DEMDEC, MATROSKA, VP8) += fate-vp8-size-change$(1)
  73. fate-vp8-size-change$(1): CMD = framemd5 $(2) -flags +bitexact -i $(TARGET_SAMPLES)/vp8/frame_size_change.webm -frames:v 30 -sws_flags bitexact+bilinear
  74. fate-vp8-size-change$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change
  75. endef
  76. $(eval $(call FATE_VP8_FULL))
  77. FATE_SAMPLES_AVCONV += $(FATE_VP8-yes)
  78. fate-vp8: $(FATE_VP8-yes)
  79. define FATE_VP9_SUITE
  80. FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9$(2)-$(1)
  81. fate-vp9$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-$(1).webm
  82. fate-vp9$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9-$(1)
  83. endef
  84. define FATE_VP9_PROFILE_SUITE
  85. FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9p$(2)-$(1)
  86. fate-vp9p$(2)-$(1): CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp9$(2)-2-$(1).webm $(3)
  87. fate-vp9p$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9p$(2)-$(1)
  88. endef
  89. VP9_Q = 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
  90. 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \
  91. 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
  92. 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
  93. VP9_SHARP = 1 2 3 4 5 6 7
  94. VP9_SIZE_A = 08 10 16 18 32 34 64 66
  95. VP9_SIZE_B = 196 198 200 202 208 210 224 226
  96. VP9_CHROMA_SUBSAMPLE = 422 440 444
  97. VP9_HIGH_BITDEPTH = 10 12
  98. define FATE_VP9_FULL
  99. $(foreach Q,$(VP9_Q),$(eval $(call FATE_VP9_SUITE,00-quantizer-$(Q))))
  100. $(foreach SHARP,$(VP9_SHARP),$(eval $(call FATE_VP9_SUITE,01-sharpness-$(SHARP))))
  101. $(foreach W,$(VP9_SIZE_A),$(eval $(foreach H,$(VP9_SIZE_A),$(eval $(call FATE_VP9_SUITE,02-size-$(W)x$(H))))))
  102. $(foreach W,$(VP9_SIZE_B),$(eval $(foreach H,$(VP9_SIZE_B),$(eval $(call FATE_VP9_SUITE,03-size-$(W)x$(H))))))
  103. $(eval $(call FATE_VP9_SUITE,03-deltaq))
  104. $(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,04-yuv$(SS),1,)))
  105. $(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv420,2,-pix_fmt yuv420p$(BD)le)))
  106. $(foreach BD,$(VP9_HIGH_BITDEPTH),$(eval $(foreach SS,$(VP9_CHROMA_SUBSAMPLE),$(eval $(call FATE_VP9_PROFILE_SUITE,20-$(BD)bit-yuv$(SS),3,-pix_fmt yuv$(SS)p$(BD)le)))))
  107. $(eval $(call FATE_VP9_SUITE,06-bilinear))
  108. $(eval $(call FATE_VP9_SUITE,09-lf_deltas))
  109. $(eval $(call FATE_VP9_SUITE,10-show-existing-frame))
  110. $(eval $(call FATE_VP9_SUITE,10-show-existing-frame2))
  111. $(eval $(call FATE_VP9_SUITE,15-segkey_adpq))
  112. $(eval $(call FATE_VP9_SUITE,16-intra-only))
  113. $(eval $(call FATE_VP9_SUITE,2pass-akiyo))
  114. $(eval $(call FATE_VP9_SUITE,parallelmode-akiyo))
  115. $(eval $(call FATE_VP9_SUITE,segmentation-aq-akiyo))
  116. $(eval $(call FATE_VP9_SUITE,segmentation-sf-akiyo))
  117. $(eval $(call FATE_VP9_SUITE,tiling-pedestrian))
  118. $(eval $(call FATE_VP9_SUITE,trac3849))
  119. $(eval $(call FATE_VP9_SUITE,trac4359))
  120. endef
  121. $(eval $(call FATE_VP9_FULL))
  122. FATE_VP9-$(CONFIG_IVF_DEMUXER) += fate-vp9-05-resize
  123. fate-vp9-05-resize: CMD = framemd5 -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-05-resize.ivf -s 352x288 -sws_flags bitexact+bilinear
  124. fate-vp9-05-resize: REF = $(SRC_PATH)/tests/ref/fate/vp9-05-resize
  125. FATE_SAMPLES_AVCONV-$(CONFIG_VP9_DECODER) += $(FATE_VP9-yes)
  126. fate-vp9: $(FATE_VP9-yes)