Debian Codegraph @

src/consts.rs

raw symbols SCIP
1 pub const QOI_OP_INDEXrust-analyzer cargo qoi 0.4.1 consts/QOI_OP_INDEX.: u8 = 0x00; // 00xxxxxx
2 pub const QOI_OP_DIFFrust-analyzer cargo qoi 0.4.1 consts/QOI_OP_DIFF.: u8 = 0x40; // 01xxxxxx
3 pub const QOI_OP_LUMArust-analyzer cargo qoi 0.4.1 consts/QOI_OP_LUMA.: u8 = 0x80; // 10xxxxxx
4 pub const QOI_OP_RUNrust-analyzer cargo qoi 0.4.1 consts/QOI_OP_RUN.: u8 = 0xc0; // 11xxxxxx
5 pub const QOI_OP_RGBrust-analyzer cargo qoi 0.4.1 consts/QOI_OP_RGB.: u8 = 0xfe; // 11111110
6 pub const QOI_OP_RGBArust-analyzer cargo qoi 0.4.1 consts/QOI_OP_RGBA.: u8 = 0xff; // 11111111
7
8 pub const QOI_MASK_2rust-analyzer cargo qoi 0.4.1 consts/QOI_MASK_2.: u8 = 0xc0; // (11)000000
9
10 pub const QOI_HEADER_SIZErust-analyzer cargo qoi 0.4.1 consts/QOI_HEADER_SIZE.: usize = 14;
11
12 pub const QOI_PADDINGrust-analyzer cargo qoi 0.4.1 consts/QOI_PADDING.: [u8; 8] = [0, 0, 0, 0, 0, 0, 0, 0x01]; // 7 zeros and one 0x01 marker
13 pub const QOI_PADDING_SIZErust-analyzer cargo qoi 0.4.1 consts/QOI_PADDING_SIZE.: usize = 8;
14
15 pub const QOI_MAGICrust-analyzer cargo qoi 0.4.1 consts/QOI_MAGIC.: u32 = u32::from_be_bytesrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u32]from_be_bytes().(*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&T`][Deref]deref().b"qoif");
16
17 pub const QOI_PIXELS_MAXrust-analyzer cargo qoi 0.4.1 consts/QOI_PIXELS_MAX.: usize = 400_000_000;