Skip to main content

atmos/os_lib/
h264_golden.rs

1// 自動生成: H.264 baseline CAVLC ゴールデン素材。最後のフレームを検証。
2// バイト列は h264_golden/*.bin に分離し include_bytes! で読み込む
3// (2026-07-16 リファクタ。中身はビット単位で不変、golden_test() が回帰検証)。
4#![allow(dead_code)]
5
6/// FLAT_H264: 43 bytes
7pub static FLAT_H264: [u8; 43] = *include_bytes!("h264_golden/flat_h264.bin");
8
9/// FLAT_YUV: 384 bytes
10pub static FLAT_YUV: [u8; 384] = *include_bytes!("h264_golden/flat_yuv.bin");
11
12/// CLIP_H264: 243 bytes
13pub static CLIP_H264: [u8; 243] = *include_bytes!("h264_golden/clip_h264.bin");
14
15/// CLIP_YUV: 384 bytes
16pub static CLIP_YUV: [u8; 384] = *include_bytes!("h264_golden/clip_yuv.bin");
17
18/// BIG_H264: 3231 bytes
19pub static BIG_H264: [u8; 3231] = *include_bytes!("h264_golden/big_h264.bin");
20
21/// BIG_YUV: 38016 bytes
22pub static BIG_YUV: [u8; 38016] = *include_bytes!("h264_golden/big_yuv.bin");
23
24/// DBCLIP_H264: 243 bytes
25pub static DBCLIP_H264: [u8; 243] = *include_bytes!("h264_golden/dbclip_h264.bin");
26
27/// DBCLIP_YUV: 384 bytes
28pub static DBCLIP_YUV: [u8; 384] = *include_bytes!("h264_golden/dbclip_yuv.bin");
29
30/// DBBIG_H264: 3231 bytes
31pub static DBBIG_H264: [u8; 3231] = *include_bytes!("h264_golden/dbbig_h264.bin");
32
33/// DBBIG_YUV: 38016 bytes
34pub static DBBIG_YUV: [u8; 38016] = *include_bytes!("h264_golden/dbbig_yuv.bin");
35
36/// PSKIP_H264: 3241 bytes
37pub static PSKIP_H264: [u8; 3241] = *include_bytes!("h264_golden/pskip_h264.bin");
38
39/// PSKIP_YUV: 76032 bytes
40pub static PSKIP_YUV: [u8; 76032] = *include_bytes!("h264_golden/pskip_yuv.bin");
41
42/// PINT16_H264: 3685 bytes
43pub static PINT16_H264: [u8; 3685] = *include_bytes!("h264_golden/pint16_h264.bin");
44
45/// PINT16_YUV: 76032 bytes
46pub static PINT16_YUV: [u8; 76032] = *include_bytes!("h264_golden/pint16_yuv.bin");
47
48/// PSUB_H264: 3850 bytes
49pub static PSUB_H264: [u8; 3850] = *include_bytes!("h264_golden/psub_h264.bin");
50
51/// PSUB_YUV: 76032 bytes
52pub static PSUB_YUV: [u8; 76032] = *include_bytes!("h264_golden/psub_yuv.bin");
53
54/// PPART_H264: 3930 bytes
55pub static PPART_H264: [u8; 3930] = *include_bytes!("h264_golden/ppart_h264.bin");
56
57/// PPART_YUV: 76032 bytes
58pub static PPART_YUV: [u8; 76032] = *include_bytes!("h264_golden/ppart_yuv.bin");
59
60/// DBP_H264: 4033 bytes
61pub static DBP_H264: [u8; 4033] = *include_bytes!("h264_golden/dbp_h264.bin");
62
63/// DBP_YUV: 76032 bytes
64pub static DBP_YUV: [u8; 76032] = *include_bytes!("h264_golden/dbp_yuv.bin");