#[cfg(not(target_arch = "wasm32"))]
pub(crate) const STREAM_DECODER_THREAD_PREFIX: &str = "euv-stream-io";
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const STREAM_DECODER_MIN_WORKERS: usize = 2;
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const STREAM_DECODER_MAX_WORKERS: usize = 4;
pub(crate) const STREAM_COOPERATIVE_CHUNK_BYTES: usize = 64 * 1024;
pub(crate) const STREAM_TEX_HEADER_MAGIC: [u8; 8] = *b"EUVTEX01";
pub(crate) const STREAM_TEX_HEADER_BYTES: usize = 20;
pub(crate) const STREAM_PNG_MAGIC: [u8; 4] = [0x89, b'P', b'N', b'G'];
pub(crate) const STREAM_JPEG_MAGIC: [u8; 2] = [0xFF, 0xD8];
pub(crate) const STREAM_EUV3D_MAGIC: [u8; 5] = *b"EUV3D";
pub(crate) const STREAM_SYSCALLS_SAVED_PER_LOOKUP: u64 = 2;
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ERR_STREAM_NO_VFS: &str = "streaming: no mounted euvpak archive";
pub(crate) const ERR_STREAM_MISSING_ENTRY: &str = "streaming: requested key missing from euvpak";
#[cfg(not(target_arch = "wasm32"))]
pub(crate) const ERR_STREAM_CANCELLED: &str = "streaming: job cancelled before completion";
pub(crate) const ERR_STREAM_INVALID_TEXTURE: &str = "streaming: invalid texture mip payload";