api.mak 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. FATE_API_LIBAVCODEC-$(call ENCDEC, FLAC, FLAC) += fate-api-flac
  2. fate-api-flac: $(APITESTSDIR)/api-flac-test$(EXESUF)
  3. fate-api-flac: CMD = run $(APITESTSDIR)/api-flac-test$(EXESUF)
  4. fate-api-flac: CMP = null
  5. FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, FLV, FLV) += fate-api-band
  6. fate-api-band: $(APITESTSDIR)/api-band-test$(EXESUF)
  7. fate-api-band: CMD = run $(APITESTSDIR)/api-band-test$(EXESUF) $(TARGET_SAMPLES)/mpeg4/resize_down-up.h263
  8. fate-api-band: CMP = null
  9. FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, H264, H264) += fate-api-h264
  10. fate-api-h264: $(APITESTSDIR)/api-h264-test$(EXESUF)
  11. fate-api-h264: CMD = run $(APITESTSDIR)/api-h264-test$(EXESUF) $(TARGET_SAMPLES)/h264-conformance/SVA_NL2_E.264
  12. FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, H264, H264) += fate-api-h264-slice
  13. fate-api-h264-slice: $(APITESTSDIR)/api-h264-slice-test$(EXESUF)
  14. fate-api-h264-slice: CMD = run $(APITESTSDIR)/api-h264-slice-test$(EXESUF) 2 $(TARGET_SAMPLES)/h264/crew_cif.nal
  15. FATE_API_LIBAVFORMAT-$(call DEMDEC, FLV, FLV) += fate-api-seek
  16. fate-api-seek: $(APITESTSDIR)/api-seek-test$(EXESUF) fate-lavf-flv
  17. fate-api-seek: CMD = run $(APITESTSDIR)/api-seek-test$(EXESUF) $(TARGET_PATH)/tests/data/lavf/lavf.flv 0 720
  18. fate-api-seek: CMP = null
  19. FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, IMAGE2, PNG) += fate-api-png-codec-param
  20. fate-api-png-codec-param: $(APITESTSDIR)/api-codec-param-test$(EXESUF)
  21. fate-api-png-codec-param: CMD = run $(APITESTSDIR)/api-codec-param-test$(EXESUF) $(TARGET_SAMPLES)/png1/lena-rgba.png
  22. FATE_API_SAMPLES_LIBAVFORMAT-$(call DEMDEC, IMAGE2, MJPEG) += fate-api-mjpeg-codec-param
  23. fate-api-mjpeg-codec-param: $(APITESTSDIR)/api-codec-param-test$(EXESUF)
  24. fate-api-mjpeg-codec-param: CMD = run $(APITESTSDIR)/api-codec-param-test$(EXESUF) $(TARGET_SAMPLES)/exif/image_small.jpg
  25. FATE_API-$(HAVE_THREADS) += fate-api-threadmessage
  26. fate-api-threadmessage: $(APITESTSDIR)/api-threadmessage-test$(EXESUF)
  27. fate-api-threadmessage: CMD = run $(APITESTSDIR)/api-threadmessage-test$(EXESUF) 3 10 30 50 2 20 40
  28. fate-api-threadmessage: CMP = null
  29. FATE_API_SAMPLES-$(CONFIG_AVFORMAT) += $(FATE_API_SAMPLES_LIBAVFORMAT-yes)
  30. ifdef SAMPLES
  31. FATE_API_SAMPLES += $(FATE_API_SAMPLES-yes)
  32. endif
  33. FATE_API-$(CONFIG_AVCODEC) += $(FATE_API_LIBAVCODEC-yes)
  34. FATE_API-$(CONFIG_AVFORMAT) += $(FATE_API_LIBAVFORMAT-yes)
  35. FATE_API = $(FATE_API-yes)
  36. FATE-yes += $(FATE_API) $(FATE_API_SAMPLES)
  37. fate-api: $(FATE_API) $(FATE_API_SAMPLES)