Skip to main content

Crate rasterwave

Crate rasterwave 

Source
Expand description

Rasterwave RS is a library-first codec for analog radio images.

The crate provides incremental SSTV and radiofax encoders and decoders, and a streaming RTTY (ITA2 FSK) modem in rtty. Stateful codec instances own all mutable data: there is no process-global codec state, which makes separate instances safe to move across threads.

Modules§

fax
Streaming analog radiofax (WEFAX/HF fax) encoding and decoding.
metrics
Deterministic image-quality metrics used by interoperability validation.
rtty
Streaming RTTY (ITA2 / Baudot FSK) modem for audio frequency-shift keying.

Structs§

DecoderConfig
Runtime decoder policy.
EncodeOptions
Options controlling an SSTV transmission.
EncoderProgress
Snapshot returned by SstvEncoder::progress.
FaxPaperConfig
Continuous radiofax paper decoder policy.
FaxPaperDecoder
Continuous radiofax raster with parallel APT/phasing acquisition.
GrayImage
Owned row-major eight-bit grayscale image.
ModeSpec
Immutable parameters shared by the encoder and decoder for one mode.
ProcessReport
Work performed by one SstvDecoder::push_f32 call.
Rgb
One eight-bit RGB pixel.
RgbImage
Owned row-major RGB image.
SstvDecoder
Online SSTV decoder with bounded acquisition and line buffers.
SstvEncoder
Incremental, phase-continuous SSTV encoder.
SstvPaperConfig
Continuous SSTV paper decoder policy.
SstvPaperDecoder
Continuous SSTV raster that decodes fallback noise while acquiring headers.
SstvTransmissionEnvelope
Optional tones and silence surrounding a standard SSTV raster.

Enums§

AbortReason
Why an in-progress image ended without normal completion.
Channel
Color channel used by sequential SSTV scan layouts.
ColorLayout
Pixel-domain representation transmitted by a mode.
DecodeEvent
Owned form of DecodeEventRef for queues, language bindings and storage.
DecodeEventRef
Borrowed decoder event used on the allocation-free hot path.
DetectionSource
How a decoder selected an SSTV mode.
EncoderStage
Current portion of an SSTV transmission.
Error
Errors returned by codec construction and validation.
FaxPaperEvent
Owned form of FaxPaperEventRef.
FaxPaperEventRef
Borrowed event emitted by FaxPaperDecoder.
FaxPaperMode
How continuous radiofax paper chooses its active parameters.
LineCompleteness
Whether a scan line may be revised when later chroma arrives.
ModeStatus
Evidence level attached to a built-in mode profile.
PaperBoundaryKind
Why a divider was inserted into a continuous decoded raster.
ScanLayout
How one or more image rows are arranged in each radio scan line.
SstvMode
Supported analog SSTV mode.
SstvPaperEvent
Owned form of SstvPaperEventRef.
SstvPaperEventRef
Borrowed event emitted by SstvPaperDecoder.
SstvPaperMode
How continuous SSTV paper chooses its active mode.
SstvStationId
Optional station identification appended to an SSTV raster.
SyncState
Current synchronization state.

Statics§

SSTV_MODES
Complete built-in SSTV mode catalog.

Traits§

DecodeSink
Consumer for borrowed streaming decode events.
FaxPaperSink
Synchronous consumer for borrowed continuous fax events.
SstvPaperSink
Synchronous consumer for borrowed continuous SSTV events.

Functions§

decode_sstv
Decode a complete mono PCM recording while preserving streaming semantics.
encode_sstv
Encode one complete SSTV image into mono f32 PCM.

Type Aliases§

Result
Result type used by Rasterwave APIs.