mediaway-decoder 0.1.2

Hardware-accelerated video/audio decoding (OS-native backends)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! `WebCodecs` decode backend (wasm32). `EncodedVideoChunk` → `VideoFrame` path.

#![forbid(unsafe_code)]

mod frames;
mod timestamp;

pub use frames::DecodedVideoFrames;

#[cfg(target_arch = "wasm32")]
mod wasm;
#[cfg(target_arch = "wasm32")]
pub use wasm::*;

#[cfg(not(target_arch = "wasm32"))]
mod host;
#[cfg(not(target_arch = "wasm32"))]
pub use host::*;