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.

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