Skip to main content Crate parmesan Copy item path Source pub use encoder::affine2x_buffer_size ;pub use encoder::affine_buffer_size ;pub use encoder::altmap_buffer_size ;pub use encoder::shuffle2x_buffer_size ;affine Affine (not Affine2x) layout: parpar gf16_shuffle_prepare_block / finish. affine2x Affine2x data layout for the AVX2+GFNI kernel (parity P1). altmap ALTMAP bit-plane layout for GF(2^16) Reed-Solomon data. create High-level creation of PAR2 recovery sets. decoder Reconstructs missing PAR2 input slices from available recovery blocks. encoder Streaming Reed-Solomon recovery encoder and file hashers. gf16 GF(2^16) arithmetic and the PAR2 Reed-Solomon matrix. gf16_mac GF(2¹⁶) multiply-accumulate primitive used by repair (decode). layout Volume-split layout for a PAR2 recovery set. matrix GF(2¹⁶) linear algebra for PAR2 repair. ops packet PAR2 packet serialization. packet_reader Reads existing PAR2 files back into raw packets. recovery_set Assembles a RecoverySet by reading an index file and its recovery
volumes from disk. repair High-level repair orchestration: turn a VerifyReport into a
RepairPlan , reconstructing damaged or missing slices via
crate::decoder::RecoveryDecoder and writing them back to disk. shuffle2x Shuffle2x data layout for the AVX2 nibble-shuffle kernel (Phase 28). verify Verification of input files against an existing PAR2 recovery set. worker yenc EncoderLayout Which recovery-buffer layout parmesan create builds. SimdPath Multiplication backend for the Reed-Solomon encoder. DISPLAY_VERSION Shown by --version and banners. detect_simd Returns the name of the SIMD path that the PAR2 encoder will use at runtime. performance_core_count Number of physical cores on hybrid CPUs.
On hybrid CPUs (Intel 12th gen+), detects P-cores (high-performance) vs
E-cores (efficiency) via Linux topology: P-cores have 2+ thread_siblings
(hyperthreading), E-cores have 1 (standalone). physical_core_count Number of physical CPU cores, derived from /proc/cpuinfo by counting
distinct (physical id, core id) pairs. Falls back to the logical CPU
count when that information is unavailable.