Skip to main content

Crate ohos_video_processing_engine_sys

Crate ohos_video_processing_engine_sys 

Source
Expand description

Bindings to the OpenHarmony VideoProcessingEngine.

Provides GPU-accelerated color space conversion, HDR metadata generation, composition / decomposition, and detail enhancement for both video streams and individual pixmap images.

§Feature flags

§OpenHarmony API level

video_processing is available since API-level 12. image_processing is available since API-level 13. Defaults to no bindings at all, to maintain feature composability in ohos-sys. Optionally enable one of the api-* features to get access to bindings.

  • api-12 — Enables bindings for OpenHarmony API-level 12.
  • api-13 — Enables bindings for OpenHarmony API-level 13.
  • api-14 — Enables bindings for OpenHarmony API-level 14.
  • api-15 — Enables bindings for OpenHarmony API-level 15.
  • api-16 — Enables bindings for OpenHarmony API-level 16.
  • api-17 — Enables bindings for OpenHarmony API-level 17.
  • api-18 — Enables bindings for OpenHarmony API-level 18 (5.1.0).
  • api-19 — Enables bindings for OpenHarmony API-level 19.
  • api-20 — Enables bindings for OpenHarmony API-level 20.
  • api-21 — Enables bindings for OpenHarmony API-level 21.
  • api-22 — Enables bindings for OpenHarmony API-level 22.
  • api-23 — Enables bindings for OpenHarmony API-level 23.

§Modules

VideoProcessingEngine ships two separate shared libraries with independent header pairs. Pick the modules you need; each links its own .so.

  • video-processing — Bindings to multimedia/video_processing_engine/video_processing.h and video_processing_types.h (links libvideo_processing.so). Requires API-level 12.
  • image-processing — Bindings to multimedia/video_processing_engine/image_processing.h and image_processing_types.h (links libimage_processing.so). Requires API-level 13.
  • document-features — Document available features when building the documentation

Modules§

image_processingapi-13 and image-processing
image_processing_typesapi-13 and image-processing
video_processingapi-12 and video-processing
video_processing_typesapi-12 and video-processing