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