Debian Codegraph @

third_party/rust/mp4parse/link-u-avif-sample-images/Makefile

raw
1 CAVIF=../cavif/cmake-build-debug/cavif
2 DAVIF=../davif/cmake-build-debug/davif
3
4 all: hato kimono fox plum;
5
6 HATO=\
7 hato.profile2.8bpc.yuv422.avif \
8 hato.profile2.8bpc.yuv422.monochrome.avif \
9 hato.profile2.10bpc.yuv422.avif \
10 hato.profile2.10bpc.yuv422.monochrome.avif \
11 hato.profile2.12bpc.yuv422.avif \
12 hato.profile2.12bpc.yuv422.monochrome.avif \
13 hato.profile0.8bpc.yuv420.avif \
14 hato.profile0.8bpc.yuv420.monochrome.avif \
15 hato.profile0.10bpc.yuv420.avif \
16 hato.profile0.10bpc.yuv420.monochrome.avif
17
18 hato: $(HATO);
19
20 KIMONO=\
21 kimono.avif \
22 kimono.rotate90.avif \
23 kimono.rotate270.avif \
24 kimono.mirror-horizontal.avif \
25 kimono.mirror-vertical.avif \
26 kimono.mirror-vertical.rotate270.avif \
27 kimono.crop.avif \
28 kimono.mirror-vertical.rotate270.crop.avif
29
30 kimono: $(KIMONO);
31
32 FOX=\
33 fox.profile0.8bpc.yuv420.avif \
34 fox.profile0.8bpc.yuv420.odd-width.avif \
35 fox.profile0.8bpc.yuv420.odd-height.avif \
36 fox.profile0.8bpc.yuv420.odd-width.odd-height.avif \
37 fox.profile0.8bpc.yuv420.monochrome.avif \
38 fox.profile0.8bpc.yuv420.monochrome.odd-width.avif \
39 fox.profile0.8bpc.yuv420.monochrome.odd-height.avif \
40 fox.profile0.8bpc.yuv420.monochrome.odd-width.odd-height.avif \
41 fox.profile0.10bpc.yuv420.avif \
42 fox.profile0.10bpc.yuv420.odd-width.avif \
43 fox.profile0.10bpc.yuv420.odd-height.avif \
44 fox.profile0.10bpc.yuv420.odd-width.odd-height.avif \
45 fox.profile0.10bpc.yuv420.monochrome.avif \
46 fox.profile0.10bpc.yuv420.monochrome.odd-width.avif \
47 fox.profile0.10bpc.yuv420.monochrome.odd-height.avif \
48 fox.profile0.10bpc.yuv420.monochrome.odd-width.odd-height.avif \
49 fox.profile2.12bpc.yuv420.avif \
50 fox.profile2.12bpc.yuv420.odd-width.avif \
51 fox.profile2.12bpc.yuv420.odd-height.avif \
52 fox.profile2.12bpc.yuv420.odd-width.odd-height.avif \
53 fox.profile2.12bpc.yuv420.monochrome.avif \
54 fox.profile2.12bpc.yuv420.monochrome.odd-width.avif \
55 fox.profile2.12bpc.yuv420.monochrome.odd-height.avif \
56 fox.profile2.12bpc.yuv420.monochrome.odd-width.odd-height.avif \
57 fox.profile2.8bpc.yuv422.avif \
58 fox.profile2.8bpc.yuv422.odd-width.avif \
59 fox.profile2.8bpc.yuv422.odd-height.avif \
60 fox.profile2.8bpc.yuv422.odd-width.odd-height.avif \
61 fox.profile2.8bpc.yuv422.monochrome.avif \
62 fox.profile2.8bpc.yuv422.monochrome.odd-width.avif \
63 fox.profile2.8bpc.yuv422.monochrome.odd-height.avif \
64 fox.profile2.8bpc.yuv422.monochrome.odd-width.odd-height.avif \
65 fox.profile2.10bpc.yuv422.avif \
66 fox.profile2.10bpc.yuv422.odd-width.avif \
67 fox.profile2.10bpc.yuv422.odd-height.avif \
68 fox.profile2.10bpc.yuv422.odd-width.odd-height.avif \
69 fox.profile2.10bpc.yuv422.monochrome.avif \
70 fox.profile2.10bpc.yuv422.monochrome.odd-width.avif \
71 fox.profile2.10bpc.yuv422.monochrome.odd-height.avif \
72 fox.profile2.10bpc.yuv422.monochrome.odd-width.odd-height.avif \
73 fox.profile2.12bpc.yuv422.avif \
74 fox.profile2.12bpc.yuv422.odd-width.avif \
75 fox.profile2.12bpc.yuv422.odd-height.avif \
76 fox.profile2.12bpc.yuv422.odd-width.odd-height.avif \
77 fox.profile2.12bpc.yuv422.monochrome.avif \
78 fox.profile2.12bpc.yuv422.monochrome.odd-width.avif \
79 fox.profile2.12bpc.yuv422.monochrome.odd-height.avif \
80 fox.profile2.12bpc.yuv422.monochrome.odd-width.odd-height.avif \
81 fox.profile1.8bpc.yuv444.avif \
82 fox.profile1.8bpc.yuv444.odd-width.avif \
83 fox.profile1.8bpc.yuv444.odd-height.avif \
84 fox.profile1.8bpc.yuv444.odd-width.odd-height.avif \
85 fox.profile1.10bpc.yuv444.avif \
86 fox.profile1.10bpc.yuv444.odd-width.avif \
87 fox.profile1.10bpc.yuv444.odd-height.avif \
88 fox.profile1.10bpc.yuv444.odd-width.odd-height.avif \
89 fox.profile2.12bpc.yuv444.avif \
90 fox.profile2.12bpc.yuv444.odd-width.avif \
91 fox.profile2.12bpc.yuv444.odd-height.avif \
92 fox.profile2.12bpc.yuv444.odd-width.odd-height.avif \
93 fox.profile2.12bpc.yuv444.monochrome.avif \
94 fox.profile2.12bpc.yuv444.monochrome.odd-width.avif \
95 fox.profile2.12bpc.yuv444.monochrome.odd-height.avif \
96 fox.profile2.12bpc.yuv444.monochrome.odd-width.odd-height.avif
97
98 fox: $(FOX);
99
100 PLUM_LARGE=\
101 plum-blossom-large.profile0.8bpc.yuv420.alpha-limited.avif \
102 plum-blossom-large.profile0.8bpc.yuv420.alpha-limited.monochrome.avif \
103 plum-blossom-large.profile0.10bpc.yuv420.alpha-limited.avif \
104 plum-blossom-large.profile0.10bpc.yuv420.alpha-limited.monochrome.avif \
105 plum-blossom-large.profile2.12bpc.yuv420.alpha-limited.avif \
106 plum-blossom-large.profile2.12bpc.yuv420.alpha-limited.monochrome.avif \
107 plum-blossom-large.profile2.8bpc.yuv422.alpha-limited.avif \
108 plum-blossom-large.profile2.8bpc.yuv422.alpha-limited.monochrome.avif \
109 plum-blossom-large.profile2.10bpc.yuv422.alpha-limited.avif \
110 plum-blossom-large.profile2.10bpc.yuv422.alpha-limited.monochrome.avif \
111 plum-blossom-large.profile2.12bpc.yuv422.alpha-limited.avif \
112 plum-blossom-large.profile2.12bpc.yuv422.alpha-limited.monochrome.avif \
113 plum-blossom-large.profile1.8bpc.yuv444.alpha-limited.avif \
114 plum-blossom-large.profile1.10bpc.yuv444.alpha-limited.avif \
115 plum-blossom-large.profile2.12bpc.yuv444.alpha-limited.avif \
116 plum-blossom-large.profile2.12bpc.yuv444.alpha-limited.monochrome.avif \
117 plum-blossom-large.profile0.8bpc.yuv420.alpha-full.avif \
118 plum-blossom-large.profile0.8bpc.yuv420.alpha-full.monochrome.avif \
119 plum-blossom-large.profile0.10bpc.yuv420.alpha-full.avif \
120 plum-blossom-large.profile0.10bpc.yuv420.alpha-full.monochrome.avif \
121 plum-blossom-large.profile2.12bpc.yuv420.alpha-full.avif \
122 plum-blossom-large.profile2.12bpc.yuv420.alpha-full.monochrome.avif \
123 plum-blossom-large.profile2.8bpc.yuv422.alpha-full.avif \
124 plum-blossom-large.profile2.8bpc.yuv422.alpha-full.monochrome.avif \
125 plum-blossom-large.profile2.10bpc.yuv422.alpha-full.avif \
126 plum-blossom-large.profile2.10bpc.yuv422.alpha-full.monochrome.avif \
127 plum-blossom-large.profile2.12bpc.yuv422.alpha-full.avif \
128 plum-blossom-large.profile2.12bpc.yuv422.alpha-full.monochrome.avif \
129 plum-blossom-large.profile1.8bpc.yuv444.alpha-full.avif \
130 plum-blossom-large.profile1.10bpc.yuv444.alpha-full.avif \
131 plum-blossom-large.profile2.12bpc.yuv444.alpha-full.avif \
132 plum-blossom-large.profile2.12bpc.yuv444.alpha-full.monochrome.avif
133
134 PLUM_SMALL=\
135 plum-blossom-small.profile0.8bpc.yuv420.alpha-limited.avif \
136 plum-blossom-small.profile0.8bpc.yuv420.alpha-limited.monochrome.avif \
137 plum-blossom-small.profile0.10bpc.yuv420.alpha-limited.avif \
138 plum-blossom-small.profile0.10bpc.yuv420.alpha-limited.monochrome.avif \
139 plum-blossom-small.profile2.12bpc.yuv420.alpha-limited.avif \
140 plum-blossom-small.profile2.12bpc.yuv420.alpha-limited.monochrome.avif \
141 plum-blossom-small.profile2.8bpc.yuv422.alpha-limited.avif \
142 plum-blossom-small.profile2.8bpc.yuv422.alpha-limited.monochrome.avif \
143 plum-blossom-small.profile2.10bpc.yuv422.alpha-limited.avif \
144 plum-blossom-small.profile2.10bpc.yuv422.alpha-limited.monochrome.avif \
145 plum-blossom-small.profile2.12bpc.yuv422.alpha-limited.avif \
146 plum-blossom-small.profile2.12bpc.yuv422.alpha-limited.monochrome.avif \
147 plum-blossom-small.profile1.8bpc.yuv444.alpha-limited.avif \
148 plum-blossom-small.profile1.10bpc.yuv444.alpha-limited.avif \
149 plum-blossom-small.profile2.12bpc.yuv444.alpha-limited.avif \
150 plum-blossom-small.profile2.12bpc.yuv444.alpha-limited.monochrome.avif \
151 plum-blossom-small.profile0.8bpc.yuv420.alpha-full.avif \
152 plum-blossom-small.profile0.8bpc.yuv420.alpha-full.monochrome.avif \
153 plum-blossom-small.profile0.10bpc.yuv420.alpha-full.avif \
154 plum-blossom-small.profile0.10bpc.yuv420.alpha-full.monochrome.avif \
155 plum-blossom-small.profile2.12bpc.yuv420.alpha-full.avif \
156 plum-blossom-small.profile2.12bpc.yuv420.alpha-full.monochrome.avif \
157 plum-blossom-small.profile2.8bpc.yuv422.alpha-full.avif \
158 plum-blossom-small.profile2.8bpc.yuv422.alpha-full.monochrome.avif \
159 plum-blossom-small.profile2.10bpc.yuv422.alpha-full.avif \
160 plum-blossom-small.profile2.10bpc.yuv422.alpha-full.monochrome.avif \
161 plum-blossom-small.profile2.12bpc.yuv422.alpha-full.avif \
162 plum-blossom-small.profile2.12bpc.yuv422.alpha-full.monochrome.avif \
163 plum-blossom-small.profile1.8bpc.yuv444.alpha-full.avif \
164 plum-blossom-small.profile1.10bpc.yuv444.alpha-full.avif \
165 plum-blossom-small.profile2.12bpc.yuv444.alpha-full.avif \
166 plum-blossom-small.profile2.12bpc.yuv444.alpha-full.monochrome.avif
167
168 PLUM=$(PLUM_LARGE) $(PLUM_SMALL)
169
170 plum: $(PLUM);
171
172 STAR=\
173 star-8bpc.avifs \
174 star-8bpc-with-alpha.avifs \
175 star-10bpc.avifs \
176 star-10bpc-with-alpha.avifs \
177 star-12bpc.avifs \
178 star-12bpc-with-alpha.avifs
179
180 star: $(STAR);
181
182 ALL_AVIF=$(HATO) $(KIMONO) $(FOX) $(PLUM)
183 ALL_AVIFS=$(STAR)
184 DECODED_PNG=$(ALL_AVIF:%.avif=decoded/%.png)
185 DUMMY_CHECK_TARGETS=$(ALL_AVIF:%.avif=%.check)
186
187 .PHONY: all clean \
188 hato kimono fox plum \
189 star \
190 decode decode-clean decode-images \
191 url hato-url kimono-url fox-url plum-url\
192 compare $(DUMMY_CHECK_TARGETS)
193
194 decode-clean:
195 rm -Rf decoded/
196
197 $(DECODED_PNG): | decoded
198
199 decoded:
200 mkdir -p decoded
201
202 decode-images: $(DECODED_PNG);
203
204 decode:
205 $(MAKE) decode-clean
206 $(MAKE) decode-images
207
208 compare: $(DUMMY_CHECK_TARGETS);
209
210 decoded/%.png: %.avif
211 $(DAVIF) -i $< -o $@
212
213 $(DUMMY_CHECK_TARGETS): %.check: %.avif decoded/%.png
214 bash -e scripts/compare.sh $@ $(word 1,$^) $(word 2,$^)
215
216 url:
217 cat Makefile | grep '^.*\?\.avif:' | sort -d | sed 's/^\(.*\)\:\s*\(.*\)$\/https\:\/\/raw.githubusercontent.com\/link-u\/avif-sample-images\/master\/\1, https\:\/\/raw.githubusercontent.com\/link-u\/avif-sample-images\/master\/\2/'
218
219 hato-url:
220 $(MAKE) url | grep hato
221
222 kimono-url:
223 $(MAKE) url | grep kimono
224
225 fox-url:
226 $(MAKE) url | grep fox
227
228 plum-url:
229 $(MAKE) url | grep plum-blossom
230
231 clean:
232 rm -Rf *.avif decoded .alpha-masks
233
234 ## hato
235
236 ### YUV422
237
238 hato.profile2.8bpc.yuv422.avif: hato.png
239 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
240
241 hato.profile2.8bpc.yuv422.monochrome.avif: hato.png
242 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --monochrome --cpu-used 0 --rate-control q --crf 18
243
244 hato.profile2.10bpc.yuv422.avif: hato.16bpc.png
245 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
246
247 hato.profile2.10bpc.yuv422.monochrome.avif: hato.16bpc.png
248 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --monochrome --cpu-used 0 --rate-control q --crf 18
249
250 hato.profile2.12bpc.yuv422.avif: hato.16bpc.png
251 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
252
253 hato.profile2.12bpc.yuv422.monochrome.avif: hato.16bpc.png
254 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --monochrome --cpu-used 0 --rate-control q --crf 18
255
256 ### YUV420
257
258 hato.profile0.8bpc.yuv420.avif: hato.png
259 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
260
261 hato.profile0.8bpc.yuv420.monochrome.avif: hato.png
262 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --monochrome --cpu-used 0 --rate-control q --crf 18
263
264 hato.profile0.10bpc.yuv420.avif: hato.16bpc.png
265 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
266
267 hato.profile0.10bpc.yuv420.monochrome.avif: hato.16bpc.png
268 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --monochrome --cpu-used 0 --rate-control q --crf 18
269
270 ## Kimono
271
272 kimono.avif: kimono.png
273 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
274
275 kimono.rotate90.avif: kimono.rotate90.png
276 $(CAVIF) -i $< -o $@ --rotation 270 --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
277
278 kimono.rotate270.avif: kimono.rotate270.png
279 $(CAVIF) -i $< -o $@ --rotation 90 --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
280
281 kimono.mirror-horizontal.avif: kimono.mirror-horizontal.png
282 $(CAVIF) -i $< -o $@ --mirror horizontal --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
283
284 kimono.mirror-vertical.avif: kimono.mirror-vertical.png
285 $(CAVIF) -i $< -o $@ --mirror vertical --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
286
287 kimono.mirror-vertical.rotate270.avif: kimono.mirror-vertical.rotate270.png
288 $(CAVIF) -i $< -o $@ --mirror vertical --rotation 90 --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
289
290 kimono.crop.avif: kimono.png
291 $(CAVIF) -i $< -o $@ --crop-offset 103,-308 --crop-size 385,330 --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
292
293 kimono.mirror-vertical.rotate270.crop.avif: kimono.mirror-vertical.rotate270.png
294 $(CAVIF) -i $< -o $@ --crop-offset -308,103 --crop-size 330,385 --mirror vertical --rotation 90 --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
295
296 ## Fox Parade
297
298 ### YUV420
299
300 #### 8bit
301
302 fox.profile0.8bpc.yuv420.avif: fox.png
303 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
304
305 fox.profile0.8bpc.yuv420.odd-width.avif: fox.odd-width.png
306 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
307
308 fox.profile0.8bpc.yuv420.odd-height.avif: fox.odd-height.png
309 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
310
311 fox.profile0.8bpc.yuv420.odd-width.odd-height.avif: fox.odd-width.odd-height.png
312 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
313
314 fox.profile0.8bpc.yuv420.monochrome.avif: fox.png
315 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
316
317 fox.profile0.8bpc.yuv420.monochrome.odd-width.avif: fox.odd-width.png
318 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
319
320 fox.profile0.8bpc.yuv420.monochrome.odd-height.avif: fox.odd-height.png
321 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
322
323 fox.profile0.8bpc.yuv420.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
324 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
325
326 #### 10bit
327
328 fox.profile0.10bpc.yuv420.avif: fox.png
329 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
330
331 fox.profile0.10bpc.yuv420.odd-width.avif: fox.odd-width.png
332 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
333
334 fox.profile0.10bpc.yuv420.odd-height.avif: fox.odd-height.png
335 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
336
337 fox.profile0.10bpc.yuv420.odd-width.odd-height.avif: fox.odd-width.odd-height.png
338 $(CAVIF) -i $< -o $@ --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
339
340 fox.profile0.10bpc.yuv420.monochrome.avif: fox.png
341 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
342
343 fox.profile0.10bpc.yuv420.monochrome.odd-width.avif: fox.odd-width.png
344 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
345
346 fox.profile0.10bpc.yuv420.monochrome.odd-height.avif: fox.odd-height.png
347 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
348
349 fox.profile0.10bpc.yuv420.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
350 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
351
352 #### 12bit
353
354 fox.profile2.12bpc.yuv420.avif: fox.png
355 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
356
357 fox.profile2.12bpc.yuv420.odd-width.avif: fox.odd-width.png
358 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
359
360 fox.profile2.12bpc.yuv420.odd-height.avif: fox.odd-height.png
361 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
362
363 fox.profile2.12bpc.yuv420.odd-width.odd-height.avif: fox.odd-width.odd-height.png
364 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
365
366 fox.profile2.12bpc.yuv420.monochrome.avif: fox.png
367 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
368
369 fox.profile2.12bpc.yuv420.monochrome.odd-width.avif: fox.odd-width.png
370 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
371
372 fox.profile2.12bpc.yuv420.monochrome.odd-height.avif: fox.odd-height.png
373 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
374
375 fox.profile2.12bpc.yuv420.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
376 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
377
378 ### YUV422
379
380 #### 8bit
381
382 fox.profile2.8bpc.yuv422.avif: fox.png
383 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
384
385 fox.profile2.8bpc.yuv422.odd-width.avif: fox.odd-width.png
386 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
387
388 fox.profile2.8bpc.yuv422.odd-height.avif: fox.odd-height.png
389 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
390
391 fox.profile2.8bpc.yuv422.odd-width.odd-height.avif: fox.odd-width.odd-height.png
392 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
393
394 fox.profile2.8bpc.yuv422.monochrome.avif: fox.png
395 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
396
397 fox.profile2.8bpc.yuv422.monochrome.odd-width.avif: fox.odd-width.png
398 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
399
400 fox.profile2.8bpc.yuv422.monochrome.odd-height.avif: fox.odd-height.png
401 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
402
403 fox.profile2.8bpc.yuv422.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
404 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
405
406 #### 10bit
407
408 fox.profile2.10bpc.yuv422.avif: fox.png
409 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
410
411 fox.profile2.10bpc.yuv422.odd-width.avif: fox.odd-width.png
412 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
413
414 fox.profile2.10bpc.yuv422.odd-height.avif: fox.odd-height.png
415 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
416
417 fox.profile2.10bpc.yuv422.odd-width.odd-height.avif: fox.odd-width.odd-height.png
418 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
419
420 fox.profile2.10bpc.yuv422.monochrome.avif: fox.png
421 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
422
423 fox.profile2.10bpc.yuv422.monochrome.odd-width.avif: fox.odd-width.png
424 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
425
426 fox.profile2.10bpc.yuv422.monochrome.odd-height.avif: fox.odd-height.png
427 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
428
429 fox.profile2.10bpc.yuv422.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
430 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
431
432 #### 12bit
433
434 fox.profile2.12bpc.yuv422.avif: fox.png
435 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
436
437 fox.profile2.12bpc.yuv422.odd-width.avif: fox.odd-width.png
438 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
439
440 fox.profile2.12bpc.yuv422.odd-height.avif: fox.odd-height.png
441 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
442
443 fox.profile2.12bpc.yuv422.odd-width.odd-height.avif: fox.odd-width.odd-height.png
444 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
445
446 fox.profile2.12bpc.yuv422.monochrome.avif: fox.png
447 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
448
449 fox.profile2.12bpc.yuv422.monochrome.odd-width.avif: fox.odd-width.png
450 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
451
452 fox.profile2.12bpc.yuv422.monochrome.odd-height.avif: fox.odd-height.png
453 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
454
455 fox.profile2.12bpc.yuv422.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
456 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
457
458 ### YUV444
459
460 #### 8bit
461
462 fox.profile1.8bpc.yuv444.avif: fox.png
463 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
464
465 fox.profile1.8bpc.yuv444.odd-width.avif: fox.odd-width.png
466 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
467
468 fox.profile1.8bpc.yuv444.odd-height.avif: fox.odd-height.png
469 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
470
471 fox.profile1.8bpc.yuv444.odd-width.odd-height.avif: fox.odd-width.odd-height.png
472 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
473
474 #### 10bit
475
476 fox.profile1.10bpc.yuv444.avif: fox.png
477 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
478
479 fox.profile1.10bpc.yuv444.odd-width.avif: fox.odd-width.png
480 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
481
482 fox.profile1.10bpc.yuv444.odd-height.avif: fox.odd-height.png
483 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
484
485 fox.profile1.10bpc.yuv444.odd-width.odd-height.avif: fox.odd-width.odd-height.png
486 $(CAVIF) -i $< -o $@ --tune psnr --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
487
488 #### 12bit
489
490 fox.profile2.12bpc.yuv444.avif: fox.png
491 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
492
493 fox.profile2.12bpc.yuv444.odd-width.avif: fox.odd-width.png
494 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
495
496 fox.profile2.12bpc.yuv444.odd-height.avif: fox.odd-height.png
497 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
498
499 fox.profile2.12bpc.yuv444.odd-width.odd-height.avif: fox.odd-width.odd-height.png
500 $(CAVIF) -i $< -o $@ --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
501
502 fox.profile2.12bpc.yuv444.monochrome.avif: fox.png
503 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
504
505 fox.profile2.12bpc.yuv444.monochrome.odd-width.avif: fox.odd-width.png
506 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
507
508 fox.profile2.12bpc.yuv444.monochrome.odd-height.avif: fox.odd-height.png
509 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
510
511 fox.profile2.12bpc.yuv444.monochrome.odd-width.odd-height.avif: fox.odd-width.odd-height.png
512 $(CAVIF) -i $< -o $@ --monochrome --tune psnr --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
513
514 ## Alpha mask
515
516 .alpha-masks:
517 mkdir -p .alpha-masks
518
519 $(PLUM): | .alpha-masks
520
521 ## Plum blossom - large version
522
523 ### YUV420
524
525 #### 8bit
526
527 plum-blossom-large.profile0.8bpc.yuv420.alpha-limited.avif: plum-blossom-large.png
528 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
529 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
530
531 plum-blossom-large.profile0.8bpc.yuv420.alpha-limited.monochrome.avif: plum-blossom-large.png
532 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
533 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
534
535 plum-blossom-large.profile0.8bpc.yuv420.alpha-full.avif: plum-blossom-large.png
536 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
537 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
538
539 plum-blossom-large.profile0.8bpc.yuv420.alpha-full.monochrome.avif: plum-blossom-large.png
540 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
541 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
542
543 #### 10bit
544
545 plum-blossom-large.profile0.10bpc.yuv420.alpha-limited.avif: plum-blossom-large.png
546 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
547 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
548
549 plum-blossom-large.profile0.10bpc.yuv420.alpha-limited.monochrome.avif: plum-blossom-large.png
550 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
551 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
552
553 plum-blossom-large.profile0.10bpc.yuv420.alpha-full.avif: plum-blossom-large.png
554 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
555 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
556
557 plum-blossom-large.profile0.10bpc.yuv420.alpha-full.monochrome.avif: plum-blossom-large.png
558 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
559 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
560
561 #### 12bit
562
563 plum-blossom-large.profile2.12bpc.yuv420.alpha-limited.avif: plum-blossom-large.png
564 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
565 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
566
567 plum-blossom-large.profile2.12bpc.yuv420.alpha-limited.monochrome.avif: plum-blossom-large.png
568 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
569 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
570
571 plum-blossom-large.profile2.12bpc.yuv420.alpha-full.avif: plum-blossom-large.png
572 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
573 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
574
575 plum-blossom-large.profile2.12bpc.yuv420.alpha-full.monochrome.avif: plum-blossom-large.png
576 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
577 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
578
579 ## YUV422
580
581 #### 8bit
582
583 plum-blossom-large.profile2.8bpc.yuv422.alpha-limited.avif: plum-blossom-large.png
584 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
585 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
586
587 plum-blossom-large.profile2.8bpc.yuv422.alpha-limited.monochrome.avif: plum-blossom-large.png
588 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
589 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
590
591 plum-blossom-large.profile2.8bpc.yuv422.alpha-full.avif: plum-blossom-large.png
592 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
593 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
594
595 plum-blossom-large.profile2.8bpc.yuv422.alpha-full.monochrome.avif: plum-blossom-large.png
596 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
597 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
598
599 #### 10bit
600
601 plum-blossom-large.profile2.10bpc.yuv422.alpha-limited.avif: plum-blossom-large.png
602 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
603 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
604
605 plum-blossom-large.profile2.10bpc.yuv422.alpha-limited.monochrome.avif: plum-blossom-large.png
606 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
607 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
608
609 plum-blossom-large.profile2.10bpc.yuv422.alpha-full.avif: plum-blossom-large.png
610 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
611 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
612
613 plum-blossom-large.profile2.10bpc.yuv422.alpha-full.monochrome.avif: plum-blossom-large.png
614 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
615 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
616
617 #### 12bit
618
619 plum-blossom-large.profile2.12bpc.yuv422.alpha-limited.avif: plum-blossom-large.png
620 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
621 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
622
623 plum-blossom-large.profile2.12bpc.yuv422.alpha-limited.monochrome.avif: plum-blossom-large.png
624 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
625 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
626
627 plum-blossom-large.profile2.12bpc.yuv422.alpha-full.avif: plum-blossom-large.png
628 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
629 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
630
631 plum-blossom-large.profile2.12bpc.yuv422.alpha-full.monochrome.avif: plum-blossom-large.png
632 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
633 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
634
635 ### YUV444
636
637 #### 8bit
638
639 plum-blossom-large.profile1.8bpc.yuv444.alpha-limited.avif: plum-blossom-large.png
640 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
641 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
642
643 plum-blossom-large.profile1.8bpc.yuv444.alpha-full.avif: plum-blossom-large.png
644 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
645 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
646
647 #### 10bit
648
649 plum-blossom-large.profile1.10bpc.yuv444.alpha-limited.avif: plum-blossom-large.png
650 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
651 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
652
653 plum-blossom-large.profile1.10bpc.yuv444.alpha-full.avif: plum-blossom-large.png
654 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
655 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
656
657 #### 12bit
658
659 plum-blossom-large.profile2.12bpc.yuv444.alpha-limited.avif: plum-blossom-large.png
660 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome
661 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
662
663 plum-blossom-large.profile2.12bpc.yuv444.alpha-limited.monochrome.avif: plum-blossom-large.png
664 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome
665 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18 --monochrome
666
667 plum-blossom-large.profile2.12bpc.yuv444.alpha-full.avif: plum-blossom-large.png
668 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome --enable-full-color-range
669 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
670
671 plum-blossom-large.profile2.12bpc.yuv444.alpha-full.monochrome.avif: plum-blossom-large.png
672 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome --enable-full-color-range
673 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18 --monochrome
674
675 ## Plum blossom - small version
676
677 ### YUV420
678
679 #### 8bit
680
681 plum-blossom-small.profile0.8bpc.yuv420.alpha-limited.avif: plum-blossom-small.png
682 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
683 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
684
685 plum-blossom-small.profile0.8bpc.yuv420.alpha-limited.monochrome.avif: plum-blossom-small.png
686 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
687 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
688
689 plum-blossom-small.profile0.8bpc.yuv420.alpha-full.avif: plum-blossom-small.png
690 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
691 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
692
693 plum-blossom-small.profile0.8bpc.yuv420.alpha-full.monochrome.avif: plum-blossom-small.png
694 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
695 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 8 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
696
697 #### 10bit
698
699 plum-blossom-small.profile0.10bpc.yuv420.alpha-limited.avif: plum-blossom-small.png
700 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
701 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
702
703 plum-blossom-small.profile0.10bpc.yuv420.alpha-limited.monochrome.avif: plum-blossom-small.png
704 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
705 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
706
707 plum-blossom-small.profile0.10bpc.yuv420.alpha-full.avif: plum-blossom-small.png
708 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
709 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
710
711 plum-blossom-small.profile0.10bpc.yuv420.alpha-full.monochrome.avif: plum-blossom-small.png
712 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
713 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 0 --bit-depth 10 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
714
715 #### 12bit
716
717 plum-blossom-small.profile2.12bpc.yuv420.alpha-limited.avif: plum-blossom-small.png
718 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
719 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
720
721 plum-blossom-small.profile2.12bpc.yuv420.alpha-limited.monochrome.avif: plum-blossom-small.png
722 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome
723 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
724
725 plum-blossom-small.profile2.12bpc.yuv420.alpha-full.avif: plum-blossom-small.png
726 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
727 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18
728
729 plum-blossom-small.profile2.12bpc.yuv420.alpha-full.monochrome.avif: plum-blossom-small.png
730 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --lossless --monochrome --enable-full-color-range
731 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv420 --cpu-used 0 --rate-control q --crf 18 --monochrome
732
733 ## YUV422
734
735 #### 8bit
736
737 plum-blossom-small.profile2.8bpc.yuv422.alpha-limited.avif: plum-blossom-small.png
738 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
739 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
740
741 plum-blossom-small.profile2.8bpc.yuv422.alpha-limited.monochrome.avif: plum-blossom-small.png
742 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
743 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
744
745 plum-blossom-small.profile2.8bpc.yuv422.alpha-full.avif: plum-blossom-small.png
746 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
747 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
748
749 plum-blossom-small.profile2.8bpc.yuv422.alpha-full.monochrome.avif: plum-blossom-small.png
750 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
751 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
752
753 #### 10bit
754
755 plum-blossom-small.profile2.10bpc.yuv422.alpha-limited.avif: plum-blossom-small.png
756 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
757 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
758
759 plum-blossom-small.profile2.10bpc.yuv422.alpha-limited.monochrome.avif: plum-blossom-small.png
760 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
761 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
762
763 plum-blossom-small.profile2.10bpc.yuv422.alpha-full.avif: plum-blossom-small.png
764 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
765 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
766
767 plum-blossom-small.profile2.10bpc.yuv422.alpha-full.monochrome.avif: plum-blossom-small.png
768 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
769 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
770
771 #### 12bit
772
773 plum-blossom-small.profile2.12bpc.yuv422.alpha-limited.avif: plum-blossom-small.png
774 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
775 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
776
777 plum-blossom-small.profile2.12bpc.yuv422.alpha-limited.monochrome.avif: plum-blossom-small.png
778 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
779 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
780
781 plum-blossom-small.profile2.12bpc.yuv422.alpha-full.avif: plum-blossom-small.png
782 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
783 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18
784
785 plum-blossom-small.profile2.12bpc.yuv422.alpha-full.monochrome.avif: plum-blossom-small.png
786 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
787 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv422 --cpu-used 0 --rate-control q --crf 18 --monochrome
788
789 ### YUV444
790
791 #### 8bit
792
793 plum-blossom-small.profile1.8bpc.yuv444.alpha-limited.avif: plum-blossom-small.png
794 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
795 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
796
797 plum-blossom-small.profile1.8bpc.yuv444.alpha-full.avif: plum-blossom-small.png
798 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 8 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
799 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 8 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
800
801 #### 10bit
802
803 plum-blossom-small.profile1.10bpc.yuv444.alpha-limited.avif: plum-blossom-small.png
804 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome
805 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
806
807 plum-blossom-small.profile1.10bpc.yuv444.alpha-full.avif: plum-blossom-small.png
808 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 10 --pix-fmt yuv422 --cpu-used 0 --lossless --monochrome --enable-full-color-range
809 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 1 --bit-depth 10 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
810
811 #### 12bit
812
813 plum-blossom-small.profile2.12bpc.yuv444.alpha-limited.avif: plum-blossom-small.png
814 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome
815 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
816
817 plum-blossom-small.profile2.12bpc.yuv444.alpha-limited.monochrome.avif: plum-blossom-small.png
818 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome
819 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18 --monochrome
820
821 plum-blossom-small.profile2.12bpc.yuv444.alpha-full.avif: plum-blossom-small.png
822 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome --enable-full-color-range
823 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18
824
825 plum-blossom-small.profile2.12bpc.yuv444.alpha-full.monochrome.avif: plum-blossom-small.png
826 $(CAVIF) -i $< -o .alpha-masks/$@ --encode-target alpha --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --lossless --monochrome --enable-full-color-range
827 $(CAVIF) -i $< -o $@ --tune psnr --encode-target image --attach-alpha .alpha-masks/$@ --profile 2 --bit-depth 12 --pix-fmt yuv444 --cpu-used 0 --rate-control q --crf 18 --monochrome
828
829 star-8bpc.avifs: star.input.txt
830 $(eval TMP := $(shell mktemp -d))
831 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt yuv420p -color_range jpeg -b:v 0 -crf 0 -lossless 1 $(TMP)/star.mp4
832 # You need the latest version of gpac.
833 # Go to https://github.com/gpac/gpac
834 # then, `make deb -j32`
835 MP4Box -add-image $(TMP)/star.mp4:id=1:primary -new $@
836 MP4Box -ab avis -ab msf1 -ab miaf -ab MA1B -rb mif1 -brand avis $@
837 MP4Box -add $(TMP)/star.mp4:hdlr=pict:ccst:name="GPAC avifs" $@
838 rm -Rfv $(TMP)
839
840 # FIXME(ledya-z): WORK IN PROGRESS
841 star-8bpc-with-alpha.avifs: star.input.txt
842 $(eval TMP := $(shell mktemp -d))
843 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt yuv420p -color_range mpeg -b:v 0 -crf 0 -lossless 1 "$(TMP)/star-video.mp4"
844 # FIXME(ledyba-z): It does not generate monochrome OBUs.
845 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt gray -color_range mpeg -b:v 0 -crf 0 -lossless 1 "$(TMP)/star-alpha.mp4"
846 # You need the latest version of gpac.
847 # Go to https://github.com/gpac/gpac
848 # then, `make deb -j32`
849
850 MP4Box -raw-layer "1:output=$(TMP)/star-video" "$(TMP)/star-video.mp4"
851 MP4Box -raw-layer "1:output=$(TMP)/star-alpha" "$(TMP)/star-alpha.mp4"
852
853 MP4Box -add-image "$(TMP)/star-alpha.av1:id=3:ref=auxl,4:alpha:name=Alpha" -add-image "$(TMP)/star-video.av1:id=4:name=Color" -set-primary 4 -ab avif -new $@
854 MP4Box -add "$(TMP)/star-video.av1:hdlr=pict:ccst:name=\"GPAC avifs\"" -add "$(TMP)/star-alpha.av1:hdlr=auxv:ccst:alpha:name=\"GPAC avifs alpha\"" -ref 2:auxl:1 -ab msf1 -ab miaf -ab MA1B -brand avis $@
855 rm -Rfv $(TMP)
856
857 star-10bpc.avifs: star.input.txt
858 $(eval TMP := $(shell mktemp -d))
859 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt yuv422p10 -color_range jpeg -b:v 0 -crf 0 -lossless 1 $(TMP)/star.mp4
860 # You need the latest version of gpac.
861 # Go to https://github.com/gpac/gpac
862 # then, `make deb -j32`
863 MP4Box -add-image $(TMP)/star.mp4:id=1:primary -new $@
864 MP4Box -ab avis -ab msf1 -ab miaf -ab MA1B -rb mif1 -brand avis $@
865 MP4Box -add $(TMP)/star.mp4:hdlr=pict:ccst:name="GPAC avifs" $@
866 rm -Rfv $(TMP)
867
868 # FIXME(ledya-z): WORK IN PROGRESS
869 star-10bpc-with-alpha.avifs: star.input.txt
870 $(eval TMP := $(shell mktemp -d))
871 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt yuv422p10 -color_range mpeg -b:v 0 -crf 0 -lossless 1 "$(TMP)/star-video.mp4"
872 # FIXME(ledyba-z): It does not generate monochrome OBUs.
873 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt gray10 -color_range mpeg -b:v 0 -crf 0 -lossless 1 "$(TMP)/star-alpha.mp4"
874 # You need the latest version of gpac.
875 # Go to https://github.com/gpac/gpac
876 # then, `make deb -j32`
877
878 MP4Box -raw-layer "1:output=$(TMP)/star-video" "$(TMP)/star-video.mp4"
879 MP4Box -raw-layer "1:output=$(TMP)/star-alpha" "$(TMP)/star-alpha.mp4"
880
881 MP4Box -add-image "$(TMP)/star-alpha.av1:id=3:ref=auxl,4:alpha:name=Alpha" -add-image "$(TMP)/star-video.av1:id=4:name=Color" -set-primary 4 -ab avif -new $@
882 MP4Box -add "$(TMP)/star-video.av1:hdlr=pict:ccst:name=\"GPAC avifs\"" -add "$(TMP)/star-alpha.av1:hdlr=auxv:ccst:alpha:name=\"GPAC avifs alpha\"" -ref 2:auxl:1 -ab msf1 -ab miaf -ab MA1B -brand avis $@
883 rm -Rfv $(TMP)
884
885 star-12bpc.avifs: star.input.txt
886 $(eval TMP := $(shell mktemp -d))
887 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt yuv444p12 -color_range jpeg -b:v 0 -crf 0 -lossless 1 $(TMP)/star.mp4
888 # You need the latest version of gpac.
889 # Go to https://github.com/gpac/gpac
890 # then, `make deb -j32`
891 MP4Box -add-image $(TMP)/star.mp4:id=1:primary -new $@
892 MP4Box -ab avis -ab msf1 -ab miaf -ab MA1B -rb mif1 -brand avis $@
893 MP4Box -add $(TMP)/star.mp4:hdlr=pict:ccst:name="GPAC avifs" $@
894 rm -Rfv $(TMP)
895
896 # FIXME(ledya-z): WORK IN PROGRESS
897 star-12bpc-with-alpha.avifs: star.input.txt
898 $(eval TMP := $(shell mktemp -d))
899 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt yuv444p12 -color_range mpeg -b:v 0 -crf 0 -lossless 1 "$(TMP)/star-video.mp4"
900 # FIXME(ledyba-z): It does not generate monochrome OBUs.
901 ~/umi/src/git.ffmpeg.org/ffmpeg/ffmpeg -r 10 -f concat -i star.input.txt -strict -2 -vcodec av1 -pix_fmt gray12 -color_range mpeg -b:v 0 -crf 0 -lossless 1 "$(TMP)/star-alpha.mp4"
902 # You need the latest version of gpac.
903 # Go to https://github.com/gpac/gpac
904 # then, `make deb -j32`
905
906 MP4Box -raw-layer "1:output=$(TMP)/star-video" "$(TMP)/star-video.mp4"
907 MP4Box -raw-layer "1:output=$(TMP)/star-alpha" "$(TMP)/star-alpha.mp4"
908
909 MP4Box -add-image "$(TMP)/star-alpha.av1:id=3:ref=auxl,4:alpha:name=Alpha" -add-image "$(TMP)/star-video.av1:id=4:name=Color" -set-primary 4 -ab avif -new $@
910 MP4Box -add "$(TMP)/star-video.av1:hdlr=pict:ccst:name=\"GPAC avifs\"" -add "$(TMP)/star-alpha.av1:hdlr=auxv:ccst:alpha:name=\"GPAC avifs alpha\"" -ref 2:auxl:1 -ab msf1 -ab miaf -ab MA1B -brand avis $@
911 rm -Rfv $(TMP)