2008-03-08 16:39:43 +02:00
|
|
|
NAME = avutil
|
2017-05-05 00:59:30 +02:00
|
|
|
DESC = FFmpeg utility library
|
2008-03-08 16:39:43 +02:00
|
|
|
|
2008-11-21 00:53:18 +02:00
|
|
|
HEADERS = adler32.h \
|
2011-04-07 16:19:23 +03:00
|
|
|
aes.h \
|
2015-12-07 11:58:41 +02:00
|
|
|
aes_ctr.h \
|
2010-03-08 23:28:56 +02:00
|
|
|
attributes.h \
|
2012-03-24 00:45:48 +03:00
|
|
|
audio_fifo.h \
|
2010-10-01 16:55:13 +03:00
|
|
|
avassert.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
avstring.h \
|
|
|
|
avutil.h \
|
|
|
|
base64.h \
|
2012-07-03 16:45:27 +03:00
|
|
|
blowfish.h \
|
2012-02-01 22:37:50 +03:00
|
|
|
bprint.h \
|
2010-07-11 01:22:07 +03:00
|
|
|
bswap.h \
|
2012-10-07 16:45:44 +03:00
|
|
|
buffer.h \
|
2014-10-17 21:22:25 +03:00
|
|
|
cast5.h \
|
2014-12-31 18:20:18 +02:00
|
|
|
camellia.h \
|
2012-11-10 17:03:17 +03:00
|
|
|
channel_layout.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
common.h \
|
2010-09-04 12:59:08 +03:00
|
|
|
cpu.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
crc.h \
|
2015-10-14 00:31:02 +02:00
|
|
|
des.h \
|
2016-02-16 18:58:50 +02:00
|
|
|
dict.h \
|
2014-05-16 05:06:49 +03:00
|
|
|
display.h \
|
2014-02-15 20:12:22 +03:00
|
|
|
downmix_info.h \
|
2010-03-13 11:43:24 +02:00
|
|
|
error.h \
|
2010-06-05 15:01:28 +03:00
|
|
|
eval.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
fifo.h \
|
2010-12-22 16:13:04 +02:00
|
|
|
file.h \
|
2012-10-17 12:51:01 +03:00
|
|
|
frame.h \
|
2014-07-06 18:51:12 +03:00
|
|
|
hash.h \
|
2012-10-12 15:01:06 +03:00
|
|
|
hmac.h \
|
2015-11-20 20:47:29 +02:00
|
|
|
hwcontext.h \
|
2016-01-13 15:25:58 +02:00
|
|
|
hwcontext_cuda.h \
|
2017-06-06 18:51:07 +02:00
|
|
|
hwcontext_d3d11va.h \
|
2017-06-18 19:16:27 +02:00
|
|
|
hwcontext_drm.h \
|
2016-03-31 13:12:41 +02:00
|
|
|
hwcontext_dxva2.h \
|
2016-01-13 15:25:58 +02:00
|
|
|
hwcontext_qsv.h \
|
2016-02-15 21:32:45 +02:00
|
|
|
hwcontext_vaapi.h \
|
2017-05-15 11:27:24 +02:00
|
|
|
hwcontext_videotoolbox.h \
|
2015-12-07 16:04:57 +02:00
|
|
|
hwcontext_vdpau.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
imgutils.h \
|
2012-01-29 23:09:22 +03:00
|
|
|
intfloat.h \
|
2010-07-11 01:22:07 +03:00
|
|
|
intreadwrite.h \
|
2010-07-02 15:12:06 +03:00
|
|
|
lfg.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
log.h \
|
2013-12-27 04:57:48 +03:00
|
|
|
macros.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
mathematics.h \
|
2016-01-17 02:19:38 +02:00
|
|
|
mastering_display_metadata.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
md5.h \
|
|
|
|
mem.h \
|
2014-07-16 17:42:42 +03:00
|
|
|
motion_vector.h \
|
2013-05-09 15:34:46 +03:00
|
|
|
murmur3.h \
|
2010-10-09 02:42:25 +03:00
|
|
|
opt.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
parseutils.h \
|
2009-11-25 01:33:41 +02:00
|
|
|
pixdesc.h \
|
2014-08-02 19:54:43 +03:00
|
|
|
pixelutils.h \
|
2009-02-22 16:27:50 +02:00
|
|
|
pixfmt.h \
|
2010-05-23 11:53:40 +03:00
|
|
|
random_seed.h \
|
2015-10-14 00:31:02 +02:00
|
|
|
rc4.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
rational.h \
|
2016-02-16 18:58:50 +02:00
|
|
|
replaygain.h \
|
2013-06-15 20:04:19 +03:00
|
|
|
ripemd.h \
|
2011-02-07 15:37:08 +02:00
|
|
|
samplefmt.h \
|
2011-04-07 16:19:23 +03:00
|
|
|
sha.h \
|
2013-05-30 10:56:29 +03:00
|
|
|
sha512.h \
|
2016-11-12 00:25:43 +02:00
|
|
|
spherical.h \
|
2013-11-28 16:47:13 +03:00
|
|
|
stereo3d.h \
|
2014-02-20 16:14:34 +03:00
|
|
|
threadmessage.h \
|
2012-06-20 03:24:39 +03:00
|
|
|
time.h \
|
2012-01-16 13:20:46 +03:00
|
|
|
timecode.h \
|
2012-01-17 19:12:42 +03:00
|
|
|
timestamp.h \
|
2015-10-14 00:31:02 +02:00
|
|
|
tree.h \
|
2015-01-25 20:39:20 +02:00
|
|
|
twofish.h \
|
2012-07-05 09:21:49 +03:00
|
|
|
version.h \
|
2012-07-03 16:53:16 +03:00
|
|
|
xtea.h \
|
2015-07-19 22:25:53 +02:00
|
|
|
tea.h \
|
2008-11-21 00:53:18 +02:00
|
|
|
|
2012-10-18 20:48:27 +03:00
|
|
|
HEADERS-$(CONFIG_LZO) += lzo.h
|
|
|
|
|
2013-04-01 12:46:11 +03:00
|
|
|
HEADERS-$(CONFIG_OPENCL) += opencl.h
|
|
|
|
|
2012-04-14 14:05:08 +03:00
|
|
|
ARCH_HEADERS = bswap.h \
|
|
|
|
intmath.h \
|
|
|
|
intreadwrite.h \
|
|
|
|
timer.h \
|
|
|
|
|
2013-11-29 03:29:41 +03:00
|
|
|
BUILT_HEADERS = avconfig.h \
|
|
|
|
ffversion.h
|
2010-01-19 06:40:16 +02:00
|
|
|
|
2008-10-26 17:21:45 +02:00
|
|
|
OBJS = adler32.o \
|
|
|
|
aes.o \
|
2015-12-07 11:58:41 +02:00
|
|
|
aes_ctr.o \
|
2012-03-24 00:45:48 +03:00
|
|
|
audio_fifo.o \
|
2009-01-30 00:12:36 +02:00
|
|
|
avstring.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
base64.o \
|
2012-07-03 16:45:27 +03:00
|
|
|
blowfish.o \
|
2012-02-01 22:37:50 +03:00
|
|
|
bprint.o \
|
2012-10-07 16:45:44 +03:00
|
|
|
buffer.o \
|
2014-10-17 21:22:25 +03:00
|
|
|
cast5.o \
|
2014-12-31 18:20:18 +02:00
|
|
|
camellia.o \
|
2012-11-10 17:03:17 +03:00
|
|
|
channel_layout.o \
|
2015-03-05 12:37:51 +02:00
|
|
|
color_utils.o \
|
2010-09-08 18:07:14 +03:00
|
|
|
cpu.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
crc.o \
|
|
|
|
des.o \
|
2016-02-16 18:58:50 +02:00
|
|
|
dict.o \
|
2014-05-16 05:06:49 +03:00
|
|
|
display.o \
|
2014-02-15 20:12:22 +03:00
|
|
|
downmix_info.o \
|
2010-03-26 00:46:35 +02:00
|
|
|
error.o \
|
2010-06-05 15:01:28 +03:00
|
|
|
eval.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
fifo.o \
|
2010-12-22 16:13:04 +02:00
|
|
|
file.o \
|
2013-08-09 10:58:15 +03:00
|
|
|
file_open.o \
|
2012-05-21 19:58:41 +03:00
|
|
|
float_dsp.o \
|
2014-04-01 17:31:07 +03:00
|
|
|
fixed_dsp.o \
|
2012-10-17 12:51:01 +03:00
|
|
|
frame.o \
|
2013-05-09 19:10:47 +03:00
|
|
|
hash.o \
|
2012-10-12 15:01:06 +03:00
|
|
|
hmac.o \
|
2015-11-20 20:47:29 +02:00
|
|
|
hwcontext.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
imgutils.o \
|
2015-12-01 14:34:19 +02:00
|
|
|
integer.o \
|
2012-10-26 21:48:40 +03:00
|
|
|
intmath.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
lfg.o \
|
2014-08-10 00:03:26 +03:00
|
|
|
lls.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
log.o \
|
2012-10-04 22:12:32 +03:00
|
|
|
log2_tab.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
mathematics.o \
|
2016-01-17 02:19:38 +02:00
|
|
|
mastering_display_metadata.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
md5.o \
|
|
|
|
mem.o \
|
2013-05-09 15:34:46 +03:00
|
|
|
murmur3.o \
|
2010-09-26 17:25:22 +03:00
|
|
|
opt.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
parseutils.o \
|
2009-11-25 01:33:41 +02:00
|
|
|
pixdesc.o \
|
2014-08-02 19:54:43 +03:00
|
|
|
pixelutils.o \
|
2009-03-08 03:28:14 +02:00
|
|
|
random_seed.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
rational.o \
|
2015-08-08 10:41:34 +02:00
|
|
|
reverse.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
rc4.o \
|
2013-06-15 20:04:19 +03:00
|
|
|
ripemd.o \
|
2011-02-07 15:37:08 +02:00
|
|
|
samplefmt.o \
|
2009-07-10 18:50:49 +03:00
|
|
|
sha.o \
|
2013-05-30 10:56:29 +03:00
|
|
|
sha512.o \
|
2017-07-12 01:42:23 +02:00
|
|
|
slicethread.o \
|
2016-11-12 00:25:43 +02:00
|
|
|
spherical.o \
|
2013-11-28 16:47:13 +03:00
|
|
|
stereo3d.o \
|
2014-02-20 16:14:34 +03:00
|
|
|
threadmessage.o \
|
2012-06-20 03:24:39 +03:00
|
|
|
time.o \
|
2012-01-16 13:20:46 +03:00
|
|
|
timecode.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
tree.o \
|
2015-01-25 20:39:20 +02:00
|
|
|
twofish.o \
|
2008-10-26 17:21:45 +02:00
|
|
|
utils.o \
|
2012-09-22 10:56:33 +03:00
|
|
|
xga_font_data.o \
|
2012-07-03 16:53:16 +03:00
|
|
|
xtea.o \
|
2015-07-19 22:25:53 +02:00
|
|
|
tea.o \
|
2007-02-28 05:40:23 +02:00
|
|
|
|
2015-07-01 21:20:08 +02:00
|
|
|
OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
|
|
|
|
|
2016-01-13 15:25:58 +02:00
|
|
|
OBJS-$(CONFIG_CUDA) += hwcontext_cuda.o
|
2017-06-06 18:51:07 +02:00
|
|
|
OBJS-$(CONFIG_D3D11VA) += hwcontext_d3d11va.o
|
2016-03-31 13:12:41 +02:00
|
|
|
OBJS-$(CONFIG_DXVA2) += hwcontext_dxva2.o
|
2016-09-28 20:12:29 +02:00
|
|
|
OBJS-$(CONFIG_QSV) += hwcontext_qsv.o
|
2017-06-18 19:16:27 +02:00
|
|
|
OBJS-$(CONFIG_LIBDRM) += hwcontext_drm.o
|
2012-10-18 20:48:27 +03:00
|
|
|
OBJS-$(CONFIG_LZO) += lzo.o
|
2013-04-25 14:28:40 +03:00
|
|
|
OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
|
2016-02-15 21:32:45 +02:00
|
|
|
OBJS-$(CONFIG_VAAPI) += hwcontext_vaapi.o
|
2017-05-15 11:27:24 +02:00
|
|
|
OBJS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.o
|
2015-12-07 16:04:57 +02:00
|
|
|
OBJS-$(CONFIG_VDPAU) += hwcontext_vdpau.o
|
2012-09-25 01:44:20 +03:00
|
|
|
|
2012-10-14 19:56:00 +03:00
|
|
|
OBJS += $(COMPAT_OBJS:%=../compat/%)
|
2012-09-04 16:30:37 +03:00
|
|
|
|
2013-12-05 23:50:14 +03:00
|
|
|
# Windows resource file
|
|
|
|
SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
|
|
|
|
|
2016-11-24 18:39:13 +02:00
|
|
|
SKIPHEADERS-$(HAVE_CUDA_H) += hwcontext_cuda.h
|
|
|
|
SKIPHEADERS-$(CONFIG_CUDA) += hwcontext_cuda_internal.h
|
2017-06-06 18:51:07 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_D3D11VA) += hwcontext_d3d11va.h
|
2016-03-31 13:12:41 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_DXVA2) += hwcontext_dxva2.h
|
2016-09-28 20:12:29 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_QSV) += hwcontext_qsv.h
|
2016-02-15 21:32:45 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_VAAPI) += hwcontext_vaapi.h
|
2017-05-15 11:27:24 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.h
|
2016-02-15 20:52:33 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_VDPAU) += hwcontext_vdpau.h
|
2013-04-06 20:04:56 +03:00
|
|
|
SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
|
2013-03-27 21:26:19 +03:00
|
|
|
SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
|
|
|
|
SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
|
2013-04-03 16:28:29 +03:00
|
|
|
SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
|
2013-03-08 16:31:54 +03:00
|
|
|
|
2012-04-14 14:05:08 +03:00
|
|
|
TESTPROGS = adler32 \
|
|
|
|
aes \
|
2017-01-01 22:17:58 +02:00
|
|
|
aes_ctr \
|
2012-12-03 01:34:50 +03:00
|
|
|
atomic \
|
2016-12-21 02:53:51 +02:00
|
|
|
audio_fifo \
|
2012-04-14 14:05:08 +03:00
|
|
|
avstring \
|
|
|
|
base64 \
|
2012-07-03 16:45:27 +03:00
|
|
|
blowfish \
|
2012-05-07 23:42:41 +03:00
|
|
|
bprint \
|
2014-10-17 21:22:25 +03:00
|
|
|
cast5 \
|
2014-12-31 18:20:18 +02:00
|
|
|
camellia \
|
2016-03-03 20:01:28 +02:00
|
|
|
color_utils \
|
2012-04-14 14:05:08 +03:00
|
|
|
cpu \
|
|
|
|
crc \
|
|
|
|
des \
|
2014-11-16 02:45:07 +02:00
|
|
|
dict \
|
2016-03-20 10:54:07 +02:00
|
|
|
display \
|
2012-02-06 16:16:33 +03:00
|
|
|
error \
|
2012-04-14 14:05:08 +03:00
|
|
|
eval \
|
2012-05-07 23:42:41 +03:00
|
|
|
file \
|
2012-04-14 14:05:08 +03:00
|
|
|
fifo \
|
2016-03-08 07:21:26 +02:00
|
|
|
hash \
|
2013-01-15 14:05:12 +03:00
|
|
|
hmac \
|
2016-12-10 22:39:56 +02:00
|
|
|
imgutils \
|
2012-04-14 14:05:08 +03:00
|
|
|
lfg \
|
2014-08-10 00:03:26 +03:00
|
|
|
lls \
|
2014-04-03 23:38:30 +03:00
|
|
|
log \
|
2012-04-14 14:05:08 +03:00
|
|
|
md5 \
|
2013-05-09 15:34:46 +03:00
|
|
|
murmur3 \
|
2012-04-14 14:05:08 +03:00
|
|
|
opt \
|
2012-05-07 23:42:41 +03:00
|
|
|
pca \
|
2012-04-14 14:05:08 +03:00
|
|
|
parseutils \
|
2014-04-26 19:22:12 +03:00
|
|
|
pixdesc \
|
2014-08-02 19:54:43 +03:00
|
|
|
pixelutils \
|
2017-07-06 23:50:40 +02:00
|
|
|
pixfmt_best \
|
2012-05-07 23:42:41 +03:00
|
|
|
random_seed \
|
|
|
|
rational \
|
2013-06-15 20:04:19 +03:00
|
|
|
ripemd \
|
2012-04-14 14:05:08 +03:00
|
|
|
sha \
|
2013-05-30 10:56:29 +03:00
|
|
|
sha512 \
|
2014-10-09 17:02:14 +03:00
|
|
|
softfloat \
|
2012-04-14 14:05:08 +03:00
|
|
|
tree \
|
2015-01-25 20:39:20 +02:00
|
|
|
twofish \
|
2013-10-03 02:21:40 +03:00
|
|
|
utf8 \
|
2012-07-03 16:53:16 +03:00
|
|
|
xtea \
|
2015-07-19 22:25:53 +02:00
|
|
|
tea \
|
2012-05-07 23:42:41 +03:00
|
|
|
|
2017-04-13 23:25:30 +02:00
|
|
|
TESTPROGS-$(HAVE_THREADS) += cpu_init
|
2009-04-09 17:55:05 +03:00
|
|
|
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
|
2008-01-28 00:39:30 +02:00
|
|
|
|
2013-05-16 21:10:11 +03:00
|
|
|
TOOLS = crypto_bench ffhash ffeval ffescape
|
|
|
|
|
|
|
|
tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
|
|
|
|
tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
|
2012-01-16 01:05:07 +03:00
|
|
|
|
2016-06-22 13:44:29 +02:00
|
|
|
$(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2
|