Crate openh264_sys2

source ·
Expand description

Latest Version docs BSD-2 Rust

This low-level crate used by openh264 contains

  • a fully self-contained version of OpenH264
  • unsafe Rust bindings
  • build logic that should work “out of the box” on most platforms (sans bugs)

Structs§

Constants§

Statics§

Functions§

  • @brief Create decoder @param ppDecoder decoder @return 0 - success; otherwise - failed;
  • @brief Create encoder @param ppEncoder encoder @return 0 - success; otherwise - failed;
  • @brief Destroy decoder @param pDecoder decoder @return void
  • @brief Destroy encoder @param pEncoder encoder @return void
  • @brief Get codec version Note, old versions of Mingw (GCC < 4.7) are buggy and use an incorrect/different ABI for calling this function, making it incompatible with MSVC builds. @return The linked codec version
  • @brief Get codec version @param pVersion struct to fill in with the version
  • @brief Get the capability of decoder @param pDecCapability decoder capability @return 0 - success; otherwise - failed;

Type Aliases§

Unions§