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