vpx.mak 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
  2. fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv
  3. FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
  4. fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
  5. FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
  6. fate-vp3: $(FATE_VP3-yes)
  7. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
  8. fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
  9. FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp60
  10. fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6
  11. FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp61
  12. fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
  13. FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a
  14. fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
  15. FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a-skip_alpha
  16. fate-vp6a-skip_alpha: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
  17. FATE_VP6-$(call DEMDEC, FLV, VP6F) += fate-vp6f
  18. fate-vp6f: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/clip1024.flv
  19. FATE_VP8-$(call DEMDEC, FLV, VP8) += fate-vp8-alpha
  20. fate-vp8-alpha: CMD = framecrc -i $(TARGET_SAMPLES)/vp8_alpha/vp8_video_with_alpha.webm -vcodec copy
  21. FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest
  22. fate-webm-dash-manifest: CMD = run ffmpeg -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" -
  23. FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-unaligned-video-streams
  24. fate-webm-dash-manifest-unaligned-video-streams: CMD = run ffmpeg -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" -
  25. FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-unaligned-audio-streams
  26. fate-webm-dash-manifest-unaligned-audio-streams: CMD = run ffmpeg -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" -
  27. FATE_VP8-$(call DEMDEC, WEBM_DASH_MANIFEST, VP8) += fate-webm-dash-manifest-representations
  28. fate-webm-dash-manifest-representations: CMD = run ffmpeg -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" -
  29. FATE_SAMPLES_AVCONV += $(FATE_VP6-yes)
  30. fate-vp6: $(FATE_VP6-yes)
  31. FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP7) += fate-vp7
  32. fate-vp7: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -an
  33. VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
  34. define FATE_VP8_SUITE
  35. FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-test-vector$(2)-$(1)
  36. fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
  37. fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1)
  38. endef
  39. define FATE_VP8_FULL
  40. $(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
  41. # FIXME this file contains two frames with identical timestamps,
  42. # so ffmpeg drops one of them
  43. FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-sign-bias$(1)
  44. fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(TARGET_SAMPLES)/vp8/sintel-signbias.ivf
  45. fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
  46. FATE_VP8-$(CONFIG_MATROSKA_DEMUXER) += fate-vp8-size-change$(1)
  47. 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
  48. fate-vp8-size-change$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change
  49. endef
  50. $(eval $(call FATE_VP8_FULL))
  51. FATE_SAMPLES_AVCONV-$(CONFIG_VP8_DECODER) += $(FATE_VP8-yes)
  52. fate-vp8: $(FATE_VP8-yes)
  53. define FATE_VP9_SUITE
  54. FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9$(2)-$(1)
  55. fate-vp9$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-$(1).webm
  56. fate-vp9$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9-$(1)
  57. endef
  58. VP9_Q = 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
  59. 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \
  60. 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
  61. 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
  62. VP9_SHARP = 1 2 3 4 5 6 7
  63. VP9_SIZE_A = 08 10 16 18 32 34 64 66
  64. VP9_SIZE_B = 196 198 200 202 208 210 224 226
  65. define FATE_VP9_FULL
  66. $(foreach Q,$(VP9_Q),$(eval $(call FATE_VP9_SUITE,00-quantizer-$(Q),$(1),$(2))))
  67. $(foreach SHARP,$(VP9_SHARP),$(eval $(call FATE_VP9_SUITE,01-sharpness-$(SHARP),$(1),$(2))))
  68. $(foreach W,$(VP9_SIZE_A),$(eval $(foreach H,$(VP9_SIZE_A),$(eval $(call FATE_VP9_SUITE,02-size-$(W)x$(H),$(1),$(2))))))
  69. $(foreach W,$(VP9_SIZE_B),$(eval $(foreach H,$(VP9_SIZE_B),$(eval $(call FATE_VP9_SUITE,03-size-$(W)x$(H),$(1),$(2))))))
  70. $(eval $(call FATE_VP9_SUITE,03-deltaq,$(1),$(2)))
  71. $(eval $(call FATE_VP9_SUITE,2pass-akiyo,$(1),$(2)))
  72. $(eval $(call FATE_VP9_SUITE,parallelmode-akiyo,$(1),$(2)))
  73. $(eval $(call FATE_VP9_SUITE,segmentation-aq-akiyo,$(1),$(2)))
  74. $(eval $(call FATE_VP9_SUITE,segmentation-sf-akiyo,$(1),$(2)))
  75. $(eval $(call FATE_VP9_SUITE,tiling-pedestrian,$(1),$(2)))
  76. $(eval $(call FATE_VP9_SUITE,trac3849,$(1),$(2)))
  77. endef
  78. $(eval $(call FATE_VP9_FULL))
  79. FATE_SAMPLES_AVCONV-$(CONFIG_VP9_DECODER) += $(FATE_VP9-yes)
  80. fate-vp9: $(FATE_VP9-yes)