Visible to Intel only — GUID: GUID-130F41FD-8057-4159-8160-8E6F65ED2B6D
Visible to Intel only — GUID: GUID-130F41FD-8057-4159-8160-8E6F65ED2B6D
oneVPL Usage
Applications can use oneVPL to program video decoding, encoding, and image processing components. oneVPL provides a default CPU implementation that can be used as a reference design before using other accelerators.
oneVPL applications follow a basic sequence in the programming model:
The oneVPL dispatcher automatically finds all available accelerators during runtime.
Dispatcher uses the selected accelerator context to initialize a session.
oneVPL configures the video component at the start of the session.
oneVPL processing loop is launched. The processing loop handles work asynchronously.
If the application chooses to let oneVPL manage working memory, then memory allocation will be implicitly managed by the video calls in the processing loop.
After work is done, oneVPL uses a clear call to clean up all resources.
The oneVPL API is defined using a classic C style interface and is compatible with C++ and SYCL*.