patch-libavcodec_Makefile 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. $OpenBSD: patch-libavcodec_Makefile,v 1.22 2015/12/06 08:51:46 ajacoutot Exp $
  2. aacenc: add support for encoding files using Long Term Prediction
  3. avcodec/aac_tablegen: get rid of hardcoded tables entirely
  4. --- libavcodec/Makefile.orig Thu Nov 12 02:08:28 2015
  5. +++ libavcodec/Makefile Sun Nov 29 18:42:51 2015
  6. @@ -134,6 +134,7 @@ OBJS-$(CONFIG_AAC_ENCODER) += aacenc.o aac
  7. aacpsy.o aactab.o \
  8. aacenc_is.o \
  9. aacenc_tns.o \
  10. + aacenc_ltp.o \
  11. aacenc_pred.o \
  12. psymodel.o mpeg4audio.o kbdwin.o
  13. OBJS-$(CONFIG_AASC_DECODER) += aasc.o msrledec.o
  14. @@ -907,7 +908,6 @@ SLIBOBJS-$(HAVE_GNU_WINDRES) += avcodecres.o
  15. SKIPHEADERS += %_tablegen.h \
  16. %_tables.h \
  17. - aac_tablegen_decl.h \
  18. fft-internal.h \
  19. old_codec_ids.h \
  20. tableprint.h \
  21. @@ -947,8 +947,7 @@ TESTOBJS = dctref.o
  22. TOOLS = fourcc2pixfmt
  23. -HOSTPROGS = aac_tablegen \
  24. - aacps_tablegen \
  25. +HOSTPROGS = aacps_tablegen \
  26. aacps_fixed_tablegen \
  27. aacsbr_tablegen \
  28. aacsbr_fixed_tablegen \
  29. @@ -983,7 +982,7 @@ $(SUBDIR)%_tablegen$(HOSTEXESUF): HOSTCFLAGS += -DCONF
  30. endif
  31. GEN_HEADERS = cabac_tables.h cbrt_tables.h cbrt_fixed_tables.h aacps_tables.h aacps_fixed_tables.h aacsbr_tables.h \
  32. - aacsbr_fixed_tables.h aac_tables.h dsd_tables.h dv_tables.h \
  33. + aacsbr_fixed_tables.h dsd_tables.h dv_tables.h \
  34. sinewin_tables.h sinewin_fixed_tables.h mpegaudio_tables.h motionpixels_tables.h \
  35. pcm_tables.h qdm2_tables.h
  36. GEN_HEADERS := $(addprefix $(SUBDIR), $(GEN_HEADERS))
  37. @@ -998,7 +997,6 @@ $(SUBDIR)aacps_float.o: $(SUBDIR)aacps_tables.h
  38. $(SUBDIR)aacps_fixed.o: $(SUBDIR)aacps_fixed_tables.h
  39. $(SUBDIR)aacsbr.o: $(SUBDIR)aacsbr_tables.h
  40. $(SUBDIR)aacsbr_fixed.o: $(SUBDIR)aacsbr_fixed_tables.h
  41. -$(SUBDIR)aactab.o: $(SUBDIR)aac_tables.h
  42. $(SUBDIR)aactab_fixed.o: $(SUBDIR)aac_fixed_tables.h
  43. $(SUBDIR)cabac.o: $(SUBDIR)cabac_tables.h
  44. $(SUBDIR)dsddec.o: $(SUBDIR)dsd_tables.h