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.

263 lines
17KB

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