Skip to main content

Crate rave_core

Crate rave_core 

Source
Expand description

§rave-core — Foundation types for RAVE

Provides the shared type vocabulary, GPU context, error hierarchy, backend trait, codec traits, and FFI type aliases used by all RAVE crates. This crate has zero NVDEC/NVENC/FFmpeg dependencies — only cudarc.

Modules§

backend
Upscale backend trait — the GPU-only inference contract.
codec_traits
Shared codec traits used across crate boundaries.
context
Shared CUDA context — single device, explicit stream management, bucketed buffer pool, VRAM accounting, hardware-aligned allocation, GPU profiling hooks, and production metrics enforcement.
debug_alloc
Debug-only host allocation tracker.
error
Typed error hierarchy for the engine.
ffi_types
Shared CUDA and Video Codec SDK FFI type aliases.
types
GPU-resident frame types and pixel format contracts.