Skip to main content

Crate jxr

Crate jxr 

Source
Expand description

JPEG XR decode and Annex-A container facade.

Structs§

AlphaFormatRequest
Output-depth parameters owned by an integrated or separate alpha plane.
AnnexAPixelFormatDescriptor
Table A.6 properties needed for inspection and codestream validation.
AnnexAWriteOptions
Metadata and optional payloads for an Annex-A still-image container.
BatchDecodeOptions
Policy retained by an owned native batch decoder.
BatchGroupInfo
Dense native output contract shared by one homogeneous batch group.
ByteRange
A checked half-open range in retained compressed input.
CoefficientArena
Macroblock-major signed coefficients plus their reconstruction metadata.
CoefficientArenaDescriptor
Coefficient geometry and metadata for externally owned coefficient storage.
CoefficientPlane
Location of a plane within a coefficient arena.
CpuBatchDecodeResult
Successful native groups plus indexed input-local failures.
CpuBatchDecoder
Persistent native CPU batch decoder with a retained worker pool.
CpuBatchDiagnostics
Monotonic preparation, execution, and retained-workspace counters.
CpuBatchGroup
One successful homogeneous native CPU output group.
CpuBatchIntoResult
Metadata and indexed failures from decoding into caller-owned group storage.
CropWindow
A checked crop window within reconstructed-plane coordinates.
DecodeIntoResult
Metadata returned after decoding into caller-owned typed storage.
DecodeLimits
Caller-controlled resource ceilings checked before allocation.
DecodeReport
Requested route, selected route, and per-stage ownership.
DecodeRequest
Host decode request. None region means the full image.
DecodedImage
A complete host decode result.
EncodedImage
One owned compressed JPEG XR image and its output request.
ImageInfo
Parsed image information shared by inspection and decode results.
ImageMetadata
Metadata reported without applying presentation policy.
IndexedBatchError
One input-local batch failure preserving original caller order.
JxrDecoder
Decoder borrowing parsed input and retaining no hidden global state.
JxrError
A decode failure with stable classification and operation context.
JxrView
Parsed, borrowed JPEG XR image view.
Level
MacroblockMetadata
Structure-of-arrays metadata for GPU and CPU reconstruction.
OutputFormatRequest
Complete device-neutral output formatting policy.
PlaneDescriptor
Byte-based description of one output plane within DecodedSamples.
PlaneInfo
Metadata for one coded primary or alpha plane.
PlanePlan
Per-plane reconstruction geometry and boundary policy.
PreparedAlphaReconstruction
Independently encoded Annex-A alpha retained for accelerator reconstruction.
PreparedBatch
Parsed, grouped batch reusable across CPU and accelerator sessions.
PreparedBatchGroup
One homogeneous set of prepared images in stable caller order.
PreparedImage
Cheaply cloneable parsed request and retained execution plan for one input.
PreparedJxr
Immutable owned JPEG XR input and parsed decode metadata.
PreparedPlan
Device-neutral result of parse and resource planning.
PreparedReconstruction
Immutable CPU entropy output and geometry ready for accelerator reconstruction.
QuantizerSet
Quantization steps selected for one macroblock.
Rect
Rectangle in source pixel coordinates.
StageReport
SurfaceLayout
SurfacePlaneLayout
TileEdgeFlags
Tile and image boundary state consumed by overlap kernels.
TileGrid
Explicit JPEG XR tile partitioning in macroblock units.
TilePlan
Independently located compressed tile and its affected output region.

Enums§

AlphaHandling
AlphaMode
AnnexABitDepth
Per-component output representation required by the Annex-A format.
AnnexAChannelOrder
Reference byte/channel ordering associated with a known format.
AnnexANumericKind
Numeric interpretation declared by the Annex-A format.
AnnexAPixelFamily
Semantic family of a known Annex-A pixel format.
AnnexAPixelFormat
Classified Annex-A PIXEL_FORMAT value.
BackendKind
Runtime backend that executes codec work.
BackendRequest
Caller preference for backend selection.
BandPresence
BatchErrorStage
Decode phase associated with one input-local batch failure.
BatchInfrastructureError
Failure affecting batch infrastructure rather than one encoded image.
BatchLayout
Dense channel ordering for owned CPU batch samples.
BitstreamMode
ChannelLayout
Logical ordering of output channels.
ChromaSampling
Chroma sampling relative to the luma plane.
ColorFormat
Color organization represented by a JPEG XR image plane.
CpuBatchSamples
Native-width contiguous samples for one homogeneous CPU batch group.
DecodeScale
Native JPEG XR transform resolution selected during decode.
DecodeStage
Ordered decode and reconstruction phases.
DecodedSamples
Typed storage for every supported output representation.
DecodedSamplesMut
Mutable caller-owned storage for every supported output representation.
FallbackReason
Why an automatic request selected CPU before device submission.
JxrErrorKind
LimitKind
Orientation
Display orientation metadata. Decoders report but do not apply it.
OutputBitDepth
Normative T.832 output sample representation.
OverlapMode
PixelFormat
Requested decoded pixel representation.
PredictionMode
Profile
SampleFormat
Source sample representation before output packing.
StageExecutor
Concrete implementation which owned a stage.
StorageKind
Type of host storage backing decoded samples.

Traits§

BatchDecoder
Common synchronous boundary implemented by persistent batch sessions.
DecodeIntoSample
Host element types accepted by super::JxrDecoder::decode_into.

Functions§

prepare_batch
Parse, validate, and group owned JPEG XR inputs concurrently.
prepare_batch_from_images
Regroup prepared images without parsing or copying their compressed bytes.
write_annex_a
Wrap a validated raw T.832 codestream in an Annex-A still-image container.

Type Aliases§

CpuBatchDestination
Caller-owned storage for one prepared homogeneous CPU batch group.