Skip to main content

Module accelerator

Module accelerator 

Source
Expand description

Optional acceleration hooks for coefficient-domain transform stages.

These hooks are intentionally narrow: accelerated backends may replace the direct DCT-grid to one-level wavelet projection, while the scalar path remains the default oracle and fallback.

Structs§

CpuOnlyDctToWaveletStageAccelerator
Accelerator that always uses the scalar CPU fallback.
DctGridI16ToHtj2k97CodeBlockBatch
One same-geometry i16 DCT-grid HTJ2K preencode batch.
DctGridI16ToHtj2k97CodeBlockJob
Direct dequantized i16 DCT-grid to one-level 9/7 HTJ2K code-block job.
DctGridToDwt53Job
Direct DCT-grid to one-level 5/3 projection job.
DctGridToDwt97Job
Direct DCT-grid to one-level 9/7 transform job.
DctGridToHtj2k97CodeBlockJob
Direct DCT-grid to prequantized one-level 9/7 HTJ2K code-block job.
DctGridToReversibleDwt53Job
Direct DCT-grid to one-level reversible integer 5/3 projection job.
Dwt97BatchStageTimings
Backend-specific timing breakdown for a same-geometry 9/7 batch.
EncodedHtJ2kCodeBlock
Adapter encoded HTJ2K cleanup code-block payload for backend experimentation.
Htj2k97CodeBlockOptions
Encode parameters needed to quantize 9/7 output directly into HTJ2K code-block coefficient layout.
IrreversibleQuantizationSubbandScales
Multipliers applied to irreversible 9/7 quantization step sizes by subband.
PreencodedHtj2k97CodeBlock
One preencoded HTJ2K code-block.
PreencodedHtj2k97CompactBatch
Compact preencoded HTJ2K components backed by one payload buffer.
PreencodedHtj2k97CompactBatchGroups
Compact preencoded HTJ2K grouped-batch output backed by one payload buffer.
PreencodedHtj2k97CompactCodeBlock
One compact preencoded HTJ2K code-block.
PreencodedHtj2k97CompactComponent
Preencoded compact irreversible 9/7 HTJ2K component.
PreencodedHtj2k97CompactImage
Preencoded irreversible 9/7 HTJ2K code-block image backed by one compact payload buffer.
PreencodedHtj2k97CompactResolution
One component resolution’s compact preencoded HTJ2K subbands.
PreencodedHtj2k97CompactSubband
One compact preencoded HTJ2K subband split into code-blocks.
PreencodedHtj2k97Component
Preencoded irreversible 9/7 HTJ2K component.
PreencodedHtj2k97Resolution
One component resolution’s preencoded HTJ2K subbands.
PreencodedHtj2k97Subband
One preencoded HTJ2K subband split into code-blocks.
PrequantizedHtj2k97CodeBlock
One prequantized HTJ2K code-block.
PrequantizedHtj2k97Component
Prequantized irreversible 9/7 HTJ2K component.
PrequantizedHtj2k97Image
Prequantized irreversible 9/7 HTJ2K code-block image.
PrequantizedHtj2k97Resolution
One component resolution’s prequantized HTJ2K subbands.
PrequantizedHtj2k97Subband
One prequantized HTJ2K subband split into code-blocks.
RayonReversibleDwt53Accelerator
CPU/Rayon accelerator for the exact reversible integer 5/3 first level.
ReversibleDwt53FirstLevel
One separable single-level reversible integer 5/3 transform result.

Enums§

J2kSubBandType
Adapter classic J2K sub-band kind for backend experimentation.
TranscodeStageError
Error returned by accelerated transcode stage backends.

Traits§

DctToWaveletStageAccelerator
Optional backend for SIMD, GPU, or other accelerated transform stages.

Functions§

idct_blocks_to_signed_samples_rayon
Decode the job’s dequantized DCT blocks into j2k’s signed integer component sample blocks.
reversible_dwt53_first_level_from_block_samples
Compute one exact reversible integer 5/3 level from already decoded block-local signed samples.