The oneAPI Video Processing Library (oneVPL) provides a single video processing API for encode, decode, and video processing that works across a wide range of accelerators.
oneVPL is part of oneAPI.
This repository contains the following components of oneVPL:
- Copies of the oneVPL Specification API header files
- oneVPL dispatcher
- Examples demonstrating API usage
- oneVPL command line tools
This project is part of the larger oneAPI project. See the oneAPI Specification and the oneVPL Specification for additional information.
The version of the oneVPL API is listed in the mfxdefs.h file.
You can install oneVPL:
- from oneVPL home page as a part of Intel® oneAPI Base Toolkit.
See Installation from Sources for details.
If you did not install to standard system locations, you need to set up the environment, so tools like CMake and pkg-config can find the library and headers.
For Linux:
source <vpl-install-location>/share/oneVPL/env/vars.sh
For Windows:
<vpl-install-location>\share\oneVPL\env\vars.bat
Add the following code to your CMakeLists, assuming TARGET is defined as the component that wants to use oneVPL:
find_package(VPL REQUIRED)
target_link_libraries(${TARGET} VPL::dispatcher)
The following command line illustrates how to link a simple program to oneVPL using pkg-config.
gcc program.cpp `pkg-config --cflags --libs vpl`
See CONTRIBUTING.md for more information.
This project is licensed under the MIT License. See the LICENSE file for details.
See the Intel Security Center for information on how to report a potential security issue or vulnerability.