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