• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2024 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //     http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 use crabby_avif::image::*;
16 use crabby_avif::*;
17 
18 use std::env;
19 use std::fs::remove_file;
20 use std::fs::File;
21 use std::io::BufReader;
22 use std::io::Read;
23 use std::process::Command;
24 use tempfile::NamedTempFile;
25 
26 #[path = "../examples/writer/mod.rs"]
27 mod writer;
28 
29 use writer::Writer;
30 
31 // See README.md for instructions on how to set up the dependencies for
32 // running the conformance tests.
33 
get_test_file(filename: &str) -> String34 fn get_test_file(filename: &str) -> String {
35     let base_path = if cfg!(google3) {
36         format!(
37             "{}/google3/third_party/crabbyavif/google/test_data/av1-avif",
38             env::var("TEST_SRCDIR").expect("TEST_SRCDIR is not defined")
39         )
40     } else {
41         match env::var("CRABBYAVIF_CONFORMANCE_TEST_DATA_DIR") {
42             Ok(dir) => format!("{dir}/testFiles"),
43             Err(_) => format!(
44                 "{}/external/av1-avif/testFiles",
45                 env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR is not defined")
46             ),
47         }
48     };
49     format!("{base_path}/{filename}")
50 }
51 
get_avifdec() -> String52 fn get_avifdec() -> String {
53     if cfg!(google3) {
54         format!(
55             "{}/google3/third_party/libavif/avifdec",
56             env::var("TEST_SRCDIR").expect("TEST_SRCDIR is not defined")
57         )
58     } else {
59         match env::var("CRABBYAVIF_CONFORMANCE_TEST_AVIFDEC") {
60             Ok(avifdec) => avifdec,
61             Err(_) => format!(
62                 "{}/external/libavif/build/avifdec",
63                 env::var("CARGO_MANIFEST_DIR").expect("CARGO_MANIFEST_DIR is not defined")
64             ),
65         }
66     }
67 }
68 
69 #[derive(Clone, Copy)]
70 struct ExpectedImageInfo<'a> {
71     filename: &'a str,
72     width: u32,
73     height: u32,
74     depth: u8,
75     yuv_format: PixelFormat,
76     alpha_present: bool,
77     yuv_range: YuvRange,
78     color_primaries: u16,
79     transfer_characteristics: u16,
80     matrix_coefficients: u16,
81     color_obu_size: usize,
82     alpha_obu_size: usize,
83 }
84 
verify_info(expected_info: &ExpectedImageInfo, image: &Image)85 fn verify_info(expected_info: &ExpectedImageInfo, image: &Image) {
86     assert_eq!(image.width, expected_info.width);
87     assert_eq!(image.height, expected_info.height);
88     assert_eq!(image.depth, expected_info.depth);
89     assert_eq!(image.yuv_format, expected_info.yuv_format);
90     assert_eq!(image.alpha_present, expected_info.alpha_present);
91     assert_eq!(image.yuv_range, expected_info.yuv_range);
92     assert_eq!(image.color_primaries, expected_info.color_primaries.into());
93     assert_eq!(
94         image.transfer_characteristics,
95         expected_info.transfer_characteristics.into()
96     );
97     assert_eq!(
98         image.matrix_coefficients,
99         expected_info.matrix_coefficients.into()
100     );
101 }
102 
get_tempfile() -> String103 fn get_tempfile() -> String {
104     let file = NamedTempFile::new().expect("unable to open tempfile");
105     let path = file.into_temp_path();
106     let filename = String::from(path.to_str().unwrap());
107     let _ = path.close();
108     filename
109 }
110 
write_y4m(image: &Image) -> String111 fn write_y4m(image: &Image) -> String {
112     let mut y4m = writer::y4m::Y4MWriter::default();
113     let filename = get_tempfile();
114     let mut file = File::create(&filename).expect("unable to open output file");
115     y4m.write_frame(&mut file, image)
116         .expect("unable to write y4m frame");
117     filename
118 }
119 
run_avifdec(filename: &String) -> String120 fn run_avifdec(filename: &String) -> String {
121     let mut outfile = get_tempfile();
122     outfile.push_str(".y4m");
123     let avifdec = Command::new(get_avifdec())
124         .arg("--no-strict")
125         .arg("--jobs")
126         .arg("8")
127         .arg(filename)
128         .arg(&outfile)
129         .output()
130         .unwrap();
131     assert!(avifdec.status.success());
132     outfile
133 }
134 
compare_files(file1: &String, file2: &String) -> bool135 fn compare_files(file1: &String, file2: &String) -> bool {
136     let f1 = File::open(file1).unwrap();
137     let f2 = File::open(file2).unwrap();
138     if f1.metadata().unwrap().len() != f2.metadata().unwrap().len() {
139         return false;
140     }
141     let f1 = BufReader::new(f1);
142     let f2 = BufReader::new(f2);
143     for (byte1, byte2) in f1.bytes().zip(f2.bytes()) {
144         if byte1.unwrap() != byte2.unwrap() {
145             return false;
146         }
147     }
148     true
149 }
150 
151 #[test_case::test_matrix(0usize..172)]
test_conformance(index: usize)152 fn test_conformance(index: usize) {
153     let expected_info = &EXPECTED_INFOS[index];
154     let filename = get_test_file(expected_info.filename);
155     let mut decoder = decoder::Decoder::default();
156     decoder.settings.strictness = decoder::Strictness::None;
157     let _ = decoder.set_io_file(&filename).expect("Failed to set IO");
158     let res = decoder.parse();
159     assert!(res.is_ok());
160     assert_eq!(
161         expected_info.color_obu_size,
162         decoder.io_stats().color_obu_size
163     );
164     assert_eq!(
165         expected_info.alpha_obu_size,
166         decoder.io_stats().alpha_obu_size
167     );
168     let image = decoder.image().expect("image was none");
169     verify_info(expected_info, &image);
170     let res = decoder.next_image();
171     assert!(res.is_ok());
172     let image = decoder.image().expect("image was none");
173 
174     // Link-U 422 files have wrong subsampling in the Avif header(decoded one
175     // is right).
176     if !filename.contains("Link-U") || !filename.contains("yuv422") {
177         verify_info(expected_info, &image);
178     }
179 
180     // Write y4m.
181     let y4m_file = write_y4m(image);
182     // Write y4m by invoking avifdec.
183     let gold_y4m_file = run_avifdec(&filename);
184     // Compare.
185     assert!(compare_files(&y4m_file, &gold_y4m_file));
186     let _ = remove_file(y4m_file);
187     let _ = remove_file(gold_y4m_file);
188 }
189 
190 // If more files are added to this array, update the call to generate_tests macro below.
191 const EXPECTED_INFOS: [ExpectedImageInfo; 172] = [
192     // index: 0
193     ExpectedImageInfo {
194         filename: "Apple/edge_case_testing/non_compliant/truncated_elementary_stream.avif",
195         width: 1024,
196         height: 768,
197         depth: 8,
198         yuv_format: PixelFormat::Yuv420,
199         alpha_present: false,
200         yuv_range: YuvRange::Full,
201         color_primaries: 12,
202         transfer_characteristics: 13,
203         matrix_coefficients: 6,
204         color_obu_size: 122336,
205         alpha_obu_size: 0,
206     },
207     // index: 1
208     ExpectedImageInfo {
209         filename: "Apple/edge_case_testing/unknown_properties/free_property.avif",
210         width: 2048,
211         height: 1536,
212         depth: 8,
213         yuv_format: PixelFormat::Yuv420,
214         alpha_present: false,
215         yuv_range: YuvRange::Full,
216         color_primaries: 12,
217         transfer_characteristics: 13,
218         matrix_coefficients: 6,
219         color_obu_size: 2063701,
220         alpha_obu_size: 0,
221     },
222     // index: 2
223     ExpectedImageInfo {
224         filename: "Apple/edge_case_testing/unknown_properties/unknown_nonessential_property.avif",
225         width: 2048,
226         height: 1536,
227         depth: 8,
228         yuv_format: PixelFormat::Yuv420,
229         alpha_present: false,
230         yuv_range: YuvRange::Full,
231         color_primaries: 12,
232         transfer_characteristics: 13,
233         matrix_coefficients: 6,
234         color_obu_size: 2063701,
235         alpha_obu_size: 0,
236     },
237     // index: 3
238     ExpectedImageInfo {
239         filename: "Apple/multilayer_examples/animals_00_multilayer_a1lx.avif",
240         width: 2048,
241         height: 1536,
242         depth: 8,
243         yuv_format: PixelFormat::Yuv420,
244         alpha_present: false,
245         yuv_range: YuvRange::Full,
246         color_primaries: 12,
247         transfer_characteristics: 13,
248         matrix_coefficients: 6,
249         color_obu_size: 1999503,
250         alpha_obu_size: 0,
251     },
252     // index: 4
253     ExpectedImageInfo {
254         filename: "Apple/multilayer_examples/animals_00_multilayer_a1op.avif",
255         width: 2048,
256         height: 1536,
257         depth: 8,
258         yuv_format: PixelFormat::Yuv420,
259         alpha_present: false,
260         yuv_range: YuvRange::Full,
261         color_primaries: 12,
262         transfer_characteristics: 13,
263         matrix_coefficients: 6,
264         color_obu_size: 1999503,
265         alpha_obu_size: 0,
266     },
267     // index: 5
268     ExpectedImageInfo {
269         filename: "Apple/multilayer_examples/animals_00_multilayer_a1op_lsel.avif",
270         width: 2048,
271         height: 1536,
272         depth: 8,
273         yuv_format: PixelFormat::Yuv420,
274         alpha_present: false,
275         yuv_range: YuvRange::Full,
276         color_primaries: 12,
277         transfer_characteristics: 13,
278         matrix_coefficients: 6,
279         color_obu_size: 1999503,
280         alpha_obu_size: 0,
281     },
282     // index: 6
283     ExpectedImageInfo {
284         filename: "Apple/multilayer_examples/animals_00_multilayer_grid_a1lx.avif",
285         width: 2048,
286         height: 1536,
287         depth: 8,
288         yuv_format: PixelFormat::Yuv420,
289         alpha_present: false,
290         yuv_range: YuvRange::Full,
291         color_primaries: 12,
292         transfer_characteristics: 13,
293         matrix_coefficients: 6,
294         color_obu_size: 2306164,
295         alpha_obu_size: 0,
296     },
297     // index: 7
298     ExpectedImageInfo {
299         filename: "Apple/multilayer_examples/animals_00_multilayer_grid_lsel.avif",
300         width: 2048,
301         height: 1536,
302         depth: 8,
303         yuv_format: PixelFormat::Yuv420,
304         alpha_present: false,
305         yuv_range: YuvRange::Full,
306         color_primaries: 12,
307         transfer_characteristics: 13,
308         matrix_coefficients: 6,
309         color_obu_size: 2306164,
310         alpha_obu_size: 0,
311     },
312     // index: 8
313     ExpectedImageInfo {
314         filename: "Apple/multilayer_examples/animals_00_multilayer_lsel.avif",
315         width: 2048,
316         height: 1536,
317         depth: 8,
318         yuv_format: PixelFormat::Yuv420,
319         alpha_present: false,
320         yuv_range: YuvRange::Full,
321         color_primaries: 12,
322         transfer_characteristics: 13,
323         matrix_coefficients: 6,
324         color_obu_size: 1999503,
325         alpha_obu_size: 0,
326     },
327     // index: 9
328     ExpectedImageInfo {
329         filename: "Apple/multilayer_examples/animals_00_singlelayer.avif",
330         width: 2048,
331         height: 1536,
332         depth: 8,
333         yuv_format: PixelFormat::Yuv420,
334         alpha_present: false,
335         yuv_range: YuvRange::Full,
336         color_primaries: 12,
337         transfer_characteristics: 13,
338         matrix_coefficients: 6,
339         color_obu_size: 2063701,
340         alpha_obu_size: 0,
341     },
342     // index: 10
343     ExpectedImageInfo {
344         filename: "Link-U/fox.profile0.10bpc.yuv420.avif",
345         width: 1204,
346         height: 800,
347         depth: 10,
348         yuv_format: PixelFormat::Yuv420,
349         alpha_present: false,
350         yuv_range: YuvRange::Limited,
351         color_primaries: 2,
352         transfer_characteristics: 2,
353         matrix_coefficients: 2,
354         color_obu_size: 64098,
355         alpha_obu_size: 0,
356     },
357     // index: 11
358     ExpectedImageInfo {
359         filename: "Link-U/fox.profile0.10bpc.yuv420.monochrome.avif",
360         width: 1204,
361         height: 800,
362         depth: 10,
363         yuv_format: PixelFormat::Yuv400,
364         alpha_present: false,
365         yuv_range: YuvRange::Limited,
366         color_primaries: 2,
367         transfer_characteristics: 2,
368         matrix_coefficients: 2,
369         color_obu_size: 56116,
370         alpha_obu_size: 0,
371     },
372     // index: 12
373     ExpectedImageInfo {
374         filename: "Link-U/fox.profile0.10bpc.yuv420.monochrome.odd-height.avif",
375         width: 1204,
376         height: 799,
377         depth: 10,
378         yuv_format: PixelFormat::Yuv400,
379         alpha_present: false,
380         yuv_range: YuvRange::Limited,
381         color_primaries: 2,
382         transfer_characteristics: 2,
383         matrix_coefficients: 2,
384         color_obu_size: 55174,
385         alpha_obu_size: 0,
386     },
387     // index: 13
388     ExpectedImageInfo {
389         filename: "Link-U/fox.profile0.10bpc.yuv420.monochrome.odd-width.avif",
390         width: 1203,
391         height: 800,
392         depth: 10,
393         yuv_format: PixelFormat::Yuv400,
394         alpha_present: false,
395         yuv_range: YuvRange::Limited,
396         color_primaries: 2,
397         transfer_characteristics: 2,
398         matrix_coefficients: 2,
399         color_obu_size: 55254,
400         alpha_obu_size: 0,
401     },
402     // index: 14
403     ExpectedImageInfo {
404         filename: "Link-U/fox.profile0.10bpc.yuv420.monochrome.odd-width.odd-height.avif",
405         width: 1203,
406         height: 799,
407         depth: 10,
408         yuv_format: PixelFormat::Yuv400,
409         alpha_present: false,
410         yuv_range: YuvRange::Limited,
411         color_primaries: 2,
412         transfer_characteristics: 2,
413         matrix_coefficients: 2,
414         color_obu_size: 54589,
415         alpha_obu_size: 0,
416     },
417     // index: 15
418     ExpectedImageInfo {
419         filename: "Link-U/fox.profile0.10bpc.yuv420.odd-height.avif",
420         width: 1204,
421         height: 799,
422         depth: 10,
423         yuv_format: PixelFormat::Yuv420,
424         alpha_present: false,
425         yuv_range: YuvRange::Limited,
426         color_primaries: 2,
427         transfer_characteristics: 2,
428         matrix_coefficients: 2,
429         color_obu_size: 63262,
430         alpha_obu_size: 0,
431     },
432     // index: 16
433     ExpectedImageInfo {
434         filename: "Link-U/fox.profile0.10bpc.yuv420.odd-width.avif",
435         width: 1203,
436         height: 800,
437         depth: 10,
438         yuv_format: PixelFormat::Yuv420,
439         alpha_present: false,
440         yuv_range: YuvRange::Limited,
441         color_primaries: 2,
442         transfer_characteristics: 2,
443         matrix_coefficients: 2,
444         color_obu_size: 63442,
445         alpha_obu_size: 0,
446     },
447     // index: 17
448     ExpectedImageInfo {
449         filename: "Link-U/fox.profile0.10bpc.yuv420.odd-width.odd-height.avif",
450         width: 1203,
451         height: 799,
452         depth: 10,
453         yuv_format: PixelFormat::Yuv420,
454         alpha_present: false,
455         yuv_range: YuvRange::Limited,
456         color_primaries: 2,
457         transfer_characteristics: 2,
458         matrix_coefficients: 2,
459         color_obu_size: 62619,
460         alpha_obu_size: 0,
461     },
462     // index: 18
463     ExpectedImageInfo {
464         filename: "Link-U/fox.profile0.8bpc.yuv420.avif",
465         width: 1204,
466         height: 800,
467         depth: 8,
468         yuv_format: PixelFormat::Yuv420,
469         alpha_present: false,
470         yuv_range: YuvRange::Limited,
471         color_primaries: 2,
472         transfer_characteristics: 2,
473         matrix_coefficients: 2,
474         color_obu_size: 63157,
475         alpha_obu_size: 0,
476     },
477     // index: 19
478     ExpectedImageInfo {
479         filename: "Link-U/fox.profile0.8bpc.yuv420.monochrome.avif",
480         width: 1204,
481         height: 800,
482         depth: 8,
483         yuv_format: PixelFormat::Yuv400,
484         alpha_present: false,
485         yuv_range: YuvRange::Limited,
486         color_primaries: 2,
487         transfer_characteristics: 2,
488         matrix_coefficients: 2,
489         color_obu_size: 55329,
490         alpha_obu_size: 0,
491     },
492     // index: 20
493     ExpectedImageInfo {
494         filename: "Link-U/fox.profile0.8bpc.yuv420.monochrome.odd-height.avif",
495         width: 1204,
496         height: 799,
497         depth: 8,
498         yuv_format: PixelFormat::Yuv400,
499         alpha_present: false,
500         yuv_range: YuvRange::Limited,
501         color_primaries: 2,
502         transfer_characteristics: 2,
503         matrix_coefficients: 2,
504         color_obu_size: 54376,
505         alpha_obu_size: 0,
506     },
507     // index: 21
508     ExpectedImageInfo {
509         filename: "Link-U/fox.profile0.8bpc.yuv420.monochrome.odd-width.avif",
510         width: 1203,
511         height: 800,
512         depth: 8,
513         yuv_format: PixelFormat::Yuv400,
514         alpha_present: false,
515         yuv_range: YuvRange::Limited,
516         color_primaries: 2,
517         transfer_characteristics: 2,
518         matrix_coefficients: 2,
519         color_obu_size: 54460,
520         alpha_obu_size: 0,
521     },
522     // index: 22
523     ExpectedImageInfo {
524         filename: "Link-U/fox.profile0.8bpc.yuv420.monochrome.odd-width.odd-height.avif",
525         width: 1203,
526         height: 799,
527         depth: 8,
528         yuv_format: PixelFormat::Yuv400,
529         alpha_present: false,
530         yuv_range: YuvRange::Limited,
531         color_primaries: 2,
532         transfer_characteristics: 2,
533         matrix_coefficients: 2,
534         color_obu_size: 53836,
535         alpha_obu_size: 0,
536     },
537     // index: 23
538     ExpectedImageInfo {
539         filename: "Link-U/fox.profile0.8bpc.yuv420.odd-height.avif",
540         width: 1204,
541         height: 799,
542         depth: 8,
543         yuv_format: PixelFormat::Yuv420,
544         alpha_present: false,
545         yuv_range: YuvRange::Limited,
546         color_primaries: 2,
547         transfer_characteristics: 2,
548         matrix_coefficients: 2,
549         color_obu_size: 62451,
550         alpha_obu_size: 0,
551     },
552     // index: 24
553     ExpectedImageInfo {
554         filename: "Link-U/fox.profile0.8bpc.yuv420.odd-width.avif",
555         width: 1203,
556         height: 800,
557         depth: 8,
558         yuv_format: PixelFormat::Yuv420,
559         alpha_present: false,
560         yuv_range: YuvRange::Limited,
561         color_primaries: 2,
562         transfer_characteristics: 2,
563         matrix_coefficients: 2,
564         color_obu_size: 62535,
565         alpha_obu_size: 0,
566     },
567     // index: 25
568     ExpectedImageInfo {
569         filename: "Link-U/fox.profile0.8bpc.yuv420.odd-width.odd-height.avif",
570         width: 1203,
571         height: 799,
572         depth: 8,
573         yuv_format: PixelFormat::Yuv420,
574         alpha_present: false,
575         yuv_range: YuvRange::Limited,
576         color_primaries: 2,
577         transfer_characteristics: 2,
578         matrix_coefficients: 2,
579         color_obu_size: 61950,
580         alpha_obu_size: 0,
581     },
582     // index: 26
583     ExpectedImageInfo {
584         filename: "Link-U/fox.profile1.10bpc.yuv444.avif",
585         width: 1204,
586         height: 800,
587         depth: 10,
588         yuv_format: PixelFormat::Yuv444,
589         alpha_present: false,
590         yuv_range: YuvRange::Limited,
591         color_primaries: 2,
592         transfer_characteristics: 2,
593         matrix_coefficients: 2,
594         color_obu_size: 74745,
595         alpha_obu_size: 0,
596     },
597     // index: 27
598     ExpectedImageInfo {
599         filename: "Link-U/fox.profile1.10bpc.yuv444.odd-height.avif",
600         width: 1204,
601         height: 799,
602         depth: 10,
603         yuv_format: PixelFormat::Yuv444,
604         alpha_present: false,
605         yuv_range: YuvRange::Limited,
606         color_primaries: 2,
607         transfer_characteristics: 2,
608         matrix_coefficients: 2,
609         color_obu_size: 73212,
610         alpha_obu_size: 0,
611     },
612     // index: 28
613     ExpectedImageInfo {
614         filename: "Link-U/fox.profile1.10bpc.yuv444.odd-width.avif",
615         width: 1203,
616         height: 800,
617         depth: 10,
618         yuv_format: PixelFormat::Yuv444,
619         alpha_present: false,
620         yuv_range: YuvRange::Limited,
621         color_primaries: 2,
622         transfer_characteristics: 2,
623         matrix_coefficients: 2,
624         color_obu_size: 73266,
625         alpha_obu_size: 0,
626     },
627     // index: 29
628     ExpectedImageInfo {
629         filename: "Link-U/fox.profile1.10bpc.yuv444.odd-width.odd-height.avif",
630         width: 1203,
631         height: 799,
632         depth: 10,
633         yuv_format: PixelFormat::Yuv444,
634         alpha_present: false,
635         yuv_range: YuvRange::Limited,
636         color_primaries: 2,
637         transfer_characteristics: 2,
638         matrix_coefficients: 2,
639         color_obu_size: 72379,
640         alpha_obu_size: 0,
641     },
642     // index: 30
643     ExpectedImageInfo {
644         filename: "Link-U/fox.profile1.8bpc.yuv444.avif",
645         width: 1204,
646         height: 800,
647         depth: 8,
648         yuv_format: PixelFormat::Yuv444,
649         alpha_present: false,
650         yuv_range: YuvRange::Limited,
651         color_primaries: 2,
652         transfer_characteristics: 2,
653         matrix_coefficients: 2,
654         color_obu_size: 73902,
655         alpha_obu_size: 0,
656     },
657     // index: 31
658     ExpectedImageInfo {
659         filename: "Link-U/fox.profile1.8bpc.yuv444.odd-height.avif",
660         width: 1204,
661         height: 799,
662         depth: 8,
663         yuv_format: PixelFormat::Yuv444,
664         alpha_present: false,
665         yuv_range: YuvRange::Limited,
666         color_primaries: 2,
667         transfer_characteristics: 2,
668         matrix_coefficients: 2,
669         color_obu_size: 72478,
670         alpha_obu_size: 0,
671     },
672     // index: 32
673     ExpectedImageInfo {
674         filename: "Link-U/fox.profile1.8bpc.yuv444.odd-width.avif",
675         width: 1203,
676         height: 800,
677         depth: 8,
678         yuv_format: PixelFormat::Yuv444,
679         alpha_present: false,
680         yuv_range: YuvRange::Limited,
681         color_primaries: 2,
682         transfer_characteristics: 2,
683         matrix_coefficients: 2,
684         color_obu_size: 72769,
685         alpha_obu_size: 0,
686     },
687     // index: 33
688     ExpectedImageInfo {
689         filename: "Link-U/fox.profile1.8bpc.yuv444.odd-width.odd-height.avif",
690         width: 1203,
691         height: 799,
692         depth: 8,
693         yuv_format: PixelFormat::Yuv444,
694         alpha_present: false,
695         yuv_range: YuvRange::Limited,
696         color_primaries: 2,
697         transfer_characteristics: 2,
698         matrix_coefficients: 2,
699         color_obu_size: 71795,
700         alpha_obu_size: 0,
701     },
702     // index: 34
703     ExpectedImageInfo {
704         filename: "Link-U/fox.profile2.10bpc.yuv422.avif",
705         width: 1204,
706         height: 800,
707         depth: 10,
708         yuv_format: PixelFormat::Yuv444,
709         alpha_present: false,
710         yuv_range: YuvRange::Limited,
711         color_primaries: 2,
712         transfer_characteristics: 2,
713         matrix_coefficients: 2,
714         color_obu_size: 68524,
715         alpha_obu_size: 0,
716     },
717     // index: 35
718     ExpectedImageInfo {
719         filename: "Link-U/fox.profile2.10bpc.yuv422.monochrome.avif",
720         width: 1204,
721         height: 800,
722         depth: 10,
723         yuv_format: PixelFormat::Yuv400,
724         alpha_present: false,
725         yuv_range: YuvRange::Limited,
726         color_primaries: 2,
727         transfer_characteristics: 2,
728         matrix_coefficients: 2,
729         color_obu_size: 56116,
730         alpha_obu_size: 0,
731     },
732     // index: 36
733     ExpectedImageInfo {
734         filename: "Link-U/fox.profile2.10bpc.yuv422.monochrome.odd-height.avif",
735         width: 1204,
736         height: 799,
737         depth: 10,
738         yuv_format: PixelFormat::Yuv400,
739         alpha_present: false,
740         yuv_range: YuvRange::Limited,
741         color_primaries: 2,
742         transfer_characteristics: 2,
743         matrix_coefficients: 2,
744         color_obu_size: 55174,
745         alpha_obu_size: 0,
746     },
747     // index: 37
748     ExpectedImageInfo {
749         filename: "Link-U/fox.profile2.10bpc.yuv422.monochrome.odd-width.avif",
750         width: 1203,
751         height: 800,
752         depth: 10,
753         yuv_format: PixelFormat::Yuv400,
754         alpha_present: false,
755         yuv_range: YuvRange::Limited,
756         color_primaries: 2,
757         transfer_characteristics: 2,
758         matrix_coefficients: 2,
759         color_obu_size: 55254,
760         alpha_obu_size: 0,
761     },
762     // index: 38
763     ExpectedImageInfo {
764         filename: "Link-U/fox.profile2.10bpc.yuv422.monochrome.odd-width.odd-height.avif",
765         width: 1203,
766         height: 799,
767         depth: 10,
768         yuv_format: PixelFormat::Yuv400,
769         alpha_present: false,
770         yuv_range: YuvRange::Limited,
771         color_primaries: 2,
772         transfer_characteristics: 2,
773         matrix_coefficients: 2,
774         color_obu_size: 54589,
775         alpha_obu_size: 0,
776     },
777     // index: 39
778     ExpectedImageInfo {
779         filename: "Link-U/fox.profile2.10bpc.yuv422.odd-height.avif",
780         width: 1204,
781         height: 799,
782         depth: 10,
783         yuv_format: PixelFormat::Yuv444,
784         alpha_present: false,
785         yuv_range: YuvRange::Limited,
786         color_primaries: 2,
787         transfer_characteristics: 2,
788         matrix_coefficients: 2,
789         color_obu_size: 67602,
790         alpha_obu_size: 0,
791     },
792     // index: 40
793     ExpectedImageInfo {
794         filename: "Link-U/fox.profile2.10bpc.yuv422.odd-width.avif",
795         width: 1203,
796         height: 800,
797         depth: 10,
798         yuv_format: PixelFormat::Yuv444,
799         alpha_present: false,
800         yuv_range: YuvRange::Limited,
801         color_primaries: 2,
802         transfer_characteristics: 2,
803         matrix_coefficients: 2,
804         color_obu_size: 67803,
805         alpha_obu_size: 0,
806     },
807     // index: 41
808     ExpectedImageInfo {
809         filename: "Link-U/fox.profile2.10bpc.yuv422.odd-width.odd-height.avif",
810         width: 1203,
811         height: 799,
812         depth: 10,
813         yuv_format: PixelFormat::Yuv444,
814         alpha_present: false,
815         yuv_range: YuvRange::Limited,
816         color_primaries: 2,
817         transfer_characteristics: 2,
818         matrix_coefficients: 2,
819         color_obu_size: 66794,
820         alpha_obu_size: 0,
821     },
822     // index: 42
823     ExpectedImageInfo {
824         filename: "Link-U/fox.profile2.12bpc.yuv420.avif",
825         width: 1204,
826         height: 800,
827         depth: 12,
828         yuv_format: PixelFormat::Yuv420,
829         alpha_present: false,
830         yuv_range: YuvRange::Limited,
831         color_primaries: 2,
832         transfer_characteristics: 2,
833         matrix_coefficients: 2,
834         color_obu_size: 64688,
835         alpha_obu_size: 0,
836     },
837     // index: 43
838     ExpectedImageInfo {
839         filename: "Link-U/fox.profile2.12bpc.yuv420.monochrome.avif",
840         width: 1204,
841         height: 800,
842         depth: 12,
843         yuv_format: PixelFormat::Yuv400,
844         alpha_present: false,
845         yuv_range: YuvRange::Limited,
846         color_primaries: 2,
847         transfer_characteristics: 2,
848         matrix_coefficients: 2,
849         color_obu_size: 56651,
850         alpha_obu_size: 0,
851     },
852     // index: 44
853     ExpectedImageInfo {
854         filename: "Link-U/fox.profile2.12bpc.yuv420.monochrome.odd-height.avif",
855         width: 1204,
856         height: 799,
857         depth: 12,
858         yuv_format: PixelFormat::Yuv400,
859         alpha_present: false,
860         yuv_range: YuvRange::Limited,
861         color_primaries: 2,
862         transfer_characteristics: 2,
863         matrix_coefficients: 2,
864         color_obu_size: 55561,
865         alpha_obu_size: 0,
866     },
867     // index: 45
868     ExpectedImageInfo {
869         filename: "Link-U/fox.profile2.12bpc.yuv420.monochrome.odd-width.avif",
870         width: 1203,
871         height: 800,
872         depth: 12,
873         yuv_format: PixelFormat::Yuv400,
874         alpha_present: false,
875         yuv_range: YuvRange::Limited,
876         color_primaries: 2,
877         transfer_characteristics: 2,
878         matrix_coefficients: 2,
879         color_obu_size: 55679,
880         alpha_obu_size: 0,
881     },
882     // index: 46
883     ExpectedImageInfo {
884         filename: "Link-U/fox.profile2.12bpc.yuv420.monochrome.odd-width.odd-height.avif",
885         width: 1203,
886         height: 799,
887         depth: 12,
888         yuv_format: PixelFormat::Yuv400,
889         alpha_present: false,
890         yuv_range: YuvRange::Limited,
891         color_primaries: 2,
892         transfer_characteristics: 2,
893         matrix_coefficients: 2,
894         color_obu_size: 54936,
895         alpha_obu_size: 0,
896     },
897     // index: 47
898     ExpectedImageInfo {
899         filename: "Link-U/fox.profile2.12bpc.yuv420.odd-height.avif",
900         width: 1204,
901         height: 799,
902         depth: 12,
903         yuv_format: PixelFormat::Yuv420,
904         alpha_present: false,
905         yuv_range: YuvRange::Limited,
906         color_primaries: 2,
907         transfer_characteristics: 2,
908         matrix_coefficients: 2,
909         color_obu_size: 63714,
910         alpha_obu_size: 0,
911     },
912     // index: 48
913     ExpectedImageInfo {
914         filename: "Link-U/fox.profile2.12bpc.yuv420.odd-width.avif",
915         width: 1203,
916         height: 800,
917         depth: 12,
918         yuv_format: PixelFormat::Yuv420,
919         alpha_present: false,
920         yuv_range: YuvRange::Limited,
921         color_primaries: 2,
922         transfer_characteristics: 2,
923         matrix_coefficients: 2,
924         color_obu_size: 63791,
925         alpha_obu_size: 0,
926     },
927     // index: 49
928     ExpectedImageInfo {
929         filename: "Link-U/fox.profile2.12bpc.yuv420.odd-width.odd-height.avif",
930         width: 1203,
931         height: 799,
932         depth: 12,
933         yuv_format: PixelFormat::Yuv420,
934         alpha_present: false,
935         yuv_range: YuvRange::Limited,
936         color_primaries: 2,
937         transfer_characteristics: 2,
938         matrix_coefficients: 2,
939         color_obu_size: 63145,
940         alpha_obu_size: 0,
941     },
942     // index: 50
943     ExpectedImageInfo {
944         filename: "Link-U/fox.profile2.12bpc.yuv422.avif",
945         width: 1204,
946         height: 800,
947         depth: 12,
948         yuv_format: PixelFormat::Yuv444,
949         alpha_present: false,
950         yuv_range: YuvRange::Limited,
951         color_primaries: 2,
952         transfer_characteristics: 2,
953         matrix_coefficients: 2,
954         color_obu_size: 69054,
955         alpha_obu_size: 0,
956     },
957     // index: 51
958     ExpectedImageInfo {
959         filename: "Link-U/fox.profile2.12bpc.yuv422.monochrome.avif",
960         width: 1204,
961         height: 800,
962         depth: 12,
963         yuv_format: PixelFormat::Yuv400,
964         alpha_present: false,
965         yuv_range: YuvRange::Limited,
966         color_primaries: 2,
967         transfer_characteristics: 2,
968         matrix_coefficients: 2,
969         color_obu_size: 56651,
970         alpha_obu_size: 0,
971     },
972     // index: 52
973     ExpectedImageInfo {
974         filename: "Link-U/fox.profile2.12bpc.yuv422.monochrome.odd-height.avif",
975         width: 1204,
976         height: 799,
977         depth: 12,
978         yuv_format: PixelFormat::Yuv400,
979         alpha_present: false,
980         yuv_range: YuvRange::Limited,
981         color_primaries: 2,
982         transfer_characteristics: 2,
983         matrix_coefficients: 2,
984         color_obu_size: 55561,
985         alpha_obu_size: 0,
986     },
987     // index: 53
988     ExpectedImageInfo {
989         filename: "Link-U/fox.profile2.12bpc.yuv422.monochrome.odd-width.avif",
990         width: 1203,
991         height: 800,
992         depth: 12,
993         yuv_format: PixelFormat::Yuv400,
994         alpha_present: false,
995         yuv_range: YuvRange::Limited,
996         color_primaries: 2,
997         transfer_characteristics: 2,
998         matrix_coefficients: 2,
999         color_obu_size: 55679,
1000         alpha_obu_size: 0,
1001     },
1002     // index: 54
1003     ExpectedImageInfo {
1004         filename: "Link-U/fox.profile2.12bpc.yuv422.monochrome.odd-width.odd-height.avif",
1005         width: 1203,
1006         height: 799,
1007         depth: 12,
1008         yuv_format: PixelFormat::Yuv400,
1009         alpha_present: false,
1010         yuv_range: YuvRange::Limited,
1011         color_primaries: 2,
1012         transfer_characteristics: 2,
1013         matrix_coefficients: 2,
1014         color_obu_size: 54936,
1015         alpha_obu_size: 0,
1016     },
1017     // index: 55
1018     ExpectedImageInfo {
1019         filename: "Link-U/fox.profile2.12bpc.yuv422.odd-height.avif",
1020         width: 1204,
1021         height: 799,
1022         depth: 12,
1023         yuv_format: PixelFormat::Yuv444,
1024         alpha_present: false,
1025         yuv_range: YuvRange::Limited,
1026         color_primaries: 2,
1027         transfer_characteristics: 2,
1028         matrix_coefficients: 2,
1029         color_obu_size: 67792,
1030         alpha_obu_size: 0,
1031     },
1032     // index: 56
1033     ExpectedImageInfo {
1034         filename: "Link-U/fox.profile2.12bpc.yuv422.odd-width.avif",
1035         width: 1203,
1036         height: 800,
1037         depth: 12,
1038         yuv_format: PixelFormat::Yuv444,
1039         alpha_present: false,
1040         yuv_range: YuvRange::Limited,
1041         color_primaries: 2,
1042         transfer_characteristics: 2,
1043         matrix_coefficients: 2,
1044         color_obu_size: 68051,
1045         alpha_obu_size: 0,
1046     },
1047     // index: 57
1048     ExpectedImageInfo {
1049         filename: "Link-U/fox.profile2.12bpc.yuv422.odd-width.odd-height.avif",
1050         width: 1203,
1051         height: 799,
1052         depth: 12,
1053         yuv_format: PixelFormat::Yuv444,
1054         alpha_present: false,
1055         yuv_range: YuvRange::Limited,
1056         color_primaries: 2,
1057         transfer_characteristics: 2,
1058         matrix_coefficients: 2,
1059         color_obu_size: 67328,
1060         alpha_obu_size: 0,
1061     },
1062     // index: 58
1063     ExpectedImageInfo {
1064         filename: "Link-U/fox.profile2.12bpc.yuv444.avif",
1065         width: 1204,
1066         height: 800,
1067         depth: 12,
1068         yuv_format: PixelFormat::Yuv444,
1069         alpha_present: false,
1070         yuv_range: YuvRange::Limited,
1071         color_primaries: 2,
1072         transfer_characteristics: 2,
1073         matrix_coefficients: 2,
1074         color_obu_size: 75004,
1075         alpha_obu_size: 0,
1076     },
1077     // index: 59
1078     ExpectedImageInfo {
1079         filename: "Link-U/fox.profile2.12bpc.yuv444.monochrome.avif",
1080         width: 1204,
1081         height: 800,
1082         depth: 12,
1083         yuv_format: PixelFormat::Yuv400,
1084         alpha_present: false,
1085         yuv_range: YuvRange::Limited,
1086         color_primaries: 2,
1087         transfer_characteristics: 2,
1088         matrix_coefficients: 2,
1089         color_obu_size: 56651,
1090         alpha_obu_size: 0,
1091     },
1092     // index: 60
1093     ExpectedImageInfo {
1094         filename: "Link-U/fox.profile2.12bpc.yuv444.monochrome.odd-height.avif",
1095         width: 1204,
1096         height: 799,
1097         depth: 12,
1098         yuv_format: PixelFormat::Yuv400,
1099         alpha_present: false,
1100         yuv_range: YuvRange::Limited,
1101         color_primaries: 2,
1102         transfer_characteristics: 2,
1103         matrix_coefficients: 2,
1104         color_obu_size: 55561,
1105         alpha_obu_size: 0,
1106     },
1107     // index: 61
1108     ExpectedImageInfo {
1109         filename: "Link-U/fox.profile2.12bpc.yuv444.monochrome.odd-width.avif",
1110         width: 1203,
1111         height: 800,
1112         depth: 12,
1113         yuv_format: PixelFormat::Yuv400,
1114         alpha_present: false,
1115         yuv_range: YuvRange::Limited,
1116         color_primaries: 2,
1117         transfer_characteristics: 2,
1118         matrix_coefficients: 2,
1119         color_obu_size: 55679,
1120         alpha_obu_size: 0,
1121     },
1122     // index: 62
1123     ExpectedImageInfo {
1124         filename: "Link-U/fox.profile2.12bpc.yuv444.monochrome.odd-width.odd-height.avif",
1125         width: 1203,
1126         height: 799,
1127         depth: 12,
1128         yuv_format: PixelFormat::Yuv400,
1129         alpha_present: false,
1130         yuv_range: YuvRange::Limited,
1131         color_primaries: 2,
1132         transfer_characteristics: 2,
1133         matrix_coefficients: 2,
1134         color_obu_size: 54936,
1135         alpha_obu_size: 0,
1136     },
1137     // index: 63
1138     ExpectedImageInfo {
1139         filename: "Link-U/fox.profile2.12bpc.yuv444.odd-height.avif",
1140         width: 1204,
1141         height: 799,
1142         depth: 12,
1143         yuv_format: PixelFormat::Yuv444,
1144         alpha_present: false,
1145         yuv_range: YuvRange::Limited,
1146         color_primaries: 2,
1147         transfer_characteristics: 2,
1148         matrix_coefficients: 2,
1149         color_obu_size: 73694,
1150         alpha_obu_size: 0,
1151     },
1152     // index: 64
1153     ExpectedImageInfo {
1154         filename: "Link-U/fox.profile2.12bpc.yuv444.odd-width.avif",
1155         width: 1203,
1156         height: 800,
1157         depth: 12,
1158         yuv_format: PixelFormat::Yuv444,
1159         alpha_present: false,
1160         yuv_range: YuvRange::Limited,
1161         color_primaries: 2,
1162         transfer_characteristics: 2,
1163         matrix_coefficients: 2,
1164         color_obu_size: 73720,
1165         alpha_obu_size: 0,
1166     },
1167     // index: 65
1168     ExpectedImageInfo {
1169         filename: "Link-U/fox.profile2.12bpc.yuv444.odd-width.odd-height.avif",
1170         width: 1203,
1171         height: 799,
1172         depth: 12,
1173         yuv_format: PixelFormat::Yuv444,
1174         alpha_present: false,
1175         yuv_range: YuvRange::Limited,
1176         color_primaries: 2,
1177         transfer_characteristics: 2,
1178         matrix_coefficients: 2,
1179         color_obu_size: 72725,
1180         alpha_obu_size: 0,
1181     },
1182     // index: 66
1183     ExpectedImageInfo {
1184         filename: "Link-U/fox.profile2.8bpc.yuv422.avif",
1185         width: 1204,
1186         height: 800,
1187         depth: 8,
1188         yuv_format: PixelFormat::Yuv444,
1189         alpha_present: false,
1190         yuv_range: YuvRange::Limited,
1191         color_primaries: 2,
1192         transfer_characteristics: 2,
1193         matrix_coefficients: 2,
1194         color_obu_size: 67538,
1195         alpha_obu_size: 0,
1196     },
1197     // index: 67
1198     ExpectedImageInfo {
1199         filename: "Link-U/fox.profile2.8bpc.yuv422.monochrome.avif",
1200         width: 1204,
1201         height: 800,
1202         depth: 8,
1203         yuv_format: PixelFormat::Yuv400,
1204         alpha_present: false,
1205         yuv_range: YuvRange::Limited,
1206         color_primaries: 2,
1207         transfer_characteristics: 2,
1208         matrix_coefficients: 2,
1209         color_obu_size: 55329,
1210         alpha_obu_size: 0,
1211     },
1212     // index: 68
1213     ExpectedImageInfo {
1214         filename: "Link-U/fox.profile2.8bpc.yuv422.monochrome.odd-height.avif",
1215         width: 1204,
1216         height: 799,
1217         depth: 8,
1218         yuv_format: PixelFormat::Yuv400,
1219         alpha_present: false,
1220         yuv_range: YuvRange::Limited,
1221         color_primaries: 2,
1222         transfer_characteristics: 2,
1223         matrix_coefficients: 2,
1224         color_obu_size: 54376,
1225         alpha_obu_size: 0,
1226     },
1227     // index: 69
1228     ExpectedImageInfo {
1229         filename: "Link-U/fox.profile2.8bpc.yuv422.monochrome.odd-width.avif",
1230         width: 1203,
1231         height: 800,
1232         depth: 8,
1233         yuv_format: PixelFormat::Yuv400,
1234         alpha_present: false,
1235         yuv_range: YuvRange::Limited,
1236         color_primaries: 2,
1237         transfer_characteristics: 2,
1238         matrix_coefficients: 2,
1239         color_obu_size: 54460,
1240         alpha_obu_size: 0,
1241     },
1242     // index: 70
1243     ExpectedImageInfo {
1244         filename: "Link-U/fox.profile2.8bpc.yuv422.monochrome.odd-width.odd-height.avif",
1245         width: 1203,
1246         height: 799,
1247         depth: 8,
1248         yuv_format: PixelFormat::Yuv400,
1249         alpha_present: false,
1250         yuv_range: YuvRange::Limited,
1251         color_primaries: 2,
1252         transfer_characteristics: 2,
1253         matrix_coefficients: 2,
1254         color_obu_size: 53836,
1255         alpha_obu_size: 0,
1256     },
1257     // index: 71
1258     ExpectedImageInfo {
1259         filename: "Link-U/fox.profile2.8bpc.yuv422.odd-height.avif",
1260         width: 1204,
1261         height: 799,
1262         depth: 8,
1263         yuv_format: PixelFormat::Yuv444,
1264         alpha_present: false,
1265         yuv_range: YuvRange::Limited,
1266         color_primaries: 2,
1267         transfer_characteristics: 2,
1268         matrix_coefficients: 2,
1269         color_obu_size: 66814,
1270         alpha_obu_size: 0,
1271     },
1272     // index: 72
1273     ExpectedImageInfo {
1274         filename: "Link-U/fox.profile2.8bpc.yuv422.odd-width.avif",
1275         width: 1203,
1276         height: 800,
1277         depth: 8,
1278         yuv_format: PixelFormat::Yuv444,
1279         alpha_present: false,
1280         yuv_range: YuvRange::Limited,
1281         color_primaries: 2,
1282         transfer_characteristics: 2,
1283         matrix_coefficients: 2,
1284         color_obu_size: 66974,
1285         alpha_obu_size: 0,
1286     },
1287     // index: 73
1288     ExpectedImageInfo {
1289         filename: "Link-U/fox.profile2.8bpc.yuv422.odd-width.odd-height.avif",
1290         width: 1203,
1291         height: 799,
1292         depth: 8,
1293         yuv_format: PixelFormat::Yuv444,
1294         alpha_present: false,
1295         yuv_range: YuvRange::Limited,
1296         color_primaries: 2,
1297         transfer_characteristics: 2,
1298         matrix_coefficients: 2,
1299         color_obu_size: 66154,
1300         alpha_obu_size: 0,
1301     },
1302     // index: 74
1303     ExpectedImageInfo {
1304         filename: "Link-U/hato.profile0.10bpc.yuv420.monochrome.no-cdef.no-restoration.avif",
1305         width: 3082,
1306         height: 2048,
1307         depth: 10,
1308         yuv_format: PixelFormat::Yuv400,
1309         alpha_present: false,
1310         yuv_range: YuvRange::Limited,
1311         color_primaries: 2,
1312         transfer_characteristics: 2,
1313         matrix_coefficients: 2,
1314         color_obu_size: 178883,
1315         alpha_obu_size: 0,
1316     },
1317     // index: 75
1318     ExpectedImageInfo {
1319         filename: "Link-U/hato.profile0.10bpc.yuv420.no-cdef.no-restoration.avif",
1320         width: 3082,
1321         height: 2048,
1322         depth: 10,
1323         yuv_format: PixelFormat::Yuv420,
1324         alpha_present: false,
1325         yuv_range: YuvRange::Limited,
1326         color_primaries: 2,
1327         transfer_characteristics: 2,
1328         matrix_coefficients: 2,
1329         color_obu_size: 208271,
1330         alpha_obu_size: 0,
1331     },
1332     // index: 76
1333     ExpectedImageInfo {
1334         filename: "Link-U/hato.profile0.8bpc.yuv420.monochrome.no-cdef.avif",
1335         width: 3082,
1336         height: 2048,
1337         depth: 8,
1338         yuv_format: PixelFormat::Yuv400,
1339         alpha_present: false,
1340         yuv_range: YuvRange::Limited,
1341         color_primaries: 2,
1342         transfer_characteristics: 2,
1343         matrix_coefficients: 2,
1344         color_obu_size: 177474,
1345         alpha_obu_size: 0,
1346     },
1347     // index: 77
1348     ExpectedImageInfo {
1349         filename: "Link-U/hato.profile0.8bpc.yuv420.no-cdef.avif",
1350         width: 3082,
1351         height: 2048,
1352         depth: 8,
1353         yuv_format: PixelFormat::Yuv420,
1354         alpha_present: false,
1355         yuv_range: YuvRange::Limited,
1356         color_primaries: 2,
1357         transfer_characteristics: 2,
1358         matrix_coefficients: 2,
1359         color_obu_size: 207414,
1360         alpha_obu_size: 0,
1361     },
1362     // index: 78
1363     ExpectedImageInfo {
1364         filename: "Link-U/hato.profile2.10bpc.yuv422.monochrome.no-cdef.no-restoration.avif",
1365         width: 3082,
1366         height: 2048,
1367         depth: 10,
1368         yuv_format: PixelFormat::Yuv400,
1369         alpha_present: false,
1370         yuv_range: YuvRange::Limited,
1371         color_primaries: 2,
1372         transfer_characteristics: 2,
1373         matrix_coefficients: 2,
1374         color_obu_size: 178883,
1375         alpha_obu_size: 0,
1376     },
1377     // index: 79
1378     ExpectedImageInfo {
1379         filename: "Link-U/hato.profile2.10bpc.yuv422.no-cdef.no-restoration.avif",
1380         width: 3082,
1381         height: 2048,
1382         depth: 10,
1383         yuv_format: PixelFormat::Yuv444,
1384         alpha_present: false,
1385         yuv_range: YuvRange::Limited,
1386         color_primaries: 2,
1387         transfer_characteristics: 2,
1388         matrix_coefficients: 2,
1389         color_obu_size: 225894,
1390         alpha_obu_size: 0,
1391     },
1392     // index: 80
1393     ExpectedImageInfo {
1394         filename: "Link-U/hato.profile2.12bpc.yuv422.monochrome.avif",
1395         width: 3082,
1396         height: 2048,
1397         depth: 12,
1398         yuv_format: PixelFormat::Yuv400,
1399         alpha_present: false,
1400         yuv_range: YuvRange::Limited,
1401         color_primaries: 1,
1402         transfer_characteristics: 2,
1403         matrix_coefficients: 9,
1404         color_obu_size: 231531,
1405         alpha_obu_size: 0,
1406     },
1407     // index: 81
1408     ExpectedImageInfo {
1409         filename: "Link-U/hato.profile2.12bpc.yuv422.monochrome.no-cdef.no-restoration.avif",
1410         width: 3082,
1411         height: 2048,
1412         depth: 12,
1413         yuv_format: PixelFormat::Yuv444,
1414         alpha_present: false,
1415         yuv_range: YuvRange::Limited,
1416         color_primaries: 2,
1417         transfer_characteristics: 2,
1418         matrix_coefficients: 2,
1419         color_obu_size: 226731,
1420         alpha_obu_size: 0,
1421     },
1422     // index: 82
1423     ExpectedImageInfo {
1424         filename: "Link-U/hato.profile2.12bpc.yuv422.no-cdef.no-restoration.avif",
1425         width: 3082,
1426         height: 2048,
1427         depth: 12,
1428         yuv_format: PixelFormat::Yuv444,
1429         alpha_present: false,
1430         yuv_range: YuvRange::Limited,
1431         color_primaries: 2,
1432         transfer_characteristics: 2,
1433         matrix_coefficients: 2,
1434         color_obu_size: 226731,
1435         alpha_obu_size: 0,
1436     },
1437     // index: 83
1438     ExpectedImageInfo {
1439         filename: "Link-U/hato.profile2.8bpc.yuv422.monochrome.no-cdef.avif",
1440         width: 3082,
1441         height: 2048,
1442         depth: 8,
1443         yuv_format: PixelFormat::Yuv400,
1444         alpha_present: false,
1445         yuv_range: YuvRange::Limited,
1446         color_primaries: 2,
1447         transfer_characteristics: 2,
1448         matrix_coefficients: 2,
1449         color_obu_size: 177474,
1450         alpha_obu_size: 0,
1451     },
1452     // index: 84
1453     ExpectedImageInfo {
1454         filename: "Link-U/hato.profile2.8bpc.yuv422.no-cdef.avif",
1455         width: 3082,
1456         height: 2048,
1457         depth: 8,
1458         yuv_format: PixelFormat::Yuv444,
1459         alpha_present: false,
1460         yuv_range: YuvRange::Limited,
1461         color_primaries: 2,
1462         transfer_characteristics: 2,
1463         matrix_coefficients: 2,
1464         color_obu_size: 225881,
1465         alpha_obu_size: 0,
1466     },
1467     // index: 85
1468     ExpectedImageInfo {
1469         filename: "Link-U/kimono.avif",
1470         width: 722,
1471         height: 1024,
1472         depth: 8,
1473         yuv_format: PixelFormat::Yuv420,
1474         alpha_present: false,
1475         yuv_range: YuvRange::Limited,
1476         color_primaries: 1,
1477         transfer_characteristics: 13,
1478         matrix_coefficients: 9,
1479         color_obu_size: 85120,
1480         alpha_obu_size: 0,
1481     },
1482     // index: 86
1483     ExpectedImageInfo {
1484         filename: "Link-U/kimono.crop.avif",
1485         width: 722,
1486         height: 1024,
1487         depth: 8,
1488         yuv_format: PixelFormat::Yuv420,
1489         alpha_present: false,
1490         yuv_range: YuvRange::Limited,
1491         color_primaries: 1,
1492         transfer_characteristics: 13,
1493         matrix_coefficients: 9,
1494         color_obu_size: 85120,
1495         alpha_obu_size: 0,
1496     },
1497     // index: 87
1498     ExpectedImageInfo {
1499         filename: "Link-U/kimono.mirror-horizontal.avif",
1500         width: 722,
1501         height: 1024,
1502         depth: 8,
1503         yuv_format: PixelFormat::Yuv420,
1504         alpha_present: false,
1505         yuv_range: YuvRange::Limited,
1506         color_primaries: 1,
1507         transfer_characteristics: 13,
1508         matrix_coefficients: 9,
1509         color_obu_size: 84661,
1510         alpha_obu_size: 0,
1511     },
1512     // index: 88
1513     ExpectedImageInfo {
1514         filename: "Link-U/kimono.mirror-vertical.avif",
1515         width: 722,
1516         height: 1024,
1517         depth: 8,
1518         yuv_format: PixelFormat::Yuv420,
1519         alpha_present: false,
1520         yuv_range: YuvRange::Limited,
1521         color_primaries: 1,
1522         transfer_characteristics: 13,
1523         matrix_coefficients: 9,
1524         color_obu_size: 84297,
1525         alpha_obu_size: 0,
1526     },
1527     // index: 89
1528     ExpectedImageInfo {
1529         filename: "Link-U/kimono.mirror-vertical.rotate270.avif",
1530         width: 1024,
1531         height: 722,
1532         depth: 8,
1533         yuv_format: PixelFormat::Yuv420,
1534         alpha_present: false,
1535         yuv_range: YuvRange::Limited,
1536         color_primaries: 1,
1537         transfer_characteristics: 13,
1538         matrix_coefficients: 9,
1539         color_obu_size: 85184,
1540         alpha_obu_size: 0,
1541     },
1542     // index: 90
1543     ExpectedImageInfo {
1544         filename: "Link-U/kimono.mirror-vertical.rotate270.crop.avif",
1545         width: 1024,
1546         height: 722,
1547         depth: 8,
1548         yuv_format: PixelFormat::Yuv420,
1549         alpha_present: false,
1550         yuv_range: YuvRange::Limited,
1551         color_primaries: 1,
1552         transfer_characteristics: 13,
1553         matrix_coefficients: 9,
1554         color_obu_size: 85184,
1555         alpha_obu_size: 0,
1556     },
1557     // index: 91
1558     ExpectedImageInfo {
1559         filename: "Link-U/kimono.rotate270.avif",
1560         width: 1024,
1561         height: 722,
1562         depth: 8,
1563         yuv_format: PixelFormat::Yuv420,
1564         alpha_present: false,
1565         yuv_range: YuvRange::Limited,
1566         color_primaries: 1,
1567         transfer_characteristics: 13,
1568         matrix_coefficients: 9,
1569         color_obu_size: 84551,
1570         alpha_obu_size: 0,
1571     },
1572     // index: 92
1573     ExpectedImageInfo {
1574         filename: "Link-U/kimono.rotate90.avif",
1575         width: 1024,
1576         height: 722,
1577         depth: 8,
1578         yuv_format: PixelFormat::Yuv420,
1579         alpha_present: false,
1580         yuv_range: YuvRange::Limited,
1581         color_primaries: 1,
1582         transfer_characteristics: 13,
1583         matrix_coefficients: 9,
1584         color_obu_size: 84502,
1585         alpha_obu_size: 0,
1586     },
1587     // index: 93
1588     ExpectedImageInfo {
1589         filename: "Microsoft/Chimera_10bit_cropped_to_1920x1008.avif",
1590         width: 1920,
1591         height: 1080,
1592         depth: 10,
1593         yuv_format: PixelFormat::Yuv420,
1594         alpha_present: false,
1595         yuv_range: YuvRange::Full,
1596         color_primaries: 2,
1597         transfer_characteristics: 2,
1598         matrix_coefficients: 2,
1599         color_obu_size: 95279,
1600         alpha_obu_size: 0,
1601     },
1602     // index: 94
1603     ExpectedImageInfo {
1604         filename: "Microsoft/Chimera_10bit_cropped_to_1920x1008_with_HDR_metadata.avif",
1605         width: 1920,
1606         height: 1080,
1607         depth: 10,
1608         yuv_format: PixelFormat::Yuv420,
1609         alpha_present: false,
1610         yuv_range: YuvRange::Full,
1611         color_primaries: 9,
1612         transfer_characteristics: 16,
1613         matrix_coefficients: 10,
1614         color_obu_size: 95279,
1615         alpha_obu_size: 0,
1616     },
1617     // index: 95
1618     ExpectedImageInfo {
1619         filename: "Microsoft/Chimera_8bit_cropped_480x256.avif",
1620         width: 480,
1621         height: 270,
1622         depth: 8,
1623         yuv_format: PixelFormat::Yuv420,
1624         alpha_present: false,
1625         yuv_range: YuvRange::Full,
1626         color_primaries: 2,
1627         transfer_characteristics: 2,
1628         matrix_coefficients: 2,
1629         color_obu_size: 37860,
1630         alpha_obu_size: 0,
1631     },
1632     // index: 96
1633     ExpectedImageInfo {
1634         filename: "Microsoft/Irvine_CA.avif",
1635         width: 480,
1636         height: 640,
1637         depth: 8,
1638         yuv_format: PixelFormat::Yuv420,
1639         alpha_present: false,
1640         yuv_range: YuvRange::Full,
1641         color_primaries: 2,
1642         transfer_characteristics: 2,
1643         matrix_coefficients: 2,
1644         color_obu_size: 27601,
1645         alpha_obu_size: 0,
1646     },
1647     // index: 97
1648     ExpectedImageInfo {
1649         filename: "Microsoft/Mexico.avif",
1650         width: 1920,
1651         height: 1080,
1652         depth: 8,
1653         yuv_format: PixelFormat::Yuv420,
1654         alpha_present: false,
1655         yuv_range: YuvRange::Full,
1656         color_primaries: 2,
1657         transfer_characteristics: 2,
1658         matrix_coefficients: 2,
1659         color_obu_size: 218726,
1660         alpha_obu_size: 0,
1661     },
1662     // index: 98
1663     ExpectedImageInfo {
1664         filename: "Microsoft/Mexico_YUV444.avif",
1665         width: 960,
1666         height: 540,
1667         depth: 8,
1668         yuv_format: PixelFormat::Yuv444,
1669         alpha_present: false,
1670         yuv_range: YuvRange::Full,
1671         color_primaries: 2,
1672         transfer_characteristics: 2,
1673         matrix_coefficients: 2,
1674         color_obu_size: 158350,
1675         alpha_obu_size: 0,
1676     },
1677     // index: 99
1678     ExpectedImageInfo {
1679         filename: "Microsoft/Monochrome.avif",
1680         width: 1280,
1681         height: 720,
1682         depth: 8,
1683         yuv_format: PixelFormat::Yuv400,
1684         alpha_present: false,
1685         yuv_range: YuvRange::Limited,
1686         color_primaries: 1,
1687         transfer_characteristics: 1,
1688         matrix_coefficients: 1,
1689         color_obu_size: 6979,
1690         alpha_obu_size: 0,
1691     },
1692     // index: 100
1693     ExpectedImageInfo {
1694         filename: "Microsoft/Ronda_rotate90.avif",
1695         width: 1920,
1696         height: 1080,
1697         depth: 8,
1698         yuv_format: PixelFormat::Yuv420,
1699         alpha_present: false,
1700         yuv_range: YuvRange::Full,
1701         color_primaries: 2,
1702         transfer_characteristics: 2,
1703         matrix_coefficients: 2,
1704         color_obu_size: 95912,
1705         alpha_obu_size: 0,
1706     },
1707     // index: 101
1708     ExpectedImageInfo {
1709         filename: "Microsoft/Summer_Nature_4k.avif",
1710         width: 3840,
1711         height: 2160,
1712         depth: 8,
1713         yuv_format: PixelFormat::Yuv420,
1714         alpha_present: false,
1715         yuv_range: YuvRange::Limited,
1716         color_primaries: 2,
1717         transfer_characteristics: 2,
1718         matrix_coefficients: 2,
1719         color_obu_size: 279919,
1720         alpha_obu_size: 0,
1721     },
1722     // index: 102
1723     ExpectedImageInfo {
1724         filename: "Microsoft/Summer_in_Tomsk_720p_5x4_grid.avif",
1725         width: 6400,
1726         height: 2880,
1727         depth: 8,
1728         yuv_format: PixelFormat::Yuv420,
1729         alpha_present: false,
1730         yuv_range: YuvRange::Limited,
1731         color_primaries: 1,
1732         transfer_characteristics: 13,
1733         matrix_coefficients: 6,
1734         color_obu_size: 1963366,
1735         alpha_obu_size: 0,
1736     },
1737     // index: 103
1738     ExpectedImageInfo {
1739         filename: "Microsoft/Tomsk_with_thumbnails.avif",
1740         width: 1280,
1741         height: 720,
1742         depth: 8,
1743         yuv_format: PixelFormat::Yuv420,
1744         alpha_present: false,
1745         yuv_range: YuvRange::Limited,
1746         color_primaries: 1,
1747         transfer_characteristics: 13,
1748         matrix_coefficients: 1,
1749         color_obu_size: 7618,
1750         alpha_obu_size: 0,
1751     },
1752     // index: 104
1753     ExpectedImageInfo {
1754         filename: "Microsoft/bbb_4k.avif",
1755         width: 3840,
1756         height: 2160,
1757         depth: 8,
1758         yuv_format: PixelFormat::Yuv420,
1759         alpha_present: false,
1760         yuv_range: YuvRange::Full,
1761         color_primaries: 2,
1762         transfer_characteristics: 2,
1763         matrix_coefficients: 2,
1764         color_obu_size: 30980,
1765         alpha_obu_size: 0,
1766     },
1767     // index: 105
1768     ExpectedImageInfo {
1769         filename: "Microsoft/bbb_alpha_inverted.avif",
1770         width: 3840,
1771         height: 2160,
1772         depth: 8,
1773         yuv_format: PixelFormat::Yuv420,
1774         alpha_present: true,
1775         yuv_range: YuvRange::Limited,
1776         color_primaries: 1,
1777         transfer_characteristics: 13,
1778         matrix_coefficients: 1,
1779         color_obu_size: 4508,
1780         alpha_obu_size: 3202,
1781     },
1782     // index: 106
1783     ExpectedImageInfo {
1784         filename: "Microsoft/kids_720p.avif",
1785         width: 1280,
1786         height: 720,
1787         depth: 8,
1788         yuv_format: PixelFormat::Yuv420,
1789         alpha_present: false,
1790         yuv_range: YuvRange::Full,
1791         color_primaries: 2,
1792         transfer_characteristics: 2,
1793         matrix_coefficients: 2,
1794         color_obu_size: 57105,
1795         alpha_obu_size: 0,
1796     },
1797     // index: 107
1798     ExpectedImageInfo {
1799         filename: "Microsoft/reduced_still_picture_header.avif",
1800         width: 1280,
1801         height: 720,
1802         depth: 8,
1803         yuv_format: PixelFormat::Yuv420,
1804         alpha_present: false,
1805         yuv_range: YuvRange::Limited,
1806         color_primaries: 1,
1807         transfer_characteristics: 13,
1808         matrix_coefficients: 1,
1809         color_obu_size: 7618,
1810         alpha_obu_size: 0,
1811     },
1812     // index: 108
1813     ExpectedImageInfo {
1814         filename: "Microsoft/still_picture.avif",
1815         width: 1280,
1816         height: 720,
1817         depth: 8,
1818         yuv_format: PixelFormat::Yuv420,
1819         alpha_present: false,
1820         yuv_range: YuvRange::Limited,
1821         color_primaries: 1,
1822         transfer_characteristics: 13,
1823         matrix_coefficients: 1,
1824         color_obu_size: 7624,
1825         alpha_obu_size: 0,
1826     },
1827     // index: 109
1828     ExpectedImageInfo {
1829         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-0_lossless.avif",
1830         width: 2048,
1831         height: 858,
1832         depth: 10,
1833         yuv_format: PixelFormat::Yuv444,
1834         alpha_present: false,
1835         yuv_range: YuvRange::Full,
1836         color_primaries: 9,
1837         transfer_characteristics: 16,
1838         matrix_coefficients: 0,
1839         color_obu_size: 2030306,
1840         alpha_obu_size: 0,
1841     },
1842     // index: 110
1843     ExpectedImageInfo {
1844         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-9_yuv420_limited_qp10.avif",
1845         width: 2048,
1846         height: 858,
1847         depth: 10,
1848         yuv_format: PixelFormat::Yuv420,
1849         alpha_present: false,
1850         yuv_range: YuvRange::Limited,
1851         color_primaries: 9,
1852         transfer_characteristics: 16,
1853         matrix_coefficients: 9,
1854         color_obu_size: 92239,
1855         alpha_obu_size: 0,
1856     },
1857     // index: 111
1858     ExpectedImageInfo {
1859         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-9_yuv420_limited_qp20.avif",
1860         width: 2048,
1861         height: 858,
1862         depth: 10,
1863         yuv_format: PixelFormat::Yuv420,
1864         alpha_present: false,
1865         yuv_range: YuvRange::Limited,
1866         color_primaries: 9,
1867         transfer_characteristics: 16,
1868         matrix_coefficients: 9,
1869         color_obu_size: 32939,
1870         alpha_obu_size: 0,
1871     },
1872     // index: 112
1873     ExpectedImageInfo {
1874         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-9_yuv420_limited_qp40.avif",
1875         width: 2048,
1876         height: 858,
1877         depth: 10,
1878         yuv_format: PixelFormat::Yuv420,
1879         alpha_present: false,
1880         yuv_range: YuvRange::Limited,
1881         color_primaries: 9,
1882         transfer_characteristics: 16,
1883         matrix_coefficients: 9,
1884         color_obu_size: 9547,
1885         alpha_obu_size: 0,
1886     },
1887     // index: 113
1888     ExpectedImageInfo {
1889         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-9_yuv444_full_qp10.avif",
1890         width: 2048,
1891         height: 858,
1892         depth: 10,
1893         yuv_format: PixelFormat::Yuv444,
1894         alpha_present: false,
1895         yuv_range: YuvRange::Full,
1896         color_primaries: 9,
1897         transfer_characteristics: 16,
1898         matrix_coefficients: 9,
1899         color_obu_size: 129471,
1900         alpha_obu_size: 0,
1901     },
1902     // index: 114
1903     ExpectedImageInfo {
1904         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-9_yuv444_full_qp20.avif",
1905         width: 2048,
1906         height: 858,
1907         depth: 10,
1908         yuv_format: PixelFormat::Yuv444,
1909         alpha_present: false,
1910         yuv_range: YuvRange::Full,
1911         color_primaries: 9,
1912         transfer_characteristics: 16,
1913         matrix_coefficients: 9,
1914         color_obu_size: 45646,
1915         alpha_obu_size: 0,
1916     },
1917     // index: 115
1918     ExpectedImageInfo {
1919         filename: "Netflix/avif/hdr_cosmos01000_cicp9-16-9_yuv444_full_qp40.avif",
1920         width: 2048,
1921         height: 858,
1922         depth: 10,
1923         yuv_format: PixelFormat::Yuv444,
1924         alpha_present: false,
1925         yuv_range: YuvRange::Full,
1926         color_primaries: 9,
1927         transfer_characteristics: 16,
1928         matrix_coefficients: 9,
1929         color_obu_size: 12595,
1930         alpha_obu_size: 0,
1931     },
1932     // index: 116
1933     ExpectedImageInfo {
1934         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-0_lossless.avif",
1935         width: 2048,
1936         height: 858,
1937         depth: 10,
1938         yuv_format: PixelFormat::Yuv444,
1939         alpha_present: false,
1940         yuv_range: YuvRange::Full,
1941         color_primaries: 9,
1942         transfer_characteristics: 16,
1943         matrix_coefficients: 0,
1944         color_obu_size: 2865083,
1945         alpha_obu_size: 0,
1946     },
1947     // index: 117
1948     ExpectedImageInfo {
1949         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv420_limited_qp10.avif",
1950         width: 2048,
1951         height: 858,
1952         depth: 10,
1953         yuv_format: PixelFormat::Yuv420,
1954         alpha_present: false,
1955         yuv_range: YuvRange::Limited,
1956         color_primaries: 9,
1957         transfer_characteristics: 16,
1958         matrix_coefficients: 9,
1959         color_obu_size: 260689,
1960         alpha_obu_size: 0,
1961     },
1962     // index: 118
1963     ExpectedImageInfo {
1964         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv420_limited_qp20.avif",
1965         width: 2048,
1966         height: 858,
1967         depth: 10,
1968         yuv_format: PixelFormat::Yuv420,
1969         alpha_present: false,
1970         yuv_range: YuvRange::Limited,
1971         color_primaries: 9,
1972         transfer_characteristics: 16,
1973         matrix_coefficients: 9,
1974         color_obu_size: 130393,
1975         alpha_obu_size: 0,
1976     },
1977     // index: 119
1978     ExpectedImageInfo {
1979         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv420_limited_qp40.avif",
1980         width: 2048,
1981         height: 858,
1982         depth: 10,
1983         yuv_format: PixelFormat::Yuv420,
1984         alpha_present: false,
1985         yuv_range: YuvRange::Limited,
1986         color_primaries: 9,
1987         transfer_characteristics: 16,
1988         matrix_coefficients: 9,
1989         color_obu_size: 29579,
1990         alpha_obu_size: 0,
1991     },
1992     // index: 120
1993     ExpectedImageInfo {
1994         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp10.avif",
1995         width: 2048,
1996         height: 858,
1997         depth: 10,
1998         yuv_format: PixelFormat::Yuv444,
1999         alpha_present: false,
2000         yuv_range: YuvRange::Full,
2001         color_primaries: 9,
2002         transfer_characteristics: 16,
2003         matrix_coefficients: 9,
2004         color_obu_size: 372069,
2005         alpha_obu_size: 0,
2006     },
2007     // index: 121
2008     ExpectedImageInfo {
2009         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp20.avif",
2010         width: 2048,
2011         height: 858,
2012         depth: 10,
2013         yuv_format: PixelFormat::Yuv444,
2014         alpha_present: false,
2015         yuv_range: YuvRange::Full,
2016         color_primaries: 9,
2017         transfer_characteristics: 16,
2018         matrix_coefficients: 9,
2019         color_obu_size: 173936,
2020         alpha_obu_size: 0,
2021     },
2022     // index: 122
2023     ExpectedImageInfo {
2024         filename: "Netflix/avif/hdr_cosmos01650_cicp9-16-9_yuv444_full_qp40.avif",
2025         width: 2048,
2026         height: 858,
2027         depth: 10,
2028         yuv_format: PixelFormat::Yuv444,
2029         alpha_present: false,
2030         yuv_range: YuvRange::Full,
2031         color_primaries: 9,
2032         transfer_characteristics: 16,
2033         matrix_coefficients: 9,
2034         color_obu_size: 39535,
2035         alpha_obu_size: 0,
2036     },
2037     // index: 123
2038     ExpectedImageInfo {
2039         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-0_lossless.avif",
2040         width: 2048,
2041         height: 858,
2042         depth: 10,
2043         yuv_format: PixelFormat::Yuv444,
2044         alpha_present: false,
2045         yuv_range: YuvRange::Full,
2046         color_primaries: 9,
2047         transfer_characteristics: 16,
2048         matrix_coefficients: 0,
2049         color_obu_size: 2164296,
2050         alpha_obu_size: 0,
2051     },
2052     // index: 124
2053     ExpectedImageInfo {
2054         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-9_yuv420_limited_qp10.avif",
2055         width: 2048,
2056         height: 858,
2057         depth: 10,
2058         yuv_format: PixelFormat::Yuv420,
2059         alpha_present: false,
2060         yuv_range: YuvRange::Limited,
2061         color_primaries: 9,
2062         transfer_characteristics: 16,
2063         matrix_coefficients: 9,
2064         color_obu_size: 124229,
2065         alpha_obu_size: 0,
2066     },
2067     // index: 125
2068     ExpectedImageInfo {
2069         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-9_yuv420_limited_qp20.avif",
2070         width: 2048,
2071         height: 858,
2072         depth: 10,
2073         yuv_format: PixelFormat::Yuv420,
2074         alpha_present: false,
2075         yuv_range: YuvRange::Limited,
2076         color_primaries: 9,
2077         transfer_characteristics: 16,
2078         matrix_coefficients: 9,
2079         color_obu_size: 40359,
2080         alpha_obu_size: 0,
2081     },
2082     // index: 126
2083     ExpectedImageInfo {
2084         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-9_yuv420_limited_qp40.avif",
2085         width: 2048,
2086         height: 858,
2087         depth: 10,
2088         yuv_format: PixelFormat::Yuv420,
2089         alpha_present: false,
2090         yuv_range: YuvRange::Limited,
2091         color_primaries: 9,
2092         transfer_characteristics: 16,
2093         matrix_coefficients: 9,
2094         color_obu_size: 7874,
2095         alpha_obu_size: 0,
2096     },
2097     // index: 127
2098     ExpectedImageInfo {
2099         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-9_yuv444_full_qp10.avif",
2100         width: 2048,
2101         height: 858,
2102         depth: 10,
2103         yuv_format: PixelFormat::Yuv444,
2104         alpha_present: false,
2105         yuv_range: YuvRange::Full,
2106         color_primaries: 9,
2107         transfer_characteristics: 16,
2108         matrix_coefficients: 9,
2109         color_obu_size: 204393,
2110         alpha_obu_size: 0,
2111     },
2112     // index: 128
2113     ExpectedImageInfo {
2114         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-9_yuv444_full_qp20.avif",
2115         width: 2048,
2116         height: 858,
2117         depth: 10,
2118         yuv_format: PixelFormat::Yuv444,
2119         alpha_present: false,
2120         yuv_range: YuvRange::Full,
2121         color_primaries: 9,
2122         transfer_characteristics: 16,
2123         matrix_coefficients: 9,
2124         color_obu_size: 61973,
2125         alpha_obu_size: 0,
2126     },
2127     // index: 129
2128     ExpectedImageInfo {
2129         filename: "Netflix/avif/hdr_cosmos07296_cicp9-16-9_yuv444_full_qp40.avif",
2130         width: 2048,
2131         height: 858,
2132         depth: 10,
2133         yuv_format: PixelFormat::Yuv444,
2134         alpha_present: false,
2135         yuv_range: YuvRange::Full,
2136         color_primaries: 9,
2137         transfer_characteristics: 16,
2138         matrix_coefficients: 9,
2139         color_obu_size: 11224,
2140         alpha_obu_size: 0,
2141     },
2142     // index: 130
2143     ExpectedImageInfo {
2144         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-0_lossless.avif",
2145         width: 2048,
2146         height: 858,
2147         depth: 10,
2148         yuv_format: PixelFormat::Yuv444,
2149         alpha_present: false,
2150         yuv_range: YuvRange::Full,
2151         color_primaries: 9,
2152         transfer_characteristics: 16,
2153         matrix_coefficients: 0,
2154         color_obu_size: 3055111,
2155         alpha_obu_size: 0,
2156     },
2157     // index: 131
2158     ExpectedImageInfo {
2159         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-9_yuv420_limited_qp10.avif",
2160         width: 2048,
2161         height: 858,
2162         depth: 10,
2163         yuv_format: PixelFormat::Yuv420,
2164         alpha_present: false,
2165         yuv_range: YuvRange::Limited,
2166         color_primaries: 9,
2167         transfer_characteristics: 16,
2168         matrix_coefficients: 9,
2169         color_obu_size: 95933,
2170         alpha_obu_size: 0,
2171     },
2172     // index: 132
2173     ExpectedImageInfo {
2174         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-9_yuv420_limited_qp20.avif",
2175         width: 2048,
2176         height: 858,
2177         depth: 10,
2178         yuv_format: PixelFormat::Yuv420,
2179         alpha_present: false,
2180         yuv_range: YuvRange::Limited,
2181         color_primaries: 9,
2182         transfer_characteristics: 16,
2183         matrix_coefficients: 9,
2184         color_obu_size: 47119,
2185         alpha_obu_size: 0,
2186     },
2187     // index: 133
2188     ExpectedImageInfo {
2189         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-9_yuv420_limited_qp40.avif",
2190         width: 2048,
2191         height: 858,
2192         depth: 10,
2193         yuv_format: PixelFormat::Yuv420,
2194         alpha_present: false,
2195         yuv_range: YuvRange::Limited,
2196         color_primaries: 9,
2197         transfer_characteristics: 16,
2198         matrix_coefficients: 9,
2199         color_obu_size: 16529,
2200         alpha_obu_size: 0,
2201     },
2202     // index: 134
2203     ExpectedImageInfo {
2204         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-9_yuv444_full_qp10.avif",
2205         width: 2048,
2206         height: 858,
2207         depth: 10,
2208         yuv_format: PixelFormat::Yuv444,
2209         alpha_present: false,
2210         yuv_range: YuvRange::Full,
2211         color_primaries: 9,
2212         transfer_characteristics: 16,
2213         matrix_coefficients: 9,
2214         color_obu_size: 143650,
2215         alpha_obu_size: 0,
2216     },
2217     // index: 135
2218     ExpectedImageInfo {
2219         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-9_yuv444_full_qp20.avif",
2220         width: 2048,
2221         height: 858,
2222         depth: 10,
2223         yuv_format: PixelFormat::Yuv444,
2224         alpha_present: false,
2225         yuv_range: YuvRange::Full,
2226         color_primaries: 9,
2227         transfer_characteristics: 16,
2228         matrix_coefficients: 9,
2229         color_obu_size: 66240,
2230         alpha_obu_size: 0,
2231     },
2232     // index: 136
2233     ExpectedImageInfo {
2234         filename: "Netflix/avif/hdr_cosmos12920_cicp9-16-9_yuv444_full_qp40.avif",
2235         width: 2048,
2236         height: 858,
2237         depth: 10,
2238         yuv_format: PixelFormat::Yuv444,
2239         alpha_present: false,
2240         yuv_range: YuvRange::Full,
2241         color_primaries: 9,
2242         transfer_characteristics: 16,
2243         matrix_coefficients: 9,
2244         color_obu_size: 23455,
2245         alpha_obu_size: 0,
2246     },
2247     // index: 137
2248     ExpectedImageInfo {
2249         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-0_lossless.avif",
2250         width: 2048,
2251         height: 858,
2252         depth: 8,
2253         yuv_format: PixelFormat::Yuv444,
2254         alpha_present: false,
2255         yuv_range: YuvRange::Full,
2256         color_primaries: 1,
2257         transfer_characteristics: 13,
2258         matrix_coefficients: 0,
2259         color_obu_size: 1323382,
2260         alpha_obu_size: 0,
2261     },
2262     // index: 138
2263     ExpectedImageInfo {
2264         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-6_yuv420_limited_qp10.avif",
2265         width: 2048,
2266         height: 858,
2267         depth: 8,
2268         yuv_format: PixelFormat::Yuv420,
2269         alpha_present: false,
2270         yuv_range: YuvRange::Limited,
2271         color_primaries: 1,
2272         transfer_characteristics: 13,
2273         matrix_coefficients: 6,
2274         color_obu_size: 91887,
2275         alpha_obu_size: 0,
2276     },
2277     // index: 139
2278     ExpectedImageInfo {
2279         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-6_yuv420_limited_qp20.avif",
2280         width: 2048,
2281         height: 858,
2282         depth: 8,
2283         yuv_format: PixelFormat::Yuv420,
2284         alpha_present: false,
2285         yuv_range: YuvRange::Limited,
2286         color_primaries: 1,
2287         transfer_characteristics: 13,
2288         matrix_coefficients: 6,
2289         color_obu_size: 44338,
2290         alpha_obu_size: 0,
2291     },
2292     // index: 140
2293     ExpectedImageInfo {
2294         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-6_yuv420_limited_qp40.avif",
2295         width: 2048,
2296         height: 858,
2297         depth: 8,
2298         yuv_format: PixelFormat::Yuv420,
2299         alpha_present: false,
2300         yuv_range: YuvRange::Limited,
2301         color_primaries: 1,
2302         transfer_characteristics: 13,
2303         matrix_coefficients: 6,
2304         color_obu_size: 12204,
2305         alpha_obu_size: 0,
2306     },
2307     // index: 141
2308     ExpectedImageInfo {
2309         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-6_yuv444_full_qp10.avif",
2310         width: 2048,
2311         height: 858,
2312         depth: 8,
2313         yuv_format: PixelFormat::Yuv444,
2314         alpha_present: false,
2315         yuv_range: YuvRange::Full,
2316         color_primaries: 1,
2317         transfer_characteristics: 13,
2318         matrix_coefficients: 6,
2319         color_obu_size: 129688,
2320         alpha_obu_size: 0,
2321     },
2322     // index: 142
2323     ExpectedImageInfo {
2324         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-6_yuv444_full_qp20.avif",
2325         width: 2048,
2326         height: 858,
2327         depth: 8,
2328         yuv_format: PixelFormat::Yuv444,
2329         alpha_present: false,
2330         yuv_range: YuvRange::Full,
2331         color_primaries: 1,
2332         transfer_characteristics: 13,
2333         matrix_coefficients: 6,
2334         color_obu_size: 61926,
2335         alpha_obu_size: 0,
2336     },
2337     // index: 143
2338     ExpectedImageInfo {
2339         filename: "Netflix/avif/sdr_cosmos01000_cicp1-13-6_yuv444_full_qp40.avif",
2340         width: 2048,
2341         height: 858,
2342         depth: 8,
2343         yuv_format: PixelFormat::Yuv444,
2344         alpha_present: false,
2345         yuv_range: YuvRange::Full,
2346         color_primaries: 1,
2347         transfer_characteristics: 13,
2348         matrix_coefficients: 6,
2349         color_obu_size: 16744,
2350         alpha_obu_size: 0,
2351     },
2352     // index: 144
2353     ExpectedImageInfo {
2354         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-0_lossless.avif",
2355         width: 2048,
2356         height: 858,
2357         depth: 8,
2358         yuv_format: PixelFormat::Yuv444,
2359         alpha_present: false,
2360         yuv_range: YuvRange::Full,
2361         color_primaries: 1,
2362         transfer_characteristics: 13,
2363         matrix_coefficients: 0,
2364         color_obu_size: 1734421,
2365         alpha_obu_size: 0,
2366     },
2367     // index: 145
2368     ExpectedImageInfo {
2369         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv420_limited_qp10.avif",
2370         width: 2048,
2371         height: 858,
2372         depth: 8,
2373         yuv_format: PixelFormat::Yuv420,
2374         alpha_present: false,
2375         yuv_range: YuvRange::Limited,
2376         color_primaries: 1,
2377         transfer_characteristics: 13,
2378         matrix_coefficients: 6,
2379         color_obu_size: 246525,
2380         alpha_obu_size: 0,
2381     },
2382     // index: 146
2383     ExpectedImageInfo {
2384         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv420_limited_qp20.avif",
2385         width: 2048,
2386         height: 858,
2387         depth: 8,
2388         yuv_format: PixelFormat::Yuv420,
2389         alpha_present: false,
2390         yuv_range: YuvRange::Limited,
2391         color_primaries: 1,
2392         transfer_characteristics: 13,
2393         matrix_coefficients: 6,
2394         color_obu_size: 128922,
2395         alpha_obu_size: 0,
2396     },
2397     // index: 147
2398     ExpectedImageInfo {
2399         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv420_limited_qp40.avif",
2400         width: 2048,
2401         height: 858,
2402         depth: 8,
2403         yuv_format: PixelFormat::Yuv420,
2404         alpha_present: false,
2405         yuv_range: YuvRange::Limited,
2406         color_primaries: 1,
2407         transfer_characteristics: 13,
2408         matrix_coefficients: 6,
2409         color_obu_size: 39209,
2410         alpha_obu_size: 0,
2411     },
2412     // index: 148
2413     ExpectedImageInfo {
2414         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv444_full_qp10.avif",
2415         width: 2048,
2416         height: 858,
2417         depth: 8,
2418         yuv_format: PixelFormat::Yuv444,
2419         alpha_present: false,
2420         yuv_range: YuvRange::Full,
2421         color_primaries: 1,
2422         transfer_characteristics: 13,
2423         matrix_coefficients: 6,
2424         color_obu_size: 370809,
2425         alpha_obu_size: 0,
2426     },
2427     // index: 149
2428     ExpectedImageInfo {
2429         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv444_full_qp20.avif",
2430         width: 2048,
2431         height: 858,
2432         depth: 8,
2433         yuv_format: PixelFormat::Yuv444,
2434         alpha_present: false,
2435         yuv_range: YuvRange::Full,
2436         color_primaries: 1,
2437         transfer_characteristics: 13,
2438         matrix_coefficients: 6,
2439         color_obu_size: 187912,
2440         alpha_obu_size: 0,
2441     },
2442     // index: 150
2443     ExpectedImageInfo {
2444         filename: "Netflix/avif/sdr_cosmos01650_cicp1-13-6_yuv444_full_qp40.avif",
2445         width: 2048,
2446         height: 858,
2447         depth: 8,
2448         yuv_format: PixelFormat::Yuv444,
2449         alpha_present: false,
2450         yuv_range: YuvRange::Full,
2451         color_primaries: 1,
2452         transfer_characteristics: 13,
2453         matrix_coefficients: 6,
2454         color_obu_size: 53041,
2455         alpha_obu_size: 0,
2456     },
2457     // index: 151
2458     ExpectedImageInfo {
2459         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-0_lossless.avif",
2460         width: 2048,
2461         height: 858,
2462         depth: 8,
2463         yuv_format: PixelFormat::Yuv444,
2464         alpha_present: false,
2465         yuv_range: YuvRange::Full,
2466         color_primaries: 1,
2467         transfer_characteristics: 13,
2468         matrix_coefficients: 0,
2469         color_obu_size: 1389248,
2470         alpha_obu_size: 0,
2471     },
2472     // index: 152
2473     ExpectedImageInfo {
2474         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-6_yuv420_limited_qp10.avif",
2475         width: 2048,
2476         height: 858,
2477         depth: 8,
2478         yuv_format: PixelFormat::Yuv420,
2479         alpha_present: false,
2480         yuv_range: YuvRange::Limited,
2481         color_primaries: 1,
2482         transfer_characteristics: 13,
2483         matrix_coefficients: 6,
2484         color_obu_size: 131503,
2485         alpha_obu_size: 0,
2486     },
2487     // index: 153
2488     ExpectedImageInfo {
2489         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-6_yuv420_limited_qp20.avif",
2490         width: 2048,
2491         height: 858,
2492         depth: 8,
2493         yuv_format: PixelFormat::Yuv420,
2494         alpha_present: false,
2495         yuv_range: YuvRange::Limited,
2496         color_primaries: 1,
2497         transfer_characteristics: 13,
2498         matrix_coefficients: 6,
2499         color_obu_size: 62338,
2500         alpha_obu_size: 0,
2501     },
2502     // index: 154
2503     ExpectedImageInfo {
2504         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-6_yuv420_limited_qp40.avif",
2505         width: 2048,
2506         height: 858,
2507         depth: 8,
2508         yuv_format: PixelFormat::Yuv420,
2509         alpha_present: false,
2510         yuv_range: YuvRange::Limited,
2511         color_primaries: 1,
2512         transfer_characteristics: 13,
2513         matrix_coefficients: 6,
2514         color_obu_size: 15027,
2515         alpha_obu_size: 0,
2516     },
2517     // index: 155
2518     ExpectedImageInfo {
2519         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-6_yuv444_full_qp10.avif",
2520         width: 2048,
2521         height: 858,
2522         depth: 8,
2523         yuv_format: PixelFormat::Yuv444,
2524         alpha_present: false,
2525         yuv_range: YuvRange::Full,
2526         color_primaries: 1,
2527         transfer_characteristics: 13,
2528         matrix_coefficients: 6,
2529         color_obu_size: 282438,
2530         alpha_obu_size: 0,
2531     },
2532     // index: 156
2533     ExpectedImageInfo {
2534         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-6_yuv444_full_qp20.avif",
2535         width: 2048,
2536         height: 858,
2537         depth: 8,
2538         yuv_format: PixelFormat::Yuv444,
2539         alpha_present: false,
2540         yuv_range: YuvRange::Full,
2541         color_primaries: 1,
2542         transfer_characteristics: 13,
2543         matrix_coefficients: 6,
2544         color_obu_size: 134294,
2545         alpha_obu_size: 0,
2546     },
2547     // index: 157
2548     ExpectedImageInfo {
2549         filename: "Netflix/avif/sdr_cosmos07296_cicp1-13-6_yuv444_full_qp40.avif",
2550         width: 2048,
2551         height: 858,
2552         depth: 8,
2553         yuv_format: PixelFormat::Yuv444,
2554         alpha_present: false,
2555         yuv_range: YuvRange::Full,
2556         color_primaries: 1,
2557         transfer_characteristics: 13,
2558         matrix_coefficients: 6,
2559         color_obu_size: 24570,
2560         alpha_obu_size: 0,
2561     },
2562     // index: 158
2563     ExpectedImageInfo {
2564         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-0_lossless.avif",
2565         width: 2048,
2566         height: 858,
2567         depth: 8,
2568         yuv_format: PixelFormat::Yuv444,
2569         alpha_present: false,
2570         yuv_range: YuvRange::Full,
2571         color_primaries: 1,
2572         transfer_characteristics: 13,
2573         matrix_coefficients: 0,
2574         color_obu_size: 2061853,
2575         alpha_obu_size: 0,
2576     },
2577     // index: 159
2578     ExpectedImageInfo {
2579         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-6_yuv420_limited_qp10.avif",
2580         width: 2048,
2581         height: 858,
2582         depth: 8,
2583         yuv_format: PixelFormat::Yuv420,
2584         alpha_present: false,
2585         yuv_range: YuvRange::Limited,
2586         color_primaries: 1,
2587         transfer_characteristics: 13,
2588         matrix_coefficients: 6,
2589         color_obu_size: 153575,
2590         alpha_obu_size: 0,
2591     },
2592     // index: 160
2593     ExpectedImageInfo {
2594         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-6_yuv420_limited_qp20.avif",
2595         width: 2048,
2596         height: 858,
2597         depth: 8,
2598         yuv_format: PixelFormat::Yuv420,
2599         alpha_present: false,
2600         yuv_range: YuvRange::Limited,
2601         color_primaries: 1,
2602         transfer_characteristics: 13,
2603         matrix_coefficients: 6,
2604         color_obu_size: 75234,
2605         alpha_obu_size: 0,
2606     },
2607     // index: 161
2608     ExpectedImageInfo {
2609         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-6_yuv420_limited_qp40.avif",
2610         width: 2048,
2611         height: 858,
2612         depth: 8,
2613         yuv_format: PixelFormat::Yuv420,
2614         alpha_present: false,
2615         yuv_range: YuvRange::Limited,
2616         color_primaries: 1,
2617         transfer_characteristics: 13,
2618         matrix_coefficients: 6,
2619         color_obu_size: 27418,
2620         alpha_obu_size: 0,
2621     },
2622     // index: 162
2623     ExpectedImageInfo {
2624         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-6_yuv444_full_qp10.avif",
2625         width: 2048,
2626         height: 858,
2627         depth: 8,
2628         yuv_format: PixelFormat::Yuv444,
2629         alpha_present: false,
2630         yuv_range: YuvRange::Full,
2631         color_primaries: 1,
2632         transfer_characteristics: 13,
2633         matrix_coefficients: 6,
2634         color_obu_size: 285667,
2635         alpha_obu_size: 0,
2636     },
2637     // index: 163
2638     ExpectedImageInfo {
2639         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-6_yuv444_full_qp20.avif",
2640         width: 2048,
2641         height: 858,
2642         depth: 8,
2643         yuv_format: PixelFormat::Yuv444,
2644         alpha_present: false,
2645         yuv_range: YuvRange::Full,
2646         color_primaries: 1,
2647         transfer_characteristics: 13,
2648         matrix_coefficients: 6,
2649         color_obu_size: 119878,
2650         alpha_obu_size: 0,
2651     },
2652     // index: 164
2653     ExpectedImageInfo {
2654         filename: "Netflix/avif/sdr_cosmos12920_cicp1-13-6_yuv444_full_qp40.avif",
2655         width: 2048,
2656         height: 858,
2657         depth: 8,
2658         yuv_format: PixelFormat::Yuv444,
2659         alpha_present: false,
2660         yuv_range: YuvRange::Full,
2661         color_primaries: 1,
2662         transfer_characteristics: 13,
2663         matrix_coefficients: 6,
2664         color_obu_size: 41906,
2665         alpha_obu_size: 0,
2666     },
2667     // index: 165
2668     ExpectedImageInfo {
2669         filename: "Netflix/avis/Chimera-AV1-10bit-480x270.avif",
2670         width: 480,
2671         height: 270,
2672         depth: 10,
2673         yuv_format: PixelFormat::Yuv420,
2674         alpha_present: false,
2675         yuv_range: YuvRange::Limited,
2676         color_primaries: 2,
2677         transfer_characteristics: 2,
2678         matrix_coefficients: 2,
2679         color_obu_size: 142540,
2680         alpha_obu_size: 0,
2681     },
2682     // index: 166
2683     ExpectedImageInfo {
2684         filename: "Netflix/avis/alpha_video.avif",
2685         width: 640,
2686         height: 480,
2687         depth: 8,
2688         yuv_format: PixelFormat::Yuv420,
2689         alpha_present: true,
2690         yuv_range: YuvRange::Limited,
2691         color_primaries: 1,
2692         transfer_characteristics: 13,
2693         matrix_coefficients: 1,
2694         color_obu_size: 3487,
2695         alpha_obu_size: 4642,
2696     },
2697     // index: 167
2698     ExpectedImageInfo {
2699         filename: "Xiph/abandoned_filmgrain.avif",
2700         width: 1404,
2701         height: 936,
2702         depth: 8,
2703         yuv_format: PixelFormat::Yuv420,
2704         alpha_present: false,
2705         yuv_range: YuvRange::Limited,
2706         color_primaries: 1,
2707         transfer_characteristics: 13,
2708         matrix_coefficients: 1,
2709         color_obu_size: 141119,
2710         alpha_obu_size: 0,
2711     },
2712     // index: 168
2713     ExpectedImageInfo {
2714         filename: "Xiph/fruits_2layer_thumbsize.avif",
2715         width: 1296,
2716         height: 864,
2717         depth: 8,
2718         yuv_format: PixelFormat::Yuv420,
2719         alpha_present: false,
2720         yuv_range: YuvRange::Limited,
2721         color_primaries: 1,
2722         transfer_characteristics: 13,
2723         matrix_coefficients: 1,
2724         color_obu_size: 35097,
2725         alpha_obu_size: 0,
2726     },
2727     // index: 169
2728     ExpectedImageInfo {
2729         filename: "Xiph/quebec_3layer_op2.avif",
2730         width: 360,
2731         height: 182,
2732         depth: 8,
2733         yuv_format: PixelFormat::Yuv420,
2734         alpha_present: false,
2735         yuv_range: YuvRange::Limited,
2736         color_primaries: 1,
2737         transfer_characteristics: 13,
2738         matrix_coefficients: 1,
2739         color_obu_size: 86246,
2740         alpha_obu_size: 0,
2741     },
2742     // index: 170
2743     ExpectedImageInfo {
2744         filename: "Xiph/tiger_3layer_1res.avif",
2745         width: 1216,
2746         height: 832,
2747         depth: 8,
2748         yuv_format: PixelFormat::Yuv420,
2749         alpha_present: false,
2750         yuv_range: YuvRange::Limited,
2751         color_primaries: 1,
2752         transfer_characteristics: 13,
2753         matrix_coefficients: 1,
2754         color_obu_size: 70551,
2755         alpha_obu_size: 0,
2756     },
2757     // index: 171
2758     ExpectedImageInfo {
2759         filename: "Xiph/tiger_3layer_3res.avif",
2760         width: 1216,
2761         height: 832,
2762         depth: 8,
2763         yuv_format: PixelFormat::Yuv420,
2764         alpha_present: false,
2765         yuv_range: YuvRange::Limited,
2766         color_primaries: 1,
2767         transfer_characteristics: 13,
2768         matrix_coefficients: 1,
2769         color_obu_size: 64582,
2770         alpha_obu_size: 0,
2771     },
2772 ];
2773