Skip to main content

Crate j2k_transcode

Crate j2k_transcode 

Source
Expand description

JPEG-to-HTJ2K coefficient-domain transcode workflow.

Modules§

accelerator
Optional acceleration hooks for coefficient-domain transform stages.
dct53_2d
Constrained 2D DCT to 5/3 wavelet experiments.
dct97_2d
Constrained 2D DCT to irreversible 9/7 wavelet transforms.
htj2k97_codeblock_oracle
Shared scalar oracle: float 9/7 bands into prequantized HTJ2K code-blocks.

Structs§

BatchTranscodeReport
Aggregate report for multi-tile transcode.
DctGridError
Error returned when a DCT block grid cannot cover the requested component.
EncodedTranscode
Encoded transcode output and validation/report metadata.
EncodedTranscodeBatch
Batch transcode output. Tile-level parse/encode failures are preserved so a WSI ingest queue can continue past isolated bad tiles.
JpegTileBatchInput
One JPEG tile input for batch transcode.
JpegToHtj2kEncodeOptions
HTJ2K encode options used after JPEG coefficient-domain wavelet bands are produced.
JpegToHtj2kOptions
Options for the experimental JPEG-to-HTJ2K path.
JpegToHtj2kTranscoder
Reusable experimental JPEG-to-HTJ2K transcoder state.
ResidentBufferRef
Borrowed, backend-visible memory range with a caller-owned lifetime.
ResidentCodestreamBuffer
Resident codestream buffer descriptor.
ResidentComponentGeometry
Per-component geometry shared by resident handoff descriptors.
ResidentDctGridLayout
Layout metadata for a resident JPEG DCT-grid descriptor.
ResidentDwtSubband
Resident projected DWT subband descriptor.
ResidentDwtSubbandLayout
Layout metadata for a resident DWT subband descriptor.
ResidentJpegDctGrid
Resident JPEG DCT coefficient grid descriptor.
ResidentSampleInfo
Sample precision metadata for resident handoff buffers.
ResidentSampling
Component sampling factors preserved through JPEG-to-HTJ2K transcode.
TranscodeComponentReport
Per-component transcode geometry preserved in the generated codestream.
TranscodePipelineMap
Stage-by-stage transcode residency map derived from existing timings.
TranscodePipelineStageReport
One stage in a transcode pipeline residency map.
TranscodeReport
Transcode summary for validation and benchmarking.
TranscodeResidentStageRecommendation
Recommended next stage to evaluate for Metal residency.
TranscodeTimingReport
Detailed timing and dispatch counters for JPEG-to-HTJ2K transcode.

Enums§

EncodeProgressionOrder
Supported JPEG 2000 progression orders for the lossless encode facade.
JpegToHtj2kCoefficientPath
Experimental production path used to generate HTJ2K wavelet coefficients.
JpegToHtj2kError
Error returned by the experimental transcode path.
ResidentColorModel
Color interpretation carried by a resident transcode handoff buffer.
ResidentDctCoefficientOrder
Coefficient ordering used by a resident JPEG DCT-grid buffer.
ResidentDwtSubbandKind
Wavelet subband represented by a resident DWT buffer.
ResidentHandoffError
Error returned by resident transcode handoff descriptor constructors.
TranscodePipelineStageKind
Logical stages in the JPEG-to-J2K/HTJ2K transcode pipeline.
TranscodeStageProcessor
Observed residency for a transcode stage.
TranscodeValidationClassification
Classification for optional coefficient-validation metrics.

Constants§

JPEG_TO_HTJ2K_LOSSY_97_QUANTIZATION_SCALE
Default irreversible quantization multiplier for JPEG direct 9/7 HTJ2K.

Functions§

jpeg_to_htj2k
Transcode a constrained baseline grayscale JPEG tile into an HTJ2K codestream using direct DCT-domain wavelet coefficients.
jpeg_to_htj2k_batch
Transcode many JPEG tiles into HTJ2K codestreams.

Type Aliases§

TranscodeValidationMetrics
Error metrics from an optional validation oracle.