suica/jxl/vardct does not have a README file
pub(all) enum BlockInfo {
Uninit
Occupied
Data(dct_select~ : TransformType, hf_mul~ : Int)
} derive(Eq, Debug)pub struct DequantMatrixSet {
// private fields
}fn DequantMatrixSet::get(self : DequantMatrixSet, channel : Int, dct_select : TransformType) -> FixedArray[Float]fn DequantMatrixSet::get_transposed(self : DequantMatrixSet, channel : Int, dct_select : TransformType) -> FixedArray[Float]fn DequantMatrixSet::parse(bitstream : Bitstream, params : DequantMatrixSetParams) -> DequantMatrixSet raise JxlErrorpub struct DequantMatrixSetParams {
// private fields
}fn DequantMatrixSetParams::new(bit_depth : Int, num_lf_groups : Int, global_ma_config : MaConfig?, tracker : AllocTracker?) -> DequantMatrixSetParamspub(all) struct HfCoeffParams {
num_hf_presets : Int
hf_block_ctx : HfBlockContext
block_info : SubGrid[BlockInfo]
jpeg_upsampling : FixedArray[Int]
lf_quant : FixedArray[SubGrid[Int]]?
hf_pass : HfPass
coeff_shift : Int
tracker : AllocTracker?
}pub(all) struct HfMetadataParams {
num_lf_groups : Int
lf_group_idx : Int
lf_width : Int
lf_height : Int
jpeg_upsampling : FixedArray[Int]
bits_per_sample : Int
global_ma_config : MaConfig?
epf : (Float, FixedArray[Float])?
quantizer_global_scale : Int
tracker : AllocTracker?
}pub struct HfPass {
// private fields
}pub struct HfPassParams {
// private fields
}pub(all) struct LfChannelCorrelation {
all_default : Bool
colour_factor : Int
base_correlation_x : Float
base_correlation_b : Float
x_factor_lf : Int
b_factor_lf : Int
} derive(Debug)pub(all) struct LfChannelDequantization {
all_default : Bool
m_x_lf : Float
m_y_lf : Float
m_b_lf : Float
} derive(Debug)pub(all) struct LfCoeffParams {
lf_group_idx : Int
lf_width : Int
lf_height : Int
jpeg_upsampling : FixedArray[Int]
bits_per_sample : Int
global_ma_config : MaConfig?
allow_partial : Bool
tracker : AllocTracker?
}let dct8_natural_order : FixedArray[(Int, Int)]fn sec_half(n : Int) -> FixedArray[Float]fn transform_varblock(lf : SubGrid[Float], coeff : SubGrid[Float], shifted_bx : Int, shifted_by : Int, dct_select : TransformType) -> Unitfn varblock_at(block_info : SubGrid[BlockInfo], bx : Int, by : Int, hshift : Int, vshift : Int) -> (Int, Int, TransformType, Int)?fn write_hf_coeff(bitstream : Bitstream, params : HfCoeffParams, hf_coeff_output : FixedArray[SubGrid[Int]]) -> Unit raise JxlError