aac.mak 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. FATE_AAC += fate-aac-al04_44
  2. fate-aac-al04_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al04_44.mp4
  3. fate-aac-al04_44: REF = $(SAMPLES)/aac/al04_44.s16
  4. FATE_AAC += fate-aac-al05_44
  5. fate-aac-al05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al05_44.mp4
  6. fate-aac-al05_44: REF = $(SAMPLES)/aac/al05_44.s16
  7. FATE_AAC += fate-aac-al06_44
  8. fate-aac-al06_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al06_44.mp4
  9. fate-aac-al06_44: REF = $(SAMPLES)/aac/al06_44_reorder.s16
  10. FATE_AAC += fate-aac-al07_96
  11. fate-aac-al07_96: CMD = pcm -i $(TARGET_SAMPLES)/aac/al07_96.mp4
  12. fate-aac-al07_96: REF = $(SAMPLES)/aac/al07_96_reorder.s16
  13. FATE_AAC += fate-aac-al15_44
  14. fate-aac-al15_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al15_44.mp4
  15. fate-aac-al15_44: REF = $(SAMPLES)/aac/al15_44_reorder.s16
  16. FATE_AAC += fate-aac-al17_44
  17. fate-aac-al17_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al17_44.mp4
  18. fate-aac-al17_44: REF = $(SAMPLES)/aac/al17_44.s16
  19. FATE_AAC += fate-aac-al18_44
  20. fate-aac-al18_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/al18_44.mp4
  21. fate-aac-al18_44: REF = $(SAMPLES)/aac/al18_44.s16
  22. FATE_AAC += fate-aac-am00_88
  23. fate-aac-am00_88: CMD = pcm -i $(TARGET_SAMPLES)/aac/am00_88.mp4
  24. fate-aac-am00_88: REF = $(SAMPLES)/aac/am00_88.s16
  25. FATE_AAC += fate-aac-am05_44
  26. fate-aac-am05_44: CMD = pcm -i $(TARGET_SAMPLES)/aac/am05_44.mp4
  27. fate-aac-am05_44: REF = $(SAMPLES)/aac/am05_44_reorder.s16
  28. FATE_AAC += fate-aac-al_sbr_hq_cm_48_2
  29. fate-aac-al_sbr_hq_cm_48_2: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_2.mp4
  30. fate-aac-al_sbr_hq_cm_48_2: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_2.s16
  31. FATE_AAC += fate-aac-al_sbr_hq_cm_48_5.1
  32. fate-aac-al_sbr_hq_cm_48_5.1: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_cm_48_5.1.mp4
  33. fate-aac-al_sbr_hq_cm_48_5.1: REF = $(SAMPLES)/aac/al_sbr_hq_cm_48_5.1_reorder.s16
  34. FATE_AAC += fate-aac-al_sbr_hq_sr_48_2_fsaac48
  35. fate-aac-al_sbr_hq_sr_48_2_fsaac48: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_sr_48_2_fsaac48.mp4
  36. fate-aac-al_sbr_hq_sr_48_2_fsaac48: REF = $(SAMPLES)/aac/al_sbr_hq_sr_48_2_fsaac48.s16
  37. FATE_AAC += fate-aac-al_sbr_ps_06_ur
  38. fate-aac-al_sbr_ps_06_ur: CMD = pcm -i $(TARGET_SAMPLES)/aac/al_sbr_ps_06_new.mp4
  39. fate-aac-al_sbr_ps_06_ur: REF = $(SAMPLES)/aac/al_sbr_ps_06_ur.s16
  40. FATE_AAC += fate-aac-ap05_48
  41. fate-aac-ap05_48: CMD = pcm -i $(TARGET_SAMPLES)/aac/ap05_48.mp4
  42. fate-aac-ap05_48: REF = $(SAMPLES)/aac/ap05_48.s16
  43. FATE_AAC += fate-aac-er_ad6000np_44_ep0
  44. fate-aac-er_ad6000np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_ad6000np_44_ep0.mp4
  45. fate-aac-er_ad6000np_44_ep0: REF = $(SAMPLES)/aac/er_ad6000np_44.s16
  46. FATE_AAC += fate-aac-er_eld1001np_44_ep0
  47. fate-aac-er_eld1001np_44_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld1001np_44_ep0.mp4
  48. fate-aac-er_eld1001np_44_ep0: REF = $(SAMPLES)/aac/er_eld1001np_44.s16
  49. FATE_AAC += fate-aac-er_eld2000np_48_ep0
  50. fate-aac-er_eld2000np_48_ep0: CMD = pcm -i $(TARGET_SAMPLES)/aac/er_eld2000np_48_ep0.mp4
  51. fate-aac-er_eld2000np_48_ep0: REF = $(SAMPLES)/aac/er_eld2000np_48_ep0.s16
  52. fate-aac-ct%: CMD = pcm -i $(TARGET_SAMPLES)/aac/CT_DecoderCheck/$(@:fate-aac-ct-%=%)
  53. fate-aac-ct%: REF = $(SAMPLES)/aac/CT_DecoderCheck/aacPlusv2.wav
  54. FATE_AAC_CT_RAW = fate-aac-ct-sbr_i-ps_i.aac
  55. FATE_AAC_CT = sbr_bc-ps_i.3gp \
  56. sbr_bic-ps_i.3gp \
  57. sbr_bc-ps_bc.mp4 \
  58. sbr_bc-ps_i.mp4 \
  59. sbr_i-ps_bic.mp4 \
  60. sbr_i-ps_i.mp4
  61. FATE_AAC += $(FATE_AAC_CT:%=fate-aac-ct-%)
  62. FATE_AAC_ENCODE += fate-aac-aref-encode
  63. fate-aac-aref-encode: ./tests/data/asynth-44100-2.wav
  64. fate-aac-aref-encode: CMD = enc_dec_pcm adts wav s16le $(REF) -strict -2 -c:a aac -b:a 512k
  65. fate-aac-aref-encode: CMP = stddev
  66. fate-aac-aref-encode: REF = ./tests/data/asynth-44100-2.wav
  67. fate-aac-aref-encode: CMP_SHIFT = -4096
  68. fate-aac-aref-encode: CMP_TARGET = 1862
  69. fate-aac-aref-encode: SIZE_TOLERANCE = 2464
  70. FATE_AAC_ENCODE += fate-aac-ln-encode
  71. fate-aac-ln-encode: CMD = enc_dec_pcm adts wav s16le $(TARGET_SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav -strict -2 -c:a aac -b:a 512k
  72. fate-aac-ln-encode: CMP = stddev
  73. fate-aac-ln-encode: REF = $(SAMPLES)/audio-reference/luckynight_2ch_44kHz_s16.wav
  74. fate-aac-ln-encode: CMP_SHIFT = -4096
  75. fate-aac-ln-encode: CMP_TARGET = 65
  76. fate-aac-ln-encode: SIZE_TOLERANCE = 3560
  77. FATE_AAC_LATM += fate-aac-latm_000000001180bc60
  78. fate-aac-latm_000000001180bc60: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_000000001180bc60.mpg
  79. fate-aac-latm_000000001180bc60: REF = $(SAMPLES)/aac/latm_000000001180bc60.s16
  80. FATE_AAC_LATM += fate-aac-latm_stereo_to_51
  81. fate-aac-latm_stereo_to_51: CMD = pcm -i $(TARGET_SAMPLES)/aac/latm_stereo_to_51.ts -channel_layout 5.1
  82. fate-aac-latm_stereo_to_51: REF = $(SAMPLES)/aac/latm_stereo_to_51_ref.s16
  83. FATE_AAC-$(call DEMDEC, AAC, AAC) += $(FATE_AAC_CT_RAW)
  84. FATE_AAC-$(call DEMDEC, MOV, AAC) += $(FATE_AAC)
  85. FATE_AAC_LATM-$(call DEMDEC, MPEGTS, AAC_LATM) += $(FATE_AAC_LATM)
  86. FATE_AAC_ALL = $(FATE_AAC-yes) $(FATE_AAC_LATM-yes)
  87. $(FATE_AAC_ALL): CMP = oneoff
  88. $(FATE_AAC_ALL): FUZZ = 2
  89. FATE_AAC_ENCODE-$(call ENCMUX, AAC, ADTS) += $(FATE_AAC_ENCODE)
  90. FATE_SAMPLES_FFMPEG += $(FATE_AAC_ALL) $(FATE_AAC_ENCODE-yes)
  91. fate-aac: $(FATE_AAC_ALL) $(FATE_AAC_ENCODE)
  92. fate-aac-latm: $(FATE_AAC_LATM-yes)