Skip to main content

ohos_video_processing_engine_sys/
lib.rs

1//! Bindings to the OpenHarmony VideoProcessingEngine.
2//!
3//! Provides GPU-accelerated color space conversion, HDR metadata generation,
4//! composition / decomposition, and detail enhancement for both video streams
5//! and individual pixmap images.
6//!
7//! ## Feature flags
8#![cfg_attr(
9    feature = "document-features",
10    cfg_attr(doc, doc = ::document_features::document_features!())
11)]
12#![cfg_attr(docsrs, feature(doc_cfg))]
13
14#[cfg(all(feature = "api-12", feature = "video-processing"))]
15#[cfg_attr(
16    docsrs,
17    doc(cfg(all(feature = "api-12", feature = "video-processing")))
18)]
19pub mod video_processing;
20#[cfg(all(feature = "api-12", feature = "video-processing"))]
21#[cfg_attr(
22    docsrs,
23    doc(cfg(all(feature = "api-12", feature = "video-processing")))
24)]
25pub mod video_processing_types;
26
27#[cfg(all(feature = "api-13", feature = "image-processing"))]
28#[cfg_attr(
29    docsrs,
30    doc(cfg(all(feature = "api-13", feature = "image-processing")))
31)]
32pub mod image_processing;
33#[cfg(all(feature = "api-13", feature = "image-processing"))]
34#[cfg_attr(
35    docsrs,
36    doc(cfg(all(feature = "api-13", feature = "image-processing")))
37)]
38pub mod image_processing_types;