suica/jxl/modular does not have a README file
pub struct FlatMaTree {
// private fields
}fn FlatMaTree::decode_sample(self : FlatMaTree, bs : Bitstream, decoder : Decoder, properties : PredictorState, dist_multiplier : Int) -> (Int, Predictor) raise JxlErrorpub struct MaConfig {
// private fields
}fn MaConfig::make_flat_tree(self : MaConfig, channel : Int, stream_idx : Int, prev_channels : Int) -> FlatMaTreepub struct Modular {
// private fields
}pub struct ModularChannelInfo {
width : Int
height : Int
original_width : Int
original_height : Int
hshift : Int
vshift : Int
original_shift : ChannelShift
} derive(Debug)fn ModularChannelParams::jpeg(width : Int, height : Int, jpeg_upsampling : FixedArray[Int], idx : Int) -> ModularChannelParamsfn ModularChannelParams::with_shift(width : Int, height : Int, shift : ChannelShift) -> ModularChannelParamspub(all) struct ModularHeader {
use_global_tree : Bool
wp_params : WpHeader
nb_transforms : Int
transform : Array[TransformInfo]
} derive(Debug)pub struct ModularImageDestination {
// private fields
}fn ModularImageDestination::into_image_channels_with_info(self : ModularImageDestination) -> Array[(Grid[Int], ModularChannelInfo)]fn ModularImageDestination::prepare_gmodular(self : ModularImageDestination) -> TransformedModularSubimage raise JxlErrorfn ModularImageDestination::prepare_groups(self : ModularImageDestination, pass_shifts : SortedMap[Int, (Int, Int)]) -> TransformedGlobalModular raise JxlErrorfn ModularImageDestination::prepare_subimage(self : ModularImageDestination) -> TransformedModularSubimage raise JxlErrorpub(all) struct ModularParams {
group_dim : Int
bit_depth : Int
channels : Array[ModularChannelParams]
ma_config : MaConfig?
tracker : AllocTracker?
narrow_buffer : Bool
}fn ModularParams::new(width : Int, height : Int, group_dim : Int, bit_depth : Int, channel_shifts : Array[ChannelShift], ma_config : MaConfig?, tracker : AllocTracker?) -> ModularParamsfn ModularParams::with_channels(group_dim : Int, bit_depth : Int, channels : Array[ModularChannelParams], ma_config : MaConfig?, tracker : AllocTracker?) -> ModularParamspub struct PredictorState {
// private fields
}fn PredictorState::reset(self : PredictorState, width : Int, prev_channels_rev : ArrayView[SubGrid[Int]], wp_header : WpHeader?) -> Unitpub struct RecursiveModularImage {
// private fields
}fn RecursiveModularImage::prepare_subimage(self : RecursiveModularImage) -> TransformedModularSubimage raise JxlErrorpub(all) struct SqueezeParams {
horizontal : Bool
in_place : Bool
begin_c : Int
num_c : Int
} derive(Debug)pub(all) struct TransformedGlobalModular {
lf_groups : Array[TransformedModularSubimage]
pass_groups : Array[Array[TransformedModularSubimage]]
}pub struct TransformedGrid {
// private fields
}pub struct TransformedModularSubimage {
// private fields
}fn TransformedModularSubimage::decode(self : TransformedModularSubimage, bs : Bitstream, stream_index : Int, allow_partial : Bool) -> Unit raise JxlErrorfn TransformedModularSubimage::recursive(self : TransformedModularSubimage, bs : Bitstream, global_ma_config : MaConfig?, tracker : AllocTracker?) -> RecursiveModularImage raise JxlError