ptwm_core::transforms::terminal
ptwm_core::transforms::terminal
Terminal op — graph leaf node that consumes one plane and feeds a codec.
ptwm_core::transforms::terminal
crates/ptwm-core/src/transforms/terminal.rs:1mod terminal`Terminal` op — graph leaf node that consumes one plane and feeds a codec.
ptwm_core::transforms::terminal::read_terminal_params
crates/ptwm-core/src/transforms/terminal.rs:50pub fn read_terminal_params(buf: &[u8]) -> Result<(Terminal, usize), PtwmCoreError>Parse `Terminal` params from a raw byte buffer. Returns `(Terminal, bytes_consumed)`.
ptwm_core::transforms::terminal::Terminal
crates/ptwm-core/src/transforms/terminal.rs:11pub struct Terminal`Terminal` is the mandatory leaf node of every PPG chain. It consumes exactly one plane (which flows to the codec) and produces no output planes. The `role` stored on this node is the authoritative codec-dispatch key.
spherical_normalize
SphericalNormalize — per-row (radius, direction) reparameterization with an exact XOR residual. Lossless by construction (the inverse reconstructs the prediction from the stored radius/direction and XORs the residual back, so float-op inaccuracy only affects residual size, never correctness).
trust
PTWM trust system: Ed25519 signatures, bundled-then-pinned keyring, org-trust-manifest delegation, and the Verifier that decides whether an ExtensionTableEntry is trusted.