You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

246 lines
16KB

  1. NAME = avutil
  2. DESC = FFmpeg utility library
  3. HEADERS = adler32.h \
  4. aes.h \
  5. aes_ctr.h \
  6. attributes.h \
  7. audio_fifo.h \
  8. avassert.h \
  9. avstring.h \
  10. avutil.h \
  11. base64.h \
  12. blowfish.h \
  13. bprint.h \
  14. bswap.h \
  15. buffer.h \
  16. cast5.h \
  17. camellia.h \
  18. channel_layout.h \
  19. common.h \
  20. cpu.h \
  21. crc.h \
  22. des.h \
  23. dict.h \
  24. display.h \
  25. downmix_info.h \
  26. error.h \
  27. eval.h \
  28. fifo.h \
  29. file.h \
  30. frame.h \
  31. hash.h \
  32. hmac.h \
  33. hwcontext.h \
  34. hwcontext_cuda.h \
  35. hwcontext_d3d11va.h \
  36. hwcontext_drm.h \
  37. hwcontext_dxva2.h \
  38. hwcontext_qsv.h \
  39. hwcontext_vaapi.h \
  40. hwcontext_videotoolbox.h \
  41. hwcontext_vdpau.h \
  42. imgutils.h \
  43. intfloat.h \
  44. intreadwrite.h \
  45. lfg.h \
  46. log.h \
  47. macros.h \
  48. mathematics.h \
  49. mastering_display_metadata.h \
  50. md5.h \
  51. mem.h \
  52. motion_vector.h \
  53. murmur3.h \
  54. opt.h \
  55. parseutils.h \
  56. pixdesc.h \
  57. pixelutils.h \
  58. pixfmt.h \
  59. random_seed.h \
  60. rc4.h \
  61. rational.h \
  62. replaygain.h \
  63. ripemd.h \
  64. samplefmt.h \
  65. sha.h \
  66. sha512.h \
  67. spherical.h \
  68. stereo3d.h \
  69. threadmessage.h \
  70. time.h \
  71. timecode.h \
  72. timestamp.h \
  73. tree.h \
  74. twofish.h \
  75. version.h \
  76. xtea.h \
  77. tea.h \
  78. HEADERS-$(CONFIG_LZO) += lzo.h
  79. HEADERS-$(CONFIG_OPENCL) += opencl.h
  80. ARCH_HEADERS = bswap.h \
  81. intmath.h \
  82. intreadwrite.h \
  83. timer.h \
  84. BUILT_HEADERS = avconfig.h \
  85. ffversion.h
  86. OBJS = adler32.o \
  87. aes.o \
  88. aes_ctr.o \
  89. audio_fifo.o \
  90. avstring.o \
  91. base64.o \
  92. blowfish.o \
  93. bprint.o \
  94. buffer.o \
  95. cast5.o \
  96. camellia.o \
  97. channel_layout.o \
  98. color_utils.o \
  99. cpu.o \
  100. crc.o \
  101. des.o \
  102. dict.o \
  103. display.o \
  104. downmix_info.o \
  105. error.o \
  106. eval.o \
  107. fifo.o \
  108. file.o \
  109. file_open.o \
  110. float_dsp.o \
  111. fixed_dsp.o \
  112. frame.o \
  113. hash.o \
  114. hmac.o \
  115. hwcontext.o \
  116. imgutils.o \
  117. integer.o \
  118. intmath.o \
  119. lfg.o \
  120. lls.o \
  121. log.o \
  122. log2_tab.o \
  123. mathematics.o \
  124. mastering_display_metadata.o \
  125. md5.o \
  126. mem.o \
  127. murmur3.o \
  128. opt.o \
  129. parseutils.o \
  130. pixdesc.o \
  131. pixelutils.o \
  132. random_seed.o \
  133. rational.o \
  134. reverse.o \
  135. rc4.o \
  136. ripemd.o \
  137. samplefmt.o \
  138. sha.o \
  139. sha512.o \
  140. slicethread.o \
  141. spherical.o \
  142. stereo3d.o \
  143. threadmessage.o \
  144. time.o \
  145. timecode.o \
  146. tree.o \
  147. twofish.o \
  148. utils.o \
  149. xga_font_data.o \
  150. xtea.o \
  151. tea.o \
  152. OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
  153. OBJS-$(CONFIG_CUDA) += hwcontext_cuda.o
  154. OBJS-$(CONFIG_D3D11VA) += hwcontext_d3d11va.o
  155. OBJS-$(CONFIG_DXVA2) += hwcontext_dxva2.o
  156. OBJS-$(CONFIG_QSV) += hwcontext_qsv.o
  157. OBJS-$(CONFIG_LIBDRM) += hwcontext_drm.o
  158. OBJS-$(CONFIG_LZO) += lzo.o
  159. OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
  160. OBJS-$(CONFIG_VAAPI) += hwcontext_vaapi.o
  161. OBJS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.o
  162. OBJS-$(CONFIG_VDPAU) += hwcontext_vdpau.o
  163. OBJS += $(COMPAT_OBJS:%=../compat/%)
  164. # Windows resource file
  165. SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
  166. SKIPHEADERS-$(HAVE_CUDA_H) += hwcontext_cuda.h
  167. SKIPHEADERS-$(CONFIG_CUDA) += hwcontext_cuda_internal.h
  168. SKIPHEADERS-$(CONFIG_D3D11VA) += hwcontext_d3d11va.h
  169. SKIPHEADERS-$(CONFIG_DXVA2) += hwcontext_dxva2.h
  170. SKIPHEADERS-$(CONFIG_QSV) += hwcontext_qsv.h
  171. SKIPHEADERS-$(CONFIG_VAAPI) += hwcontext_vaapi.h
  172. SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.h
  173. SKIPHEADERS-$(CONFIG_VDPAU) += hwcontext_vdpau.h
  174. SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
  175. SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
  176. SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
  177. SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
  178. TESTPROGS = adler32 \
  179. aes \
  180. aes_ctr \
  181. atomic \
  182. audio_fifo \
  183. avstring \
  184. base64 \
  185. blowfish \
  186. bprint \
  187. cast5 \
  188. camellia \
  189. color_utils \
  190. cpu \
  191. crc \
  192. des \
  193. dict \
  194. display \
  195. error \
  196. eval \
  197. file \
  198. fifo \
  199. hash \
  200. hmac \
  201. imgutils \
  202. lfg \
  203. lls \
  204. log \
  205. md5 \
  206. murmur3 \
  207. opt \
  208. pca \
  209. parseutils \
  210. pixdesc \
  211. pixelutils \
  212. pixfmt_best \
  213. random_seed \
  214. rational \
  215. ripemd \
  216. sha \
  217. sha512 \
  218. softfloat \
  219. tree \
  220. twofish \
  221. utf8 \
  222. xtea \
  223. tea \
  224. TESTPROGS-$(HAVE_THREADS) += cpu_init
  225. TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
  226. TOOLS = crypto_bench ffhash ffeval ffescape
  227. tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
  228. tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
  229. $(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2