Skip to main content

jxr_cuda/
lib.rs

1// SPDX-License-Identifier: MIT OR Apache-2.0
2
3//! CUDA reconstruction and resource-lifecycle boundary for JPEG XR.
4//!
5//! Parsing and entropy decoding stay in `jxr-native`; this crate consumes only
6//! the validated macroblock-major reconstruction contract from `jxr-core`.
7
8#![deny(missing_docs)]
9
10mod abi;
11mod buffer_pool;
12mod destination;
13mod encode;
14mod error;
15mod kernels;
16mod output_plan;
17mod overlap_plan;
18mod plan;
19mod resident;
20mod route;
21mod runtime;
22mod session;
23mod submission;
24mod upload_cache;
25
26pub use buffer_pool::CudaBufferPoolDiagnostics;
27pub use destination::{CudaBatchDestination, CudaDestination, DenseCudaBatchLayout};
28pub use error::CudaError;
29pub use kernels::{CudaKernelManifest, KernelStage, RECONSTRUCTION_KERNELS};
30pub use plan::CudaDecodePlan;
31pub use resident::{CudaResidentBatch, ResidentCudaImage};
32pub use route::{CUDA_AUTO_THRESHOLD, CudaRouteDecision, plan_cuda_route};
33pub use session::CudaDecoderSession;
34pub use submission::{
35    CudaBatchDestinationCompletion, CudaBatchDestinationSubmission, CudaBatchSubmission,
36    CudaDestinationCompletion, CudaDestinationSubmission, CudaResidentBatchSubmission,
37    CudaSubmission,
38};
39pub use upload_cache::CudaUploadCacheDiagnostics;