insert-ipp.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --- configure.ac 2015-09-16 11:00:01.000000000 -0300
  2. +++ configure.ac 2022-07-12 20:45:38.700337466 -0300
  3. @@ -83,6 +83,9 @@
  4. AC_MSG_ERROR(you need to have pkgconfig installed !)
  5. fi
  6. +dnl Setup for finding IPP libraries. Attempt to detect by default.
  7. +AG_NEED_IPP("ippac ipps")
  8. +
  9. dnl Now we're ready to ask for gstreamer libs and cflags
  10. dnl And we can also ask for the right version of gstreamer
  11. --- src/Makefile.am 2015-09-16 11:00:01.000000000 -0300
  12. +++ src/Makefile.am 2022-07-12 20:34:03.364352095 -0300
  13. @@ -8,6 +8,16 @@
  14. decode.c \
  15. mp3tl.c
  16. +if USE_IPP
  17. +DECODER_SOURCE_FILES += mp3-ipp.c
  18. +DECODER_INCLUDES = $(IPP_INCLUDES)
  19. +if GST_PLUGIN_BUILD_STATIC
  20. + DECODER_LIBS =
  21. +else
  22. + DECODER_LIBS = -L$(IPP_PATH)/lib $(IPP_TRAMPOLINE_LIBS) $(IPP_LIBS)
  23. +endif
  24. +endif
  25. +
  26. libgstflump3dec_la_SOURCES = \
  27. flump3dec.c \
  28. $(DECODER_SOURCE_FILES)
  29. @@ -23,9 +33,11 @@
  30. mp3tl-priv.h \
  31. table-bitalloc.h \
  32. table-dewindow.h \
  33. + table-dewindow-ipp.h \
  34. table-huffdec.h \
  35. mp3-cos-tables.h \
  36. mp3-c.h \
  37. + mp3-ipp.h \
  38. table-powtable.h \
  39. table-powtable-2.h