Coder Social home page Coder Social logo

ajunlonglive / onevpl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from intel/libvpl

0.0 1.0 0.0 16.92 MB

oneAPI Video Processing Library (oneVPL) dispatcher, tools, and examples

License: MIT License

CMake 1.31% C 8.29% Shell 0.56% Batchfile 0.45% Python 6.64% C++ 82.26% JavaScript 0.01% CSS 0.11% HTML 0.03% Starlark 0.35%

onevpl's Introduction

oneAPI Video Processing Library

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.

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.

Installation

You can install oneVPL:

For more details on installation options and procedures, see the Intel® oneAPI Video Processing Library Installation Guide.

Developer Usage

Configure the Environment

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

Link to oneVPL with CMake

Add the following code to your CMakeLists, assuming TARGET is defined as the component that wants to use oneVPL:

if(WIN32 AND CMAKE_SIZEOF_VOID_P EQUAL 4)
 set(CMAKE_LIBRARY_ARCHITECTURE x86)
endif()
find_package(VPL REQUIRED)
target_link_libraries(${TARGET} VPL::dispatcher)

Link to oneVPL from Bash with pkg-config

The following command line illustrates how to link a simple program to oneVPL using pkg-config.

gcc program.cpp `pkg-config --cflags --libs vpl`

Contributing

See CONTRIBUTING.md for more information.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Security

See the Intel Security Center for information on how to report a potential security issue or vulnerability.

onevpl's People

Contributors

akwrobel avatar alexelizarov avatar changchingyew avatar fantast34 avatar igorbelyakovintel avatar jeffreymcallister avatar jonrecker avatar mav-intel avatar sbalandi avatar shepark avatar tletnes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.