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.

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