Skip to main content

vk_video/
lib.rs

1#![deprecated(
2    since = "0.3.1",
3    note = "This crate has been renamed. Please migrate to `gpu-video`."
4)]
5
6#![doc = include_str!("../README.md")]
7
8#[cfg(vulkan)]
9mod adapter;
10#[cfg(vulkan)]
11mod device;
12#[cfg(vulkan)]
13mod instance;
14#[cfg(vulkan)]
15mod vulkan_decoder;
16#[cfg(vulkan)]
17mod vulkan_encoder;
18#[cfg(all(vulkan, feature = "transcoder"))]
19mod vulkan_transcoder;
20#[cfg(all(vulkan, feature = "wgpu"))]
21pub(crate) mod wgpu_helpers;
22#[cfg(vulkan)]
23pub(crate) mod wrappers;
24
25#[cfg(vulkan)]
26mod vulkan_video;
27#[cfg(vulkan)]
28pub use vulkan_video::*;
29
30#[cfg(feature = "expose-parsers")]
31pub mod parser;
32#[cfg(not(feature = "expose-parsers"))]
33pub(crate) mod parser;
34
35// If vulkan is unsupported and parsers are not exposed
36#[cfg(not(any(vulkan, feature = "expose-parsers")))]
37compile_error!("vk-video can be only compiled on platforms supported by vulkan.");