blob: eba92124438cc501f8763cdd5fc4821bd59ae9e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
|
INCLUDEPATH += \
$$PWD/libwebp \
$$PWD/libwebp/src \
$$PWD/libwebp/src/dec \
$$PWD/libwebp/src/enc \
$$PWD/libwebp/src/dsp \
$$PWD/libwebp/src/mux \
$$PWD/libwebp/src/utils \
$$PWD/libwebp/src/webp
SOURCES += \
$$PWD/libwebp/src/dec/alpha_dec.c \
$$PWD/libwebp/src/dec/buffer_dec.c \
$$PWD/libwebp/src/dec/frame_dec.c \
$$PWD/libwebp/src/dec/idec_dec.c \
$$PWD/libwebp/src/dec/io_dec.c \
$$PWD/libwebp/src/dec/quant_dec.c \
$$PWD/libwebp/src/dec/tree_dec.c \
$$PWD/libwebp/src/dec/vp8_dec.c \
$$PWD/libwebp/src/dec/vp8l_dec.c \
$$PWD/libwebp/src/dec/webp_dec.c \
$$PWD/libwebp/src/demux/demux.c \
$$PWD/libwebp/src/demux/anim_decode.c \
$$PWD/libwebp/src/dsp/alpha_processing.c \
$$PWD/libwebp/src/dsp/alpha_processing_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/alpha_processing_sse2.c \
$$PWD/libwebp/src/dsp/alpha_processing_sse41.c \
$$PWD/libwebp/src/dsp/cost.c \
$$PWD/libwebp/src/dsp/cost_mips32.c \
$$PWD/libwebp/src/dsp/cost_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/cost_sse2.c \
$$PWD/libwebp/src/dsp/cpu.c \
$$PWD/libwebp/src/dsp/dec.c \
$$PWD/libwebp/src/dsp/dec_clip_tables.c \
$$PWD/libwebp/src/dsp/dec_mips32.c \
$$PWD/libwebp/src/dsp/dec_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/dec_msa.c \
$$PWD/libwebp/src/dsp/dec_sse2.c \
$$PWD/libwebp/src/dsp/dec_sse41.c \
$$PWD/libwebp/src/dsp/enc.c \
$$PWD/libwebp/src/dsp/enc_avx2.c \
$$PWD/libwebp/src/dsp/enc_mips32.c \
$$PWD/libwebp/src/dsp/enc_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/enc_msa.c \
$$PWD/libwebp/src/dsp/enc_sse2.c \
$$PWD/libwebp/src/dsp/enc_sse41.c \
$$PWD/libwebp/src/dsp/filters.c \
$$PWD/libwebp/src/dsp/filters_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/filters_msa.c \
$$PWD/libwebp/src/dsp/filters_sse2.c \
$$PWD/libwebp/src/dsp/lossless.c \
$$PWD/libwebp/src/dsp/lossless_enc.c \
$$PWD/libwebp/src/dsp/lossless_enc_mips32.c \
$$PWD/libwebp/src/dsp/lossless_enc_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/lossless_enc_msa.c \
$$PWD/libwebp/src/dsp/lossless_enc_sse2.c \
$$PWD/libwebp/src/dsp/lossless_enc_sse41.c \
$$PWD/libwebp/src/dsp/lossless_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/rescaler.c \
$$PWD/libwebp/src/dsp/rescaler_mips32.c \
$$PWD/libwebp/src/dsp/rescaler_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/rescaler_msa.c \
$$PWD/libwebp/src/dsp/rescaler_sse2.c \
$$PWD/libwebp/src/dsp/ssim.c \
$$PWD/libwebp/src/dsp/ssim_sse2.c \
$$PWD/libwebp/src/dsp/upsampling.c \
$$PWD/libwebp/src/dsp/upsampling_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/upsampling_msa.c \
$$PWD/libwebp/src/dsp/upsampling_sse2.c \
$$PWD/libwebp/src/dsp/yuv.c \
$$PWD/libwebp/src/dsp/yuv_mips_dsp_r2.c \
$$PWD/libwebp/src/dsp/lossless_sse2.c \
$$PWD/libwebp/src/dsp/yuv_mips32.c \
$$PWD/libwebp/src/dsp/yuv_sse2.c \
$$PWD/libwebp/src/enc/alpha_enc.c \
$$PWD/libwebp/src/enc/analysis_enc.c \
$$PWD/libwebp/src/enc/backward_references_cost_enc.c \
$$PWD/libwebp/src/enc/backward_references_enc.c \
$$PWD/libwebp/src/enc/config_enc.c \
$$PWD/libwebp/src/enc/cost_enc.c \
$$PWD/libwebp/src/enc/delta_palettization_enc.c \
$$PWD/libwebp/src/enc/filter_enc.c \
$$PWD/libwebp/src/enc/frame_enc.c \
$$PWD/libwebp/src/enc/histogram_enc.c \
$$PWD/libwebp/src/enc/iterator_enc.c \
$$PWD/libwebp/src/enc/near_lossless_enc.c \
$$PWD/libwebp/src/enc/picture_enc.c \
$$PWD/libwebp/src/enc/picture_csp_enc.c \
$$PWD/libwebp/src/enc/picture_psnr_enc.c \
$$PWD/libwebp/src/enc/picture_rescale_enc.c \
$$PWD/libwebp/src/enc/picture_tools_enc.c \
$$PWD/libwebp/src/enc/predictor_enc.c \
$$PWD/libwebp/src/enc/quant_enc.c \
$$PWD/libwebp/src/enc/syntax_enc.c \
$$PWD/libwebp/src/enc/token_enc.c \
$$PWD/libwebp/src/enc/tree_enc.c \
$$PWD/libwebp/src/enc/vp8l_enc.c \
$$PWD/libwebp/src/enc/webp_enc.c \
$$PWD/libwebp/src/mux/anim_encode.c \
$$PWD/libwebp/src/mux/muxedit.c \
$$PWD/libwebp/src/mux/muxinternal.c \
$$PWD/libwebp/src/mux/muxread.c \
$$PWD/libwebp/src/utils/bit_reader_utils.c \
$$PWD/libwebp/src/utils/bit_writer_utils.c \
$$PWD/libwebp/src/utils/color_cache_utils.c \
$$PWD/libwebp/src/utils/filters_utils.c \
$$PWD/libwebp/src/utils/huffman_utils.c \
$$PWD/libwebp/src/utils/huffman_encode_utils.c \
$$PWD/libwebp/src/utils/quant_levels_utils.c \
$$PWD/libwebp/src/utils/quant_levels_dec_utils.c \
$$PWD/libwebp/src/utils/random_utils.c \
$$PWD/libwebp/src/utils/rescaler_utils.c \
$$PWD/libwebp/src/utils/thread_utils.c \
$$PWD/libwebp/src/utils/utils.c
android:!android-embedded {
SOURCES += $$NDK_ROOT/sources/android/cpufeatures/cpu-features.c
INCLUDEPATH += $$NDK_ROOT/sources/android/cpufeatures
}
integrity {
QMAKE_CFLAGS += -c99
}
equals(QT_ARCH, arm)|equals(QT_ARCH, arm64) {
SOURCES_FOR_NEON += \
$$PWD/libwebp/src/dsp/alpha_processing_neon.c \
$$PWD/libwebp/src/dsp/dec_neon.c \
$$PWD/libwebp/src/dsp/enc_neon.c \
$$PWD/libwebp/src/dsp/filters_neon.c \
$$PWD/libwebp/src/dsp/lossless_enc_neon.c \
$$PWD/libwebp/src/dsp/lossless_neon.c \
$$PWD/libwebp/src/dsp/rescaler_neon.c \
$$PWD/libwebp/src/dsp/upsampling_neon.c \
$$PWD/libwebp/src/dsp/yuv_neon.c
contains(QT_CPU_FEATURES.$$QT_ARCH, neon) {
# Default compiler settings include this feature, so just add to SOURCES
SOURCES += $$SOURCES_FOR_NEON
} else {
neon_comp.commands = $$QMAKE_CC -c $(CFLAGS)
neon_comp.commands += $$QMAKE_CFLAGS_NEON
neon_comp.commands += $(INCPATH) ${QMAKE_FILE_IN}
msvc: neon_comp.commands += -Fo${QMAKE_FILE_OUT}
else: neon_comp.commands += -o ${QMAKE_FILE_OUT}
neon_comp.dependency_type = TYPE_C
neon_comp.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
neon_comp.input = SOURCES_FOR_NEON
neon_comp.variable_out = OBJECTS
neon_comp.name = compiling[neon] ${QMAKE_FILE_IN}
silent: neon_comp.commands = @echo compiling[neon] ${QMAKE_FILE_IN} && $$neon_comp.commands
QMAKE_EXTRA_COMPILERS += neon_comp
}
}
|