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.

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