Go to file
2017-01-02 02:43:49 +00:00
src cuda: Wrap the Device Management 2017-01-02 02:43:49 +00:00
.gitignore bindgen: Initial bindings 2016-12-28 06:36:14 +00:00
build.rs build: Support environment variables 2017-01-02 00:42:53 +00:00
Cargo.toml bindgen: Initial bindings 2016-12-28 06:36:14 +00:00
LICENSE Initial commit 2016-12-28 07:32:44 +01:00
README.md doc: Mention repackaged headers 2017-01-02 00:52:20 +00:00

NVIDIA Video Codec SDK bindings

LICENSE

It is a simple binding and safe abstraction over the nvidia video codec sdk.

Building

The bindings are generated using the headers and libraries that ought to be present in the system.

By default the headers are looked up on /opt/cuda/include and /opt/nvidia-video-codec and the libraries are assumed to be present in the default path (and provided by the driver).

It is possible to override the search paths for the headers by setting the environment variables CUDA_INCLUDE_PATH and NVIDIA_VIDEO_CODEC_INCLUDE_PATH.

A convenience repackaging of the cuvid and nvenc headers is available and known to work fine with the bindings.

TODO

  • support cuda
    • Simple bindings
    • Safe abstraction
  • support cuvid
    • Simple bindings
    • Safe abstraction
  • support nvenc
    • Simple bindings
    • Safe abstraction
  • Examples