pub struct Parsed3 {Show 21 fields
pub dims: Vec<usize>,
pub d3: [usize; 3],
pub cb: [usize; 3],
pub resctx: bool,
pub e: i32,
pub mean_fix: i32,
pub dl: [u8; 30],
pub corr: i32,
pub preds: Vec<[i32; 6]>,
pub init: Vec<u32>,
pub sh: Shape,
pub blocks: Vec<BandInfo>,
pub block_band: Vec<usize>,
pub block_words: Vec<(usize, usize)>,
pub lanes: usize,
pub block_lanes: Vec<Vec<(usize, usize)>>,
pub tiles: Vec<TileRef>,
pub net: Option<Net32>,
pub ad: AdCfg,
pub header_bytes: usize,
pub dec: Option<Arc<Decoder>>,
}Expand description
A parsed v3 stream.
Fields§
§dims: Vec<usize>Original dims.
d3: [usize; 3]3D dims.
cb: [usize; 3]Code-block extent.
resctx: boolResidual contexts.
e: i32Grid exponent.
mean_fix: i32Mean on the grid.
dl: [u8; 30]Centroids.
corr: i32Correction step.
preds: Vec<[i32; 6]>Predictors per key.
init: Vec<u32>Static model probabilities.
sh: ShapeThe global shape (pyramid + bands with steps).
blocks: Vec<BandInfo>Code-blocks in coding order.
block_band: Vec<usize>Band index of each block.
block_words: Vec<(usize, usize)>Byte range of each block payload.
lanes: usizeLanes per block.
block_lanes: Vec<Vec<(usize, usize)>>Word ranges of each block’s lanes.
tiles: Vec<TileRef>Outlier tiles.
net: Option<Net32>Learned model (None = static priors).
ad: AdCfgAdaptive layer of the learned model.
header_bytes: usizeHeader + index bytes.
dec: Option<Arc<Decoder>>Decoder shipped in the stream (TCS1), replacing the built-in coding path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parsed3
impl RefUnwindSafe for Parsed3
impl Send for Parsed3
impl Sync for Parsed3
impl Unpin for Parsed3
impl UnsafeUnpin for Parsed3
impl UnwindSafe for Parsed3
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more