Skip to main content

Crate jxr_cuda

Crate jxr_cuda 

Source
Expand description

CUDA reconstruction and resource-lifecycle boundary for JPEG XR.

Parsing and entropy decoding stay in jxr-native; this crate consumes only the validated macroblock-major reconstruction contract from jxr-core.

Structs§

CudaBatchDestination
Exclusively writable homogeneous batch in one caller-owned CUDA allocation.
CudaBatchDestinationCompletion
Completion metadata and retained storage for a caller-owned dense batch.
CudaBatchDestinationSubmission
Pending dense decode retaining every resource and exclusive destination.
CudaBatchSubmission
Pending ordered collection of CUDA reconstruction submissions.
CudaBufferPoolDiagnostics
Exact-size CUDA scratch reuse counters.
CudaDecodePlan
Validated CUDA reconstruction plan retaining CPU-produced coefficients.
CudaDecoderSession
Reusable CUDA runtime session with cached kernels, uploads, streams, and scratch.
CudaDestination
Exclusively writable JPEG XR surface in a caller-owned CUDA allocation.
CudaDestinationCompletion
Completion metadata for a caller-owned CUDA destination.
CudaDestinationSubmission
Pending decode retaining exclusive destination access through completion.
CudaKernelManifest
Static identity for one CUDA phase implementation.
CudaResidentBatch
Completed homogeneous batch in one CUDA allocation.
CudaResidentBatchSubmission
Pending homogeneous reconstruction into one internally owned allocation.
CudaSubmission
Pending CUDA reconstruction retaining all device resources through completion.
CudaUploadCacheDiagnostics
Immutable coefficient upload-cache counters.
DenseCudaBatchLayout
One tightly packed image repeated contiguously in a CUDA allocation.
ResidentCudaImage
Immutable completed CUDA-resident JPEG XR output.

Enums§

CudaError
Failure at the JPEG XR CUDA backend boundary.
CudaRouteDecision
Concrete route selected by the CUDA planner.
KernelStage
Ordered JPEG XR CUDA reconstruction phase.

Constants§

CUDA_AUTO_THRESHOLD
Provisional automatic-routing threshold in reconstructed coefficients.
RECONSTRUCTION_KERNELS
Ordered complete reconstruction manifest.

Functions§

plan_cuda_route
Resolve a CUDA route without probing or mutating runtime state.