ps-jxl-vardct 0.13.2
“JPEG XL VarDCT frame representation, part of jxl-oxide: pathscale fork of jxl-oxide.”
Basename is uppercase README.mdRust calls mem::transmute
SHA-256ec498f05176f06dee9e02e5a64a351ceb37c00ad3aa54086649581336456fcee
MaleculeH(Db)Md
Evidence
30:5… Dct256x128,
31 Dct128x256,
32}
33
34impl TryFrom<u8> for TransformType {
35 type Error = jxl_bitstream::Error;
36
37 fn try_from(value: u8) -> jxl_bitst …
39:2… // SAFETY: TransformType is repr(u8) and all value <= Dct128x256 is valid
40 Ok(unsafe { core::mem::transmute::<u8, Self>(value) })
41 } else {
42 Err(jxl_bitstream::Error::InvalidEnum {
43 name: "TransformType",
44 …
46:9… }
47 }
48}
49
50impl TransformType {
51 /// Returns the size of the transform type, in 8x8 blocks.
52 pub fn dct_select_size(self) -> (u32, u32) {
53 use TransformType::*;
54
55 match self {
56 Dct8 | Hornuss | Dct2 | Dct4 | Dct4x8 | Dct8x4 | Afv0 | Afv1 …
1# jxl-vardct
2This crate provides types related to representation of VarDCT frames, such as varblock transform
3types, LF images, dequantization matrices and HF coefficients.
4
5Actual decoding (dequantization and rendering) of such frames is not done in this crate.
No evidence locations were recorded for this file. Raw result