Skip to main content

pito_codecs/
lib.rs

1#[cfg(feature = "media")]
2pub mod media;
3
4#[cfg(feature = "h264")]
5pub mod h264;
6
7#[cfg(feature = "hevc")]
8pub mod hevc;
9
10#[cfg(feature = "aac")]
11pub mod aac;
12
13#[cfg(feature = "ac3")]
14pub mod ac3;
15#[cfg(feature = "mp3")]
16pub mod mp3;
17
18#[cfg(feature = "mp4")]
19pub mod mp4;
20
21#[cfg(feature = "gpu")]
22pub mod gpu;
23
24#[cfg(any(feature = "h264", feature = "hevc", feature = "gpu", feature = "aac"))]
25#[cfg_attr(
26    not(all(
27        feature = "h264",
28        feature = "hevc",
29        feature = "gpu",
30        target_os = "linux"
31    )),
32    allow(dead_code)
33)]
34mod syntax;
35
36#[cfg(feature = "filter")]
37pub mod filter;
38
39#[cfg(feature = "mkv")]
40pub mod mkv;
41
42#[cfg(feature = "opus")]
43pub mod opus;
44
45#[cfg(feature = "vp9")]
46pub mod vp9;
47
48#[cfg(feature = "webp")]
49pub mod webp;
50
51#[cfg(feature = "gif")]
52pub mod gif;
53
54#[cfg(feature = "png")]
55pub mod png;